Re: MELCO (Buffalo) WLI-UV-AG300 WiFi USB adapter support for athn(4)
Jonathan Gray <[email protected]>
| Newsgroups | gmane.os.openbsd.tech |
|---|---|
| Message-ID | <[email protected]> |
On Wed, Aug 19, 2026 at 01:21:10AM +0900, Pontus Stenetorp wrote:
> On Sat 30 May 2026, Pontus Stenetorp wrote:
> >
> > Possibly Japan-exclusive MELCO (Buffalo) WLI-UV-AG300 WiFi USB adapter with AR9280+AR7010 chipset. Says WLI-UV-AG300P on the package, but WLI-UV-AG300 on the adapter itself. Only needed the vendor and device IDs added to work. Ok?
thanks, committed
Changes aren't made to usbdevs.h directly. Modify usbdevs then run
'make' in the same directory. The generated includes can be left out
when sending diffs.
I moved the MELCO lines in the match table to be in sorted order.
Index: sys/dev/usb/usbdevs
===================================================================
RCS file: /cvs/src/sys/dev/usb/usbdevs,v
diff -u -p -r1.787 usbdevs
--- sys/dev/usb/usbdevs 18 Jun 2026 01:16:52 -0000 1.787
+++ sys/dev/usb/usbdevs 18 Aug 2026 23:26:46 -0000
@@ -3157,6 +3157,7 @@ product MELCO WLIUCGNHP 0x0158 WLI-UC-G
product MELCO WLIUCGN 0x015d WLI-UC-GN
product MELCO WLIUCG301N 0x016f WLI-UC-G301N
product MELCO UWABR100 0x017f SONY UWA-BR100
+product MELCO WLIUVAG300 0x0197 WLI-UV-AG300
product MELCO WLIUCGNM 0x01a2 WLI-UC-GNM
product MELCO WLIUCGNM2 0x01ee WLI-UC-GNM2
Index: sys/dev/usb/if_athn_usb.c
===================================================================
RCS file: /cvs/src/sys/dev/usb/if_athn_usb.c,v
diff -u -p -r1.67 if_athn_usb.c
--- sys/dev/usb/if_athn_usb.c 29 May 2024 07:27:33 -0000 1.67
+++ sys/dev/usb/if_athn_usb.c 18 Aug 2026 23:28:47 -0000
@@ -82,12 +82,14 @@ static const struct athn_usb_type {
{{ USB_VENDOR_AZUREWAVE, USB_PRODUCT_AZUREWAVE_AR9271_6 }},
{{ USB_VENDOR_DLINK2, USB_PRODUCT_DLINK2_AR9271 }},
{{ USB_VENDOR_LITEON, USB_PRODUCT_LITEON_AR9271 }},
+ {{ USB_VENDOR_MELCO, USB_PRODUCT_MELCO_UWABR100 },
+ ATHN_USB_FLAG_AR7010 },
+ {{ USB_VENDOR_MELCO, USB_PRODUCT_MELCO_WLIUVAG300 },
+ ATHN_USB_FLAG_AR7010 },
{{ USB_VENDOR_NETGEAR, USB_PRODUCT_NETGEAR_WNA1100 }},
{{ USB_VENDOR_NETGEAR, USB_PRODUCT_NETGEAR_WNDA3200 },
ATHN_USB_FLAG_AR7010 },
{{ USB_VENDOR_PANASONIC, USB_PRODUCT_PANASONIC_N5HBZ0000055 },
- ATHN_USB_FLAG_AR7010 },
- {{ USB_VENDOR_MELCO, USB_PRODUCT_MELCO_UWABR100 },
ATHN_USB_FLAG_AR7010 },
{{ USB_VENDOR_VIA, USB_PRODUCT_VIA_AR9271 }}
};