2001-04-04 14:00:40 +04:00
|
|
|
.\" $NetBSD: awi.4,v 1.10 2001/04/04 10:00:40 wiz Exp $
|
1999-11-04 22:36:01 +03:00
|
|
|
.\"
|
|
|
|
.Dd October 31, 1999
|
|
|
|
.Dt AWI 4
|
|
|
|
.Os
|
|
|
|
.Sh NAME
|
|
|
|
.Nm awi
|
|
|
|
.Nd
|
2000-03-22 14:24:33 +03:00
|
|
|
AMD PCnetMobile IEEE 802.11 PCMCIA wireless network driver
|
1999-11-04 22:36:01 +03:00
|
|
|
.Sh SYNOPSIS
|
|
|
|
.Cd "awi* at pcmcia? function ?"
|
|
|
|
.Sh DESCRIPTION
|
|
|
|
.Pp
|
2000-03-22 14:24:33 +03:00
|
|
|
The
|
|
|
|
.Nm
|
|
|
|
driver supports various IEEE 802.11 wireless cards
|
2000-07-21 21:39:58 +04:00
|
|
|
which run AMD PCnetMobile firmware based on AMD 79c930 controller
|
|
|
|
with Intersil (formerly Harris) PRISM radio chipset.
|
2000-03-22 14:24:33 +03:00
|
|
|
It provides access to 32kb of memory shared between the controller
|
|
|
|
and the host.
|
1999-11-04 22:36:01 +03:00
|
|
|
All host/device interaction is via this shared memory, which can be
|
|
|
|
accessed either via PCMCIA memory space or I/O space.
|
|
|
|
The
|
|
|
|
.Nm
|
2000-03-22 14:24:33 +03:00
|
|
|
driver encapsulates all IP and ARP traffic as 802.11 frames.
|
1999-11-04 22:36:01 +03:00
|
|
|
.Pp
|
2000-03-22 14:24:33 +03:00
|
|
|
The driver works both in infrastructure mode and in adhoc (independent
|
|
|
|
BSS) mode.
|
|
|
|
.Pp
|
|
|
|
In infrastructure mode, it communicates with an Access Point
|
|
|
|
which serves as a link-layer bridge between an Ethernet and
|
|
|
|
the wireless network. An access point also provides roaming capability
|
|
|
|
which allows wireless node to move between access points.
|
|
|
|
.Pp
|
|
|
|
In adhoc mode, it communicates peer to peer.
|
|
|
|
Though it is more efficient to communicate between wireless nodes,
|
|
|
|
the coverage is limited spatially due to lack of roaming capability.
|
|
|
|
.Pp
|
|
|
|
In addition to these two mode in IEEE 802.11 specification, the
|
|
|
|
.Nm
|
2000-07-21 21:39:58 +04:00
|
|
|
driver also supports a variant of adhoc mode out of spec for DS radio cards,
|
|
|
|
which makes possible to communicate with adhoc mode of
|
2001-04-04 14:00:40 +04:00
|
|
|
.Xr wi 4
|
2000-03-22 14:24:33 +03:00
|
|
|
driver. The NWID doesn't affect in this mode.
|
1999-11-04 22:36:01 +03:00
|
|
|
.Pp
|
|
|
|
For more information on configuring this device, see
|
|
|
|
.Xr ifconfig 8
|
2000-03-22 14:24:33 +03:00
|
|
|
and
|
|
|
|
.Xr ifmedia 4 .
|
1999-12-17 19:53:31 +03:00
|
|
|
.Sh HARDWARE
|
2000-01-16 15:22:56 +03:00
|
|
|
Cards supported by the
|
1999-12-17 19:53:31 +03:00
|
|
|
.Nm
|
2000-01-16 15:22:56 +03:00
|
|
|
driver include:
|
1999-12-17 19:53:31 +03:00
|
|
|
.Pp
|
2000-03-22 14:24:33 +03:00
|
|
|
.Bl -tag -width BayStack_650x -offset indent
|
|
|
|
.It BayStack 650
|
|
|
|
1Mbps Frequency Hopping PCCARD adapter
|
|
|
|
.It BayStack 660
|
|
|
|
2Mbps Direct Sequence PCCARD adapter
|
|
|
|
.It Icom SL-200
|
|
|
|
2Mbps Direct Sequence PCCARD adapter
|
|
|
|
.It Melco WLI-PCM
|
|
|
|
2Mbps Direct Sequence PCCARD adapter
|
|
|
|
.It NEL SSMagic
|
|
|
|
2Mbps Direct Sequence PCCARD adapter
|
|
|
|
.It Netwave AirSurfer Plus
|
|
|
|
1Mbps Frequency Hopping PCCARD adapter
|
|
|
|
.It Netwave AirSurfer Pro
|
|
|
|
2Mbps Direct Sequence PCCARD adapter
|
2000-06-09 17:06:32 +04:00
|
|
|
.It Nokia C020 WLAN
|
|
|
|
2Mbps Direct Sequence PCCARD adapter
|
|
|
|
.It Farallon SkyLINE
|
|
|
|
2Mbps Direct Sequence PCCARD adapter
|
1999-12-17 19:53:31 +03:00
|
|
|
.El
|
|
|
|
.Pp
|
|
|
|
The original Xircom Netwave AirSurfer is supported by the
|
|
|
|
.Xr cnw 4
|
2000-07-21 21:39:58 +04:00
|
|
|
driver, and the PRISM-II cards are supported by the
|
|
|
|
.Xr wi 4
|
1999-12-17 19:53:31 +03:00
|
|
|
driver.
|
2000-03-22 14:24:33 +03:00
|
|
|
.Sh MEDIA SELECTION
|
|
|
|
The DS cards support
|
|
|
|
.Em DS1
|
|
|
|
and
|
|
|
|
.Em DS2
|
|
|
|
media types, while the FH cards support
|
|
|
|
.Em FH1
|
|
|
|
media type. For each media type,
|
|
|
|
.Em adhoc
|
|
|
|
mediaopt can be used to indicate the driver to operate in adhoc mode.
|
2000-07-21 21:39:58 +04:00
|
|
|
For DS radio cards,
|
2000-03-22 14:24:33 +03:00
|
|
|
.Em adhoc,flag0
|
|
|
|
mediaopt can be used for
|
|
|
|
.Xr wi 4
|
|
|
|
compatible adhoc mode.
|
2000-06-09 17:06:32 +04:00
|
|
|
.Pp
|
|
|
|
To configure more detailed parameters for the
|
|
|
|
.Nm
|
|
|
|
driver,
|
|
|
|
.Xr wiconfig 8
|
|
|
|
can be used.
|
1999-11-04 22:36:01 +03:00
|
|
|
.Sh DIAGNOSTICS
|
|
|
|
.Bl -diag
|
|
|
|
.It "awi0: unable to allocate memory space; using i/o only"
|
|
|
|
Indicates that the driver was not able to allocate 32kb of PCMCIA bus
|
|
|
|
address space into which to map the device; the driver will use the
|
|
|
|
(slightly slower) i/o-space only access methods to read and write to
|
|
|
|
the shared memory. Since by default, NetBSD, only allocates 16kb of
|
|
|
|
address space per PCMCIA controller, this message is in some sense to
|
|
|
|
be expected and should not be a cause for alarm.
|
|
|
|
See
|
|
|
|
.Xr pcmcia 4
|
|
|
|
for information on how to increase the memory available to the PCMCIA
|
|
|
|
controller.
|
2000-03-22 14:24:33 +03:00
|
|
|
.It "awi0: failed to complete selftest (%s)"
|
|
|
|
The device failed to complete its self test.
|
2000-07-04 18:37:37 +04:00
|
|
|
.It "awi0: synced with no-bssid at channel %d"
|
|
|
|
The device is ready to relay traffic at specified channel.
|
|
|
|
.It "awi0: synced with %s ssid %s at channel %d"
|
|
|
|
The device has successfully synchronized with at least one of the
|
|
|
|
identified stations and is ready to relay traffic.
|
2000-03-22 14:24:33 +03:00
|
|
|
.It "awi0: associated with %s ssid %s channel %d signal %d"
|
1999-11-04 22:36:01 +03:00
|
|
|
The device has successfully synchronized with the identified Access
|
|
|
|
Point and is ready to relay traffic.
|
2000-03-22 14:24:33 +03:00
|
|
|
.It "awi0: authentication failed (reason %d)"
|
|
|
|
.It "awi0: association failed (reason %d)"
|
|
|
|
The access point refuses the association request from the device.
|
|
|
|
.It "awi0: no recent beacons from %s; rescanning"
|
1999-11-04 22:36:01 +03:00
|
|
|
The device has not heard a beacon from its currently associated Access
|
|
|
|
Point recently, and is looking for a new access point.
|
2000-03-22 14:24:33 +03:00
|
|
|
.It "awi0: transmit timeout"
|
|
|
|
The device failed to generate an interrupt to acknowledge a
|
|
|
|
transmitted packet.
|
|
|
|
.It "awi0: failed to lock interrupt"
|
|
|
|
The system was unable to obtain the lock to access shared memory.
|
|
|
|
.It "awi0: command %d failed %x"
|
|
|
|
The device failed to complete the request from the system.
|
1999-11-04 22:36:01 +03:00
|
|
|
.El
|
|
|
|
.Sh BUGS
|
1999-12-10 18:17:05 +03:00
|
|
|
.Pp
|
2000-03-22 14:24:33 +03:00
|
|
|
Doesn't create IBSS itself.
|
1999-12-10 18:17:05 +03:00
|
|
|
.Pp
|
1999-11-04 22:36:01 +03:00
|
|
|
.Sh SEE ALSO
|
|
|
|
.Xr arp 4 ,
|
|
|
|
.Xr netintro 4 ,
|
|
|
|
.Xr pcmcia 4 ,
|
|
|
|
.Xr wi 4 ,
|
1999-12-10 18:17:05 +03:00
|
|
|
.Xr cnw 4 ,
|
2000-03-22 14:24:33 +03:00
|
|
|
.Xr ifmedia 4 ,
|
2000-06-09 17:06:32 +04:00
|
|
|
.Xr ifconfig 8 ,
|
|
|
|
.Xr wiconfig 8
|
1999-11-04 22:36:01 +03:00
|
|
|
.Rs
|
|
|
|
.%T Am79C930 PCnet Mobile Single-Chip Wireless LAN Media Access Controller
|
|
|
|
.%O http://www.amd.com
|
|
|
|
.Re
|
|
|
|
.Sh HISTORY
|
|
|
|
The
|
|
|
|
.Nm
|
|
|
|
device driver first appeared in
|
|
|
|
.Nx 1.5 .
|
|
|
|
.Sh AUTHOR
|
2000-03-22 14:24:33 +03:00
|
|
|
The initial version of the
|
1999-11-04 22:36:01 +03:00
|
|
|
.Nm
|
|
|
|
driver was written by
|
|
|
|
.An Bill Sommerfeld Aq sommerfeld@netbsd.org .
|
2000-03-22 14:24:33 +03:00
|
|
|
Then the
|
|
|
|
.Nm
|
|
|
|
driver module completely rewritten to support cards with DS phy and
|
|
|
|
to support adhoc mode by
|
|
|
|
.An Atsushi Onoe Aq onoe@netbsd.org .
|