rtw88: 8821c: add phy calibration
authorTzu-En Huang <tehuang@realtek.com>
Tue, 16 Jun 2020 09:16:25 +0000 (17:16 +0800)
committerKalle Valo <kvalo@codeaurora.org>
Wed, 15 Jul 2020 09:06:59 +0000 (12:06 +0300)
commit1a94d93e648f6829a1dc30cb1ee4e1f92c7386e0
treeaff4513bb17b85fed789f55fceea222bbff2042a
parent960361238b867aa169ffec93d965ea329081cc86
rtw88: 8821c: add phy calibration

In order to get a better TX EVM, do calibration after association.

The calibration needed for 8821c is the IQK, which is done in the
firmware. Implement the rtw_chip_ops::phy_calibration() to trigger
firmware to calibrate.

Reviewed-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Tzu-En Huang <tehuang@realtek.com>
Signed-off-by: Yan-Hsuan Chuang <yhchuang@realtek.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20200616091625.26489-8-yhchuang@realtek.com
drivers/net/wireless/realtek/rtw88/rtw8821c.c