wifi: rtw89: use struct to access RA report
authorPing-Ke Shih <pkshih@realtek.com>
Fri, 28 Jul 2023 07:02:49 +0000 (15:02 +0800)
committerKalle Valo <kvalo@kernel.org>
Tue, 1 Aug 2023 14:44:36 +0000 (17:44 +0300)
commit57cafeb18f06d3f4eaea9145d3396fdb8c699acc
tree1e6ee820520d9742a8a4565d4a2412c027858cc9
parentc342ac2195161611b51927eefab18879155b110e
wifi: rtw89: use struct to access RA report

RA (rate adaptive), a mechanism to select proper rate, is implemented in
firmware, and this report is used to tell driver TX rate it is currently
using. Use struct to access this report, and 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/20230728070252.66525-8-pkshih@realtek.com
drivers/net/wireless/realtek/rtw89/fw.h
drivers/net/wireless/realtek/rtw89/phy.c