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 April 13, 2008 29.Os 30.Dt IWN 4 31.Sh NAME 32.Nm iwn 33.Nd "Intel Wireless WiFi Link 4965AGN IEEE 802.11n 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 iwnfw" 41.Cd "device pci" 42.Cd "device wlan" 43.Cd "device firmware" 44.Ed 45.Pp 46Alternatively, to load the driver as a 47module at boot time, place the following line in 48.Xr loader.conf 5 : 49.Bd -literal -offset indent 50if_iwn_load="YES" 51.Ed 52.Sh DESCRIPTION 53The 54.Nm 55driver provides support for 56.Tn Intel 57Wireless WiFi Link 4965AGN PCI-Express network adapters. 58.Nm 59supports 60.Cm station , 61.Cm adhoc , 62and 63.Cm monitor 64mode operation. 65Only one virtual interface may be configured at any time. 66For more information on configuring this device, see 67.Xr ifconfig 8 . 68.Pp 69This driver requires the firmware built with the 70.Nm iwnfw 71module to work. 72.Sh EXAMPLES 73Join an existing BSS network (i.e., connect to an access point): 74.Pp 75.Bd -literal -offset indent 76ifconfig wlan create wlandev iwn0 inet 192.168.0.20 \e 77 netmask 0xffffff00 78.Ed 79.Pp 80Join a specific BSS network with network name 81.Dq Li my_net : 82.Pp 83.Dl "ifconfig wlan create wlandev iwn0 ssid my_net up" 84.Pp 85Join a specific BSS network with 64-bit WEP encryption: 86.Bd -literal -offset indent 87ifconfig wlan create wlandev iwn0 ssid my_net \e 88 wepmode on wepkey 0x1234567890 weptxkey 1 up 89.Ed 90.Pp 91Join a specific BSS network with 128-bit WEP encryption: 92.Bd -literal -offset indent 93ifconfig wlan create wlandev iwn0 wlanmode adhoc ssid my_net \e 94 wepmode on wepkey 0x01020304050607080910111213 weptxkey 1 95.Ed 96.Sh DIAGNOSTICS 97.Bl -diag 98.It "iwn%d: device timeout" 99The driver will reset the hardware. 100This should not happen. 101.It "iwn%d: firmware error" 102The onboard microcontroller crashed for some reason. 103The driver will reset the hardware. 104This should not happen. 105.It "iwn%d: timeout waiting for firmware initialization to complete" 106The onboard microcontroller failed to initialize in time. 107This should not happen. 108.It "iwn%d: could not load firmware image '%s'" 109The driver failed to load the firmware image using the 110.Xr firmware 9 111subsystem. 112Verify the 113.Xr iwnfw 4 114firmware module is present. 115.It "iwn%d: could not load boot firmware" 116An attempt to upload the boot firmware image to the onboard microcontroller 117failed. 118This should not happen. 119.It "iwn%d: could not load microcode" 120An attempt to upload the microcode image to the onboard microcontroller failed. 121This should not happen. 122.It "iwn%d: could not load main firmware" 123An attempt to upload the main firmware image to the onboard microcontroller 124failed. 125This should not happen. 126.El 127.Sh SEE ALSO 128.Xr iwnfw 4 , 129.Xr pci 4 , 130.Xr wlan 4 , 131.Xr wlan_ccmp 4 , 132.Xr wlan_tkip 4 , 133.Xr wlan_wep 4 , 134.Xr ifconfig 8 , 135.Xr wpa_supplicant 8 136.Sh AUTHORS 137The original 138.Nm 139driver was written by 140.An Damien Bergamini Aq damien.bergamini@free.fr 141