]> git.ipfire.org Git - thirdparty/linux.git/commit
wifi: rtw89: extend HW scan of WiFi 7 chips for extra OP chan when concurrency
authorChih-Kang Chang <gary.chang@realtek.com>
Thu, 10 Jul 2025 04:24:14 +0000 (12:24 +0800)
committerPing-Ke Shih <pkshih@realtek.com>
Tue, 15 Jul 2025 01:28:22 +0000 (09:28 +0800)
commitd0b87d9eaf76703b81e511d05db29a5e7ef6c3e0
treeb416ded7018318a6bea7511d2cf98d75cca0e20b
parent6332feafe37fdd0a336ab01b42fdfb5e6b8ee083
wifi: rtw89: extend HW scan of WiFi 7 chips for extra OP chan when concurrency

HW scan of WiFi 7 chips supports multiple op channel configurations.
When concurrency, fill two channels info to HW scan to avoid packet
lost.

However, the OP chan timing is arranged by FW, and the actual stay
period depends on AP. It's hard to calculate total scan time for once
NoA in advance. Therefore, change the scan back to GO OP channel every
200TU and TX beacon to ensure GC doesn't beacon loss. Additionally, add
a period NoA with large duration to ensure GC doesn't TX packet during
GO scanning and can still listen beacon at TBTT to update the new NoA
info after scan complete.

Signed-off-by: Chih-Kang Chang <gary.chang@realtek.com>
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Link: https://patch.msgid.link/20250710042423.73617-6-pkshih@realtek.com
drivers/net/wireless/realtek/rtw89/core.h
drivers/net/wireless/realtek/rtw89/fw.c
drivers/net/wireless/realtek/rtw89/fw.h