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