wifi: rtw89: 8922a: update the register used in DIG and the DIG flow
authorCheng-Chieh Hsieh <cj.hsieh@realtek.com>
Fri, 5 Jan 2024 06:42:24 +0000 (14:42 +0800)
committerKalle Valo <kvalo@kernel.org>
Wed, 10 Jan 2024 14:50:57 +0000 (16:50 +0200)
commitd16f34b084d9734644932ca17812baec56fb0041
tree6ed331c27d326564d4b702567a763fc64b2320af
parentcac432a08537b5becabfbbdbdea1eb6cfe28df14
wifi: rtw89: 8922a: update the register used in DIG and the DIG flow

DIG standing for dynamic initial gain that is used to adjust RX coverage,
and PD lower threshold is packet detection power level by received signal
strength to avoid false detection of the WiFi packet.

Because of the hardware is different between WiFi 7 and 6 ICs, we adjust
flow and add register definition for 8922A.

Signed-off-by: Cheng-Chieh Hsieh <cj.hsieh@realtek.com>
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://msgid.link/20240105064228.36580-5-pkshih@realtek.com
drivers/net/wireless/realtek/rtw89/phy.c
drivers/net/wireless/realtek/rtw89/reg.h
drivers/net/wireless/realtek/rtw89/rtw8922a.c