Skip to content

Commit 10d162b

Browse files
Po-Hao HuangKalle Valo
authored andcommitted
rtw88: 8822c: add ieee80211_ops::hw_scan
Declare this function allows us to use customized scanning policy. By doing so we can be more time efficient on each scan. In order to make existing coex mechanism work as usual, firmware notifies driver on each channel switch event, then decide antenna ownership based on the current channel/band. Do note that this new mechanism affects throughput more than the sw_scan we used to have, but the overall average throughput is not affected since each scan take less time. Since the firmware size is limited, we only support probe requests with custom IEs length under 128 bytes for now, if any user space tools requires more than that, we'll introduce related changes afterwards. For backward compatibility, we fallback to sw_scan when using older firmware that does not support this feature. Signed-off-by: Po-Hao Huang <[email protected]> Signed-off-by: Ping-Ke Shih <[email protected]> Signed-off-by: Kalle Valo <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent bc11517 commit 10d162b

File tree

9 files changed

+709
-33
lines changed

9 files changed

+709
-33
lines changed

drivers/net/wireless/realtek/rtw88/debug.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ enum rtw_debug_mask {
2222
RTW_DBG_CFO = 0x00002000,
2323
RTW_DBG_PATH_DIV = 0x00004000,
2424
RTW_DBG_ADAPTIVITY = 0x00008000,
25+
RTW_DBG_HW_SCAN = 0x00010000,
2526

2627
RTW_DBG_ALL = 0xffffffff
2728
};

0 commit comments

Comments
 (0)