]> git.baikalelectronics.ru Git - kernel.git/commit
rtw89: 8852c: implement chip_ops::get_thermal
authorPing-Ke Shih <pkshih@realtek.com>
Thu, 21 Apr 2022 12:09:01 +0000 (20:09 +0800)
committerKalle Valo <kvalo@kernel.org>
Sun, 24 Apr 2022 11:30:36 +0000 (14:30 +0300)
commitfd70a23319334f921a0868a536b176c78ee4b358
treea27896b5c70143785d25573e72a2e171ab5d70f9
parent889a1130ad36b3d5e743e5c1a92db1d8f42e6420
rtw89: 8852c: implement chip_ops::get_thermal

Read thermal value, and then we can use EWMA thermal value to do RF
calibrations if the value is changed 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/20220421120903.73715-13-pkshih@realtek.com
drivers/net/wireless/realtek/rtw89/rtw8852c.c