rtw88: move IQK/DPK into phy_calibration
authorYan-Hsuan Chuang <yhchuang@realtek.com>
Mon, 9 Sep 2019 07:16:09 +0000 (15:16 +0800)
committerKalle Valo <kvalo@codeaurora.org>
Fri, 13 Sep 2019 15:03:20 +0000 (18:03 +0300)
commitf27b886d0d062654be91360d45dc085a1a68fdf2
treef42993524ae198ac40805c9c0c97bb11fbdeeda6
parent5227c2ee453d2f778192d8bb0f1a6072892aaa8e
rtw88: move IQK/DPK into phy_calibration

Since 8822c requires to do not only IQK, but also DPK.
Move these calibrations that need to be done once the channel
is determined, into phy_calibration.

And note that the order of the calibrations matters, 8822c
should do IQK first, then DPK.

Signed-off-by: Yan-Hsuan Chuang <yhchuang@realtek.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/realtek/rtw88/mac80211.c
drivers/net/wireless/realtek/rtw88/main.h
drivers/net/wireless/realtek/rtw88/rtw8822b.c
drivers/net/wireless/realtek/rtw88/rtw8822c.c