wifi: rtw89: use struct and le32_get_bits to access RX info
authorPing-Ke Shih <pkshih@realtek.com>
Mon, 22 May 2023 12:25:10 +0000 (20:25 +0800)
committerKalle Valo <kvalo@kernel.org>
Thu, 25 May 2023 16:13:13 +0000 (19:13 +0300)
commit88bdc3ff956cd9267777ae8557de46bbf2d49e32
treed1bd2db37a75d04fe18cc18c08723043e0fcb7cf
parentde9f93385d0f318b3eba0c1026fd2ec8fba2e982
wifi: rtw89: use struct and le32_get_bits to access RX info

If received packet type is PPDU status, RX info provides information
attached by MAC hardware, and mention how long BB information attached.

This conversion 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-3-pkshih@realtek.com
drivers/net/wireless/realtek/rtw89/core.c
drivers/net/wireless/realtek/rtw89/txrx.h