summaryrefslogtreecommitdiff
path: root/package/mac80211/patches
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2010-01-15 07:39:31 +0000
committerFelix Fietkau <nbd@openwrt.org>2010-01-15 07:39:31 +0000
commit87226cbdc619874fec78cef8f24674db0d9fc25f (patch)
treee1f8b982cc979fedc5917f29aeb78cb6047059ce /package/mac80211/patches
parentbc28dd7d7dd02282aba281dd01045d42cb1edd21 (diff)
downloadmtk-20170518-87226cbdc619874fec78cef8f24674db0d9fc25f.zip
mtk-20170518-87226cbdc619874fec78cef8f24674db0d9fc25f.tar.gz
mtk-20170518-87226cbdc619874fec78cef8f24674db0d9fc25f.tar.bz2
ath9k: tweak rx interrupt mitigation settings for better performance
SVN-Revision: 19146
Diffstat (limited to 'package/mac80211/patches')
-rw-r--r--package/mac80211/patches/408-ath9k_tweak_rx_intr_mitigation.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/mac80211/patches/408-ath9k_tweak_rx_intr_mitigation.patch b/package/mac80211/patches/408-ath9k_tweak_rx_intr_mitigation.patch
new file mode 100644
index 0000000..b900f41
--- /dev/null
+++ b/package/mac80211/patches/408-ath9k_tweak_rx_intr_mitigation.patch
@@ -0,0 +1,11 @@
+--- a/drivers/net/wireless/ath/ath9k/hw.c
++++ b/drivers/net/wireless/ath/ath9k/hw.c
+@@ -2109,7 +2109,7 @@ int ath9k_hw_reset(struct ath_hw *ah, st
+
+ 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_FIRST, 500);
+ }
+
+ ath9k_hw_init_bb(ah, chan);