1.\" Copyright (c) 2004-2006 2.\" Damien Bergamini <damien.bergamini@free.fr>. 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 unmodified, this list of conditions, and the following 9.\" disclaimer. 10.\" 2. Redistributions in binary form must reproduce the above copyright 11.\" notice, this list of conditions and the following disclaimer in the 12.\" documentation and/or other materials provided with the distribution. 13.\" 14.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 15.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 16.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 17.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 18.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24.\" SUCH DAMAGE. 25.\" 26.\" $FreeBSD$ 27.\" 28.Dd February 8, 2010 29.Dt IWN 4 30.Os 31.Sh NAME 32.Nm iwn 33.Nd Intel Wireless WiFi Link 4965/1000/5000/5150/5300/6000/6050 34IEEE 802.11n driver 35.Sh SYNOPSIS 36To compile this driver into the kernel, 37include the following lines in your 38kernel configuration file: 39.Bd -ragged -offset indent 40.Cd "device iwn" 41.Cd "device pci" 42.Cd "device wlan" 43.Cd "device firmware" 44.Ed 45.Pp 46You also need to select a firmware for your device. 47Choose one from: 48.Bd -ragged -offset indent 49.Cd "device iwn4965fw" 50.Cd "device iwn1000fw" 51.Cd "device iwn5000fw" 52.Cd "device iwn5150fw" 53.Cd "device iwn6000fw" 54.Ed 55.Pp 56Or you can use 57.Bd -ragged -offset indent 58.Cd "device iwnfw" 59.Ed 60.Pp 61to include them all. 62.Pp 63Alternatively, to load the driver as a 64module at boot time, place the following lines in 65.Xr loader.conf 5 : 66.Bd -literal -offset indent 67if_iwn_load="YES" 68iwn4965fw_load="YES" 69iwn1000fw_load="YES" 70iwn5000fw_load="YES" 71iwn5150fw_load="YES" 72iwn6000fw_load="YES" 73.Ed 74.Sh DESCRIPTION 75The 76.Nm 77driver provides support for 78.Tn Intel 79Wireless WiFi Link 4965, 1000, 5000 and 6000 series of 80PCI-Express network adapters. 81.Nm 82supports 83.Cm station , 84.Cm adhoc , 85and 86.Cm monitor 87mode operation. 88Only one virtual interface may be configured at any time. 89For more information on configuring this device, see 90.Xr ifconfig 8 . 91.Pp 92This driver requires the firmware built with the 93.Nm iwnfw 94module to work. 95.Sh EXAMPLES 96Join an existing BSS network (i.e., connect to an access point): 97.Bd -literal -offset indent 98ifconfig wlan create wlandev iwn0 inet 192.168.0.20 \e 99 netmask 0xffffff00 100.Ed 101.Pp 102Join a specific BSS network with network name 103.Dq Li my_net : 104.Pp 105.Dl "ifconfig wlan create wlandev iwn0 ssid my_net up" 106.Pp 107Join a specific BSS network with 64-bit WEP encryption: 108.Bd -literal -offset indent 109ifconfig wlan create wlandev iwn0 ssid my_net \e 110 wepmode on wepkey 0x1234567890 weptxkey 1 up 111.Ed 112.Pp 113Join a specific BSS network with 128-bit WEP encryption: 114.Bd -literal -offset indent 115ifconfig wlan create wlandev iwn0 wlanmode adhoc ssid my_net \e 116 wepmode on wepkey 0x01020304050607080910111213 weptxkey 1 117.Ed 118.Sh DIAGNOSTICS 119.Bl -diag 120.It "iwn%d: device timeout" 121The driver will reset the hardware. 122This should not happen. 123.It "iwn%d: firmware error" 124The onboard microcontroller crashed for some reason. 125The driver will reset the hardware. 126This should not happen. 127.It "iwn%d: timeout waiting for firmware initialization to complete" 128The onboard microcontroller failed to initialize in time. 129This should not happen. 130.It "iwn%d: could not load firmware image '%s'" 131The driver failed to load the firmware image using the 132.Xr firmware 9 133subsystem. 134Verify the 135.Xr iwnfw 4 136firmware module is present. 137.It "iwn%d: could not load boot firmware" 138An attempt to upload the boot firmware image to the onboard microcontroller 139failed. 140This should not happen. 141.It "iwn%d: could not load microcode" 142An attempt to upload the microcode image to the onboard microcontroller failed. 143This should not happen. 144.It "iwn%d: could not load main firmware" 145An attempt to upload the main firmware image to the onboard microcontroller 146failed. 147This should not happen. 148.El 149.Sh SEE ALSO 150.Xr ifmedia 4 , 151.Xr iwnfw 4 , 152.Xr pci 4 , 153.Xr wlan 4 , 154.Xr wlan_ccmp 4 , 155.Xr wlan_tkip 4 , 156.Xr wlan_wep 4 , 157.Xr ifconfig 8 , 158.Xr wpa_supplicant 8 159.Sh AUTHORS 160The original 161.Nm 162driver was written by 163.An Damien Bergamini Aq damien.bergamini@free.fr 164