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