wifi: rtw89: allocate BSSID CAM per TDLS peer
authorPing-Ke Shih <pkshih@realtek.com>
Fri, 10 Jun 2022 07:26:02 +0000 (15:26 +0800)
committerKalle Valo <kvalo@kernel.org>
Tue, 21 Jun 2022 06:15:47 +0000 (09:15 +0300)
commit39913cc88540e5bae07addd23ab3cc9459dfaea6
treecd1d9d07fa07a6fad9d7e84ff104b3f0f1566fe9
parent445b6bc362f9aadef443b094625ef93087c7f755
wifi: rtw89: allocate BSSID CAM per TDLS peer

In STA mode, if peer is TDLS. Allocate a BSSID CAM entry with peer's
address to match address properly, and then hardware can ACK peer's
packets and receive packets to driver.

Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20220610072610.27095-4-pkshih@realtek.com
drivers/net/wireless/realtek/rtw89/cam.c
drivers/net/wireless/realtek/rtw89/cam.h
drivers/net/wireless/realtek/rtw89/core.c
drivers/net/wireless/realtek/rtw89/core.h
drivers/net/wireless/realtek/rtw89/debug.c
drivers/net/wireless/realtek/rtw89/fw.c
drivers/net/wireless/realtek/rtw89/ser.c