linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Added Netgear AXE3000 (A8000) usb_device_id to mt7921u_device_table[]
@ 2023-01-23  9:05 Reese Russell
  2023-03-17 19:49 ` Nick Morrow
  2023-03-22 18:01 ` wifi: mt76: mt7921: add Netgear AXE3000 (A8000) support Kalle Valo
  0 siblings, 2 replies; 4+ messages in thread
From: Reese Russell @ 2023-01-23  9:05 UTC (permalink / raw)
  To: git
  Cc: Felix Fietkau, Lorenzo Bianconi, Ryder Lee, Shayne Chen,
	Sean Wang, Kalle Valo, David S. Miller, Eric Dumazet,
	Jakub Kicinski, Paolo Abeni, Matthias Brugger, Deren Wu, YN Chen,
	Ben Greear, linux-wireless, netdev, linux-arm-kernel,
	linux-mediatek, linux-kernel

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>
---
 drivers/net/wireless/mediatek/mt76/mt7921/usb.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/net/wireless/mediatek/mt76/mt7921/usb.c b/drivers/net/wireless/mediatek/mt76/mt7921/usb.c
index 5321d20dcdcb..62e9728588f8 100644
--- a/drivers/net/wireless/mediatek/mt76/mt7921/usb.c
+++ b/drivers/net/wireless/mediatek/mt76/mt7921/usb.c
@@ -15,6 +15,8 @@
 static const struct usb_device_id mt7921u_device_table[] = {
 	{ USB_DEVICE_AND_INTERFACE_INFO(0x0e8d, 0x7961, 0xff, 0xff, 0xff),
 		.driver_info = (kernel_ulong_t)MT7921_FIRMWARE_WM },
+	{ USB_DEVICE_AND_INTERFACE_INFO(0x0846, 0x9060, 0xff, 0xff, 0xff),
+		.driver_info = (kernel_ulong_t)MT7921_FIRMWARE_WM },
 	{ },
 };
 
-- 
2.37.2


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] Added Netgear AXE3000 (A8000) usb_device_id to mt7921u_device_table[]
  2023-01-23  9:05 [PATCH] Added Netgear AXE3000 (A8000) usb_device_id to mt7921u_device_table[] Reese Russell
@ 2023-03-17 19:49 ` Nick Morrow
  2023-03-18  7:06   ` Kalle Valo
  2023-03-22 18:01 ` wifi: mt76: mt7921: add Netgear AXE3000 (A8000) support Kalle Valo
  1 sibling, 1 reply; 4+ messages in thread
From: Nick Morrow @ 2023-03-17 19:49 UTC (permalink / raw)
  To: Reese Russell
  Cc: Felix Fietkau, Lorenzo Bianconi, Ryder Lee, Shayne Chen,
	Sean Wang, Kalle Valo, David S. Miller, Eric Dumazet,
	Jakub Kicinski, Paolo Abeni, Matthias Brugger, Deren Wu, YN Chen,
	Ben Greear, linux-wireless, netdev, linux-arm-kernel,
	linux-mediatek, linux-kernel

> 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>
> ---
>  drivers/net/wireless/mediatek/mt76/mt7921/usb.c | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/drivers/net/wireless/mediatek/mt76/mt7921/usb.c b/drivers/net/wireless/mediatek/mt76/mt7921/usb.c
> index 5321d20dcdcb..62e9728588f8 100644
> --- a/drivers/net/wireless/mediatek/mt76/mt7921/usb.c
> +++ b/drivers/net/wireless/mediatek/mt76/mt7921/usb.c
> @@ -15,6 +15,8 @@
>  static const struct usb_device_id mt7921u_device_table[] = {
>         { USB_DEVICE_AND_INTERFACE_INFO(0x0e8d, 0x7961, 0xff, 0xff, 0xff),
>                 .driver_info = (kernel_ulong_t)MT7921_FIRMWARE_WM },
> +       { USB_DEVICE_AND_INTERFACE_INFO(0x0846, 0x9060, 0xff, 0xff, 0xff),
> +               .driver_info = (kernel_ulong_t)MT7921_FIRMWARE_WM },
>         { },
>  };
>
> --
> 2.37.2


I can confirm this VID/PID needs to go into 6.1 LTS and the current
testing version of the kernel as I am getting an increasing amount of
traffic from users that have purchased the Netgear A8000.

My site is github.com/morrownr/USB-WiFi

Helping Linux users with USB WiFi is what we do.

The OP could have added a comment to the patch showing the adapter
that is causing this patch to be submitted. Maybe he can submit a v2
that can be expedited?

Guidance?

Nick
github.com/morrownr/USB-WiFi

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] Added Netgear AXE3000 (A8000) usb_device_id to mt7921u_device_table[]
  2023-03-17 19:49 ` Nick Morrow
@ 2023-03-18  7:06   ` Kalle Valo
  0 siblings, 0 replies; 4+ messages in thread
From: Kalle Valo @ 2023-03-18  7:06 UTC (permalink / raw)
  To: Nick Morrow
  Cc: Reese Russell, Felix Fietkau, Lorenzo Bianconi, Ryder Lee,
	Shayne Chen, Sean Wang, David S. Miller, Eric Dumazet,
	Jakub Kicinski, Paolo Abeni, Matthias Brugger, Deren Wu, YN Chen,
	Ben Greear, linux-wireless, netdev, linux-arm-kernel,
	linux-mediatek, linux-kernel

Nick Morrow <morrownr@gmail.com> writes:

>> 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>
>> ---
>>  drivers/net/wireless/mediatek/mt76/mt7921/usb.c | 2 ++
>>  1 file changed, 2 insertions(+)
>>
>> diff --git a/drivers/net/wireless/mediatek/mt76/mt7921/usb.c b/drivers/net/wireless/mediatek/mt76/mt7921/usb.c
>> index 5321d20dcdcb..62e9728588f8 100644
>> --- a/drivers/net/wireless/mediatek/mt76/mt7921/usb.c
>> +++ b/drivers/net/wireless/mediatek/mt76/mt7921/usb.c
>> @@ -15,6 +15,8 @@
>>  static const struct usb_device_id mt7921u_device_table[] = {
>>         { USB_DEVICE_AND_INTERFACE_INFO(0x0e8d, 0x7961, 0xff, 0xff, 0xff),
>>                 .driver_info = (kernel_ulong_t)MT7921_FIRMWARE_WM },
>> +       { USB_DEVICE_AND_INTERFACE_INFO(0x0846, 0x9060, 0xff, 0xff, 0xff),
>> +               .driver_info = (kernel_ulong_t)MT7921_FIRMWARE_WM },
>>         { },
>>  };
>>
>> --
>> 2.37.2
>
>
> I can confirm this VID/PID needs to go into 6.1 LTS and the current
> testing version of the kernel as I am getting an increasing amount of
> traffic from users that have purchased the Netgear A8000.
>
> My site is github.com/morrownr/USB-WiFi
>
> Helping Linux users with USB WiFi is what we do.
>
> The OP could have added a comment to the patch showing the adapter
> that is causing this patch to be submitted. Maybe he can submit a v2
> that can be expedited?
>
> Guidance?

I assigned this to me on patchwork, I'll queue this for v6.3 and change
the commit log to below. Felix&Lorenzo, ack?

wifi: mt76: mt7921: add Netgear AXE3000 (A8000)

Add support for the Netgear AXE3000 (A8000) based on the Mediatek
mt7921au chipset. A retail sample of the Netgear AXE3000 (A8000) yeilds
the following from lsusb D 0846:9060 NetGear, Inc. Wireless_Device. This
has been reported by other users on Github.

-- 
https://patchwork.kernel.org/project/linux-wireless/list/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: wifi: mt76: mt7921: add Netgear AXE3000 (A8000) support
  2023-01-23  9:05 [PATCH] Added Netgear AXE3000 (A8000) usb_device_id to mt7921u_device_table[] Reese Russell
  2023-03-17 19:49 ` Nick Morrow
@ 2023-03-22 18:01 ` Kalle Valo
  1 sibling, 0 replies; 4+ messages in thread
From: Kalle Valo @ 2023-03-22 18:01 UTC (permalink / raw)
  To: Reese Russell
  Cc: git, Felix Fietkau, Lorenzo Bianconi, Ryder Lee, Shayne Chen,
	Sean Wang, David S. Miller, Eric Dumazet, Jakub Kicinski,
	Paolo Abeni, Matthias Brugger, Deren Wu, YN Chen, Ben Greear,
	linux-wireless, netdev, linux-arm-kernel, linux-mediatek,
	linux-kernel

Reese Russell <git@qrsnap.io> wrote:

> Add support for the Netgear AXE3000 (A8000) based on the Mediatek
> mt7921au chipset. A retail sample of the Netgear AXE3000 (A8000) yeilds
> the following from lsusb D 0846:9060 NetGear, Inc. Wireless_Device. This
> has been reported by other users on Github.
> 
> Signed-off-by: Reese Russell <git@qrsnap.io>

There was a conflict, please rebase over wireless and resubmit as v2:

Recorded preimage for 'drivers/net/wireless/mediatek/mt76/mt7921/usb.c'
error: Failed to merge in the changes.
hint: Use 'git am --show-current-patch=diff' to see the failed patch
Applying: wifi: mt76: mt7921: add Netgear AXE3000 (A8000) support
Using index info to reconstruct a base tree...
M	drivers/net/wireless/mediatek/mt76/mt7921/usb.c
Falling back to patching base and 3-way merge...
Auto-merging drivers/net/wireless/mediatek/mt76/mt7921/usb.c
CONFLICT (content): Merge conflict in drivers/net/wireless/mediatek/mt76/mt7921/usb.c
Patch failed at 0001 wifi: mt76: mt7921: add Netgear AXE3000 (A8000) support

Patch set to Changes Requested.

-- 
https://patchwork.kernel.org/project/linux-wireless/patch/20230123090555.21415-1-git@qrsnap.io/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-03-22 18:03 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-01-23  9:05 [PATCH] Added Netgear AXE3000 (A8000) usb_device_id to mt7921u_device_table[] Reese Russell
2023-03-17 19:49 ` Nick Morrow
2023-03-18  7:06   ` Kalle Valo
2023-03-22 18:01 ` wifi: mt76: mt7921: add Netgear AXE3000 (A8000) support Kalle Valo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).