aboutsummaryrefslogtreecommitdiffstats
path: root/package/mac80211/patches/520-ath9k_intr_mitigation_tweak.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-01-09 20:32:25 +0000
committerFelix Fietkau <nbd@openwrt.org>2011-01-09 20:32:25 +0000
commit47ecd476d5722582e3abd3edba46bb8bfe6f82d7 (patch)
treecd4de1a2e0300fae04a9a8ba1fbd1e2237fa1405 /package/mac80211/patches/520-ath9k_intr_mitigation_tweak.patch
parent1cbf9086a20fd9577d1d177f44e431076d438bbf (diff)
downloadupstream-47ecd476d5722582e3abd3edba46bb8bfe6f82d7.tar.gz
upstream-47ecd476d5722582e3abd3edba46bb8bfe6f82d7.tar.bz2
upstream-47ecd476d5722582e3abd3edba46bb8bfe6f82d7.zip
mac80211: update to wireless-testing 2011-01-05, should improve aggregation reliability in ath9k
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24948 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/mac80211/patches/520-ath9k_intr_mitigation_tweak.patch')
-rw-r--r--package/mac80211/patches/520-ath9k_intr_mitigation_tweak.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/package/mac80211/patches/520-ath9k_intr_mitigation_tweak.patch b/package/mac80211/patches/520-ath9k_intr_mitigation_tweak.patch
new file mode 100644
index 0000000000..0c337411ff
--- /dev/null
+++ b/package/mac80211/patches/520-ath9k_intr_mitigation_tweak.patch
@@ -0,0 +1,13 @@
+--- a/drivers/net/wireless/ath/ath9k/hw.c
++++ b/drivers/net/wireless/ath/ath9k/hw.c
+@@ -1425,8 +1425,8 @@ int ath9k_hw_reset(struct ath_hw *ah, st
+ REG_WRITE(ah, AR_OBS, 8);
+
+ if (ah->config.rx_intr_mitigation) {
+- REG_RMW_FIELD(ah, AR_RIMT, AR_RIMT_LAST, 500);
+- REG_RMW_FIELD(ah, AR_RIMT, AR_RIMT_FIRST, 2000);
++ REG_RMW_FIELD(ah, AR_RIMT, AR_RIMT_LAST, 250);
++ REG_RMW_FIELD(ah, AR_RIMT, AR_RIMT_FIRST, 500);
+ }
+
+ if (ah->config.tx_intr_mitigation) {