rtl8xxxu: Feed current txrate information for mac80211
authorChris Chiu <chiu@endlessm.com>
Fri, 20 Mar 2020 06:38:33 +0000 (14:38 +0800)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 26 Mar 2020 09:43:00 +0000 (11:43 +0200)
commit0985d3a410ace005ce62666b67c9372dfc14bd7f
tree49c6458d1b24cb8df4f681ecd86071d38c05863b
parenta66b8b4108f178f34394681232c7df07e9b0f6be
rtl8xxxu: Feed current txrate information for mac80211

The nl80211 commands such as 'iw link' can't get current txrate
information from the driver. This commit fills in the tx rate
information from the C2H RA report in the sta_statistics function.

Signed-off-by: Chris Chiu <chiu@endlessm.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20200320063833.1058-3-chiu@endlessm.com
drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu.h
drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c