Folks,

I recently purchased what I thought was a Netgear WNA1000M USB wireless
adapter, as I had read it was supported by OpenBSD.  Unfortunately,
what as delivered was a Netgear WNA1000Mv2 (well, Realtek), which was
not recognised by the urtwn driver.

More in hope than expectation, I added definitions to support this
adapter in usbdevs and if_urtwn.c.  I was delighted to find the patched
driver did indeed support v2 of the adapter:

urtwn0 at uhub1 port 4 "Realtek WNA1000Mv2" rev 2.00/2.00 addr 2

urtwn0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        lladdr a4:2b:8c:f0:31:2e
        priority: 4
        groups: wlan egress
        media: IEEE802.11 autoselect (OFDM54 mode 11g)
        status: active
        ieee80211: nwid hydrus chan 11 bssid 00:1d:68:e9:65:d5 -68dBm
nwkey <not displayed> 
        inet 192.168.0.105 netmask 0xffffff00 broadcast 192.168.0.255

Here are the diffs, against 5.7 source files:

  --- usbdevs   Thu Aug 20 13:13:04 2015
  +++ /usr/src/sys/dev/usb/usbdevs      Thu Aug 20 13:14:54 2015
  @@ -3095,6 +3095,7 @@
   product NETGEAR WNA1100                  0x9030      WNA1100
   product NETGEAR WNA1000                  0x9040      WNA1000
   product NETGEAR WNA1000M                 0x9041  WNA1000M
  +product NETGEAR WNA1000Mv2               0x9043      WNA1000Mv2

   /* Netgear(2) products */
   product NETGEAR2 MA101               0x4100  MA101

  --- if_urtwn.c        Thu Aug 20 13:13:04 2015
  +++ /usr/src/sys/dev/usb/if_urtwn.c   Thu Aug 20 13:17:32 2015
  @@ -110,6 +110,7 @@
      { USB_VENDOR_IODATA,          USB_PRODUCT_IODATA_WNG150UM },
      { USB_VENDOR_IODATA,          USB_PRODUCT_IODATA_RTL8192CU },
      { USB_VENDOR_NETGEAR,         USB_PRODUCT_NETGEAR_WNA1000M },
  +   { USB_VENDOR_NETGEAR,         USB_PRODUCT_NETGEAR_WNA1000Mv2 },
      { USB_VENDOR_NETGEAR,         USB_PRODUCT_NETGEAR_RTL8192CU },
      { USB_VENDOR_NETGEAR4,        USB_PRODUCT_NETGEAR4_RTL8188CU },
      { USB_VENDOR_NETWEEN,         USB_PRODUCT_NETWEEN_RTL8192CU },

Is it appropriate to send this information as a suggested enhancement
via sendbug(1)?

Best Regards,
Mark Willson

Reply via email to