d010d23f01dc876f1df3c27c597d8bc263ff1d25
[openwrt/staging/neocturne.git] /
1 From e3720dad99859251a8b0fe2807275a8afcfb560d Mon Sep 17 00:00:00 2001
2 From: Double Lo <double.lo@cypress.com>
3 Date: Tue, 19 Dec 2017 14:56:44 +0800
4 Subject: [PATCH] brcmfmac: Support 43455 save-restore (SR) feature if FW
5 include -sr
6
7 This patch will add 43455 into the save-restore(SR) capable chip list, so
8 the SR engine will be enabled with 43455 FW which built-in the -sr
9 function.
10
11 Signed-off-by: Double Lo <double.lo@cypress.com>
12 Signed-off-by: Wright Feng <wright.feng@cypress.com>
13 Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
14 ---
15 drivers/net/wireless/broadcom/brcm80211/brcmfmac/chip.c | 1 +
16 1 file changed, 1 insertion(+)
17
18 --- a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/chip.c
19 +++ b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/chip.c
20 @@ -1338,6 +1338,7 @@ bool brcmf_chip_sr_capable(struct brcmf_
21 switch (pub->chip) {
22 case BRCM_CC_4354_CHIP_ID:
23 case BRCM_CC_4356_CHIP_ID:
24 + case BRCM_CC_4345_CHIP_ID:
25 /* explicitly check SR engine enable bit */
26 pmu_cc3_mask = BIT(2);
27 /* fall-through */