1.\" Copyright (c) 1997, 1998, 1999 2.\" Bill Paul <wpaul@ee.columbia.edu>. All rights reserved. 3.\" 4.\" Redistribution and use in source and binary forms, with or without 5.\" modification, are permitted provided that the following conditions 6.\" are met: 7.\" 1. Redistributions of source code must retain the above copyright 8.\" notice, this list of conditions and the following disclaimer. 9.\" 2. Redistributions in binary form must reproduce the above copyright 10.\" notice, this list of conditions and the following disclaimer in the 11.\" documentation and/or other materials provided with the distribution. 12.\" 3. All advertising materials mentioning features or use of this software 13.\" must display the following acknowledgement: 14.\" This product includes software developed by Bill Paul. 15.\" 4. Neither the name of the author nor the names of any co-contributors 16.\" may be used to endorse or promote products derived from this software 17.\" without specific prior written permission. 18.\" 19.\" THIS SOFTWARE IS PROVIDED BY Bill Paul AND CONTRIBUTORS ``AS IS'' AND 20.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 21.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 22.\" ARE DISCLAIMED. IN NO EVENT SHALL Bill Paul OR THE VOICES IN HIS HEAD 23.\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 24.\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 25.\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 26.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 27.\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 28.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF 29.\" THE POSSIBILITY OF SUCH DAMAGE. 30.\" 31.Dd July 16, 2005 32.Dt AN 4 33.Os 34.Sh NAME 35.Nm an 36.Nd "Aironet Communications 4500/4800 wireless network adapter driver" 37.Sh SYNOPSIS 38To compile this driver into the kernel, 39place the following lines in your 40kernel configuration file: 41.Bd -ragged -offset indent 42.Cd "device an" 43.Cd "device wlan" 44.Ed 45.Pp 46Alternatively, to load the driver as a 47module at boot time, place the following line in 48.Xr loader.conf 5 : 49.Bd -literal -offset indent 50if_an_load="YES" 51.Ed 52.Sh DESCRIPTION 53The 54.Nm 55driver provides support for Aironet Communications 4500 and 4800 56wireless network adapters and variants, including the following: 57.Pp 58.Bl -bullet -compact -offset indent 59.It 60Aironet Communications 4500 and 4800 series 61.It 62Cisco Aironet 340 and 350 series 63.El 64.Pp 65Support for these devices include the ISA and PCI 66varieties. 67The Aironet 4500 series adapters operate at 1 and 2Mbps while 68the Aironet 4800 series and Cisco adapters can operate at 1, 2, 5.5 and 11Mbps. 69The ISA and PCI 70devices are all based on the same core PCMCIA hardware 71and all have the same programming interface. 72The ISA and PCI cards appear to the 73host as normal ISA and PCI devices. 74.Pp 75ISA cards can either be configured to use ISA Plug and Play 76or to use a particular I/O address and IRQ 77by properly setting the DIP switches on the board. 78(The default 79switch setting is for Plug and Play.) 80The 81.Nm 82driver has Plug and Play support and will work in either configuration, 83however when using a hard-wired I/O address and IRQ, the driver 84configuration and the NIC's switch settings must agree. 85PCI cards 86require no switch settings of any kind and will be automatically 87probed and attached. 88.Pp 89All host/device interaction with the Aironet cards is via programmed I/O. 90The Aironet devices support 802.11 and 802.3 frames, power management, 91BSS (infrastructure) and IBSS (ad-hoc) operation modes. 92The 93.Nm 94driver encapsulates all IP and ARP traffic as 802.11 frames, however 95it can receive either 802.11 or 802.3 frames. 96Transmit speed is 97selectable between 1Mbps, 2Mbps, 5.5Mbps, 11Mbps or 98"auto" (the NIC automatically chooses the best speed). 99.Pp 100By default, the 101.Nm 102driver configures the Aironet card for infrastructure operation. 103.Pp 104For more information on configuring this device, see 105.Xr ifconfig 8 . 106.Sh DIAGNOSTICS 107.Bl -diag 108.It "an%d: init failed" 109The Aironet card failed to become ready after an initialization command was 110issued. 111.It "an%d: failed to allocate %d bytes on NIC" 112The driver was unable to allocate memory for transmit frames in the 113NIC's on-board RAM. 114.It "an%d: device timeout" 115The Aironet card failed to generate an interrupt to acknowledge a transmit 116command. 117.El 118.Sh SEE ALSO 119.Xr altq 4 , 120.Xr arp 4 , 121.Xr miibus 4 , 122.Xr netintro 4 , 123.Xr wlan 4 , 124.Xr ancontrol 8 , 125.Xr ifconfig 8 126.Sh HISTORY 127The 128.Nm 129device driver first appeared in 130.Fx 4.0 . 131.Pp 132The 133.Nm 134device driver was removed in 135.Fx 14.0 . 136.Sh AUTHORS 137The 138.Nm 139driver was written by 140.An Bill Paul Aq Mt wpaul@ee.columbia.edu . 141