1234567891011121314151617181920212223242526272829303132333435363738394041 |
- From 92d3b88b1029c46f9bf27302c502dc0e3541805b Mon Sep 17 00:00:00 2001
- From: Arend van Spriel <[email protected]>
- Date: Thu, 14 Feb 2019 13:43:50 +0100
- Subject: [PATCH] brcmfmac: disable MBSS feature for bcm4330 device
- The MBSS feature was already disabled for bcm43362 as it resulted in a
- beacon with BRCM_TEST_SSID regardless user configuration in hostapd. Now
- the same has been reported for bcm4330 so disable the feature for this
- device as well.
- Reported-by: Russell King <[email protected]>
- Tested-by: Christopher Martin <[email protected]>
- Reviewed-by: Hante Meuleman <[email protected]>
- Reviewed-by: Pieter-Paul Giesberts <[email protected]>
- Reviewed-by: Franky Lin <[email protected]>
- Signed-off-by: Arend van Spriel <[email protected]>
- Signed-off-by: Kalle Valo <[email protected]>
- ---
- .../net/wireless/broadcom/brcm80211/brcmfmac/feature.c | 10 ++++++++--
- 1 file changed, 8 insertions(+), 2 deletions(-)
- --- a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/feature.c
- +++ b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/feature.c
- @@ -272,9 +272,15 @@ void brcmf_feat_attach(struct brcmf_pub
- BIT(BRCMF_FEAT_WOWL_GTK);
- }
- }
- - /* MBSS does not work for 43362 */
- - if (drvr->bus_if->chip == BRCM_CC_43362_CHIP_ID)
- + /* MBSS does not work for all chips */
- + switch (drvr->bus_if->chip) {
- + case BRCM_CC_4330_CHIP_ID:
- + case BRCM_CC_43362_CHIP_ID:
- ifp->drvr->feat_flags &= ~BIT(BRCMF_FEAT_MBSS);
- + break;
- + default:
- + break;
- + }
- brcmf_feat_iovar_int_get(ifp, BRCMF_FEAT_RSDB, "rsdb_mode");
- brcmf_feat_iovar_int_get(ifp, BRCMF_FEAT_TDLS, "tdls_enable");
- brcmf_feat_iovar_int_get(ifp, BRCMF_FEAT_MFP, "mfp");
|