From: Yan-Hsuan Chuang <yhchuang@xxxxxxxxxxx> This patch set is the last set for RTL8723D, it adds RF calibration routines and BT-coex mechanism. The RFK includes IQK/LCK/PowerTrack. Unlike other 802.11ac devices, RTL8723D is not supporting doing IQK in firmware, which is called SW IQK. Hence more code is put in driver. LCK is easier, just trigger the hardware circuit, and wait until it's done by register polling. For coex mechanisms, the driver's coex.c has implemented most of the routines, what 8723D should add is the chip dependent settings. For BT USB suspend, disable it when PCI shutdown. If not, the USB part cannot be enumarated, and the card cannot be initialised. Finally, it should be the last patch set for 8723D, so add it in Makefile and Kconfig. The firmware has already been applied by linux-firmware [1], one can found it in: linux-firmware/rtw88/rtw8723d_fw.bin [1] git://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git v1 -> v2 * split the patches for review * move some macro to header file * include coex debug info in coex support * use read_poll_timeout for LCK * rename 'result' to 'status' to avoid confusion in IQK * drop unnecessary (u8) cast Ping-Ke Shih (9): rtw88: 8723d: Add LC calibration rtw88: 8723d: add IQ calibration rtw88: 8723d: Add power tracking rtw88: 8723d: Add shutdown callback to disable BT USB suspend rtw88: 8723d: implement flush queue rtw88: 8723d: set ltecoex register address in chip_info rtw88: 8723d: Add coex support rtw88: fill zeros to words 0x06 and 0x07 of security cam entry rtw88: 8723d: Add 8723DE to Kconfig and Makefile drivers/net/wireless/realtek/rtw88/Kconfig | 10 + drivers/net/wireless/realtek/rtw88/Makefile | 1 + drivers/net/wireless/realtek/rtw88/debug.c | 9 +- drivers/net/wireless/realtek/rtw88/mac.c | 29 +- drivers/net/wireless/realtek/rtw88/main.h | 36 + drivers/net/wireless/realtek/rtw88/pci.c | 17 + drivers/net/wireless/realtek/rtw88/phy.c | 8 +- drivers/net/wireless/realtek/rtw88/phy.h | 1 + drivers/net/wireless/realtek/rtw88/reg.h | 11 + drivers/net/wireless/realtek/rtw88/rtw8723d.c | 1605 +++++++++++++++++ drivers/net/wireless/realtek/rtw88/rtw8723d.h | 138 ++ drivers/net/wireless/realtek/rtw88/rtw8822b.c | 24 + drivers/net/wireless/realtek/rtw88/rtw8822c.c | 24 + drivers/net/wireless/realtek/rtw88/sec.c | 6 +- drivers/net/wireless/realtek/rtw88/util.c | 18 +- 15 files changed, 1907 insertions(+), 30 deletions(-) -- 2.17.1