]> git.baikalelectronics.ru Git - kernel.git/commit
brcmfmac: handle FWHALT mailbox indication
authorArend Van Spriel <arend.vanspriel@broadcom.com>
Wed, 8 Nov 2017 13:36:31 +0000 (14:36 +0100)
committerKalle Valo <kvalo@codeaurora.org>
Fri, 10 Nov 2017 02:28:47 +0000 (04:28 +0200)
commit87b15fcbbbcef3c2d4fa147b261bc539ce4f3771
treee94fd3a4a9202fbf13e8e71dbcf4215b7671f858
parent3b6cbf93d6981d52439d4f1e16802f62e28f66b2
brcmfmac: handle FWHALT mailbox indication

The firmware uses a mailbox to communicate to the host what is going
on. In the driver we validate the bit received. Various people seen
the following message:

 brcmfmac: brcmf_sdio_hostmail: Unknown mailbox data content: 0x40012

Bit 4 is cause of this message, but this actually indicates the firmware
has halted. Handle this bit by giving a more meaningful error message.

Reviewed-by: Hante Meuleman <hante.meuleman@broadcom.com>
Reviewed-by: Pieter-Paul Giesberts <pieter-paul.giesberts@broadcom.com>
Reviewed-by: Franky Lin <franky.lin@broadcom.com>
Signed-off-by: Arend van Spriel <arend.vanspriel@broadcom.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c