aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2010-12-24 12:09:43 +0000
committerFelix Fietkau <nbd@openwrt.org>2010-12-24 12:09:43 +0000
commit4f26a226956507035fa2b9fe40a6449c8ae8f2e9 (patch)
treee34efff90e064436ed603490041814184fad7e26
parent57a5a52edfabbb8f671cd637028544b47474ef9f (diff)
downloadupstream-4f26a226956507035fa2b9fe40a6449c8ae8f2e9.tar.gz
upstream-4f26a226956507035fa2b9fe40a6449c8ae8f2e9.tar.bz2
upstream-4f26a226956507035fa2b9fe40a6449c8ae8f2e9.zip
ath9k: add back the interrupt mitigation tweak and reduce the rx interrupt mitigation times further
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24819 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--package/mac80211/patches/550-ath9k_intr_mitigation_tweak.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/package/mac80211/patches/550-ath9k_intr_mitigation_tweak.patch b/package/mac80211/patches/550-ath9k_intr_mitigation_tweak.patch
new file mode 100644
index 0000000000..be17062ccb
--- /dev/null
+++ b/package/mac80211/patches/550-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
+@@ -1426,8 +1426,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) {