353-brcmfmac-disable-MBSS-feature-for-BCM43362.patch 1.2 KB

12345678910111213141516171819202122232425262728
  1. From: Arend van Spriel <[email protected]>
  2. Date: Fri, 20 Mar 2015 22:18:17 +0100
  3. Subject: [PATCH] brcmfmac: disable MBSS feature for BCM43362
  4. The BCM43362 firmware falsely reports it is capable of providing
  5. MBSS. As a result AP mode no longer works for this device. Therefor
  6. disable MBSS in the driver for this chipset.
  7. Cc: [email protected] # 3.19.y
  8. Reported-by: Jorg Krause <[email protected]>
  9. Reviewed-by: Hante Meuleman <[email protected]>
  10. Reviewed-by: Pieter-Paul Giesberts <[email protected]>
  11. Signed-off-by: Arend van Spriel <[email protected]>
  12. Signed-off-by: Kalle Valo <[email protected]>
  13. ---
  14. --- a/drivers/net/wireless/brcm80211/brcmfmac/feature.c
  15. +++ b/drivers/net/wireless/brcm80211/brcmfmac/feature.c
  16. @@ -126,7 +126,8 @@ void brcmf_feat_attach(struct brcmf_pub
  17. brcmf_feat_iovar_int_get(ifp, BRCMF_FEAT_MCHAN, "mchan");
  18. if (drvr->bus_if->wowl_supported)
  19. brcmf_feat_iovar_int_get(ifp, BRCMF_FEAT_WOWL, "wowl");
  20. - brcmf_feat_iovar_int_set(ifp, BRCMF_FEAT_MBSS, "mbss", 0);
  21. + if (drvr->bus_if->chip != BRCM_CC_43362_CHIP_ID)
  22. + brcmf_feat_iovar_int_set(ifp, BRCMF_FEAT_MBSS, "mbss", 0);
  23. /* set chip related quirks */
  24. switch (drvr->bus_if->chip) {