brcmfmac: keep apsta enabled when AP starts with MCHAN feature
authorWright Feng <wright.feng@cypress.com>
Mon, 27 Apr 2020 06:59:59 +0000 (01:59 -0500)
committerKalle Valo <kvalo@codeaurora.org>
Mon, 4 May 2020 09:48:27 +0000 (12:48 +0300)
commit774965f22dc740ff470d8f26b9a44c5c92a7715b
tree9c3c16a28e0936aa871398c892c9ca0d90d34526
parenta6336094c3ab70efa8b16546a2e1e11d9afc8000
brcmfmac: keep apsta enabled when AP starts with MCHAN feature

When starting station mode on wlan0 and AP mode on wlan1, the apsta will
be disabled and cause data stall on wlan0(station). The apsta feature
with MCHAN(Multi-Channel Concurrent) or RSDB(Real Simultaneous
Dual-Band) can make STA+AP work on two bands concurrently.
Because of that, we keep apsta enabled if firmware supports MCHAN or
RSDB features

Signed-off-by: Wright Feng <wright.feng@cypress.com>
Signed-off-by: Chi-Hsien Lin <chi-hsien.lin@cypress.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/1587970803-77700-2-git-send-email-chi-hsien.lin@cypress.com
drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c