2000-04-06 02:48:48 +00:00
|
|
|
.\" $NetBSD: awi.4,v 1.6 2000/03/22 11:24:33 onoe Exp $
|
|
|
|
.\" $FreeBSD$
|
|
|
|
.\"
|
|
|
|
.Dd October 31, 1999
|
2001-07-14 19:41:16 +00:00
|
|
|
.Dt AWI 4
|
|
|
|
.Os
|
2000-04-06 02:48:48 +00:00
|
|
|
.Sh NAME
|
|
|
|
.Nm awi
|
2001-04-18 15:54:10 +00:00
|
|
|
.Nd "AMD PCnetMobile IEEE 802.11 PCMCIA wireless network driver"
|
2000-04-06 02:48:48 +00:00
|
|
|
.Sh SYNOPSIS
|
2001-10-13 09:08:37 +00:00
|
|
|
.Cd "device awi"
|
2004-01-15 17:21:06 +00:00
|
|
|
.Cd "device wlan"
|
2000-04-06 02:48:48 +00:00
|
|
|
.Sh DESCRIPTION
|
|
|
|
The
|
|
|
|
.Nm
|
|
|
|
driver supports various IEEE 802.11 wireless cards
|
2001-06-26 13:26:16 +00:00
|
|
|
which run AMD PCnetMobile firmware based on AMD 79c930 controller
|
|
|
|
with Intersil (formerly Harris) PRISM radio chipset.
|
2000-04-06 02:48:48 +00:00
|
|
|
It provides access to 32kb of memory shared between the controller
|
|
|
|
and the host.
|
|
|
|
All host/device interaction is via this shared memory, which can be
|
|
|
|
accessed either via PCMCIA memory space or I/O space.
|
|
|
|
The
|
|
|
|
.Nm
|
|
|
|
driver encapsulates all IP and ARP traffic as 802.11 frames.
|
|
|
|
.Pp
|
|
|
|
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
|
2003-06-28 23:53:39 +00:00
|
|
|
the wireless network.
|
|
|
|
An access point also provides roaming capability
|
2003-08-13 12:39:44 +00:00
|
|
|
which allows wireless nodes to move between access points.
|
2000-04-06 02:48:48 +00:00
|
|
|
.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
|
2003-08-13 12:39:44 +00:00
|
|
|
In addition to these two modes in the IEEE 802.11 specification, the
|
2000-04-06 02:48:48 +00:00
|
|
|
.Nm
|
2001-06-26 13:26:16 +00:00
|
|
|
driver also supports a variant of adhoc mode out of spec for DS radio cards,
|
2003-08-13 12:39:44 +00:00
|
|
|
which makes it possible to communicate with adhoc mode of
|
2000-04-06 02:48:48 +00:00
|
|
|
.Xr wi 8
|
2003-06-28 23:53:39 +00:00
|
|
|
driver.
|
|
|
|
The NWID doesn't affect in this mode.
|
2000-04-06 02:48:48 +00:00
|
|
|
.Pp
|
|
|
|
For more information on configuring this device, see
|
2004-01-15 14:06:51 +00:00
|
|
|
.Xr ifconfig 8 .
|
2000-04-06 02:48:48 +00:00
|
|
|
.Sh HARDWARE
|
|
|
|
Cards supported by the
|
|
|
|
.Nm
|
|
|
|
driver include:
|
|
|
|
.Pp
|
|
|
|
.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
|
2004-01-15 14:06:51 +00:00
|
|
|
.It Nokia C020 WLAN
|
|
|
|
2Mbps Direct Sequence PCCARD adapter
|
|
|
|
.It Farallon SkyLINE
|
|
|
|
2Mbps Direct Sequence PCCARD adapter
|
2000-04-06 02:48:48 +00:00
|
|
|
.El
|
|
|
|
.Pp
|
2001-07-14 19:41:16 +00:00
|
|
|
The original Xircom Netwave AirSurfer is supported by the
|
2000-04-06 02:48:48 +00:00
|
|
|
.Xr cnw 4
|
|
|
|
driver.
|
|
|
|
.Sh MEDIA SELECTION
|
|
|
|
The DS cards support
|
|
|
|
.Em DS1
|
|
|
|
and
|
|
|
|
.Em DS2
|
|
|
|
media types, while the FH cards support
|
|
|
|
.Em FH1
|
2003-06-28 23:53:39 +00:00
|
|
|
media type.
|
|
|
|
For each media type,
|
2000-04-06 02:48:48 +00:00
|
|
|
.Em adhoc
|
|
|
|
mediaopt can be used to indicate the driver to operate in adhoc mode.
|
2001-06-26 13:26:16 +00:00
|
|
|
For DS radio cards,
|
2001-02-01 16:38:02 +00:00
|
|
|
.Em adhoc , Ns Em flag0
|
2000-04-06 02:48:48 +00:00
|
|
|
mediaopt can be used for
|
|
|
|
.Xr wi 4
|
|
|
|
compatible adhoc mode.
|
2004-01-15 14:06:51 +00:00
|
|
|
In addition to these station modes,
|
|
|
|
.Em hostap
|
|
|
|
mediaopt can be used to create a host-based access point.
|
2000-04-06 02:48:48 +00:00
|
|
|
.Sh DIAGNOSTICS
|
|
|
|
.Bl -diag
|
2004-01-15 14:06:51 +00:00
|
|
|
.It "awi0: awi_pccard_probe: bad banner:"
|
|
|
|
The device failed to initialize its firmware.
|
2000-04-06 02:48:48 +00:00
|
|
|
.It "awi0: failed to complete selftest (%s)"
|
|
|
|
The device failed to complete its self test.
|
2004-01-15 14:06:51 +00:00
|
|
|
In some circumstances, resetting device after power on fails.
|
|
|
|
Re-inserting the card or down-then-up interface may be helpful.
|
2000-04-06 02:48:48 +00: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.
|
|
|
|
.El
|
|
|
|
.Sh SEE ALSO
|
|
|
|
.Xr arp 4 ,
|
2004-01-15 14:06:51 +00:00
|
|
|
.Xr card 4 ,
|
2004-06-16 08:33:57 +00:00
|
|
|
.Xr cnw 4 ,
|
2003-02-15 17:12:53 +00:00
|
|
|
.Xr miibus 4 ,
|
2001-07-14 19:41:16 +00:00
|
|
|
.Xr netintro 4 ,
|
2004-01-15 14:06:51 +00:00
|
|
|
.Xr pccard 4 ,
|
2000-04-06 02:48:48 +00:00
|
|
|
.Xr wi 4 ,
|
2004-01-15 14:06:51 +00:00
|
|
|
.Xr wlan 4 ,
|
2000-04-06 02:48:48 +00:00
|
|
|
.Xr ifconfig 8
|
|
|
|
.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 .
|
2000-11-17 11:44:16 +00:00
|
|
|
.Sh AUTHORS
|
2000-11-22 09:35:58 +00:00
|
|
|
.An -nosplit
|
2000-04-06 02:48:48 +00:00
|
|
|
The initial version of the
|
|
|
|
.Nm
|
|
|
|
driver was written by
|
|
|
|
.An Bill Sommerfeld Aq sommerfeld@netbsd.org .
|
|
|
|
Then the
|
|
|
|
.Nm
|
2003-08-13 12:39:44 +00:00
|
|
|
driver module was completely rewritten to support cards with DS phy and
|
2000-04-06 02:48:48 +00:00
|
|
|
to support adhoc mode by
|
|
|
|
.An Atsushi Onoe Aq onoe@netbsd.org .
|