Skip to content

Commit b293427

Browse files
Matthew Garrettnbd168
authored andcommitted
mt76: mt76x02u: 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. Signed-off-by: Matthew Garrett <[email protected]> Signed-off-by: Felix Fietkau <[email protected]>
1 parent fd6c2df commit b293427

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

drivers/net/wireless/mediatek/mt76/mt76x02.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -218,6 +218,7 @@ static inline bool is_mt76x0(struct mt76x02_dev *dev)
218218
static inline bool is_mt76x2(struct mt76x02_dev *dev)
219219
{
220220
return mt76_chip(&dev->mt76) == 0x7612 ||
221+
mt76_chip(&dev->mt76) == 0x7632 ||
221222
mt76_chip(&dev->mt76) == 0x7662 ||
222223
mt76_chip(&dev->mt76) == 0x7602;
223224
}

drivers/net/wireless/mediatek/mt76/mt76x2/usb.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ static const struct usb_device_id mt76x2u_device_table[] = {
1818
{ USB_DEVICE(0x7392, 0xb711) }, /* Edimax EW 7722 UAC */
1919
{ USB_DEVICE(0x0846, 0x9053) }, /* Netgear A6210 */
2020
{ USB_DEVICE(0x045e, 0x02e6) }, /* XBox One Wireless Adapter */
21+
{ USB_DEVICE(0x045e, 0x02fe) }, /* XBox One Wireless Adapter */
2122
{ },
2223
};
2324

0 commit comments

Comments
 (0)