]> www.infradead.org Git - nvme.git/commit
wifi: rtw89: 8922a: add chip_ops to get thermal value
authorPing-Ke Shih <pkshih@realtek.com>
Wed, 24 Jan 2024 03:38:02 +0000 (11:38 +0800)
committerKalle Valo <kvalo@kernel.org>
Thu, 1 Feb 2024 10:19:51 +0000 (12:19 +0200)
commit1de97cd362c4080aab595b84bf0bff3ebc702446
tree93d4237c677ca9046e7400a695ff5e342af4a973
parent88d1f9b22fab815dd8c27ccb06f30d4814eaa11a
wifi: rtw89: 8922a: add chip_ops to get thermal value

Get thermal value as a clue to do RF calibration if the delta is larger
than a threshold, but 8922A doesn't need this, so we only read out the
value when debugging to reduce IO.

Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://msgid.link/20240124033802.12508-1-pkshih@realtek.com
drivers/net/wireless/realtek/rtw89/reg.h
drivers/net/wireless/realtek/rtw89/rtw8922a.c