summaryrefslogtreecommitdiff
path: root/package/mac80211/patches/510-ath9k_intr_mitigation_tweak.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-03-13 18:38:37 +0000
committerFelix Fietkau <nbd@openwrt.org>2011-03-13 18:38:37 +0000
commit66a6f82ee3704c72b3c6ea268ac71eed883722a5 (patch)
tree5572c7175f7b0854994964a55c03050c4471ef8a /package/mac80211/patches/510-ath9k_intr_mitigation_tweak.patch
parenta08bd03fadb1950c149a03978e3abab7786cdcc5 (diff)
downloadmtk-20170518-66a6f82ee3704c72b3c6ea268ac71eed883722a5.zip
mtk-20170518-66a6f82ee3704c72b3c6ea268ac71eed883722a5.tar.gz
mtk-20170518-66a6f82ee3704c72b3c6ea268ac71eed883722a5.tar.bz2
mac80211: update to wireless-testing 2011-03-11
SVN-Revision: 26128
Diffstat (limited to 'package/mac80211/patches/510-ath9k_intr_mitigation_tweak.patch')
-rw-r--r--package/mac80211/patches/510-ath9k_intr_mitigation_tweak.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/package/mac80211/patches/510-ath9k_intr_mitigation_tweak.patch b/package/mac80211/patches/510-ath9k_intr_mitigation_tweak.patch
new file mode 100644
index 0000000..301af3c
--- /dev/null
+++ b/package/mac80211/patches/510-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
+@@ -1466,8 +1466,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) {