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