brcmfmac: feature check for multi-scheduled scan fails on bcm4345 devices
PATCH v2 1/1 brcmfmac: feature check for multi-scheduled scan fails on bcm4345 devices
The firmware feature check introduced for multi-scheduled scan is also failing for bcm4345 devices resulting in a firmware crash.
The reason for this crash has not yet been root cause so this patch avoids the feature check for those device as a short-term fix.
---
v2: Fixed tabs being replaced by spaces in patch submission Tested on MINIX NEO Z83-4 and MINIX NEO Z83-4 Pro devices.
--- drivers/net/wireless/broadcom/brcm80211/brcmfmac/feature.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/net/wireless/broadcom/brcm80211/brcmfmac/feature.c +2 -1
@@ -159,7 +159,8 @@ void brcmf_feat_attach(struct brcmf_pub *drvr)brcmf_feat_firmware_capabilities (ifp);memset (&gscan_cfg,0 ,sizeof (gscan_cfg)); -if (drvr->bus_if->chip !=BRCM_CC_43430_CHIP_ID ) +if (drvr->bus_if->chip !=BRCM_CC_43430_CHIP_ID && + drvr->bus_if->chip !=BRCM_CC_4345_CHIP_ID )brcmf_feat_iovar_data_set (ifp,BRCMF_FEAT_GSCAN ,"pfn_gscan_cfg" , &gscan_cfg,sizeof (gscan_cfg));
Signature · 1 line
1.9.1
Quoted 4 lines · Ian W MORRISON
The firmware feature check introduced for multi-scheduled scan is also failing for bcm4345 devices resulting in a firmware crash.
The reason for this crash has not yet been root cause so this patch avoids the feature check for those device as a short-term fix.
Thanks. This is one of the few devices that I actually do not have on my desk.
Quoted 8 lines
Fixes 9fe929aaace6 ("brcmfmac: add firmware feature detection for gscan feature")Signed-off-by Ian W MORRISON <[email protected]>---
v2: Fixed tabs being replaced by spaces in patch submission Tested on MINIX NEO Z83-4 and MINIX NEO Z83-4 Pro devices.--- drivers/net/wireless/broadcom/brcm80211/brcmfmac/feature.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
Quoted 8 lines · Arend van Spriel
Quoted 5 lines · Ian W MORRISON
The firmware feature check introduced for multi-scheduled scan is also failing for bcm4345 devices resulting in a firmware crash.
The reason for this crash has not yet been root cause so this patch avoids the feature check for those device as a short-term fix.
Quoted 14 lines
Thanks. This is one of the few devices that I actually do not have on my desk.
Acked-by Arend van Spriel <[email protected]>Quoted 10 lines
Fixes 9fe929aaace6 ("brcmfmac: add firmware feature detection for gscanfeature")
Signed-off-by Ian W MORRISON <[email protected]>---
v2: Fixed tabs being replaced by spaces in patch submission Tested on MINIX NEO Z83-4 and MINIX NEO Z83-4 Pro devices.--- drivers/net/wireless/broadcom/brcm80211/brcmfmac/feature.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
Thanks. This patch of course is required to fix the '4.13 REGRESSION' for brcm4345 sdio wifi with 4.13-rc1 through 4.13-rc7 as v4.12.10 is the last working release. If you want me to test anything specific on this device let me know.
Quoted 25 lines · Ian W MORRISON
Quoted 8 lines · Arend van Spriel
Quoted 5 lines · Ian W MORRISON
The firmware feature check introduced for multi-scheduled scan is also failing for bcm4345 devices resulting in a firmware crash.
The reason for this crash has not yet been root cause so this patch avoids the feature check for those device as a short-term fix.Quoted 14 lines
Thanks. This is one of the few devices that I actually do not have on my desk.
Acked-by Arend van Spriel <[email protected]>Quoted 10 lines
Fixes 9fe929aaace6 ("brcmfmac: add firmware feature detection for gscanfeature")
Signed-off-by Ian W MORRISON <[email protected]>---
v2: Fixed tabs being replaced by spaces in patch submission Tested on MINIX NEO Z83-4 and MINIX NEO Z83-4 Pro devices.--- drivers/net/wireless/broadcom/brcm80211/brcmfmac/feature.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
Quoted 4 lines
Thanks. This patch of course is required to fix the '4.13 REGRESSION' for brcm4345 sdio wifi with 4.13-rc1 through 4.13-rc7 as v4.12.10 is the last working release. If you want me to test anything specific on this device let me know.
I'll queue this for 4.14. And add a stable tag so that I goes to 4.13 stable releases:
Signature · 1 line
Kalle Valo
Quoted 8 lines · Kalle Valo
I'll queue this for 4.14. And add a stable tag so that I goes to 4.13 stable releases:
Cc <[email protected]> # v4.13--
Kalle Valo
Thanks.
A message that is not in the archive (sent off-list or not yet received): CAFXWsS-NxYqp-N9AFUCuQE-nknNorV25wevGJ7KkJuvMmHh6Og@mail.gmail.com
Hi Ian,
please don't send me email privately, instead always send the questions to the list. You get better answers faster and I get less email :)
Quoted 4 lines · Ian W MORRISON
With the below patch how can I track when it has been merged into 4.13 so I can check and start using it? For 4.14 I'm assuming I'll get an 'applied' email from you so I can track through git but as I've never had a patch go backwards into stable I'm unsure of how it works.
So if Greg applies a patch to one of stable his stable releases who usually sends a private email to the patch author and anyone who has signed off the patch. So you should get an email about that. You can also follow the stable trees mentioned here:
https://www.kernel.org/doc/html/latest/process/stable-kernel-rules.html
But good that you brought up this as I almost missed your patch from this week's pull request for 4.14. I'll apply it shortly.
Signature · 1 line
Kalle Valo
Quoted 9 lines · Ian W MORRISON
The firmware feature check introduced for multi-scheduled scan is also failing for bcm4345 devices resulting in a firmware crash.
The reason for this crash has not yet been root cause so this patch avoids the feature check for those device as a short-term fix.Fixes 9fe929aaace6 ("brcmfmac: add firmware feature detection for gscan feature")Cc <[email protected]> # v4.13Signed-off-by Ian W MORRISON <[email protected]>Acked-by Arend van Spriel <[email protected]>
Patch applied to wireless-drivers.git, thanks.
f957dd3c8db2 brcmfmac: feature check for multi-scheduled scan fails on bcm4345 devices
Signature · 3 lines
https://patchwork.kernel.org/patch/9930929/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches