rtw89: modify dcfo_comp to share with chips
authorYuan-Han Zhang <yuanhan1020@realtek.com>
Thu, 17 Mar 2022 05:55:32 +0000 (13:55 +0800)
committerKalle Valo <kvalo@kernel.org>
Thu, 17 Mar 2022 14:19:55 +0000 (16:19 +0200)
commitb7379148f5980b24b4dae4ec5067d650b0a9bf81
tree3c6e9ac8d8d04e8d4c08002439da8c200f45111a
parent00f1d133867f3d0c20eafbcb67088f65947bbc27
rtw89: modify dcfo_comp to share with chips

The dcfo_comp is digital CFO (central frequency offset) compensation.
Since the flow can be shared with all chips, add chip parameters to support
variant register address and format.

Signed-off-by: Yuan-Han Zhang <yuanhan1020@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/20220317055543.40514-2-pkshih@realtek.com
drivers/net/wireless/realtek/rtw89/core.h
drivers/net/wireless/realtek/rtw89/phy.c
drivers/net/wireless/realtek/rtw89/reg.h
drivers/net/wireless/realtek/rtw89/rtw8852a.c
drivers/net/wireless/realtek/rtw89/rtw8852c.c