wifi: rtw89: 8852b: rfk: add DPK
authorPing-Ke Shih <pkshih@realtek.com>
Fri, 14 Oct 2022 06:02:34 +0000 (14:02 +0800)
committerKalle Valo <kvalo@kernel.org>
Wed, 19 Oct 2022 05:57:50 +0000 (08:57 +0300)
commit5b8471ace5b1247b2eb6a824341e11a8e871080f
tree7d6cb3ca334ef06a4722bf4ca379660d442d62c4
parent7f18a70d7b4d2a0e54ce542c222aeffc464ed9f3
wifi: rtw89: 8852b: rfk: add DPK

DPK is short for digital pre-distortion calibration. It can adjusts digital
waveform according to PA linear characteristics dynamically to enhance
TX EVM.

Do this calibration when we are going to run on AP channel. To prevent
power offset out of boundary, it monitors thermal and set proper boundary
to register.

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