xref: /netbsd-src/share/man/man4/wi.4 (revision 0f2ead35e019e65793851c5c198cb3d1b2030707)
1.\"     $NetBSD: wi.4,v 1.42 2016/06/02 08:11:23 wiz Exp $
2.\"
3.\" Copyright (c) 1997, 1998, 1999
4.\"	Bill Paul <wpaul@ctr.columbia.edu>. All rights reserved.
5.\"
6.\" Redistribution and use in source and binary forms, with or without
7.\" modification, are permitted provided that the following conditions
8.\" are met:
9.\" 1. Redistributions of source code must retain the above copyright
10.\"    notice, this list of conditions and the following disclaimer.
11.\" 2. Redistributions in binary form must reproduce the above copyright
12.\"    notice, this list of conditions and the following disclaimer in the
13.\"    documentation and/or other materials provided with the distribution.
14.\" 3. All advertising materials mentioning features or use of this software
15.\"    must display the following acknowledgement:
16.\"	This product includes software developed by Bill Paul.
17.\" 4. Neither the name of the author nor the names of any co-contributors
18.\"    may be used to endorse or promote products derived from this software
19.\"   without specific prior written permission.
20.\"
21.\" THIS SOFTWARE IS PROVIDED BY Bill Paul AND CONTRIBUTORS ``AS IS'' AND
22.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
23.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
24.\" ARE DISCLAIMED.  IN NO EVENT SHALL Bill Paul OR THE VOICES IN HIS HEAD
25.\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
26.\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
27.\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
28.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
29.\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
30.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
31.\" THE POSSIBILITY OF SUCH DAMAGE.
32.\"
33.\"	$Id: wi.4,v 1.42 2016/06/02 08:11:23 wiz Exp $
34.\"
35.Dd June 2, 2016
36.Dt WI 4
37.Os
38.Sh NAME
39.Nm wi
40.Nd
41WaveLAN/IEEE and PRISM-II 802.11 wireless network driver
42.Sh SYNOPSIS
43.Cd "wi* at pcmcia? function ?"
44.Cd "wi* at pci? dev ? function ?"
45.Sh DESCRIPTION
46The
47.Nm
48driver provides support for Lucent Technologies WaveLAN/IEEE PCCARD adapters
49(also known as WaveLAN II cards) and various PCI/MiniPCI/PCCARD adapters which use
50Intersil PRISM-II and PRISM-2.5 chipsets.
51Note that while Lucent sells both ISA and PCMCIA WaveLAN/IEEE devices,
52the ISA product is actually a PCMCIA card in an ISA to PCMCIA bridge adapter.
53Consequently, the
54.Nm
55driver is required for both the ISA and PCMCIA NICs.
56Also note that some of the PRISM-II adapters works only at 3.3V, hence
57.Xr cardbus 4
58support is required for those cards to set VCC correctly,
59even though they are 16-bit cards.
60.Pp
61The core of the WaveLAN/IEEE is the Lucent Hermes controller.
62All host/device interaction is via programmed I/O with the Hermes.
63The Hermes supports 802.11 and 802.3 frames, power management, BSS, WDS
64and ad-hoc operation modes.
65The Silver and the Gold cards of the
66WaveLAN/IEEE also support WEP.
67Unlike the other IEEE 802.11 network cards, the WaveLAN Gold cards
68accept 104 bits key (13 characters) for WEP encryption.
69The Intersil PRISM-II controller supports WEP as well.
70.Pp
71The
72.Nm
73driver encapsulates all traffic as 802.11 frames, however
74it can receive either 802.11 or 802.3 frames.
75Transmit speed is selectable between 1Mbps fixed,
762Mbps fixed or 2Mbps with auto fallback.
77For WaveLAN/IEEE Turbo adapters, speeds up to 6Mbps are available.
78For WaveLAN/IEEE Turbo 11Mbps adapters and PRISM-II adapters, speeds up to
7911Mbps are available.
80.Pp
81The
82.Nm
83driver supports configuration of Lucent cards for special ad-hoc operation.
84In this mode, the nwid is ignored and stations can communicate among each
85other without the aid of an access point.
86Note that this mode is specific
87to Lucent chips, and not in the IEEE 802.11 specification.
88Due to changes
89in the implementation of this special ad-hoc mode, Lucent-based cards with
90different firmware revisions may not interoperate in this mode.
91This mode is no longer the default and must be selected using the
92.Xr ifconfig 8
93.Pq media option Dq adhoc,flag0
94utility.
95.Pp
96Recent versions of Lucent and PRISM-II firmware support IBSS creation.
97IBSS is the standard IEEE 802.11 ad-hoc mode.
98In this mode, the nwid should be specified.
99At least one node must be able to create IBSS.
100The IBSS mode is enabled by
101.Dq adhoc
102or
103.Dq ibss
104media option.
105IBSS creation is automatically enabled if supported.
106.Pp
107The
108.Nm
109driver defaults to infrastructure mode (i.e., using an access point).
110.Pp
111Recent versions of PRISM-II firmware support operating as an 802.11
112Access Point.
113In this mode, the Access Point station should set the nwid.
114This will create a standard 802.11 network, and the Access Point
115station will show up in an Access Point scan.
116This mode is enabled using the
117.Dq hostap
118media option.
119.Pp
120For more information on configuring this device, see
121.Xr ifconfig 8
122and
123.Xr ifmedia 4 .
124.Sh HARDWARE
125Cards supported by the
126.Nm
127driver include:
128.Pp
129.Bl -item -offset indent -compact
130.It
1313Com AirConnect 3CRWE737A
132.It
1333Com AirConnect 3CRWE777A
134.It
135Alvarion BreezeNET
136.It
137Lucent WaveLAN/IEEE 2.0Mb Bronze
138.It
139Lucent WaveLAN/IEEE 2.0Mb Silver
140.It
141Lucent WaveLAN/IEEE Turbo
142.It
143Lucent WaveLAN/IEEE Turbo 11Mbps
144.It
145Melco AIR CONNECT WLI-PCM-L11, WLI-PCM-L11G
146.It
147Melco AIR CONNECT WLI-CF-S11G
148.It
149Compaq WL100 11Mbps Wireless
150.It
151Corega Wireless LAN PCC-11, PCCA_11, PCCB_11
152.It
153DEC/Cabletron RoamAbout 802.11 DS High Rate
154.It
155D-Link DWL-520 11Mbps PCI Card, Revs. A1,A2,B1,B2
156.It
157D-Link DWL-520 11Mbps PCI Card, Rev. C1
158.Em not supported ,
159see
160.Xr atw 4
161.It
162D-Link DWL-520 11Mbps PCI Card, Rev. D
163.Em not supported ,
164see
165.Xr rtw 4
166.It
167D-Link DWL-650 11Mbps WLAN Card
168.It
169D-Link DWL-650 11Mbps WLAN Card, Rev. P
170.Em not supported
171(Prism 3 chipset)
172.It
173D-Link DCF-650W CF Card
174.It
175ELECOM Air@Hawk LD-WL11
176.It
177ELSA AirLancer MC-11
178.It
179Ericsson Wireless LAN
180.It
181Farallon Skyline 11Mbps Wireless
182.It
183Intel PRO/Wireless 2011 LAN PC Card
184.It
185ICOM SL-1100
186.It
187IO-DATA WN-B11/PCM
188.It
189Intersil PRISM Mini-PCI
190.It
191Linksys Group, Inc. Instant Wireless Network PC Card, CF Card
192.It
193Linksys Group, Inc. Instant Wireless Network WMP11 PCI Card
194.It
195Linksys Group, Inc. Instant Wireless Network WMP11v4 PCI Card
196.Em not supported
197.It
198NCR WaveLAN/IEEE
199.It
200NEC Wireless Card CMZ-RT-WP, PK-WL001, PC-WL/11C
201.It
202PLANEX GeoWave/GW-NS110
203.It
204Symbol Spectrum24 Wireless Networker PC Card, CF Card
205.It
206TDK LAK-CD011WL
207.It
208SMC EZ Connect 11M Wireless CF Card SMC2642W
209.It
210SMC EliteConnect Wireless Adapter PC Card SMC2531W-B
211.It
212Z-Com XI-626 PCI Card
213.El
214.Pp
215The original PRISM-I chipset is supported by the
216.Xr awi 4
217driver.
218.Sh DIAGNOSTICS
219.Bl -diag
220.It "wi%d: init failed"
221The WaveLAN failed to come ready after an initialization command was
222issued.
223.It "wi%d: failed to allocate %d bytes on NIC"
224The driver was unable to allocate memory for transmit frames in the
225NIC's on-board RAM.
226.It "wi%d: device timeout"
227The WaveLAN failed to generate an interrupt to acknowledge a transmit
228command.
229.El
230.Sh SEE ALSO
231.Xr arp 4 ,
232.Xr ifmedia 4 ,
233.Xr netintro 4 ,
234.Xr pci 4 ,
235.Xr pcmcia 4 ,
236.Xr ifconfig 8 ,
237.Xr wiconfig 8
238.Rs
239.%T HCF Light programming specification
240.%U http://www.wavelan.com
241.Re
242.Sh HISTORY
243The
244.Nm
245device driver first appeared in
246.Nx 1.5 .
247.Sh AUTHORS
248The
249.Nm
250driver was written by
251.An Bill Paul Aq Mt wpaul@ctr.columbia.edu .
252.Sh BUGS
253The execution of
254.Xr wiconfig 8
255while the interface is down can produce some error messages.
256