mac80211: brcmfmac: backport scheduled scan cleanup and chip support
[openwrt/openwrt.git] / package / kernel / mac80211 / patches / 510-ath9k_intr_mitigation_tweak.patch
index dec6eaf6abc3838246f4e0167a1eb05d2bbbd28b..d2a3b9657065cd6b7abf41297e7bc5b76b58b6ce 100644 (file)
@@ -1,6 +1,6 @@
 --- a/drivers/net/wireless/ath/ath9k/hw.c
 +++ b/drivers/net/wireless/ath/ath9k/hw.c
-@@ -388,13 +388,8 @@ static void ath9k_hw_init_config(struct 
+@@ -390,13 +390,8 @@ static void ath9k_hw_init_config(struct
  
        ah->config.rx_intr_mitigation = true;
  
@@ -14,5 +14,5 @@
 +      ah->config.rimt_last = 250;
 +      ah->config.rimt_first = 500;
  
-       /*
-        * We need this for PCI devices only (Cardbus, PCI, miniPCI)
+       if (AR_SREV_9462(ah) || AR_SREV_9565(ah))
+               ah->config.pll_pwrsave = 7;