OpenBSD Journal

Early USB wavelan support.

Contributed by jose on from the easier-networking dept.

Dale Rahn writes: "An early version of wi@usb has just committed OpenBSD.


Date: Sun, 26 Oct 2003 08:34:16 -0700 (MST)
From: Dale Rahn

To: source-changes@cvs.openbsd.org
Subject: CVS: cvs.openbsd.org: src

CVSROOT:        /cvs
Module name:    src
Changes by:     drahn@cvs.openbsd.org   2003/10/26 08:34:16

Modified files:
        sys/dev/ic     : if_wi.c if_wi_ieee.h if_wivar.h
        sys/dev/pci    : if_wi_pci.c
        sys/dev/pcmcia : if_wi_pcmcia.c
        sys/dev/usb    : files.usb
        sys/arch/macppc/dev: if_wi_obio.c
Added files:
        sys/dev/usb    : if_wi_usb.c if_wi_usb.h

Log message:
Driver for PRISM 2.5/3 based (wifi) USB adapters. This is a work in progress,
it does not yet handle bulk data copies or hostap mode. Only one model
currently supported, however driver may support other PRISM based adapters.
ok millert@ fgsch@


Read on for a list of devices.

"This current version is commented out in the config files by default but people are welcome to test this code and suggest changes. Only the NetGear MA111 is supported at the current time, however it is possible that several others may work with the USB devices. here is a list of devices which might work according to the linux PRISM2/USB driver.

0x04bb, 0x0922, "IOData AirPort WN-B11/USBS"
0x07aa, 0x0012, "Corega Wireless LAN USB Stick-11"
0x09aa, 0x3642, "Prism2.x 11Mbps WLAN USB Adapter"
0x1668, 0x0408, "Actiontec Prism2.5 11Mbps WLAN USB Adapter"
0x1668, 0x0421, "Actiontec Prism2.5 11Mbps WLAN USB Adapter"
0x066b, 0x2212, "Linksys WUSB11v2.5 11Mbps WLAN USB Adapter"
0x066b, 0x2213, "Linksys WUSB12v1.1 11Mbps WLAN USB Adapter"
0x067c, 0x1022, "Siemens SpeedStream 1022 11Mbps WLAN USB Adapter"
0x049f, 0x0033, "Compaq/Intel W100 PRO/Wireless 11Mbps multiport WLAN Adapt
er"
0x0411, 0x0016, "Melco WLI-USB-S11 11Mbps WLAN Adapter"
0x08de, 0x7a01, "PRISM25 IEEE 802.11 Mini USB Adapter"
0x8086, 0x1111, "Intel PRO/Wireless 2011B LAN USB Adapter"
0x0d8e, 0x7a01, "PRISM25 IEEE 802.11 Mini USB Adapter"
0x045e, 0x006e, "Microsoft MN510 Wireless USB Adapter"
0x0967, 0x0204, "Acer Warplink USB Adapter"
0x0cde, 0x0002, "Z-Com 725/726 Prism2.5 USB/USB Integrated"
0x413c, 0x8100, "Dell TrueMobile 1180 Wireless USB Adapter"
0x0b3b, 0x1601, "ALLNET 0193 11Mbps WLAN USB Adapter"
0x0b3b, 0x1602, "ZyXEL ZyAIR B200 Wireless USB Adapter"
0x0baf, 0x00eb, "USRobotics USR1120 Wireless USB Adapter"
0x0411, 0x0027, "Melco WLI-USB-KS11G 11Mbps WLAN Adapter"
0x04f1, 0x3009, "JVC MP-XP7250 Builtin USB WLAN Adapter"
0x03f3, 0x0020, "Adaptec AWN-8020 USB WLAN Adapter"
0x0ace, 0x1201, "ZyDAS ZD1201 Wireless USB Adapter"
0x2821, 0x3300, "ASUS-WL140 Wireless USB Adapter"

Thank you, Dale, this sounds quite useful. If you do test this, remember to send in reports of new devices that you can confirm working or any issues you identify. Patches are always welcome.

(Comments are closed)


Comments
  1. By Brian () on

    Any work being done or interest in the orinoco usb adapters? I have a few of these that I wouldn't mind parting with if there was some real interest in supporting them.

    Comments
    1. By Dale Rahn () drahn@dalerahn.com on mailto:drahn@dalerahn.com

      If they use the same protocol (chipset) as the orinoco pcmcia cards, it should just be a matter of adding the appropriate usb device id. This driver is just a modification of if_wi so that it talks over USB.

      Comments
      1. By Brian () on

        The orinoco/avaya usb adapters actually have an unlabeled orinoco pcmcia card inside. Once removed, the pcmcia card will function just like any other.

  2. By Anonymous Coward () on

    This is great for people with new G4 laptops since the Apple Airport Extreme card is not supported. Now I can have one of these connected when I want to run OpenBSD on the laptop. Which I prefer for longer programming tasks.

    Comments
    1. By Dale Rahn () on

      This is exactly the reason it was worked on, a PBG4 12" is not as useful without wireless. And it does not have the option of pcmcia cards.

  3. By Some Coward () on

    Will bridging be possible on these adapters?

  4. By Jedi/SectorOne () j@pureftpd.org on http://www.skymobile.com/

    How fast are these devices ? 11Mb/s ? 54 ?

    Comments
    1. By Brian () on

      OpenBSD only supports 802.11b, which while advertised at 11Mbs only pulls about 5Mb/sec half duplex.

      Comments
      1. By Anonymous Coward () on

        It's not a half/full duplex issue. Wireless is ALWAYS half duplex. The "data rate" is 11Mbps but that inclues an amazing amount of overhead.

        Comments
        1. By Brian () on

          > Wireless is ALWAYS half duplex.

          This is not entirely true. Many wireless applications accomplish full duplex by using two frequencies.

          > The "data rate" is 11Mbps but that inclues an amazing amount of overhead.

          ..and the resulting connection is about 5Mb/sec, half duplex.

  5. By emb3dd3d () on

    once again.. I have a smile on my face.. keep up the good work.

Credits

Copyright © - Daniel Hartmeier. All rights reserved. Articles and comments are copyright their respective authors, submission implies license to publish on this web site. Contents of the archive prior to as well as images and HTML templates were copied from the fabulous original deadly.org with Jose's and Jim's kind permission. This journal runs as CGI with httpd(8) on OpenBSD, the source code is BSD licensed. undeadly \Un*dead"ly\, a. Not subject to death; immortal. [Obs.]