aboutsummaryrefslogtreecommitdiffstats
path: root/package/mac80211/patches/511-ath9k_increase_bcbuf.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-04-07 18:42:22 +0000
committerFelix Fietkau <nbd@openwrt.org>2011-04-07 18:42:22 +0000
commit51b4f1df40e96d3dbe446993a74b6b096c07293e (patch)
treefcefd647370191c1eb3998e09276c0e667329a18 /package/mac80211/patches/511-ath9k_increase_bcbuf.patch
parent4cdfd936183e2b9b4d6a61273054ec29f023780f (diff)
downloadmaster-187ad058-51b4f1df40e96d3dbe446993a74b6b096c07293e.tar.gz
master-187ad058-51b4f1df40e96d3dbe446993a74b6b096c07293e.tar.bz2
master-187ad058-51b4f1df40e96d3dbe446993a74b6b096c07293e.zip
mac80211: update to wireless-testing 2011-04-06
adds some more pending patches which (among other things) fix the 'failed to stop RX DMA' messages git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26506 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/mac80211/patches/511-ath9k_increase_bcbuf.patch')
-rw-r--r--package/mac80211/patches/511-ath9k_increase_bcbuf.patch24
1 files changed, 24 insertions, 0 deletions
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 0000000000..981303e58e
--- /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;