wifi: rtw89: 8851b: rfk: add DPK
authorPing-Ke Shih <pkshih@realtek.com>
Sat, 13 May 2023 05:44:24 +0000 (13:44 +0800)
committerKalle Valo <kvalo@kernel.org>
Wed, 17 May 2023 08:06:40 +0000 (11:06 +0300)
commit0194a95cbe721a1eff4af2587b09213b088281b0
tree3a24b9f2ad51895295b87abc98147da4f07e71cb
parentfe8a168266eb65d41ebee0b801fffb5278f92a1b
wifi: rtw89: 8851b: 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/20230513054425.9689-3-pkshih@realtek.com
drivers/net/wireless/realtek/rtw89/reg.h
drivers/net/wireless/realtek/rtw89/rtw8851b_rfk.c
drivers/net/wireless/realtek/rtw89/rtw8851b_rfk.h