xref: /netbsd-src/share/man/man4/awi.4 (revision e5548b402ae4c44fb816de42c7bba9581ce23ef5)
1.\"     $NetBSD: awi.4,v 1.24 2004/11/22 12:23:31 wiz Exp $
2.\"
3.\" Copyright (c) 1999,2000,2001 The NetBSD Foundation, Inc.
4.\" All rights reserved.
5.\"
6.\" This code is derived from software contributed to The NetBSD Foundation
7.\" by Bill Sommerfeld
8.\"
9.\" Redistribution and use in source and binary forms, with or without
10.\" modification, are permitted provided that the following conditions
11.\" are met:
12.\" 1. Redistributions of source code must retain the above copyright
13.\"    notice, this list of conditions and the following disclaimer.
14.\" 2. Redistributions in binary form must reproduce the above copyright
15.\"    notice, this list of conditions and the following disclaimer in the
16.\"    documentation and/or other materials provided with the distribution.
17.\" 3. All advertising materials mentioning features or use of this software
18.\"    must display the following acknowledgement:
19.\"        This product includes software developed by the NetBSD
20.\"        Foundation, Inc. and its contributors.
21.\" 4. Neither the name of The NetBSD Foundation nor the names of its
22.\"    contributors may be used to endorse or promote products derived
23.\"    from this software without specific prior written permission.
24.\"
25.\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
26.\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
27.\" TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
28.\" PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
29.\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
30.\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
31.\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
32.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
33.\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
34.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
35.\" POSSIBILITY OF SUCH DAMAGE.
36.Dd November 22, 2004
37.Dt AWI 4
38.Os
39.Sh NAME
40.Nm awi
41.Nd
42AMD PCnetMobile IEEE 802.11 PCMCIA wireless network driver
43.Sh SYNOPSIS
44.Cd "awi*     at pcmcia? function ?"
45.Sh DESCRIPTION
46The
47.Nm
48driver supports various IEEE 802.11 wireless cards
49which run AMD PCnetMobile firmware based on AMD 79c930 controller
50with Intersil (formerly Harris) PRISM radio chipset.
51It provides access to 32kb of memory shared between the controller
52and the host.
53All host/device interaction is via this shared memory, which can be
54accessed either via PCMCIA memory space or I/O space.
55The
56.Nm
57driver encapsulates all IP and ARP traffic as 802.11 frames.
58.Pp
59The driver works both in infrastructure mode and in ad-hoc (independent
60BSS) mode.
61.Pp
62In infrastructure mode, it communicates with an Access Point
63which serves as a link-layer bridge between an Ethernet and
64the wireless network.  An access point also provides roaming capability
65which allows wireless node to move between access points.
66.Pp
67In ad-hoc mode, it communicates peer to peer.
68Though it is more efficient to communicate between wireless nodes,
69the coverage is limited spatially due to lack of roaming capability.
70.Pp
71In addition to these two mode in IEEE 802.11 specification, the
72.Nm
73driver also supports a variant of ad-hoc mode out of spec for DS radio cards,
74which makes possible to communicate with WaveLAN ad-hoc mode of
75.Xr wi 4
76driver.  The NWID doesn't affect in this mode.
77.Pp
78Another mode added to the
79.Nm
80driver can be used with old Melco access point with 2Mbps card,
81which actually use IEEE 802.11 ad-hoc mode with encapsulation of
82raw Ethernet packet including header in 802.11 frames.
83.Pp
84For more information on configuring this device, see
85.Xr ifconfig 8
86and
87.Xr ifmedia 4 .
88.Sh HARDWARE
89Cards supported by the
90.Nm
91driver include:
92.Pp
93.Bl -tag -width BayStack_650x -offset indent -compact
94.It BayStack 650
951Mbps Frequency Hopping PCCARD adapter
96.It BayStack 660
972Mbps Direct Sequence PCCARD adapter
98.It Icom SL-200
992Mbps Direct Sequence PCCARD adapter
100.It Melco WLI-PCM
1012Mbps Direct Sequence PCCARD adapter
102.It NEL SSMagic
1032Mbps Direct Sequence PCCARD adapter
104.It Netwave AirSurfer Plus
1051Mbps Frequency Hopping PCCARD adapter
106.It Netwave AirSurfer Pro
1072Mbps Direct Sequence PCCARD adapter
108.It Nokia C020 WLAN
1092Mbps Direct Sequence PCCARD adapter
110.It Farallon SkyLINE
1112Mbps Direct Sequence PCCARD adapter
112.It Zoom Air Model 4000
113.El
114.Pp
115The original Xircom Netwave AirSurfer is supported by the
116.Xr cnw 4
117driver, and the PRISM-II cards are supported by the
118.Xr wi 4
119driver.
120.Sh MEDIA SELECTION
121In addition to default
122.Em Auto
123media type,
124the DS cards support
125.Em DS1
126and
127.Em DS2
128media types, while the FH cards support
129.Em FH1
130media type.  For each media type,
131.Em adhoc
132mediaopt can be used to indicate the driver to operate in ad-hoc mode.
133The
134.Em flag0
135mediaopt
136should be used only with old access point which operates in IBSS mode.
137For DS radio cards,
138.Em adhoc,flag0
139mediaopt can be used for
140.Xr wi 4
141compatible WaveLAN ad-hoc mode.
142.Sh DIAGNOSTICS
143.Bl -diag
144.It "awi0: no suitable CIS info found"
145The device cannot be mapped due to conflict of the resource.
146Or, the device failed to initialize its firmware.
147.It "awi0: failed to complete selftest (%s)"
148The device failed to complete its self test.
149In some circumstances, resetting device after power on fails.
150Re-inserting the card or down-then-up interface may be helpful.
151.It "awi0: transmit timeout"
152The device failed to generate an interrupt to acknowledge a
153transmitted packet.
154.It "awi0: failed to lock interrupt"
155The system was unable to obtain the lock to access shared memory.
156.It "awi0: command %d failed %x"
157The device failed to complete the request from the system.
158.El
159.Sh SEE ALSO
160.Xr arp 4 ,
161.Xr cnw 4 ,
162.Xr ifmedia 4 ,
163.Xr netintro 4 ,
164.Xr pcmcia 4 ,
165.Xr wi 4 ,
166.Xr ifconfig 8 ,
167.Xr wiconfig 8
168.Rs
169.%T Am79C930 PCnet Mobile Single-Chip Wireless LAN Media Access Controller
170.%O http://www.amd.com
171.Re
172.Sh HISTORY
173The
174.Nm
175device driver first appeared in
176.Nx 1.5 .
177.Sh AUTHORS
178The initial version of the
179.Nm
180driver was written by
181.An Bill Sommerfeld
182.Aq sommerfeld@NetBSD.org .
183Then the
184.Nm
185driver module completely rewritten to support cards with DS phy and
186to support ad-hoc mode by
187.An Atsushi Onoe
188.Aq onoe@NetBSD.org .
189