2004-11-22 15:23:31 +03:00
|
|
|
.\" $NetBSD: awi.4,v 1.24 2004/11/22 12:23:31 wiz Exp $
|
1999-11-04 22:36:01 +03:00
|
|
|
.\"
|
2003-02-14 17:52:29 +03:00
|
|
|
.\" Copyright (c) 1999,2000,2001 The NetBSD Foundation, Inc.
|
|
|
|
.\" All rights reserved.
|
2003-05-06 14:46:41 +04:00
|
|
|
.\"
|
2003-02-14 17:52:29 +03:00
|
|
|
.\" This code is derived from software contributed to The NetBSD Foundation
|
|
|
|
.\" by Bill Sommerfeld
|
2003-05-06 14:46:41 +04:00
|
|
|
.\"
|
2003-02-14 17:52:29 +03:00
|
|
|
.\" Redistribution and use in source and binary forms, with or without
|
|
|
|
.\" modification, are permitted provided that the following conditions
|
|
|
|
.\" are met:
|
|
|
|
.\" 1. Redistributions of source code must retain the above copyright
|
|
|
|
.\" notice, this list of conditions and the following disclaimer.
|
|
|
|
.\" 2. Redistributions in binary form must reproduce the above copyright
|
|
|
|
.\" notice, this list of conditions and the following disclaimer in the
|
|
|
|
.\" documentation and/or other materials provided with the distribution.
|
|
|
|
.\" 3. All advertising materials mentioning features or use of this software
|
|
|
|
.\" must display the following acknowledgement:
|
|
|
|
.\" This product includes software developed by the NetBSD
|
|
|
|
.\" Foundation, Inc. and its contributors.
|
|
|
|
.\" 4. Neither the name of The NetBSD Foundation nor the names of its
|
|
|
|
.\" contributors may be used to endorse or promote products derived
|
|
|
|
.\" from this software without specific prior written permission.
|
2003-05-06 14:46:41 +04:00
|
|
|
.\"
|
2003-02-14 17:52:29 +03:00
|
|
|
.\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
|
|
|
|
.\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
|
|
|
|
.\" TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
|
|
|
.\" PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
|
|
|
|
.\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
|
|
|
.\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
|
|
|
.\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
|
|
|
.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
|
|
|
.\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
|
|
|
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
|
|
|
.\" POSSIBILITY OF SUCH DAMAGE.
|
2004-11-22 15:23:31 +03:00
|
|
|
.Dd November 22, 2004
|
2001-06-05 16:20:57 +04:00
|
|
|
.Dt AWI 4
|
|
|
|
.Os
|
1999-11-04 22:36:01 +03:00
|
|
|
.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
|
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
|
2003-01-04 04:09:37 +03:00
|
|
|
The driver works both in infrastructure mode and in ad-hoc (independent
|
2000-03-22 14:24:33 +03:00
|
|
|
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
|
2003-01-04 04:09:37 +03:00
|
|
|
In ad-hoc mode, it communicates peer to peer.
|
2000-03-22 14:24:33 +03:00
|
|
|
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
|
2003-01-04 04:09:37 +03:00
|
|
|
driver also supports a variant of ad-hoc mode out of spec for DS radio cards,
|
|
|
|
which makes possible to communicate with WaveLAN ad-hoc 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
|
2001-09-18 13:19:31 +04:00
|
|
|
Another mode added to the
|
|
|
|
.Nm
|
|
|
|
driver can be used with old Melco access point with 2Mbps card,
|
2003-01-04 04:09:37 +03:00
|
|
|
which actually use IEEE 802.11 ad-hoc mode with encapsulation of
|
2001-12-18 16:33:18 +03:00
|
|
|
raw Ethernet packet including header in 802.11 frames.
|
2001-09-18 13:19:31 +04:00
|
|
|
.Pp
|
1999-11-04 22:36:01 +03:00
|
|
|
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
|
2001-09-18 13:19:31 +04:00
|
|
|
.Bl -tag -width BayStack_650x -offset indent -compact
|
2000-03-22 14:24:33 +03:00
|
|
|
.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
|
2004-11-22 03:54:41 +03:00
|
|
|
.It Zoom Air Model 4000
|
1999-12-17 19:53:31 +03:00
|
|
|
.El
|
|
|
|
.Pp
|
2001-06-05 16:20:57 +04:00
|
|
|
The original Xircom Netwave AirSurfer is supported by the
|
1999-12-17 19:53:31 +03:00
|
|
|
.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
|
2001-09-18 13:19:31 +04:00
|
|
|
In addition to default
|
|
|
|
.Em Auto
|
|
|
|
media type,
|
|
|
|
the DS cards support
|
2000-03-22 14:24:33 +03:00
|
|
|
.Em DS1
|
|
|
|
and
|
|
|
|
.Em DS2
|
|
|
|
media types, while the FH cards support
|
|
|
|
.Em FH1
|
|
|
|
media type. For each media type,
|
|
|
|
.Em adhoc
|
2003-01-04 04:09:37 +03:00
|
|
|
mediaopt can be used to indicate the driver to operate in ad-hoc mode.
|
2001-09-18 13:19:31 +04:00
|
|
|
The
|
|
|
|
.Em flag0
|
|
|
|
mediaopt
|
|
|
|
should be used only with old access point which operates in IBSS 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
|
2003-01-04 04:09:37 +03:00
|
|
|
compatible WaveLAN ad-hoc mode.
|
1999-11-04 22:36:01 +03:00
|
|
|
.Sh DIAGNOSTICS
|
|
|
|
.Bl -diag
|
2004-01-15 16:46:58 +03:00
|
|
|
.It "awi0: no suitable CIS info found"
|
|
|
|
The device cannot be mapped due to conflict of the resource.
|
|
|
|
Or, the device failed to initialize its firmware.
|
2000-03-22 14:24:33 +03:00
|
|
|
.It "awi0: failed to complete selftest (%s)"
|
|
|
|
The device failed to complete its self test.
|
2001-09-18 13:19:31 +04:00
|
|
|
In some circumstances, resetting device after power on fails.
|
|
|
|
Re-inserting the card or down-then-up interface may be helpful.
|
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 SEE ALSO
|
|
|
|
.Xr arp 4 ,
|
2001-09-11 21:39:00 +04:00
|
|
|
.Xr cnw 4 ,
|
|
|
|
.Xr ifmedia 4 ,
|
2001-06-05 16:20:57 +04:00
|
|
|
.Xr netintro 4 ,
|
1999-11-04 22:36:01 +03:00
|
|
|
.Xr pcmcia 4 ,
|
|
|
|
.Xr wi 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 .
|
2001-09-11 04:08:25 +04:00
|
|
|
.Sh AUTHORS
|
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
|
2003-02-14 18:20:17 +03:00
|
|
|
.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
|
2003-01-04 04:09:37 +03:00
|
|
|
to support ad-hoc mode by
|
2003-02-14 18:20:17 +03:00
|
|
|
.An Atsushi Onoe
|
|
|
|
.Aq onoe@NetBSD.org .
|