Skip to contentSkip to conversation

MT76: Add support for newer versions of the XBox One wifi adapter

PATCH New Matthew Garrett 1 participant 1 message Mar 18, 2020

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 MT76: Add support for newer versions of the XBox One wifi adapter

The current version has a new USB ID and reports as an 0x7632 device. Adding the IDs results in it working out of the box.

---
 drivers/net/wireless/mediatek/mt76/mt76x02.h    | 1 +
 drivers/net/wireless/mediatek/mt76/mt76x2/usb.c | 1 +
 2 files changed, 2 insertions(+)
drivers/net/wireless/mediatek/mt76/mt76x02.h +1 -0
index 0ca0bbfe8769e..c7c601f0348a9 100644
@@ -211,6 +211,7 @@ static inline bool is_mt76x0(struct mt76x02_dev *dev)
 static inline bool is_mt76x2(struct mt76x02_dev *dev)
 {
 	return mt76_chip(&dev->mt76) == 0x7612 ||
+	       mt76_chip(&dev->mt76) == 0x7632 ||
 	       mt76_chip(&dev->mt76) == 0x7662 ||
 	       mt76_chip(&dev->mt76) == 0x7602;
 }
drivers/net/wireless/mediatek/mt76/mt76x2/usb.c +1 -0
index b64ad816cc25b..a6a14621e8a93 100644
@@ -18,6 +18,7 @@ static const struct usb_device_id mt76x2u_device_table[] = {
 	{ USB_DEVICE(0x7392, 0xb711) },	/* Edimax EW 7722 UAC */
 	{ USB_DEVICE(0x0846, 0x9053) },	/* Netgear A6210 */
 	{ USB_DEVICE(0x045e, 0x02e6) },	/* XBox One Wireless Adapter */
+	{ USB_DEVICE(0x045e, 0x02fe) },	/* XBox One Wireless Adapter */
 	{ },
 };
 
Signature · 1 line
2.25.1.696.g5e7596f4ac-goog