On Mon, Jun 12, 2023 at 07:47:01PM +0900, Daeil Lee wrote: > Hello tech@, > > This patch adds Mercusys MW150US to urtwn(4) supported hardware. I tested > two devices and both worked. > > # dmesg > urtwn0 at uhub0 port 1 configuration 1 interface 0 "Realtek 802.11n NIC" > rev 2.00/0.00 addr 2 > urtwn0: MAC/BB RTL8188EU, RF 6052 1T1R, address 00:eb:d8:xx:xx:xx > > # usbdevs > addr 02: 2c4e:0102 Realtek, 802.11n NIC
Thanks for the patch. Committed with the vendor name removed from the product string, and specified that it is V2: Index: usbdevs =================================================================== RCS file: /cvs/src/sys/dev/usb/usbdevs,v retrieving revision 1.756 diff -u -p -r1.756 usbdevs --- usbdevs 10 May 2023 18:26:05 -0000 1.756 +++ usbdevs 12 Jun 2023 11:24:41 -0000 @@ -645,6 +645,7 @@ vendor THINGM 0x27b8 ThingM vendor ASUSTEK 0x2821 ASUSTeK Computer vendor PIONEERDJ 0x2b73 Pioneer DJ vendor PLANEX 0x2c02 Planex Communications +vendor MERCUSYS 0x2c4e Mercusys vendor QUECTEL 0x2c7c Quectel vendor CLUB3D 0x2d1c Club 3D vendor AQUANTIA 0x2eca Aquantia @@ -3098,6 +3099,9 @@ product MELCO WLIUCG301N 0x016f WLI-UC-G product MELCO UWABR100 0x017f SONY UWA-BR100 product MELCO WLIUCGNM 0x01a2 WLI-UC-GNM product MELCO WLIUCGNM2 0x01ee WLI-UC-GNM2 + +/* Mercusys products */ +product MERCUSYS MW150USV2 0x0102 MW150US V2 /* MetaGeek products */ product METAGEEK WISPY24I 0x2400 Wi-Spy 2.4i Index: if_urtwn.c =================================================================== RCS file: /cvs/src/sys/dev/usb/if_urtwn.c,v retrieving revision 1.107 diff -u -p -r1.107 if_urtwn.c --- if_urtwn.c 28 Apr 2023 01:24:14 -0000 1.107 +++ if_urtwn.c 12 Jun 2023 11:22:44 -0000 @@ -333,6 +333,7 @@ static const struct urtwn_type { URTWN_DEV_8188EU(DLINK, DWA125D1), URTWN_DEV_8188EU(EDIMAX, EW7811UNV2), URTWN_DEV_8188EU(ELECOM, WDC150SU2M), + URTWN_DEV_8188EU(MERCUSYS, MW150USV2), URTWN_DEV_8188EU(REALTEK, RTL8188ETV), URTWN_DEV_8188EU(REALTEK, RTL8188EU), URTWN_DEV_8188EU(TPLINK, RTL8188EUS),