wifi: rtw89: 8852b: add chip_ops to get thermal
authorPing-Ke Shih <pkshih@realtek.com>
Sun, 9 Oct 2022 12:53:58 +0000 (20:53 +0800)
committerKalle Valo <kvalo@kernel.org>
Wed, 12 Oct 2022 04:34:56 +0000 (07:34 +0300)
commit8f88474ce3eca2dd8fb4e08d4b6ab71e76312e3e
tree26387e0ad4a6b9c28ab28235eab9a569bdd44c29
parenta804479839e1cf502a76c407f3e07135ddbe5032
wifi: rtw89: 8852b: add chip_ops to get thermal

Thermal value reflects temperature that will affect RF performance, so
we re-calibrate RF characteristics if delta of thermal over a threshold.

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