wifi: rtw89: modify the register setting and the flow of CFO tracking
authorCheng-Chieh Hsieh <cj.hsieh@realtek.com>
Mon, 16 Oct 2023 06:51:13 +0000 (14:51 +0800)
committerKalle Valo <kvalo@kernel.org>
Thu, 19 Oct 2023 07:28:49 +0000 (10:28 +0300)
commit5d2f3c3aaaa680e893b22584a75d9ab27b67e2cd
treeda45381abbf6452050f5b79866ce2a1c69ba33a5
parent4ba17aa476e2b58f0ee73f6b6a7415dd90168d86
wifi: rtw89: modify the register setting and the flow of CFO tracking

The register address used for CFO(carrier frequency offset) tracking is
different from WiFi 7 series, so we change the way to access it. And we
refine the flow of CFO tracking to compatible all WiFi 7 and 6 ICs.

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://lore.kernel.org/r/20231016065115.751662-4-pkshih@realtek.com
drivers/net/wireless/realtek/rtw89/phy.c
drivers/net/wireless/realtek/rtw89/phy.h
drivers/net/wireless/realtek/rtw89/phy_be.c
drivers/net/wireless/realtek/rtw89/reg.h