]> CyberLeo.Net >> Repos - FreeBSD/releng/10.0.git/blob - share/man/man4/wi.4
- Copy stable/10 (r259064) to releng/10.0 as part of the
[FreeBSD/releng/10.0.git] / share / man / man4 / wi.4
1 .\" Copyright (c) 1997, 1998, 1999
2 .\"     Bill Paul <wpaul@ctr.columbia.edu>. All rights reserved.
3 .\"
4 .\" Redistribution and use in source and binary forms, with or without
5 .\" modification, are permitted provided that the following conditions
6 .\" are met:
7 .\" 1. Redistributions of source code must retain the above copyright
8 .\"    notice, this list of conditions and the following disclaimer.
9 .\" 2. Redistributions in binary form must reproduce the above copyright
10 .\"    notice, this list of conditions and the following disclaimer in the
11 .\"    documentation and/or other materials provided with the distribution.
12 .\" 3. All advertising materials mentioning features or use of this software
13 .\"    must display the following acknowledgement:
14 .\"     This product includes software developed by Bill Paul.
15 .\" 4. Neither the name of the author nor the names of any co-contributors
16 .\"    may be used to endorse or promote products derived from this software
17 .\"   without specific prior written permission.
18 .\"
19 .\" THIS SOFTWARE IS PROVIDED BY Bill Paul AND CONTRIBUTORS ``AS IS'' AND
20 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
21 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
22 .\" ARE DISCLAIMED.  IN NO EVENT SHALL Bill Paul OR THE VOICES IN HIS HEAD
23 .\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
24 .\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
25 .\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
26 .\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
27 .\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
28 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
29 .\" THE POSSIBILITY OF SUCH DAMAGE.
30 .\"
31 .\" $FreeBSD$
32 .\"     $OpenBSD: wi.4tbl,v 1.14 2002/04/29 19:53:50 jsyn Exp $
33 .\"
34 .Dd July 23, 2011
35 .Dt WI 4
36 .Os
37 .Sh NAME
38 .Nm wi
39 .Nd "Lucent Hermes, and Intersil PRISM IEEE 802.11 driver"
40 .Sh SYNOPSIS
41 To compile this driver into the kernel,
42 place the following lines in your
43 kernel configuration file:
44 .Bd -ragged -offset indent
45 .Cd "device wi"
46 .Cd "device wlan"
47 .Ed
48 .Pp
49 Alternatively, to load the driver as a
50 module at boot time, place the following line in
51 .Xr loader.conf 5 :
52 .Bd -literal -offset indent
53 if_wi_load="YES"
54 .Ed
55 .Sh DESCRIPTION
56 The
57 .Nm
58 driver provides support for 802.11b wireless network adapters based around
59 the Lucent Hermes, Intersil PRISM-II, Intersil PRISM-2.5, and Intersil
60 Prism-3 chipsets.
61 All chipsets provide a similar interface to the driver.
62 Only the Intersil chipsets support access point operation or WPA.
63 Very old versions of firmware are not supported at all.
64 Older versions of the firmware that are supported may severely limit
65 the ability to use these cards in newer networks.
66 Only relatively recent versions of Intersil firmware supports WPA.
67 See CAVEATS for details.
68 All host/device interaction is via programmed I/O, even on those cards
69 that support a DMA interface.
70 .Pp
71 For more information on configuring this device, see
72 .Xr ifconfig 8 .
73 .Pp
74 .Nm
75 supports
76 .Cm station ,
77 .Cm adhoc ,
78 .Cm adhoc-demo ,
79 .Cm hostap ,
80 and
81 .Cm monitor
82 mode operation.
83 Only one
84 virtual interface may be configured at a time.
85 For more information on configuring this device, see
86 .Xr ifconfig 8 .
87 .Pp
88 Cards supported by the
89 .Nm
90 driver come in a variety of packages, though the most common
91 are of the PCMCIA type.
92 In many cases, the PCI version of a wireless card is simply
93 a PCMCIA card bundled with a PCI adapter.
94 The PCI adapters come in two flavors: true PCMCIA bridges and
95 dumb PCMCIA bridges.
96 A true PCMCIA bridge (such as those sold by Lucent) will attach
97 as a real PCMCIA controller.
98 The wireless card will then attach to the PCMCIA bus.
99 Wireless cards in PCMCIA slots may be inserted and ejected on the fly.
100 .Pp
101 A dumb bridge, on the other hand, does not show up as a true PCMCIA bus.
102 The wireless card will simply appear to the host as a normal PCI
103 device and will not require any PCMCIA support.
104 Cards in this type of adapter should only be removed when the
105 machine is powered down.
106 .Pp
107 The following cards are among those supported by the
108 .Nm
109 driver:
110 .Pp
111 .Bl -column -compact "Linksys Instant Wireless WPC11 2.5" "Spectrum24" "PCI or PCMCIA"
112 .Em "Card       Chip    Bus"
113 3Com AirConnect 3CRWE777A       Prism-II        PCI
114 Accton airDirect WN3301         PCMCIA
115 ACTIONTEC HWC01170      Prism-2.5       PCMCIA
116 Adaptech ANW-8030       Prism-3 PCMCIA
117 Addtron AWP-100 Prism-II        PCMCIA
118 Adtec Adlink/340C       Prism-II        PCMCIA
119 Airvast WN 100  Prism-3 PCMCIA
120 Airway 802.11 Adapter           PCMCIA
121 Agere Orinoco   Hermes  PCMCIA
122 Allied Telesis WR211PCM Prism-II        PCMCIA
123 ArTem OnAir     Prism?  PCMCIA
124 Asus WL100      Prism-2.5       PCMCIA
125 Avaya Wireless  Prism-II        PCMCIA
126 Bay eMobility 11B       Prism-2.5?      PCMCIA
127 Blue Concentric Circle WL-379F  Prism-II        CF
128 BreezeNet Wireless      Prism-II        PCMCIA
129 Buffalo WLI-PCM-S11     Prism-II        PCMCIA
130 Buffalo WLI-PCM-L11G    Hermes  PCMCIA
131 Buffalo WLI-CF-S11G     Prism-II        CF
132 Buffalo WLI2-CF-S11G    Prism 2.5       CF
133 Cabletron RoamAbout     Hermes  PCMCIA
134 Compaq Agency NC5004    Prism-II        PCMCIA
135 Compaq WL100    Prism-II        PCMCIA
136 Compaq WL110    Hermes  PCMCIA
137 Compaq WL200    Prism-II        PCMCIA
138 Contec FLEXLAN/FX-DS110-PCC     Prism-II        PCMCIA
139 Corega PCC-11   Prism-II        PCMCIA
140 Corega PCCA-11  Prism-II        PCMCIA
141 Corega PCCB-11  Prism-II        PCMCIA
142 Corega CGWLPCIA11       Prism-II        PCI
143 Dell TrueMobile 1150    Hermes  PCMCIA
144 Dlink Air 660   Prism-II        PCMCIA
145 Dlink DWL520    Prism-2.5       PCI
146 Dlink DWL650    Prism-2.5       PCMCIA
147 ELECOM Air@Hawk/LD-WL11/PCC             PCMCIA
148 ELSA MC-11              PCMCIA
149 ELSA XI300      Prism-II        PCMCIA
150 ELSA XI325      Prism-2.5       PCMCIA
151 ELSA APDL325    Prism-2.5       PCMCIA
152 ELSA XI330      Prism-3 PCMCIA
153 ELSA XI800      Prism-II        CF
154 EMTAC A2424i    Prism-II        PCMCIA
155 Farallon Skyline        Prism-II        PCMCIA
156 Gemtek WL-311   Prism-2.5       PCMCIA
157 Hawking Technology WE110P       Prism-2.5       PCMCIA
158 Home Wireless Networks  Prism-II        PCMCIA
159 IBM High Rate Wireless  Hermes  PCMCIA
160 ICOM SL-1100    Prism-II        PCMCIA
161 I-O DATA WN-B11/PCM     Prism-II        PCMCIA
162 Intersil Prism II       Prism-II        PCMCIA
163 Intersil Mini-PCI       Prism-2.5       PCI
164 Intersil ISL37100P      Prism-3 PCMCIA
165 Intersil ISL37110P      Prism-3 PCMCIA
166 Intersil ISL37300P      Prism-3 PCMCIA
167 Laneed Wireless         PCMCIA
168 Linksys Instant Wireless WPC11  Prism-II        PCMCIA
169 Linksys Instant Wireless WPC11 2.5      Prism-2.5       PCMCIA
170 Linksys Instant Wireless WPC11 3.0      Prism-3 PCMCIA
171 Linksys WCF11   Prism-3 PCMCIA
172 Linksys WCF12   Prism-3 CF
173 Lucent WaveLAN  Hermes  PCMCIA
174 Melco Airconnect        Prism-II        PCMCIA
175 Microsoft MN-520 WLAN   Prism-II        PCMCIA
176 NANOSPEED ROOT-RZ2000   Prism-II        PCMCIA
177 NCR WaveLAN/IEEE 802.11         PCMCIA
178 NDC/Sohoware NCP130     Prism-II        PCI
179 NEC CMZ-RT-WP   Prism-II        PCMCIA
180 NEC PK-WL001    Lucent  PCMCIA
181 NEC PC-WL/11C   Prism-II        PCMCIA
182 Netgear MA311   Prism-2.5       PCI
183 Netgear MA401   Prism-II/2.5    PCMCIA
184 Netgear MA401RA Prism-II        PCMCIA
185 Netgear MA701   Prism-II        CF
186 NOKIA C020 WLAN Prism-II        PCMCIA
187 NOKIA C110 WLAN Prism-2.5       PCMCIA
188 NTT-ME 11Mbps Wireless LAN      Prism-II        PCMCIA
189 Planex GeoWave/GW-NS110 Prism-II        PCMCIA
190 Planex GW-NS11H Prism-II        PCMCIA
191 Proxim Harmony  Prism-II        PCMCIA
192 Proxim RangeLAN-DS      Prism-II        PCMCIA
193 Samsung MagicLAN SWL-2000N      Prism-II        PCMCIA
194 SENAO SL-2511CD Prism-3 PCMCIA
195 Siemens SpeedStream SS1021      Prism-II        PCMCIA
196 Siemens SpeedStream SS1021      Prism-3 PCMCIA
197 SMC 2532W-B     Prism-II        PCMCIA
198 SMC 2602 EZ Connect (3.3V)      Prism-II        PCI or PCMCIA
199 SMC 2632 EZ Connect     Prism-II        PCMCIA
200 Socket Low Power WLAN-CF        Prism-II        CF
201 Sony PCWA-C100  Lucent  PCMCIA
202 Sony PEGA-WL110 Prism-2.5       PCMCIA
203 TDK LAK-CD011WL Prism-II        PCMCIA
204 Toshiba Wireless LAN Card       Prism-II        PCMCIA
205 U.S.\& Robotics Wireless Card 2410      Prism-II        PCMCIA
206 YIS YWL-11B     Prism-II        PCMCIA
207 .El
208 .Pp
209 Several vendors sell PCI adapters built around the PLX Technology 9050
210 or 9052 chip.
211 The following such adapters are supported or expected to work:
212 .Pp
213 .Bl -item -compact
214 .It
215 3Com AirConnect 3CRWE777A (3.3V)
216 .It
217 Belkin F5D6000 (a rebadged WL11000P)
218 .It
219 Eumitcom WL11000P
220 .It
221 Global Sun Technology GL24110P (untested)
222 .It
223 Global Sun Technology GL24110P02
224 .It
225 LinkSys WDT11 (a rebadged GL24110P02)
226 .It
227 Netgear MA301
228 .It
229 US Robotics 2415 (rebadged WL11000P)
230 .It
231 Wisecom Wireless LAN PCI Adapter
232 .El
233 .Pp
234 The following adapters have the same model numbers as those listed
235 above, but might not work if the actual card is after the change away
236 from the Prism family:
237 .Pp
238 .Bl -item -compact
239 .It
240 DLink DWL520
241 .El
242 .Sh EXAMPLES
243 Join an existing BSS network (ie: connect to an access point):
244 .Bd -literal -offset indent
245 ifconfig wlan create wlandev wi0 inet 192.168.0.20 \e
246     netmask 0xffffff00
247 .Ed
248 .Pp
249 Join a specific BSS network with network name
250 .Dq Li my_net :
251 .Bd -literal -offset indent
252 ifconfig wlan create wlandev wi0 inet 192.168.0.20 \e
253     netmask 0xffffff00 ssid my_net
254 .Ed
255 .Pp
256 Join a specific BSS network with WEP encryption:
257 .Bd -literal -offset indent
258 ifconfig wlan create wlandev wi0 inet 192.168.0.20 \e
259     netmask 0xffffff00 ssid my_net \e
260     wepmode on wepkey 0x8736639624 weptxkey 1
261 .Ed
262 .Pp
263 Join a Lucent legacy demo ad-hoc network with network name
264 .Dq Li my_net :
265 .Bd -literal -offset indent
266 ifconfig wlan create wlandev wi0 wlanmode ahdemo \e
267     inet 192.168.0.20 netmask 0xffffff00 ssid my_net
268 .Ed
269 .Pp
270 Join/create an IBSS network with network name
271 .Dq Li my_net :
272 .Bd -literal -offset indent
273 ifconfig wlan create wlandev wi0 wlanmode adhoc wi0 \e
274     inet 192.168.0.22 netmask 0xffffff00 ssid my_net
275 .Ed
276 .Pp
277 Create a host-based access point (Prism only):
278 .Bd -literal -offset indent
279 ifconfig wlan create wlandev wi0 wlanmode hostap \e
280     inet 192.168.0.10 netmask 0xffffff00 ssid my_ap
281 .Ed
282 .Pp
283 Create a host-based access point with WEP enabled (Prism only)
284 and plumb it into bridge to fxp0:
285 .Bd -literal -offset indent
286 ifconfig wlan0 create wlandev wi0 wlanmode hostap \e
287     inet 192.168.0.10 netmask 0xffffff00 ssid my_ap \e
288     wepmode on wepkey 0x1234567890 weptxkey 1
289 ifconfig bridge0 create
290 ifconfig bridge0 addm wlan0 addm fxp0 up
291 .Ed
292 .Pp
293 This will give you the same functionality as an access point.
294 .Sh DIAGNOSTICS
295 .Bl -diag
296 .It "wi%d: init failed"
297 The WaveLAN card failed to become ready after an initialization command
298 was issued.
299 .It "wi%d: failed to allocate %d bytes on NIC"
300 The driver was unable to allocate memory for transmit frames in the
301 NIC's on-board RAM.
302 This can also be an indication of an incorrectly configured interrupt.
303 .It "wi%d: device timeout"
304 The WaveLAN card failed to generate an interrupt to acknowledge a transmit
305 command.
306 .El
307 .Sh SEE ALSO
308 .Xr intro 4 ,
309 .Xr pccard 4 ,
310 .Xr pccbb 4 ,
311 .Xr pcic 4 ,
312 .Xr wlan 4 ,
313 .Xr wlan_ccmp 4 ,
314 .Xr wlan_tkip 4 ,
315 .Xr wlan_wep 4 ,
316 .Xr wlan_xauth 4 ,
317 .Xr hostapd 8 ,
318 .Xr ifconfig 8 ,
319 .Xr wpa_supplicant 8 .
320 .Rs
321 .%T HCF Light programming specification
322 .%U http://web.archive.org/web/20040130141721/http://wavelan.com/
323 .Re
324 .Sh HISTORY
325 The
326 .Nm
327 device driver first appeared in
328 .Fx 3.0 .
329 .Sh AUTHORS
330 The original
331 .Nm
332 driver was written by
333 .An Bill Paul Aq wpaul@ctr.columbia.edu .
334 This man page comes from
335 .Ox .
336 .Sh CAVEATS
337 The driver will reject devices with old firmware to
338 avoid dealing with numerous defects.
339 Unfortunately the driver does not support downloading new firmware
340 to the card so if new firmware is needed users will have to boot
341 a different system to accomplish this.
342 .Pp
343 Intersil Prism cards must have firmware versions 0.8.0 or later and
344 version 1.7.0 or later are required to support functionality such as WPA.
345 Some users of Prism-II and 2.5 based cards report that station firmware
346 version 1.3.4 works better for them in hostap than 1.4.9.
347 Older versions of the Prism station firmware have a number of issues
348 with hostap mode.
349 The IBSS/adhoc mode appears to work well on station firmware 1.3.1 and
350 later.
351 The IBSS/adhoc mode appears to have problems for some people with
352 older versions of station firmware.
353 .Pp
354 Lucent cards prior to firmware version 6.0.6 do not implement IBSS
355 mode and are not supported.
356 .Pp
357 Prior versions of
358 .Nm
359 supported Symbol firmware.
360 That support has been removed due to persistent problems with this
361 firmware as well as getting proper documentation on this firmware.
362 .Pp
363 Hermes 2 and Hermes 3 chips are not supported by this driver.
364 .Pp
365 Here's the above requirements in the form of a table
366 .Pp
367 .Bl -column -compact "Prims II/2.5" "xxxxxxxx" "xxxxxxxx" "xxxxxxxx" "xxxxxxxx"
368 .Em "Firmware   Minimum WPA     Host AP Adhoc/IBSS"
369 Prism II/2.5    0.8.0   1.7.0   1.3.4   1.3.1
370 Prism 3 0.8.0   1.7.0   1.4.9   1.3.1
371 Hermes  6.0.6   none    none    6.0.6
372 Symbol  none    none    none    none
373 .El
374 .Sh BUGS
375 Not all the new messages are documented here, and many of them are
376 indications of transient errors that are not indications of serious
377 problems.