mt76-6e-usb: mt7921u: Add support Netgear AXE3000(A8000) device
authorReese Russell <git@qrsnap.io>
Thu, 16 Mar 2023 08:45:06 +0000 (17:45 +0900)
committerHoegeun Kwon <hoegeun.kwon@samsung.com>
Thu, 3 Aug 2023 09:35:28 +0000 (18:35 +0900)
Added Netgear AXE3000 (A8000) usb_device_id to mt7921u_device_table[]

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>
Change-Id: I321a0753c80563da4dab97cf69e319e901cbf7f7
[Patch url: https://patchwork.kernel.org/project/linux-wireless/patch/20230123090555.21415-1-git@qrsnap.io/]
Signed-off-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
drivers/net/wireless/mediatek/mt76-6e-usb/mt7921/usb.c

index b7771e9..f99ccb7 100644 (file)
@@ -14,6 +14,8 @@
 
 static const struct usb_device_id mt7921u_device_table[] = {
        { USB_DEVICE_AND_INTERFACE_INFO(0x0e8d, 0x7961, 0xff, 0xff, 0xff) },
+       { USB_DEVICE_AND_INTERFACE_INFO(0x0846, 0x9060, 0xff, 0xff, 0xff),
+               .driver_info = (kernel_ulong_t)MT7921_FIRMWARE_WM },
        { },
 };