From: Reese Russell Date: Thu, 16 Mar 2023 08:45:06 +0000 (+0900) Subject: mt76-6e-usb: mt7921u: Add support Netgear AXE3000(A8000) device X-Git-Tag: accepted/tizen/unified/20230814.120944~20 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8952c70a78413cbac2d679ae6d583882ffce8a73;p=platform%2Fkernel%2Flinux-rpi.git mt76-6e-usb: mt7921u: Add support Netgear AXE3000(A8000) device 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 Change-Id: I321a0753c80563da4dab97cf69e319e901cbf7f7 [Patch url: https://patchwork.kernel.org/project/linux-wireless/patch/20230123090555.21415-1-git@qrsnap.io/] Signed-off-by: Hoegeun Kwon --- diff --git a/drivers/net/wireless/mediatek/mt76-6e-usb/mt7921/usb.c b/drivers/net/wireless/mediatek/mt76-6e-usb/mt7921/usb.c index b7771e9f..f99ccb7 100644 --- a/drivers/net/wireless/mediatek/mt76-6e-usb/mt7921/usb.c +++ b/drivers/net/wireless/mediatek/mt76-6e-usb/mt7921/usb.c @@ -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 }, { }, };