ath9k: tweak rx interrupt mitigation settings for better performance
authorFelix Fietkau <nbd@openwrt.org>
Fri, 15 Jan 2010 07:39:31 +0000 (07:39 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Fri, 15 Jan 2010 07:39:31 +0000 (07:39 +0000)
SVN-Revision: 19146

package/mac80211/patches/408-ath9k_tweak_rx_intr_mitigation.patch [new file with mode: 0644]

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 (file)
index 0000000..b900f41
--- /dev/null
@@ -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);