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*31876e45SBernhard Schmidt.Dd March 27, 2012 293971d07bSSam Leffler.Dt IWN 4 30aa12cea2SUlrich Spörlein.Os 313971d07bSSam Leffler.Sh NAME 323971d07bSSam Leffler.Nm iwn 33*31876e45SBernhard 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 482267cb3dSRui Paulo.Cd "device iwn4965fw" 49c7ea7c46SRebecca Cran.Cd "device iwn1000fw" 502267cb3dSRui Paulo.Cd "device iwn5000fw" 51c7ea7c46SRebecca Cran.Cd "device iwn5150fw" 52c7ea7c46SRebecca Cran.Cd "device iwn6000fw" 53*31876e45SBernhard Schmidt.Cd "device iwn6000g2afw" 54*31876e45SBernhard Schmidt.Cd "device iwn6000g2bfw" 552833a731SBernhard Schmidt.Cd "device iwn6050fw" 562267cb3dSRui Paulo.Ed 572267cb3dSRui Paulo.Pp 582267cb3dSRui PauloOr you can use 592267cb3dSRui Paulo.Bd -ragged -offset indent 602267cb3dSRui Paulo.Cd "device iwnfw" 612267cb3dSRui Paulo.Ed 622267cb3dSRui Paulo.Pp 632267cb3dSRui Pauloto include them all. 642267cb3dSRui Paulo.Pp 653971d07bSSam LefflerAlternatively, to load the driver as a 66613628c4SChristian Brueffermodule at boot time, place the following lines in 673971d07bSSam Leffler.Xr loader.conf 5 : 683971d07bSSam Leffler.Bd -literal -offset indent 693971d07bSSam Lefflerif_iwn_load="YES" 702267cb3dSRui Pauloiwn4965fw_load="YES" 71c7ea7c46SRebecca Craniwn1000fw_load="YES" 722267cb3dSRui Pauloiwn5000fw_load="YES" 73c7ea7c46SRebecca Craniwn5150fw_load="YES" 74c7ea7c46SRebecca Craniwn6000fw_load="YES" 75*31876e45SBernhard Schmidtiwn6000g2afw_load="YES" 76*31876e45SBernhard Schmidtiwn6000g2bfw_load="YES" 772833a731SBernhard Schmidtiwn6050fw_load="YES" 783971d07bSSam Leffler.Ed 793971d07bSSam Leffler.Sh DESCRIPTION 803971d07bSSam LefflerThe 813971d07bSSam Leffler.Nm 82*31876e45SBernhard Schmidtdriver provides support for: 83*31876e45SBernhard Schmidt.Pp 84*31876e45SBernhard Schmidt.Bl -tag -width Ds -offset indent -compact 85*31876e45SBernhard Schmidt.It Intel Centrino Advanced-N 6200 86*31876e45SBernhard Schmidt.It Intel Centrino Advanced-N 6205 87*31876e45SBernhard Schmidt.It Intel Centrino Advanced-N 6230 88*31876e45SBernhard Schmidt.It Intel Centrino Advanced-N + WiMAX 6250 89*31876e45SBernhard Schmidt.It Intel Centrino Ultimate-N 6300 90*31876e45SBernhard Schmidt.It Intel Centrino Wireless-N 130 91*31876e45SBernhard Schmidt.It Intel Centrino Wireless-N 1000 92*31876e45SBernhard Schmidt.It Intel Centrino Wireless-N 1030 93*31876e45SBernhard Schmidt.It Intel Centrino Wireless-N + WiMAX 6150 94*31876e45SBernhard Schmidt.It Intel Ultimate N WiFi Link 5300 95*31876e45SBernhard Schmidt.It Intel Wireless WiFi Link 4965 96*31876e45SBernhard Schmidt.It Intel WiFi Link 5100 97*31876e45SBernhard Schmidt.It Intel WiMAX/WiFi Link 5150 98*31876e45SBernhard Schmidt.It Intel WiMAX/WiFi Link 5350 99*31876e45SBernhard Schmidt.El 100*31876e45SBernhard Schmidt.Pp 1013971d07bSSam Leffler.Nm 1023971d07bSSam Lefflersupports 1033971d07bSSam Leffler.Cm station , 1043971d07bSSam Leffler.Cm adhoc , 1053971d07bSSam Lefflerand 1063971d07bSSam Leffler.Cm monitor 1073971d07bSSam Lefflermode operation. 1083971d07bSSam LefflerOnly one virtual interface may be configured at any time. 1093971d07bSSam LefflerFor more information on configuring this device, see 1103971d07bSSam Leffler.Xr ifconfig 8 . 1113971d07bSSam Leffler.Pp 1123971d07bSSam LefflerThis driver requires the firmware built with the 1133971d07bSSam Leffler.Nm iwnfw 1143971d07bSSam Lefflermodule to work. 1153971d07bSSam Leffler.Sh EXAMPLES 1163971d07bSSam LefflerJoin an existing BSS network (i.e., connect to an access point): 1173971d07bSSam Leffler.Bd -literal -offset indent 1183971d07bSSam Lefflerifconfig wlan create wlandev iwn0 inet 192.168.0.20 \e 1193971d07bSSam Leffler netmask 0xffffff00 1203971d07bSSam Leffler.Ed 1213971d07bSSam Leffler.Pp 1223971d07bSSam LefflerJoin a specific BSS network with network name 1233971d07bSSam Leffler.Dq Li my_net : 1243971d07bSSam Leffler.Pp 1253971d07bSSam Leffler.Dl "ifconfig wlan create wlandev iwn0 ssid my_net up" 1263971d07bSSam Leffler.Pp 1273971d07bSSam LefflerJoin a specific BSS network with 64-bit WEP encryption: 1283971d07bSSam Leffler.Bd -literal -offset indent 1293971d07bSSam Lefflerifconfig wlan create wlandev iwn0 ssid my_net \e 1303971d07bSSam Leffler wepmode on wepkey 0x1234567890 weptxkey 1 up 1313971d07bSSam Leffler.Ed 1323971d07bSSam Leffler.Pp 1333971d07bSSam LefflerJoin a specific BSS network with 128-bit WEP encryption: 1343971d07bSSam Leffler.Bd -literal -offset indent 1353971d07bSSam Lefflerifconfig wlan create wlandev iwn0 wlanmode adhoc ssid my_net \e 1363971d07bSSam Leffler wepmode on wepkey 0x01020304050607080910111213 weptxkey 1 1373971d07bSSam Leffler.Ed 1383971d07bSSam Leffler.Sh DIAGNOSTICS 1393971d07bSSam Leffler.Bl -diag 1403971d07bSSam Leffler.It "iwn%d: device timeout" 1413971d07bSSam LefflerThe driver will reset the hardware. 1423971d07bSSam LefflerThis should not happen. 1433971d07bSSam Leffler.It "iwn%d: firmware error" 1443971d07bSSam LefflerThe onboard microcontroller crashed for some reason. 1453971d07bSSam LefflerThe driver will reset the hardware. 1463971d07bSSam LefflerThis should not happen. 1473971d07bSSam Leffler.It "iwn%d: timeout waiting for firmware initialization to complete" 1483971d07bSSam LefflerThe onboard microcontroller failed to initialize in time. 1493971d07bSSam LefflerThis should not happen. 1503971d07bSSam Leffler.It "iwn%d: could not load firmware image '%s'" 1513971d07bSSam LefflerThe driver failed to load the firmware image using the 1523971d07bSSam Leffler.Xr firmware 9 1533971d07bSSam Lefflersubsystem. 1543971d07bSSam LefflerVerify the 1553971d07bSSam Leffler.Xr iwnfw 4 156f057099fSSam Lefflerfirmware module is present. 1573971d07bSSam Leffler.It "iwn%d: could not load boot firmware" 1583971d07bSSam LefflerAn attempt to upload the boot firmware image to the onboard microcontroller 1593971d07bSSam Lefflerfailed. 1603971d07bSSam LefflerThis should not happen. 1613971d07bSSam Leffler.It "iwn%d: could not load microcode" 1623971d07bSSam LefflerAn attempt to upload the microcode image to the onboard microcontroller failed. 1633971d07bSSam LefflerThis should not happen. 1643971d07bSSam Leffler.It "iwn%d: could not load main firmware" 1653971d07bSSam LefflerAn attempt to upload the main firmware image to the onboard microcontroller 1663971d07bSSam Lefflerfailed. 1673971d07bSSam LefflerThis should not happen. 1683971d07bSSam Leffler.El 1693971d07bSSam Leffler.Sh SEE ALSO 1703c29ede0SSam Leffler.Xr iwnfw 4 , 1713971d07bSSam Leffler.Xr pci 4 , 1723971d07bSSam Leffler.Xr wlan 4 , 1733971d07bSSam Leffler.Xr wlan_ccmp 4 , 1743971d07bSSam Leffler.Xr wlan_tkip 4 , 1753971d07bSSam Leffler.Xr wlan_wep 4 , 1763971d07bSSam Leffler.Xr ifconfig 8 , 177dec7a1d5SChristian Brueffer.Xr wpa_supplicant 8 1783971d07bSSam Leffler.Sh AUTHORS 1793971d07bSSam LefflerThe original 1803971d07bSSam Leffler.Nm 1813971d07bSSam Lefflerdriver was written by 1823971d07bSSam Leffler.An Damien Bergamini Aq damien.bergamini@free.fr 183