On 6/4/2025 11:16 AM, Ian Lin wrote:
From: Kurt Lee <kurt.lee@xxxxxxxxxxx> wpa_supplicant sends NL80211_CMD_GET_SURVEY command every time after normal scan, which causes brcmfmac surveying each channel again. Currently brcmfmac implments brcmf_cfg80211_dump_survey focusing on AP mode, thus this change will return the request other than AP mode.
I am not sure if the driver should make this kind of decision. If wpa_supplicant wants to invoke a survey after a scan than we should simply comply and give what wpa_supplicant what it requests for. If you want to avoid the survey make it a configuration option in wpa_supplicant.conf.
Regards, Arend
Signed-off-by: Kurt Lee <kurt.lee@xxxxxxxxxxx> Signed-off-by: Ian Lin <ian.lin@xxxxxxxxxxxx> --- drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c | 3 +++ 1 file changed, 3 insertions(+