]> git.ipfire.org Git - thirdparty/linux.git/commit
wifi: rtw89: phy: add dummy C2H event handler for report of TAS power
authorPing-Ke Shih <pkshih@realtek.com>
Mon, 9 Dec 2024 04:21:27 +0000 (12:21 +0800)
committerPing-Ke Shih <pkshih@realtek.com>
Thu, 12 Dec 2024 03:09:12 +0000 (11:09 +0800)
commit09489812013f9ff3850c3af9900c88012b8c1e5d
tree2d95447ae81c7845cbb7359ed845c28fc3c73b50
parent5fdf5e557f06213ef5134d31770c29e77de205cd
wifi: rtw89: phy: add dummy C2H event handler for report of TAS power

The newer firmware, lik RTL8852C version 0.27.111.0, will notify driver
report of TAS (Time Averaged SAR) power by new C2H events. This is to
assist in higher accurate calculation of TAS.

For now, driver doesn't use the report yet, so add a dummy handler to
avoid it throws info like:
   rtw89_8852ce 0000:03:00.0: c2h class 9 func 6 not support

Also add "MAC" and "PHY" to the message to disambiguate the source of
C2H event.

Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Link: https://patch.msgid.link/20241209042127.21424-1-pkshih@realtek.com
drivers/net/wireless/realtek/rtw89/mac.c
drivers/net/wireless/realtek/rtw89/phy.c
drivers/net/wireless/realtek/rtw89/phy.h