mac80211: update brcmfmac including missing boardrev workaround
[openwrt.git] / package / kernel / mac80211 / patches / 306-ath9k-do-not-reset-while-BB-panic-0x4000409-on-ar956.patch
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
5 BB panic(0x4000409) observed while AP enabling/disabling
6 bursting.
7
8 Signed-off-by: Miaoqing Pan <miaoqing@codeaurora.org>
9 ---
10
11 --- a/drivers/net/wireless/ath/ath9k/ar9003_phy.c
12 +++ b/drivers/net/wireless/ath/ath9k/ar9003_phy.c
13 @@ -2071,7 +2071,8 @@ void ar9003_hw_attach_phy_ops(struct ath
14   *             to be disabled.
15   *
16   * 0x04000409: Packet stuck on receive.
17 - *             Full chip reset is required for all chips except AR9340.
18 + *             Full chip reset is required for all chips except
19 + *            AR9340, AR9531 and AR9561.
20   */
21  
22  /*
23 @@ -2100,7 +2101,7 @@ bool ar9003_hw_bb_watchdog_check(struct
24         case 0x04000b09:
25                 return true;
26         case 0x04000409:
27 -               if (AR_SREV_9340(ah) || AR_SREV_9531(ah))
28 +               if (AR_SREV_9340(ah) || AR_SREV_9531(ah) || AR_SREV_9561(ah))
29                         return false;
30                 else
31                         return true;