X-Git-Url: http://git.ozo.com/?p=openwrt-10.03%2F.git;a=blobdiff_plain;f=package%2Fmac80211%2Fpatches%2F511-ath9k_increase_bcbuf.patch;fp=package%2Fmac80211%2Fpatches%2F511-ath9k_increase_bcbuf.patch;h=981303e58e2d5d37e75fadec0f71b936f6f11947;hp=0000000000000000000000000000000000000000;hb=25aaa4633cf03be09e565a38a955753b233b12e0;hpb=6f99ef9c5283aee5befde99d3cfb10de98978d6b diff --git a/package/mac80211/patches/511-ath9k_increase_bcbuf.patch b/package/mac80211/patches/511-ath9k_increase_bcbuf.patch new file mode 100644 index 000000000..981303e58 --- /dev/null +++ b/package/mac80211/patches/511-ath9k_increase_bcbuf.patch @@ -0,0 +1,24 @@ +--- a/drivers/net/wireless/ath/ath9k/ath9k.h ++++ b/drivers/net/wireless/ath/ath9k/ath9k.h +@@ -361,7 +361,7 @@ struct ath_vif { + * number of beacon intervals, the game's up. + */ + #define BSTUCK_THRESH 9 +-#define ATH_BCBUF 4 ++#define ATH_BCBUF 8 + #define ATH_DEFAULT_BINTVAL 100 /* TU */ + #define ATH_DEFAULT_BMISS_LIMIT 10 + #define IEEE80211_MS_TO_TU(x) (((x) * 1000) / 1024) +--- a/drivers/net/wireless/ath/ath9k/hw.c ++++ b/drivers/net/wireless/ath/ath9k/hw.c +@@ -344,8 +344,8 @@ static void ath9k_hw_init_config(struct + { + int i; + +- ah->config.dma_beacon_response_time = 2; +- ah->config.sw_beacon_response_time = 10; ++ ah->config.dma_beacon_response_time = 1; ++ ah->config.sw_beacon_response_time = 6; + ah->config.additional_swba_backoff = 0; + ah->config.ack_6mb = 0x0; + ah->config.cwm_ignore_extcca = 0;