wifi: rtw89: parse TX EHT rate selected by firmware from RA C2H report
authorPing-Ke Shih <pkshih@realtek.com>
Wed, 11 Oct 2023 11:52:54 +0000 (19:52 +0800)
committerKalle Valo <kvalo@kernel.org>
Thu, 12 Oct 2023 12:14:28 +0000 (15:14 +0300)
commitf456701201e2045da2db5fdf1f66e2565ee821d7
tree47b330af8d8dbc30498d65b4131a912ed9ddc845
parent1f3cd090b4b2b51db4f5d1fc4d29cf0f3ce602d1
wifi: rtw89: parse TX EHT rate selected by firmware from RA C2H report

RA (rate adaptive) C2H report is to reflect current TX rate firmware is
using. Parse C2H event encoded in EHT mode, and then user space and debugfs
can use the information to know TX rate.

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