brcmfmac: Support 43455 save-restore (SR) feature if FW include -sr
authorDouble Lo <double.lo@cypress.com>
Tue, 19 Dec 2017 06:56:44 +0000 (14:56 +0800)
committerKalle Valo <kvalo@codeaurora.org>
Mon, 8 Jan 2018 17:20:53 +0000 (19:20 +0200)
This patch will add 43455 into the save-restore(SR) capable chip list, so
the SR engine will be enabled with 43455 FW which built-in the -sr
function.

Signed-off-by: Double Lo <double.lo@cypress.com>
Signed-off-by: Wright Feng <wright.feng@cypress.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/broadcom/brcm80211/brcmfmac/chip.c

index c5d1a1cbf60192d2cc1cce7d50cce66f8b1480db..f7b30ce2300d1ed98dd23f5947dceb1eacecce44 100644 (file)
@@ -1338,6 +1338,7 @@ bool brcmf_chip_sr_capable(struct brcmf_chip *pub)
        switch (pub->chip) {
        case BRCM_CC_4354_CHIP_ID:
        case BRCM_CC_4356_CHIP_ID:
+       case BRCM_CC_4345_CHIP_ID:
                /* explicitly check SR engine enable bit */
                pmu_cc3_mask = BIT(2);
                /* fall-through */