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 9, 2014 29.Dt IWN 4 30.Os 31.Sh NAME 32.Nm iwn 33.Nd Intel IEEE 802.11n wireless network driver 34.Sh SYNOPSIS 35To compile this driver into the kernel, 36include the following lines in your 37kernel configuration file: 38.Bd -ragged -offset indent 39.Cd "device iwn" 40.Cd "device pci" 41.Cd "device wlan" 42.Cd "device firmware" 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 iwn1000fw" 49.Cd "device iwn2000fw" 50.Cd "device iwn2030fw" 51.Cd "device iwn4965fw" 52.Cd "device iwn5000fw" 53.Cd "device iwn5150fw" 54.Cd "device iwn6000fw" 55.Cd "device iwn6000g2afw" 56.Cd "device iwn6000g2bfw" 57.Cd "device iwn6050fw" 58.Ed 59.Pp 60Or you can use 61.Bd -ragged -offset indent 62.Cd "device iwnfw" 63.Ed 64.Pp 65to include them all. 66.Pp 67Alternatively, to load the driver as a 68module at boot time, place the following lines in 69.Xr loader.conf 5 : 70.Bd -literal -offset indent 71if_iwn_load="YES" 72iwn1000fw_load="YES" 73iwn2000fw_load="YES" 74iwn2030fw_load="YES" 75iwn4965fw_load="YES" 76iwn5000fw_load="YES" 77iwn5150fw_load="YES" 78iwn6000fw_load="YES" 79iwn6000g2afw_load="YES" 80iwn6000g2bfw_load="YES" 81iwn6050fw_load="YES" 82.Ed 83.Sh DESCRIPTION 84The 85.Nm 86driver provides support for: 87.Pp 88.Bl -tag -width Ds -offset indent -compact 89.It Intel Centrino Advanced-N 6200 90.It Intel Centrino Advanced-N 6205 91.It Intel Centrino Advanced-N 6230 92.It Intel Centrino Advanced-N + WiMAX 6250 93.It Intel Centrino Ultimate-N 6300 94.It Intel Centrino Wireless-N 100 95.It Intel Centrino Wireless-N 130 96.It Intel Centrino Wireless-N 1000 97.It Intel Centrino Wireless-N 1030 98.It Intel Centrino Wireless-N 2200 99.It Intel Centrino Wireless-N 2230 100.It Intel Centrino Wireless-N 4965 101.It Intel Centrino Wireless-N 5100 102.It Intel Centrino Wireless-N 6150 103.It Intel Centrino Wireless-N 6200 104.It Intel Centrino Wireless-N 6250 105.It Intel Centrino Wireless-N 6250 106.It Intel Centrino Wireless-N + WiMAX 6150 107.It Intel Ultimate N WiFi Link 5300 108.It Intel Wireless WiFi Link 4965 109.It Intel WiFi Link 5100 110.It Intel WiMAX/WiFi Link 5150 111.It Intel WiMAX/WiFi Link 5350 112.El 113.Pp 114.Nm 115supports 116.Cm station 117and 118.Cm monitor 119mode operation. 120Only one virtual interface may be configured at any time. 121For more information on configuring this device, see 122.Xr ifconfig 8 . 123.Pp 124This driver requires the firmware built with the 125.Nm iwnfw 126module to work. 127.Sh EXAMPLES 128Join an existing BSS network (i.e., connect to an access point): 129.Bd -literal -offset indent 130ifconfig wlan create wlandev iwn0 inet 192.168.0.20 \e 131 netmask 0xffffff00 132.Ed 133.Pp 134Join a specific BSS network with network name 135.Dq Li my_net : 136.Pp 137.Dl "ifconfig wlan create wlandev iwn0 ssid my_net up" 138.Pp 139Join a specific BSS network with 64-bit WEP encryption: 140.Bd -literal -offset indent 141ifconfig wlan create wlandev iwn0 ssid my_net \e 142 wepmode on wepkey 0x1234567890 weptxkey 1 up 143.Ed 144.Pp 145Join a specific BSS network with 128-bit WEP encryption: 146.Bd -literal -offset indent 147ifconfig wlan create wlandev iwn0 wlanmode adhoc ssid my_net \e 148 wepmode on wepkey 0x01020304050607080910111213 weptxkey 1 149.Ed 150.Sh DIAGNOSTICS 151.Bl -diag 152.It "iwn%d: device timeout" 153The driver will reset the hardware. 154This should not happen. 155.It "iwn%d: firmware error" 156The onboard microcontroller crashed for some reason. 157The driver will reset the hardware. 158This should not happen. 159.It "iwn%d: timeout waiting for firmware initialization to complete" 160The onboard microcontroller failed to initialize in time. 161This should not happen. 162.It "iwn%d: could not load firmware image '%s'" 163The driver failed to load the firmware image using the 164.Xr firmware 9 165subsystem. 166Verify the 167.Xr iwnfw 4 168firmware module is present. 169.It "iwn%d: could not load boot firmware" 170An attempt to upload the boot firmware image to the onboard microcontroller 171failed. 172This should not happen. 173.It "iwn%d: could not load microcode" 174An attempt to upload the microcode image to the onboard microcontroller failed. 175This should not happen. 176.It "iwn%d: could not load main firmware" 177An attempt to upload the main firmware image to the onboard microcontroller 178failed. 179This should not happen. 180.El 181.Sh SEE ALSO 182.Xr iwnfw 4 , 183.Xr pci 4 , 184.Xr wlan 4 , 185.Xr wlan_ccmp 4 , 186.Xr wlan_tkip 4 , 187.Xr wlan_wep 4 , 188.Xr ifconfig 8 , 189.Xr wpa_supplicant 8 190.Sh AUTHORS 191The original 192.Nm 193driver was written by 194.An Damien Bergamini Aq damien.bergamini@free.fr . 195