wifi: mt76: mt7921: add Netgear AXE3000 (A8000) support
authorReese Russell <git@qrsnap.io>
Tue, 4 Apr 2023 07:35:12 +0000 (00:35 -0700)
committerFelix Fietkau <nbd@nbd.name>
Mon, 17 Apr 2023 15:30:03 +0000 (17:30 +0200)
Issue: Though the Netgear AXE3000 (A8000) is based on the mt7921
chipset because of the unique USB VID:PID combination this device
does not initialize/register. Thus making it not plug and play.

Fix: Adds support for the Netgear AXE3000 (A8000) based on the Mediatek
mt7921au chipset. The method of action is adding the USD VID/PID
pair to the mt7921u_device_table[] array.

Notes: A retail sample of the Netgear AXE3000 (A8000) yeilds the following
from lsusb D 0846:9060 NetGear, Inc. Wireless_Device. This pair
0846:9060 VID:PID has been reported by other users on Github.

Signed-off-by: Reese Russell <git@qrsnap.io>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt7921/usb.c

index 46118421ef2807db933bfc2b6ca0aeabdb349c91..9b05e4577cdfc9ee3e8ca9e70e97003970cffc05 100644 (file)
@@ -18,6 +18,9 @@ static const struct usb_device_id mt7921u_device_table[] = {
        /* Comfast CF-952AX */
        { USB_DEVICE_AND_INTERFACE_INFO(0x3574, 0x6211, 0xff, 0xff, 0xff),
                .driver_info = (kernel_ulong_t)MT7921_FIRMWARE_WM },
+       /* Netgear, Inc. [A8000,AXE3000] */
+       { USB_DEVICE_AND_INTERFACE_INFO(0x0846, 0x9060, 0xff, 0xff, 0xff),
+               .driver_info = (kernel_ulong_t)MT7921_FIRMWARE_WM },
        { },
 };