13971d07bSSam Leffler.\" Copyright (c) 2004-2006 23971d07bSSam Leffler.\" Damien Bergamini <damien.bergamini@free.fr>. All rights reserved. 33971d07bSSam Leffler.\" 43971d07bSSam Leffler.\" Redistribution and use in source and binary forms, with or without 53971d07bSSam Leffler.\" modification, are permitted provided that the following conditions 63971d07bSSam Leffler.\" are met: 73971d07bSSam Leffler.\" 1. Redistributions of source code must retain the above copyright 83971d07bSSam Leffler.\" notice unmodified, this list of conditions, and the following 93971d07bSSam Leffler.\" disclaimer. 103971d07bSSam Leffler.\" 2. Redistributions in binary form must reproduce the above copyright 113971d07bSSam Leffler.\" notice, this list of conditions and the following disclaimer in the 123971d07bSSam Leffler.\" documentation and/or other materials provided with the distribution. 133971d07bSSam Leffler.\" 143971d07bSSam Leffler.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 153971d07bSSam Leffler.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 163971d07bSSam Leffler.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 173971d07bSSam Leffler.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 183971d07bSSam Leffler.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 193971d07bSSam Leffler.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 203971d07bSSam Leffler.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 213971d07bSSam Leffler.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 223971d07bSSam Leffler.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 233971d07bSSam Leffler.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 243971d07bSSam Leffler.\" SUCH DAMAGE. 253971d07bSSam Leffler.\" 263971d07bSSam Leffler.\" $FreeBSD$ 273971d07bSSam Leffler.\" 28*aa12af34SGavin Atkinson.Dd August 14, 2014 293971d07bSSam Leffler.Dt IWN 4 30aa12cea2SUlrich Spörlein.Os 313971d07bSSam Leffler.Sh NAME 323971d07bSSam Leffler.Nm iwn 3331876e45SBernhard Schmidt.Nd Intel IEEE 802.11n wireless network driver 343971d07bSSam Leffler.Sh SYNOPSIS 353971d07bSSam LefflerTo compile this driver into the kernel, 363971d07bSSam Lefflerinclude the following lines in your 373971d07bSSam Lefflerkernel configuration file: 383971d07bSSam Leffler.Bd -ragged -offset indent 393971d07bSSam Leffler.Cd "device iwn" 403971d07bSSam Leffler.Cd "device pci" 413971d07bSSam Leffler.Cd "device wlan" 423971d07bSSam Leffler.Cd "device firmware" 433971d07bSSam Leffler.Ed 443971d07bSSam Leffler.Pp 45613628c4SChristian BruefferYou also need to select a firmware for your device. 46613628c4SChristian BruefferChoose one from: 472267cb3dSRui Paulo.Bd -ragged -offset indent 48c7ea7c46SRebecca Cran.Cd "device iwn1000fw" 49*aa12af34SGavin Atkinson.Cd "device iwn105fw" 50*aa12af34SGavin Atkinson.Cd "device iwn135fw" 51479b9a60SChristian Brueffer.Cd "device iwn2000fw" 52479b9a60SChristian Brueffer.Cd "device iwn2030fw" 53479b9a60SChristian Brueffer.Cd "device iwn4965fw" 542267cb3dSRui Paulo.Cd "device iwn5000fw" 55c7ea7c46SRebecca Cran.Cd "device iwn5150fw" 56c7ea7c46SRebecca Cran.Cd "device iwn6000fw" 5731876e45SBernhard Schmidt.Cd "device iwn6000g2afw" 5831876e45SBernhard Schmidt.Cd "device iwn6000g2bfw" 592833a731SBernhard Schmidt.Cd "device iwn6050fw" 602267cb3dSRui Paulo.Ed 612267cb3dSRui Paulo.Pp 622267cb3dSRui PauloOr you can use 632267cb3dSRui Paulo.Bd -ragged -offset indent 642267cb3dSRui Paulo.Cd "device iwnfw" 652267cb3dSRui Paulo.Ed 662267cb3dSRui Paulo.Pp 672267cb3dSRui Pauloto include them all. 682267cb3dSRui Paulo.Pp 693971d07bSSam LefflerAlternatively, to load the driver as a 70613628c4SChristian Brueffermodule at boot time, place the following lines in 713971d07bSSam Leffler.Xr loader.conf 5 : 723971d07bSSam Leffler.Bd -literal -offset indent 733971d07bSSam Lefflerif_iwn_load="YES" 74c7ea7c46SRebecca Craniwn1000fw_load="YES" 75*aa12af34SGavin Atkinsoniwn105fw_load="YES" 76*aa12af34SGavin Atkinsoniwn135fw_load="YES" 77479b9a60SChristian Bruefferiwn2000fw_load="YES" 78479b9a60SChristian Bruefferiwn2030fw_load="YES" 79479b9a60SChristian Bruefferiwn4965fw_load="YES" 802267cb3dSRui Pauloiwn5000fw_load="YES" 81c7ea7c46SRebecca Craniwn5150fw_load="YES" 82c7ea7c46SRebecca Craniwn6000fw_load="YES" 8331876e45SBernhard Schmidtiwn6000g2afw_load="YES" 8431876e45SBernhard Schmidtiwn6000g2bfw_load="YES" 852833a731SBernhard Schmidtiwn6050fw_load="YES" 863971d07bSSam Leffler.Ed 873971d07bSSam Leffler.Sh DESCRIPTION 883971d07bSSam LefflerThe 893971d07bSSam Leffler.Nm 9031876e45SBernhard Schmidtdriver provides support for: 9131876e45SBernhard Schmidt.Pp 9231876e45SBernhard Schmidt.Bl -tag -width Ds -offset indent -compact 9331876e45SBernhard Schmidt.It Intel Centrino Advanced-N 6200 9431876e45SBernhard Schmidt.It Intel Centrino Advanced-N 6205 9531876e45SBernhard Schmidt.It Intel Centrino Advanced-N 6230 9631876e45SBernhard Schmidt.It Intel Centrino Advanced-N + WiMAX 6250 9731876e45SBernhard Schmidt.It Intel Centrino Ultimate-N 6300 98c0fafb28SEitan Adler.It Intel Centrino Wireless-N 100 992b34a832SChristian Brueffer.It Intel Centrino Wireless-N 105 10031876e45SBernhard Schmidt.It Intel Centrino Wireless-N 130 10131876e45SBernhard Schmidt.It Intel Centrino Wireless-N 1000 10231876e45SBernhard Schmidt.It Intel Centrino Wireless-N 1030 103c0fafb28SEitan Adler.It Intel Centrino Wireless-N 2200 104c0fafb28SEitan Adler.It Intel Centrino Wireless-N 2230 105c0fafb28SEitan Adler.It Intel Centrino Wireless-N 4965 106c0fafb28SEitan Adler.It Intel Centrino Wireless-N 5100 107c0fafb28SEitan Adler.It Intel Centrino Wireless-N 6150 108c0fafb28SEitan Adler.It Intel Centrino Wireless-N 6200 109c0fafb28SEitan Adler.It Intel Centrino Wireless-N 6250 110c0fafb28SEitan Adler.It Intel Centrino Wireless-N 6250 11131876e45SBernhard Schmidt.It Intel Centrino Wireless-N + WiMAX 6150 11231876e45SBernhard Schmidt.It Intel Ultimate N WiFi Link 5300 11331876e45SBernhard Schmidt.It Intel Wireless WiFi Link 4965 11431876e45SBernhard Schmidt.It Intel WiFi Link 5100 11531876e45SBernhard Schmidt.It Intel WiMAX/WiFi Link 5150 11631876e45SBernhard Schmidt.It Intel WiMAX/WiFi Link 5350 11731876e45SBernhard Schmidt.El 11831876e45SBernhard Schmidt.Pp 1193971d07bSSam Leffler.Nm 1203971d07bSSam Lefflersupports 12109301268SGleb Smirnoff.Cm station 1223971d07bSSam Lefflerand 1233971d07bSSam Leffler.Cm monitor 1243971d07bSSam Lefflermode operation. 1253971d07bSSam LefflerOnly one virtual interface may be configured at any time. 1263971d07bSSam LefflerFor more information on configuring this device, see 1273971d07bSSam Leffler.Xr ifconfig 8 . 1283971d07bSSam Leffler.Pp 1293971d07bSSam LefflerThis driver requires the firmware built with the 1303971d07bSSam Leffler.Nm iwnfw 1313971d07bSSam Lefflermodule to work. 1323971d07bSSam Leffler.Sh EXAMPLES 1333971d07bSSam LefflerJoin an existing BSS network (i.e., connect to an access point): 1343971d07bSSam Leffler.Bd -literal -offset indent 1353971d07bSSam Lefflerifconfig wlan create wlandev iwn0 inet 192.168.0.20 \e 1363971d07bSSam Leffler netmask 0xffffff00 1373971d07bSSam Leffler.Ed 1383971d07bSSam Leffler.Pp 1393971d07bSSam LefflerJoin a specific BSS network with network name 1403971d07bSSam Leffler.Dq Li my_net : 1413971d07bSSam Leffler.Pp 1423971d07bSSam Leffler.Dl "ifconfig wlan create wlandev iwn0 ssid my_net up" 1433971d07bSSam Leffler.Pp 1443971d07bSSam LefflerJoin a specific BSS network with 64-bit WEP encryption: 1453971d07bSSam Leffler.Bd -literal -offset indent 1463971d07bSSam Lefflerifconfig wlan create wlandev iwn0 ssid my_net \e 1473971d07bSSam Leffler wepmode on wepkey 0x1234567890 weptxkey 1 up 1483971d07bSSam Leffler.Ed 1493971d07bSSam Leffler.Pp 1503971d07bSSam LefflerJoin a specific BSS network with 128-bit WEP encryption: 1513971d07bSSam Leffler.Bd -literal -offset indent 1523971d07bSSam Lefflerifconfig wlan create wlandev iwn0 wlanmode adhoc ssid my_net \e 1533971d07bSSam Leffler wepmode on wepkey 0x01020304050607080910111213 weptxkey 1 1543971d07bSSam Leffler.Ed 1553971d07bSSam Leffler.Sh DIAGNOSTICS 1563971d07bSSam Leffler.Bl -diag 1573971d07bSSam Leffler.It "iwn%d: device timeout" 1583971d07bSSam LefflerThe driver will reset the hardware. 1593971d07bSSam LefflerThis should not happen. 1603971d07bSSam Leffler.It "iwn%d: firmware error" 1613971d07bSSam LefflerThe onboard microcontroller crashed for some reason. 1623971d07bSSam LefflerThe driver will reset the hardware. 1633971d07bSSam LefflerThis should not happen. 1643971d07bSSam Leffler.It "iwn%d: timeout waiting for firmware initialization to complete" 1653971d07bSSam LefflerThe onboard microcontroller failed to initialize in time. 1663971d07bSSam LefflerThis should not happen. 1673971d07bSSam Leffler.It "iwn%d: could not load firmware image '%s'" 1683971d07bSSam LefflerThe driver failed to load the firmware image using the 1693971d07bSSam Leffler.Xr firmware 9 1703971d07bSSam Lefflersubsystem. 1713971d07bSSam LefflerVerify the 1723971d07bSSam Leffler.Xr iwnfw 4 173f057099fSSam Lefflerfirmware module is present. 1743971d07bSSam Leffler.It "iwn%d: could not load boot firmware" 1753971d07bSSam LefflerAn attempt to upload the boot firmware image to the onboard microcontroller 1763971d07bSSam Lefflerfailed. 1773971d07bSSam LefflerThis should not happen. 1783971d07bSSam Leffler.It "iwn%d: could not load microcode" 1793971d07bSSam LefflerAn attempt to upload the microcode image to the onboard microcontroller failed. 1803971d07bSSam LefflerThis should not happen. 1813971d07bSSam Leffler.It "iwn%d: could not load main firmware" 1823971d07bSSam LefflerAn attempt to upload the main firmware image to the onboard microcontroller 1833971d07bSSam Lefflerfailed. 1843971d07bSSam LefflerThis should not happen. 1853971d07bSSam Leffler.El 1863971d07bSSam Leffler.Sh SEE ALSO 1873c29ede0SSam Leffler.Xr iwnfw 4 , 1883971d07bSSam Leffler.Xr pci 4 , 1893971d07bSSam Leffler.Xr wlan 4 , 1903971d07bSSam Leffler.Xr wlan_ccmp 4 , 1913971d07bSSam Leffler.Xr wlan_tkip 4 , 1923971d07bSSam Leffler.Xr wlan_wep 4 , 1933971d07bSSam Leffler.Xr ifconfig 8 , 194dec7a1d5SChristian Brueffer.Xr wpa_supplicant 8 1953971d07bSSam Leffler.Sh AUTHORS 1963971d07bSSam LefflerThe original 1973971d07bSSam Leffler.Nm 1983971d07bSSam Lefflerdriver was written by 1996c899950SBaptiste Daroussin.An Damien Bergamini Aq Mt damien.bergamini@free.fr . 200