wifi: mt76: mt7921u: add MT7902 USB support

Add the 0e8d:7902 USB ID and select the MT7902 WM firmware.  Use the
same USB queue mapping as mt7921/mt7925 so MT7902U can bind and probe
through mt7921u driver.

Signed-off-by: Sean Wang <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
Sean Wang
2026-08-26 12:21:34 +02:00
committed by Felix Fietkau
parent 4d5b3357b9
commit b9533b83eb
2 changed files with 3 additions and 0 deletions
+2
View File
@@ -13,6 +13,8 @@
#include "../mt76_connac2_mac.h" #include "../mt76_connac2_mac.h"
static const struct usb_device_id mt7921u_device_table[] = { static const struct usb_device_id mt7921u_device_table[] = {
{ USB_DEVICE_AND_INTERFACE_INFO(0x0e8d, 0x7902, 0xff, 0xff, 0xff),
.driver_info = (kernel_ulong_t)MT7902_FIRMWARE_WM },
{ USB_DEVICE_AND_INTERFACE_INFO(0x0e8d, 0x7961, 0xff, 0xff, 0xff), { USB_DEVICE_AND_INTERFACE_INFO(0x0e8d, 0x7961, 0xff, 0xff, 0xff),
.driver_info = (kernel_ulong_t)MT7921_FIRMWARE_WM }, .driver_info = (kernel_ulong_t)MT7921_FIRMWARE_WM },
/* Comfast CF-952AX */ /* Comfast CF-952AX */
+1
View File
@@ -965,6 +965,7 @@ mt76u_ac_to_hwq(struct mt76_dev *dev, struct mt76_queue *q, u8 qid)
break; break;
} }
case 0x6639: case 0x6639:
case 0x7902:
case 0x7961: case 0x7961:
case 0x7925: case 0x7925:
q->hw_idx = mt76_ac_to_hwq(ac); q->hw_idx = mt76_ac_to_hwq(ac);