wifi: rtw89: add HE radiotap for monitor mode
authorPing-Ke Shih <pkshih@realtek.com>
Fri, 25 Nov 2022 07:24:15 +0000 (15:24 +0800)
committerKalle Valo <kvalo@kernel.org>
Thu, 1 Dec 2022 11:02:31 +0000 (13:02 +0200)
commit51e8ed4e44b5efcf8da2c1f3478e52120a12cdf8
treef45bac57b5d4351abdc9192106c879773061aa38
parentcd9b6b3baf5278c73c91e242d41387684fc7f8d8
wifi: rtw89: add HE radiotap for monitor mode

With basic HE radiotap, we can check data rate in sniffer data. To store
the radiotap data, we reserve headroom of aligned 64 bytes, and then
update HE radiotap in monitor mode, so it doesn't affect performance in
normal mode.

Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20221125072416.94752-3-pkshih@realtek.com
drivers/net/wireless/realtek/rtw89/core.c
drivers/net/wireless/realtek/rtw89/core.h
drivers/net/wireless/realtek/rtw89/pci.c