Re: [PATCH wireless-next 3/4] wifi: brcmfmac: Improve the delay during scan

Arend van Spriel <[email protected]>
Newsgroups dev.linux.lists.brcm80211,org.kernel.vger.linux-wireless
Message-ID <[email protected]>
On 6/4/2025 11:16 AM, Ian Lin wrote:
> From: Kurt Lee <[email protected]>
> 
> 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 <[email protected]>
> Signed-off-by: Ian Lin <[email protected]>
> ---
>   drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c | 3 +++
>   1 file changed, 3 insertions(+
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.