306-ath9k-do-not-reset-while-BB-panic-0x4000409-on-ar956.patch 980 B

12345678910111213141516171819202122232425262728293031
  1. From: Miaoqing Pan <miaoqing@codeaurora.org>
  2. Date: Fri, 15 Jan 2016 18:17:19 +0800
  3. Subject: [PATCH] ath9k: do not reset while BB panic(0x4000409) on ar9561
  4. BB panic(0x4000409) observed while AP enabling/disabling
  5. bursting.
  6. Signed-off-by: Miaoqing Pan <miaoqing@codeaurora.org>
  7. ---
  8. --- a/drivers/net/wireless/ath/ath9k/ar9003_phy.c
  9. +++ b/drivers/net/wireless/ath/ath9k/ar9003_phy.c
  10. @@ -2071,7 +2071,8 @@ void ar9003_hw_attach_phy_ops(struct ath
  11. * to be disabled.
  12. *
  13. * 0x04000409: Packet stuck on receive.
  14. - * Full chip reset is required for all chips except AR9340.
  15. + * Full chip reset is required for all chips except
  16. + * AR9340, AR9531 and AR9561.
  17. */
  18. /*
  19. @@ -2100,7 +2101,7 @@ bool ar9003_hw_bb_watchdog_check(struct
  20. case 0x04000b09:
  21. return true;
  22. case 0x04000409:
  23. - if (AR_SREV_9340(ah) || AR_SREV_9531(ah))
  24. + if (AR_SREV_9340(ah) || AR_SREV_9531(ah) || AR_SREV_9561(ah))
  25. return false;
  26. else
  27. return true;