510-ath9k_intr_mitigation_tweak.patch 507 B

123456789101112131415161718
  1. --- a/drivers/net/wireless/ath/ath9k/hw.c
  2. +++ b/drivers/net/wireless/ath/ath9k/hw.c
  3. @@ -390,13 +390,8 @@ static void ath9k_hw_init_config(struct
  4. ah->config.rx_intr_mitigation = true;
  5. - if (AR_SREV_9300_20_OR_LATER(ah)) {
  6. - ah->config.rimt_last = 500;
  7. - ah->config.rimt_first = 2000;
  8. - } else {
  9. - ah->config.rimt_last = 250;
  10. - ah->config.rimt_first = 700;
  11. - }
  12. + ah->config.rimt_last = 250;
  13. + ah->config.rimt_first = 500;
  14. if (AR_SREV_9462(ah) || AR_SREV_9565(ah))
  15. ah->config.pll_pwrsave = 7;