wifi: rtw89: use PLCP information to match BSS_COLOR and AID
authorPing-Ke Shih <pkshih@realtek.com>
Fri, 9 Feb 2024 06:52:24 +0000 (14:52 +0800)
committerKalle Valo <kvalo@kernel.org>
Mon, 12 Feb 2024 15:39:13 +0000 (17:39 +0200)
commit505b57d08f72dc67c97bf743bb33ca5c95755def
tree3e320660335e168fd16417cd041af4059b4718c8
parentfecf6b57fbc7560ee5f6e9771ac1f2653e4cc49d
wifi: rtw89: use PLCP information to match BSS_COLOR and AID

Hardware can use spatial reuse to reduce interference in OBSS environment,
and originally use MAC header to match BSS color and AID. Change to use
PLCP to match them earlier to prevent margin timing.

Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://msgid.link/20240209065229.34515-7-pkshih@realtek.com
drivers/net/wireless/realtek/rtw89/mac.c
drivers/net/wireless/realtek/rtw89/mac_be.c
drivers/net/wireless/realtek/rtw89/reg.h