wifi: rtw89: use struct and le32_get_bits() to access received PHY status IEs
authorPing-Ke Shih <pkshih@realtek.com>
Mon, 22 May 2023 12:25:11 +0000 (20:25 +0800)
committerKalle Valo <kvalo@kernel.org>
Thu, 25 May 2023 16:13:13 +0000 (19:13 +0300)
commit332debb80488e98f6083238bdf61e6f953d5c180
treeeca70a56643f876da42cb39646eb295b968826b4
parent88bdc3ff956cd9267777ae8557de46bbf2d49e32
wifi: rtw89: use struct and le32_get_bits() to access received PHY status IEs

PHY status IEs generated by BB hardware is to provide more detail
information related to received packets, such as RSSI and bandwidth.

To avoid type casting, change buf type from u8* to void* as well.

This patch doesn't change logic at all.

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