wifi: rtw89: correct 6 GHz scan behavior
authorPo-Hao Huang <phhuang@realtek.com>
Fri, 7 Oct 2022 04:58:59 +0000 (12:58 +0800)
committerKalle Valo <kvalo@kernel.org>
Tue, 11 Oct 2022 16:46:00 +0000 (19:46 +0300)
commit54997c24767b51bd762ff942431e8d37b535dc2e
tree974cfda7afb0ea3e6cf349b7687e3a27f725bedc
parent6b0698984eb02f3e0dfd3c152df69f87c903e07f
wifi: rtw89: correct 6 GHz scan behavior

Change active scan behavior to fit 6GHz requirements. There are many
different rules on active scan between 6GHz and 2GHz/5GHz, so if the
SSID is not specified, do fast passive scanning and limit number of
probe requests we send for now until new firmware can support all
rules.

Signed-off-by: Po-Hao Huang <phhuang@realtek.com>
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20221007045900.10823-1-pkshih@realtek.com
drivers/net/wireless/realtek/rtw89/fw.c
drivers/net/wireless/realtek/rtw89/fw.h