The QCA6006 is an AR6006 hw1.1 on USB with the ID 0cf3:9372. It is the third radio of the Xiaomi AIoT AC2350 router and its second 2.4 GHz radio. Qualcomm's ath6kl-3.5 driver lists the same ID. Also declare the AR6006 firmware and board data files and name the AR6006 in the Kconfig help. It comes last in the series, so no bisect point binds the driver to the chip before the MAC address and band handling exist. Signed-off-by: Josef Schlehofer --- The series ran on OpenWrt 25.12 (backports 6.18.55) on that router. Station mode joined a WPA2 network and got a DHCP lease, and AP mode associated a WPA2 client with unicast data both ways. drivers/net/wireless/ath/ath6kl/Kconfig | 4 ++-- drivers/net/wireless/ath/ath6kl/usb.c | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/drivers/net/wireless/ath/ath6kl/Kconfig b/drivers/net/wireless/ath/ath6kl/Kconfig index cd96cf8d9..e68beb00f 100644 --- a/drivers/net/wireless/ath/ath6kl/Kconfig +++ b/drivers/net/wireless/ath/ath6kl/Kconfig @@ -4,7 +4,7 @@ config ATH6KL depends on CFG80211 help This module adds core support for wireless adapters based on - Atheros AR6003 and AR6004 chipsets. You still need separate + Atheros AR6003, AR6004 and AR6006 chipsets. You still need separate bus drivers for USB and SDIO to be able to use real devices. If you choose to build it as a module, it will be called @@ -28,7 +28,7 @@ config ATH6KL_USB depends on USB help This module adds support for wireless adapters based on - Atheros AR6004 chipset and chipsets based on it running over + Atheros AR6004 and AR6006 chipsets running over USB. If you choose to build it as a module, it will be called ath6kl_usb. diff --git a/drivers/net/wireless/ath/ath6kl/usb.c b/drivers/net/wireless/ath/ath6kl/usb.c index 2f08dba57..7b6520985 100644 --- a/drivers/net/wireless/ath/ath6kl/usb.c +++ b/drivers/net/wireless/ath/ath6kl/usb.c @@ -1217,6 +1217,7 @@ static int ath6kl_usb_pm_resume(struct usb_interface *interface) static const struct usb_device_id ath6kl_usb_ids[] = { {USB_DEVICE(0x0cf3, 0x9375)}, {USB_DEVICE(0x0cf3, 0x9374)}, + {USB_DEVICE(0x0cf3, 0x9372)}, {USB_DEVICE(0x04da, 0x390d)}, { /* Terminating entry */ }, }; @@ -1251,3 +1252,5 @@ MODULE_FIRMWARE(AR6004_HW_1_2_DEFAULT_BOARD_DATA_FILE); MODULE_FIRMWARE(AR6004_HW_1_3_FW_DIR "/" AR6004_HW_1_3_FIRMWARE_FILE); MODULE_FIRMWARE(AR6004_HW_1_3_BOARD_DATA_FILE); MODULE_FIRMWARE(AR6004_HW_1_3_DEFAULT_BOARD_DATA_FILE); +MODULE_FIRMWARE(AR6006_HW_1_1_FW_DIR "/" AR6006_HW_1_1_FIRMWARE_FILE); +MODULE_FIRMWARE(AR6006_HW_1_1_BOARD_DATA_FILE); -- 2.54.0 (Apple Git-157)