aboutsummaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorAdrian Chadd <adrian@FreeBSD.org>2024-11-18 05:10:32 +0000
committerAdrian Chadd <adrian@FreeBSD.org>2024-11-19 04:50:24 +0000
commit7098b90152dddcaf10c43ff31a8f1f3a952267d5 (patch)
treeddd2c059e693e60df4358e95898c4217baef6162 /sys/dev
parent1375790a15b122518b779b111c18ee2da5702728 (diff)
usb: fix the ID for the dual-band Wistron AR5523 USB NIC
Use the correct ID, as I have one of these NICs. Add the previous one back in case it's out there in the wild. @emaste did a bit of a dig into the product numbers. @sam did change the ID from 0x0828 -> 082a in a commit a long while back. It's worth reading the code review for further details. However, I do have one of these NICs and I verified that it indeed has the given ID, and with some follow-up work to fix some race conditions, it works fine in 2GHz 11bg and 5GHz 11a operation. Differential Revision: https://reviews.freebsd.org/D47654 Obtained from: Linux, drivers/net/wireless/ath/ar5523/ar5523.c
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/usb/usbdevs3
-rw-r--r--sys/dev/usb/wlan/if_uath.c1
2 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/usb/usbdevs b/sys/dev/usb/usbdevs
index a368cf84d9d5..50968a2c80cf 100644
--- a/sys/dev/usb/usbdevs
+++ b/sys/dev/usb/usbdevs
@@ -5025,7 +5025,8 @@ product WISTRONNEWEB UR055G 0x0711 UR055G
product WISTRONNEWEB O8494 0x0804 ORiNOCO 802.11n
product WISTRONNEWEB AR5523_1 0x0826 AR5523
product WISTRONNEWEB AR5523_1_NF 0x0827 AR5523 (no firmware)
-product WISTRONNEWEB AR5523_2 0x082a AR5523
+product WISTRONNEWEB AR5523_2 0x0828 AR5523
+product WISTRONNEWEB AR5523_2_ALT 0x082a AR5523
product WISTRONNEWEB AR5523_2_NF 0x0829 AR5523 (no firmware)
/* Xerox products */
diff --git a/sys/dev/usb/wlan/if_uath.c b/sys/dev/usb/wlan/if_uath.c
index e78003bc250a..580022f5a0c5 100644
--- a/sys/dev/usb/wlan/if_uath.c
+++ b/sys/dev/usb/wlan/if_uath.c
@@ -183,6 +183,7 @@ static const STRUCT_USB_HOST_ID uath_devs[] = {
UATH_DEV(UMEDIA, AR5523_2),
UATH_DEV(WISTRONNEWEB, AR5523_1),
UATH_DEV(WISTRONNEWEB, AR5523_2),
+ UATH_DEV(WISTRONNEWEB, AR5523_2_ALT),
UATH_DEV(ZCOM, AR5523)
#undef UATH_DEV
};