brcmfmac: add a timer to read console periodically in PCIE bus
authorWright Feng <wright.feng@cypress.com>
Thu, 29 Sep 2022 03:09:59 +0000 (22:09 -0500)
committerKalle Valo <kvalo@kernel.org>
Tue, 4 Oct 2022 08:28:28 +0000 (11:28 +0300)
commitdcb485dfc83bfa407e6dbdfb99f02be1446692ce
tree4ff050cdaee7630f1b18490a5a84fca4f934ab17
parent62ccb2e6f208ea754f62883be5a775f00bd559ab
brcmfmac: add a timer to read console periodically in PCIE bus

Currently, host only reads console buffer when receiving mailbox data or
hit crash with PCIE bus. Therefore, we add timer in PCIE code to read
console buffer periodically to help developer and user check firmware
message when there is no data transmission between host and dongle.

Signed-off-by: Wright Feng <wright.feng@cypress.com>
Signed-off-by: Chi-hsien Lin <chi-hsien.lin@cypress.com>
Signed-off-by: Ian Lin <ian.lin@infineon.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20220929031001.9962-2-ian.lin@infineon.com
drivers/net/wireless/broadcom/brcm80211/brcmfmac/bus.h
drivers/net/wireless/broadcom/brcm80211/brcmfmac/pcie.c
drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c