aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-03-21 02:22:22 +0000
committerFelix Fietkau <nbd@openwrt.org>2011-03-21 02:22:22 +0000
commitbc8410cd76f99eb6b01de924b0d8522f7a9b06aa (patch)
tree1e47b82d2ec4e485bdb70e389e4d380836ee10e3 /package
parent4838baefa7667e53f715082dacf332e8d1e854c6 (diff)
downloadupstream-bc8410cd76f99eb6b01de924b0d8522f7a9b06aa.tar.gz
upstream-bc8410cd76f99eb6b01de924b0d8522f7a9b06aa.tar.bz2
upstream-bc8410cd76f99eb6b01de924b0d8522f7a9b06aa.zip
ath9k: increase ATH_BCBUF, allows creating 8 virtual APs
SVN-Revision: 26249
Diffstat (limited to 'package')
-rw-r--r--package/mac80211/patches/562-ath9k_increase_bcbuf.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/package/mac80211/patches/562-ath9k_increase_bcbuf.patch b/package/mac80211/patches/562-ath9k_increase_bcbuf.patch
new file mode 100644
index 0000000000..d9c6d717d0
--- /dev/null
+++ b/package/mac80211/patches/562-ath9k_increase_bcbuf.patch
@@ -0,0 +1,24 @@
+--- a/drivers/net/wireless/ath/ath9k/ath9k.h
++++ b/drivers/net/wireless/ath/ath9k/ath9k.h
+@@ -369,7 +369,7 @@ struct ath_vif {
+ * number of beacon intervals, the game's up.
+ */
+ #define BSTUCK_THRESH (9 * ATH_BCBUF)
+-#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
+@@ -349,8 +349,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;