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.Ed 44.Pp 45You also need to select a firmware for your device. 46Choose one from: 47.Bd -ragged -offset indent 48.Cd "device iwn4965fw" 49.Cd "device iwn1000fw" 50.Cd "device iwn5000fw" 51.Cd "device iwn5150fw" 52.Cd "device iwn6000fw" 53.Ed 54.Pp 55Or you can use 56.Bd -ragged -offset indent 57.Cd "device iwnfw" 58.Ed 59.Pp 60to include them all. 61.Pp 62Alternatively, to load the driver as a 63module at boot time, place the following lines in 64.Xr loader.conf 5 : 65.Bd -literal -offset indent 66if_iwn_load="YES" 67iwn4965fw_load="YES" 68iwn1000fw_load="YES" 69iwn5000fw_load="YES" 70iwn5150fw_load="YES" 71iwn6000fw_load="YES" 72.Ed 73.Sh DESCRIPTION 74The 75.Nm 76driver provides support for 77.Tn Intel 78Wireless WiFi Link 4965, 1000, 5000 and 6000 series of 79PCI-Express network adapters. 80.Nm 81supports 82.Cm station , 83.Cm adhoc , 84and 85.Cm monitor 86mode operation. 87Only one virtual interface may be configured at any time. 88For more information on configuring this device, see 89.Xr ifconfig 8 . 90.Pp 91This driver requires the firmware built with the 92.Nm iwnfw 93module to work. 94.Sh EXAMPLES 95Join an existing BSS network (i.e., connect to an access point): 96.Bd -literal -offset indent 97ifconfig wlan create wlandev iwn0 inet 192.168.0.20 \e 98 netmask 0xffffff00 99.Ed 100.Pp 101Join a specific BSS network with network name 102.Dq Li my_net : 103.Pp 104.Dl "ifconfig wlan create wlandev iwn0 ssid my_net up" 105.Pp 106Join a specific BSS network with 64-bit WEP encryption: 107.Bd -literal -offset indent 108ifconfig wlan create wlandev iwn0 ssid my_net \e 109 wepmode on wepkey 0x1234567890 weptxkey 1 up 110.Ed 111.Pp 112Join a specific BSS network with 128-bit WEP encryption: 113.Bd -literal -offset indent 114ifconfig wlan create wlandev iwn0 wlanmode adhoc ssid my_net \e 115 wepmode on wepkey 0x01020304050607080910111213 weptxkey 1 116.Ed 117.Sh DIAGNOSTICS 118.Bl -diag 119.It "iwn%d: device timeout" 120The driver will reset the hardware. 121This should not happen. 122.It "iwn%d: firmware error" 123The onboard microcontroller crashed for some reason. 124The driver will reset the hardware. 125This should not happen. 126.It "iwn%d: timeout waiting for firmware initialization to complete" 127The onboard microcontroller failed to initialize in time. 128This should not happen. 129.It "iwn%d: could not load firmware image '%s'" 130The driver failed to load the firmware image using the 131.Xr firmware 9 132subsystem. 133Verify the 134.Xr iwnfw 4 135firmware module is present. 136.It "iwn%d: could not load boot firmware" 137An attempt to upload the boot firmware image to the onboard microcontroller 138failed. 139This should not happen. 140.It "iwn%d: could not load microcode" 141An attempt to upload the microcode image to the onboard microcontroller failed. 142This should not happen. 143.It "iwn%d: could not load main firmware" 144An attempt to upload the main firmware image to the onboard microcontroller 145failed. 146This should not happen. 147.El 148.Sh SEE ALSO 149.Xr ifmedia 4 , 150.Xr iwnfw 4 , 151.Xr pci 4 , 152.Xr wlan 4 , 153.Xr wlan_ccmp 4 , 154.Xr wlan_tkip 4 , 155.Xr wlan_wep 4 , 156.Xr ifconfig 8 , 157.Xr wpa_supplicant 8 158.Sh AUTHORS 159The original 160.Nm 161driver was written by 162.An Damien Bergamini Aq Mt damien.bergamini@free.fr . 163