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
master
Felix Fietkau 2010-12-24 12:09:43 +00:00
parent 57a5a52edf
commit 4f26a22695
1 changed files with 13 additions and 0 deletions

View File

@ -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) {