mac80211: brcmfmac: backport scheduled scan cleanup and chip support
[openwrt/openwrt.git] / package / kernel / mac80211 / patches / 510-ath9k_intr_mitigation_tweak.patch
index d7478ff590f88264c82407897cd9b6f96d5687c8..d2a3b9657065cd6b7abf41297e7bc5b76b58b6ce 100644 (file)
@@ -1,6 +1,6 @@
 --- a/drivers/net/wireless/ath/ath9k/hw.c
 +++ b/drivers/net/wireless/ath/ath9k/hw.c
-@@ -359,13 +359,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;