]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
wifi: rtw89: improve scan time on 6 GHz band
authorJui-Peng Tsai <emma_tsai@realtek.com>
Tue, 21 Oct 2025 13:34:02 +0000 (21:34 +0800)
committerPing-Ke Shih <pkshih@realtek.com>
Tue, 28 Oct 2025 01:52:57 +0000 (09:52 +0800)
commita62b654125068a69b7c459ba59526ebd9882f405
tree77ea863306885cdc52183d342720eaeddf03df98
parente139b1c1f01a8874df02894b3aedf0b64f5b839b
wifi: rtw89: improve scan time on 6 GHz band

Reduce scan time for all supported channels from 4.4s to 3.5s.

If NL80211_SCAN_FLAG_COLOCATED_6GHZ is set in scan request, only scan PSC
channels and the channels from the RNR element found on the 2.4/5 GHz
channels. When firmware support parsing RNR element from received beacon
or probe response, offload the decision about non-PSC channels to firmware.
Driver do not need to fill non-PSC channels to scan list. If
NL80211_SCAN_FLAG_COLOCATED_6GHZ is not set, scan all supported channels.

Signed-off-by: Jui-Peng Tsai <emma_tsai@realtek.com>
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Link: https://patch.msgid.link/20251021133402.15467-9-pkshih@realtek.com
drivers/net/wireless/realtek/rtw89/fw.c