]> CyberLeo.Net >> Repos - FreeBSD/releng/7.2.git/blob - share/man/man4/wi.4
Create releng/7.2 from stable/7 in preparation for 7.2-RELEASE.
[FreeBSD/releng/7.2.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 16, 2005
35 .Dt WI 4
36 .Os
37 .Sh NAME
38 .Nm wi
39 .Nd "Lucent Hermes, Intersil PRISM and Spectrum24 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 wireless network adapters based around
59 the Lucent Hermes, Intersil PRISM-II, Intersil PRISM-2.5, Intersil
60 Prism-3, and Symbol Spectrum24 chipsets.
61 All five chipsets provide a similar interface to the driver.
62 .Pp
63 Supported features include 802.11 and 802.3 frames, power management, BSS,
64 IBSS, WDS and old-style Lucent ad-hoc operation modes.
65 Cards based on the Intersil PRISM chips also support a host-based
66 access point mode which allows a card to act as a normal access point
67 (with some assistance from the
68 .Nm
69 driver).
70 The Lucent Hermes and Symbol Spectrum24 chipsets do not contain this
71 functionality.
72 The PRISM family of chips do not support the WDS functionality.
73 All host/device interaction is via programmed I/O, even on those cards
74 that support a DMA interface.
75 .Pp
76 The
77 .Nm
78 driver encapsulates all IP and ARP traffic as 802.11 frames, however
79 it can receive either 802.11 or 802.3 frames.
80 Transmit speed is selectable between 1Mbps, 2Mbps, 5.5 Mbps and 11Mbps
81 depending on your hardware.
82 Most hardware supports 11Mbps where the signal quality allows, but
83 falls back to slower speeds when it does not.
84 Except for the Lucent WaveLAN Bronze cards, all cards supported by the
85 .Nm
86 driver support WEP for encryption.
87 To enable encryption, use
88 .Xr ifconfig 8
89 as shown below.
90 .Pp
91 By default, the
92 .Nm
93 driver configures the card for BSS operation (aka infrastructure
94 mode).
95 This mode requires the use of an access point (base station).
96 .Pp
97 The
98 .Nm
99 driver also supports a point-to-point mode
100 where stations can communicate amongst themselves without the
101 aid of an access point.
102 Note that there are two possible point-to-point modes.
103 One mode, referred to as
104 .Dq "ad-hoc demo mode" ,
105 or
106 .Dq "legacy Lucent ad-hoc mode" ,
107 predates the IEEE 802.11 specification and so may not interoperate
108 with cards from different vendors.
109 The standardized point-to-point mode is called IBSS (or confusingly
110 just ad-hoc mode), but is not supported by cards with very old
111 firmware revisions.
112 If your cards supports IBSS mode, it is recommended that you use it in
113 preference to the
114 .Dq "ad-hoc demo mode"
115 in new installations.
116 .Pp
117 Cards supported by the driver based on the Intersil PRISM family of chips also
118 have a host-based access point mode which allows the card to
119 act as an access point (base station).
120 Access points are different than operating in IBSS mode.
121 They operate in BSS mode.
122 They allow for easier roaming and bridge all Ethernet traffic such
123 that machines connected via an access point appear to be on the local
124 Ethernet segment.
125 .Pp
126 For more information on configuring this device, see
127 .Xr ifconfig 8 .
128 .Pp
129 Cards supported by the
130 .Nm
131 driver come in a variety of packages, though the most common
132 are of the PCMCIA type.
133 In many cases, the PCI version of a wireless card is simply
134 a PCMCIA card bundled with a PCI adapter.
135 The PCI adapters come in two flavors: true PCMCIA bridges and
136 dumb PCMCIA bridges.
137 A true PCMCIA bridge (such as those sold by Lucent) will attach
138 as a real PCMCIA controller.
139 The wireless card will then attach to the PCMCIA bus.
140 Wireless cards in PCMCIA slots may be inserted and ejected on the fly.
141 .Pp
142 A dumb bridge, on the other hand, does not show up as a true PCMCIA bus.
143 The wireless card will simply appear to the host as a normal PCI
144 device and will not require any PCMCIA support.
145 Cards in this type of adapter should only be removed when the
146 machine is powered down.
147 .Pp
148 The following cards are among those supported by the
149 .Nm
150 driver:
151 .Pp
152 .Bl -column -compact "Linksys Instant Wireless WPC11 2.5" "Spectrum24" "PCI or PCMCIA"
153 .Em "Card       Chip    Bus"
154 3Com AirConnect 3CRWE737A       Spectrum24      PCMCIA
155 3Com AirConnect 3CRWE777A       Prism-II        PCI
156 Accton airDirect WN3301         PCMCIA
157 ACTIONTEC HWC01170      Prism-2.5       PCMCIA
158 Adaptech ANW-8030       Prism-3 PCMCIA
159 Addtron AWP-100 Prism-II        PCMCIA
160 Adtec Adlink/340C       Prism-II        PCMCIA
161 Airvast WN 100  Prism-3 PCMCIA
162 Airway 802.11 Adapter           PCMCIA
163 Agere Orinoco   Hermes  PCMCIA
164 Allied Telesis WR211PCM Prism-II        PCMCIA
165 ArTem OnAir     Prism?  PCMCIA
166 Asus WL100      Prism-2.5       PCMCIA
167 Avaya Wireless  Prism-II        PCMCIA
168 Bay eMobility 11B       Prism-2.5?      PCMCIA
169 Blue Concentric Circle WL-379F  Prism-II        CF
170 BreezeNet Wireless      Prism-II        PCMCIA
171 Buffalo WLI-PCM-S11     Prism-II        PCMCIA
172 Buffalo WLI-PCM-L11G    Hermes  PCMCIA
173 Buffalo WLI-CF-S11G     Prism-II        CF
174 Buffalo WLI2-CF-S11G    Prism 2.5       CF
175 Cabletron RoamAbout     Hermes  PCMCIA
176 Compaq Agency NC5004    Prism-II        PCMCIA
177 Compaq WL100    Prism-II        PCMCIA
178 Compaq WL110    Hermes  PCMCIA
179 Compaq WL200    Prism-II        PCMCIA
180 Contec FLEXLAN/FX-DS110-PCC     Prism-II        PCMCIA
181 Corega PCC-11   Prism-II        PCMCIA
182 Corega PCCA-11  Prism-II        PCMCIA
183 Corega PCCB-11  Prism-II        PCMCIA
184 Corega CGWLPCIA11       Prism-II        PCI
185 Dell TrueMobile 1150    Hermes  PCMCIA
186 Dlink Air 660   Prism-II        PCMCIA
187 Dlink DWL520    Prism-2.5       PCI
188 Dlink DWL650    Prism-2.5       PCMCIA
189 ELECOM Air@Hawk/LD-WL11/PCC             PCMCIA
190 ELSA MC-11              PCMCIA
191 ELSA XI300      Prism-II        PCMCIA
192 ELSA XI800      Prism-II        CF
193 EMTAC A2424i    Prism-II        PCMCIA
194 Ericsson Wireless LAN CARD C11  Spectrum24      PCMCIA
195 Farallon Skyline        Prism-II        PCMCIA
196 Gemtek WL-311   Prism-2.5       PCMCIA
197 Hawking Technology WE110P       Prism-2.5       PCMCIA
198 Home Wireless Networks  Prism-II        PCMCIA
199 IBM High Rate Wireless  Hermes  PCMCIA
200 ICOM SL-1100    Prism-II        PCMCIA
201 I-O DATA WN-B11/PCM     Prism-II        PCMCIA
202 Intel PRO/Wireless 2011 Spectrum24      PCMCIA
203 Intersil Prism II       Prism-II        PCMCIA
204 Intersil Mini-PCI       Prism-2.5       PCI
205 Intersil ISL37100P      Prism-3 PCMCIA
206 Intersil ISL37110P      Prism-3 PCMCIA
207 Intersil ISL37300P      Prism-3 PCMCIA
208 Laneed Wireless         PCMCIA
209 Linksys Instant Wireless WPC11  Prism-II        PCMCIA
210 Linksys Instant Wireless WPC11 2.5      Prism-2.5       PCMCIA
211 Linksys Instant Wireless WPC11 3.0      Prism-3 PCMCIA
212 Linksys WCF11   Prism-3 PCMCIA
213 Linksys WCF12   Prism-3 CF
214 Lucent WaveLAN  Hermes  PCMCIA
215 Melco Airconnect        Prism-II        PCMCIA
216 Microsoft MN-520 WLAN   Prism-II        PCMCIA
217 NANOSPEED ROOT-RZ2000   Prism-II        PCMCIA
218 NCR WaveLAN/IEEE 802.11         PCMCIA
219 NDC/Sohoware NCP130     Prism-II        PCI
220 NEC CMZ-RT-WP   Prism-II        PCMCIA
221 NEC PK-WL001    Lucent  PCMCIA
222 NEC PC-WL/11C   Prism-II        PCMCIA
223 Netgear MA311   Prism-2.5       PCI
224 Netgear MA401   Prism-II/2.5    PCMCIA
225 Netgear MA401RA Prism-II        PCMCIA
226 Netgear MA701   Prism-II        CF
227 NOKIA C020 WLAN Prism-II        PCMCIA
228 NOKIA C110 WLAN Prism-2.5       PCMCIA
229 NTT-ME 11Mbps Wireless LAN      Prism-II        PCMCIA
230 Planex GeoWave/GW-NS110 Prism-II        PCMCIA
231 Planex GW-NS11H Prism-II        PCMCIA
232 Proxim Harmony  Prism-II        PCMCIA
233 Proxim RangeLAN-DS      Prism-II        PCMCIA
234 Samsung MagicLAN SWL-2000N      Prism-II        PCMCIA
235 SENAO SL-2511CD Prism-3 PCMCIA
236 Siemens SpeedStream SS1021      Prism-II        PCMCIA
237 SMC 2532W-B     Prism-II        PCMCIA
238 SMC 2602 EZ Connect (3.3V)      Prism-II        PCI or PCMCIA
239 SMC 2632 EZ Connect     Prism-II        PCMCIA
240 Socket Low Power WLAN-CF        Prism-II        CF
241 Sony PCWA-C100  Lucent  PCMCIA
242 Sony PEGA-WL110 Prism-2.5       PCMCIA
243 Symbol Spectrum24       Spectrum24      PCMCIA
244 Symbol LA-4100  Spectrum24      CF
245 TDK LAK-CD011WL Prism-II        PCMCIA
246 Toshiba Wireless LAN Card       Prism-II        PCMCIA
247 U.S.\& Robotics Wireless Card 2410      Prism-II        PCMCIA
248 YIS YWL-11B     Prism-II        PCMCIA
249 .El
250 .Pp
251 Several vendors sell PCI adapters built around the PLX Technology 9050
252 or 9052 chip.
253 The following such adapters are supported or expected to work:
254 .Pp
255 .Bl -item -compact
256 .It
257 3Com AirConnect 3CRWE777A (3.3V)
258 .It
259 Belkin F5D6000 (a rebadged WL11000P)
260 .It
261 Eumitcom WL11000P
262 .It
263 Global Sun Technology GL24110P (untested)
264 .It
265 Global Sun Technology GL24110P02
266 .It
267 LinkSys WDT11 (a rebadged GL24110P02)
268 .It
269 Netgear MA301
270 .It
271 US Robotics 2415 (rebadged WL11000P)
272 .It
273 Wisecom Wireless LAN PCI Adapter
274 .El
275 .Pp
276 The following adapters have the same model numbers as those listed
277 above, but might not work if the actual card is after the change away
278 from the Prism family:
279 .Pp
280 .Bl -item -compact
281 .It
282 DLink DWL520
283 .El
284 .Sh EXAMPLES
285 Join an existing BSS network (ie: connect to an access point):
286 .Pp
287 .Dl "ifconfig wi0 inet 192.168.0.20 netmask 0xffffff00"
288 .Pp
289 Join a specific BSS network with network name
290 .Dq Li my_net :
291 .Pp
292 .Dl "ifconfig wi0 inet 192.168.0.20 netmask 0xffffff00 ssid my_net"
293 .Pp
294 Join a specific BSS network with WEP encryption:
295 .Bd -literal -offset indent
296 ifconfig wi0 inet 192.168.0.20 netmask 0xffffff00 ssid my_net \e
297         wepmode on wepkey 0x8736639624
298 .Ed
299 .Pp
300 Join a Lucent legacy demo ad-hoc network with network name
301 .Dq Li my_net :
302 .Bd -literal -offset indent
303 ifconfig wi0 inet 192.168.0.20 netmask 0xffffff00 ssid my_net \e
304         media DS/11Mbps mediaopt adhoc,link0
305 .Ed
306 .Pp
307 Join/create an IBSS network with network name
308 .Dq Li my_net :
309 .Bd -literal -offset indent
310 ifconfig wi0 inet 192.168.0.22 netmask 0xffffff00 ssid my_net \e
311         media DS/11Mbps mediaopt adhoc
312 .Ed
313 .Pp
314 Create a host-based access point (Prism only):
315 .Bd -literal -offset indent
316 ifconfig wi0 inet 192.168.0.10 netmask 0xffffff00 ssid my_ap \e
317         media DS/11Mbps mediaopt hostap
318 .Ed
319 .Pp
320 Create a host-based access point with WEP enabled (Prism only):
321 .Bd -literal -offset indent
322 ifconfig wi0 inet 192.168.0.10 netmask 0xffffff00 ssid my_ap \e
323         wepmode on wepkey 0x1234567890 media DS/11Mbps \e
324         mediaopt hostap
325 .Ed
326 .Pp
327 Create a host-based wireless bridge to fxp0 (Prism only):
328 .Bd -literal -offset indent
329 ifconfig wi0 inet up ssid my_ap media DS/11Mbps mediaopt hostap
330 sysctl net.inet.ip.check_interface=0
331 ifconfig bridge0 create
332 ifconfig bridge0 addm wi0 addm fxp0 up
333 .Ed
334 .Pp
335 This will give you the same functionality as an access point.
336 .Sh DIAGNOSTICS
337 .Bl -diag
338 .It "wi%d: init failed"
339 The WaveLAN card failed to become ready after an initialization command
340 was issued.
341 .It "wi%d: failed to allocate %d bytes on NIC"
342 The driver was unable to allocate memory for transmit frames in the
343 NIC's on-board RAM.
344 This can also be an indication of an incorrectly configured interrupt.
345 .It "wi%d: device timeout"
346 The WaveLAN card failed to generate an interrupt to acknowledge a transmit
347 command.
348 .El
349 .Sh SEE ALSO
350 .Xr altq 4 ,
351 .Xr an 4 ,
352 .Xr arp 4 ,
353 .Xr ath 4 ,
354 .Xr netintro 4 ,
355 .Xr pccard 4 ,
356 .Xr pccbb 4 ,
357 .Xr pcic 4 ,
358 .Xr wlan 4 ,
359 .Xr ifconfig 8 ,
360 .Rs
361 .%T HCF Light programming specification
362 .%O http://www.wavelan.com
363 .Re
364 .Sh HISTORY
365 The
366 .Nm
367 device driver first appeared in
368 .Fx 3.0 .
369 .Sh AUTHORS
370 The
371 .Nm
372 driver was written by
373 .An Bill Paul Aq wpaul@ctr.columbia.edu .
374 This man page comes from
375 .Ox .
376 .Sh CAVEATS
377 Different regulatory domains have different default channels for adhoc
378 mode.
379 See
380 .Xr ifconfig 8
381 for information on how to change the channel.
382 The Intersil Prism family of chips' host-based access point mode has
383 bugs for station firmware versions prior to 0.8.3.
384 The driver currently precludes hostap functionality with older station
385 firmware.
386 The best version of the station firmware for the Prism family of chips
387 seems to be 1.4.9.
388 Some users of Prism-II and 2.5 based cards report that station firmware
389 version 1.3.4 works better for them in hostap than 1.4.9.
390 Older versions of the Prism station firmware have a number of issues
391 with hostap mode.
392 The IBSS/adhoc mode appears to work well on station firmware 1.3.1 and
393 later.
394 The IBSS/adhoc mode appears to have problems for some people with
395 older versions of station firmware.
396 .Pp
397 Lucent cards prior to firmware version 6.0.6 do not support IBSS
398 mode.
399 These cards support only the pre-802.11 mode known as
400 .Dq "demo ad-hoc mode"
401 which does not interoperate with stations in IBSS mode.
402 .Pp
403 Prism cards prior to version 0.8.0 do not support IBSS mode.
404 .Pp
405 Symbol cards prior to version 2.50.00 do not support IBSS mode.
406 .Sh BUGS
407 Not all the new messages are documented here, and many of them are
408 indications of transient errors that are not indications of serious
409 problems.
410 .Pp
411 WL200 PCI wireless cards are based on a Cirrus Logic CL-PD6729 bridge
412 chips glued to an Intersil Prism-II PCMCIA chipset w/o the PC Card
413 form factor being present.
414 These chips are special and require special care to use properly.
415 One must set
416 .Va hw.pcic.pd6729_intr_path Ns = Ns Qq Li 2
417 in
418 .Pa /boot/loader.conf .
419 This tells the PC Card system to use PCI interrupts for this odd beast.
420 It is not possible to know automatically which kind of interrupts to use.
421 OLDCARD devices
422 support this device.
423 NEWCARD devices
424 .Xr ( pccbb 4
425 and
426 .Xr pccard 4 )
427 do not support it at this time.