mac80211: update to latest version, fix tx gain patch
[openwrt/svn-archive/archive.git] / package / mac80211 / patches / 510-ath9k_intr_mitigation_tweak.patch
1 --- a/drivers/net/wireless/ath/ath9k/hw.c
2 +++ b/drivers/net/wireless/ath/ath9k/hw.c
3 @@ -1956,8 +1956,8 @@ int ath9k_hw_reset(struct ath_hw *ah, st
4 REG_WRITE(ah, AR_OBS, 8);
5
6 if (ah->config.rx_intr_mitigation) {
7 - REG_RMW_FIELD(ah, AR_RIMT, AR_RIMT_LAST, 500);
8 - REG_RMW_FIELD(ah, AR_RIMT, AR_RIMT_FIRST, 2000);
9 + REG_RMW_FIELD(ah, AR_RIMT, AR_RIMT_LAST, 250);
10 + REG_RMW_FIELD(ah, AR_RIMT, AR_RIMT_FIRST, 500);
11 }
12
13 if (ah->config.tx_intr_mitigation) {