xref: /dflybsd-src/share/man/man4/iwn.4 (revision 6307bddbfbcc6930803b37a36a8d6093a4875f55)
1d09b9667SJoe Talbott.\" Copyright (c) 2004-2006
2d09b9667SJoe Talbott.\"	Damien Bergamini <damien.bergamini@free.fr>. All rights reserved.
3d09b9667SJoe Talbott.\"
4d09b9667SJoe Talbott.\" Redistribution and use in source and binary forms, with or without
5d09b9667SJoe Talbott.\" modification, are permitted provided that the following conditions
6d09b9667SJoe Talbott.\" are met:
7d09b9667SJoe Talbott.\" 1. Redistributions of source code must retain the above copyright
8d09b9667SJoe Talbott.\"    notice unmodified, this list of conditions, and the following
9d09b9667SJoe Talbott.\"    disclaimer.
10d09b9667SJoe Talbott.\" 2. Redistributions in binary form must reproduce the above copyright
11d09b9667SJoe Talbott.\"    notice, this list of conditions and the following disclaimer in the
12d09b9667SJoe Talbott.\"    documentation and/or other materials provided with the distribution.
13d09b9667SJoe Talbott.\"
14d09b9667SJoe Talbott.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
15d09b9667SJoe Talbott.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
16d09b9667SJoe Talbott.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
17d09b9667SJoe Talbott.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
18d09b9667SJoe Talbott.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19d09b9667SJoe Talbott.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20d09b9667SJoe Talbott.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21d09b9667SJoe Talbott.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22d09b9667SJoe Talbott.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23d09b9667SJoe Talbott.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24d09b9667SJoe Talbott.\" SUCH DAMAGE.
25d09b9667SJoe Talbott.\"
26*6307bddbSSascha Wildner.\" $FreeBSD: head/share/man/man4/iwn.4 270842 2014-08-30 13:47:05Z brueffer $
27d09b9667SJoe Talbott.\"
28*6307bddbSSascha Wildner.Dd May 26, 2016
29d09b9667SJoe Talbott.Dt IWN 4
30d09b9667SJoe Talbott.Os
31d09b9667SJoe Talbott.Sh NAME
32d09b9667SJoe Talbott.Nm iwn
33459cf836SSascha Wildner.Nd Intel IEEE 802.11n wireless network driver
34d09b9667SJoe Talbott.Sh SYNOPSIS
35d09b9667SJoe TalbottTo compile this driver into the kernel,
36d09b9667SJoe Talbottinclude the following lines in your
37d09b9667SJoe Talbottkernel configuration file:
38d09b9667SJoe Talbott.Bd -ragged -offset indent
39d09b9667SJoe Talbott.Cd "device iwn"
40459cf836SSascha Wildner.Cd "device iwnfw"
41d09b9667SJoe Talbott.Cd "device pci"
42d09b9667SJoe Talbott.Cd "device wlan"
43*6307bddbSSascha Wildner.\".Cd "device firmware"
44d09b9667SJoe Talbott.Ed
45d09b9667SJoe Talbott.Pp
46459cf836SSascha Wildner.\"You also need to select a firmware for your device.
47459cf836SSascha Wildner.\"Choose one from:
48459cf836SSascha Wildner.\".Bd -ragged -offset indent
49459cf836SSascha Wildner.\".Cd "device iwn1000fw"
50*6307bddbSSascha Wildner.\".Cd "device iwn100fw"
51*6307bddbSSascha Wildner.\".Cd "device iwn105fw"
52*6307bddbSSascha Wildner.\".Cd "device iwn135fw"
53*6307bddbSSascha Wildner.\".Cd "device iwn2000fw"
54*6307bddbSSascha Wildner.\".Cd "device iwn2030fw"
55*6307bddbSSascha Wildner.\".Cd "device iwn4965fw"
56459cf836SSascha Wildner.\".Cd "device iwn5000fw"
57459cf836SSascha Wildner.\".Cd "device iwn5150fw"
58459cf836SSascha Wildner.\".Cd "device iwn6000fw"
59459cf836SSascha Wildner.\".Cd "device iwn6000g2afw"
60459cf836SSascha Wildner.\".Cd "device iwn6000g2bfw"
61459cf836SSascha Wildner.\".Cd "device iwn6050fw"
62459cf836SSascha Wildner.\".Ed
63459cf836SSascha Wildner.\".Pp
64d09b9667SJoe TalbottOr you can use
65d09b9667SJoe Talbott.Bd -ragged -offset indent
66d09b9667SJoe Talbott.Cd "device iwnfw"
67d09b9667SJoe Talbott.Ed
68d09b9667SJoe Talbott.Pp
69d09b9667SJoe Talbottto include them all.
70d09b9667SJoe Talbott.Pp
71d09b9667SJoe TalbottAlternatively, to load the driver as a
72d09b9667SJoe Talbottmodule at boot time, place the following lines in
73d09b9667SJoe Talbott.Xr loader.conf 5 :
74d09b9667SJoe Talbott.Bd -literal -offset indent
75d09b9667SJoe Talbottif_iwn_load="YES"
76d09b9667SJoe Talbottiwn1000fw_load="YES"
77*6307bddbSSascha Wildneriwn100fw_load="YES"
78*6307bddbSSascha Wildneriwn105fw_load="YES"
79*6307bddbSSascha Wildneriwn135fw_load="YES"
80*6307bddbSSascha Wildneriwn2000fw_load="YES"
81*6307bddbSSascha Wildneriwn2030fw_load="YES"
82*6307bddbSSascha Wildneriwn4965fw_load="YES"
83d09b9667SJoe Talbottiwn5000fw_load="YES"
84d09b9667SJoe Talbottiwn5150fw_load="YES"
85d09b9667SJoe Talbottiwn6000fw_load="YES"
86459cf836SSascha Wildneriwn6000g2afw_load="YES"
87459cf836SSascha Wildneriwn6000g2bfw_load="YES"
88459cf836SSascha Wildneriwn6050fw_load="YES"
89d09b9667SJoe Talbott.Ed
90d09b9667SJoe Talbott.Sh DESCRIPTION
91d09b9667SJoe TalbottThe
92d09b9667SJoe Talbott.Nm
93459cf836SSascha Wildnerdriver provides support for:
94459cf836SSascha Wildner.Pp
95459cf836SSascha Wildner.Bl -tag -width Ds -offset indent -compact
96459cf836SSascha Wildner.It Intel Centrino Advanced-N 6200
97459cf836SSascha Wildner.It Intel Centrino Advanced-N 6205
98459cf836SSascha Wildner.It Intel Centrino Advanced-N 6230
99*6307bddbSSascha Wildner.It Intel Centrino Advanced-N 6235
100459cf836SSascha Wildner.It Intel Centrino Advanced-N + WiMAX 6250
101459cf836SSascha Wildner.It Intel Centrino Ultimate-N 6300
10208936797SEitan Adler.It Intel Centrino Wireless-N 100
103*6307bddbSSascha Wildner.It Intel Centrino Wireless-N 105
104459cf836SSascha Wildner.It Intel Centrino Wireless-N 130
105*6307bddbSSascha Wildner.It Intel Centrino Wireless-N 135
106459cf836SSascha Wildner.It Intel Centrino Wireless-N 1000
107459cf836SSascha Wildner.It Intel Centrino Wireless-N 1030
10808936797SEitan Adler.It Intel Centrino Wireless-N 2200
109f8dd3ba7SSascha Wildner.It Intel Centrino Wireless-N 2230
11008936797SEitan Adler.It Intel Centrino Wireless-N 4965
11108936797SEitan Adler.It Intel Centrino Wireless-N 5100
11208936797SEitan Adler.It Intel Centrino Wireless-N 6150
11308936797SEitan Adler.It Intel Centrino Wireless-N 6200
11408936797SEitan Adler.It Intel Centrino Wireless-N 6250
11508936797SEitan Adler.It Intel Centrino Wireless-N 6250
116459cf836SSascha Wildner.It Intel Centrino Wireless-N + WiMAX 6150
117459cf836SSascha Wildner.It Intel Ultimate N WiFi Link 5300
118459cf836SSascha Wildner.It Intel Wireless WiFi Link 4965
119459cf836SSascha Wildner.It Intel WiFi Link 5100
120459cf836SSascha Wildner.It Intel WiMAX/WiFi Link 5150
121459cf836SSascha Wildner.It Intel WiMAX/WiFi Link 5350
122459cf836SSascha Wildner.El
123459cf836SSascha Wildner.Pp
124d09b9667SJoe Talbott.Nm
125d09b9667SJoe Talbottsupports
126459cf836SSascha Wildner.Cm station
127d09b9667SJoe Talbottand
128d09b9667SJoe Talbott.Cm monitor
129d09b9667SJoe Talbottmode operation.
130d09b9667SJoe TalbottOnly one virtual interface may be configured at any time.
131d09b9667SJoe TalbottFor more information on configuring this device, see
132d09b9667SJoe Talbott.Xr ifconfig 8 .
133d09b9667SJoe Talbott.Pp
134d09b9667SJoe TalbottThis driver requires the firmware built with the
135d09b9667SJoe Talbott.Nm iwnfw
136d09b9667SJoe Talbottmodule to work.
137d09b9667SJoe Talbott.Sh EXAMPLES
138d09b9667SJoe TalbottJoin an existing BSS network (i.e., connect to an access point):
139d09b9667SJoe Talbott.Bd -literal -offset indent
140d09b9667SJoe Talbottifconfig wlan create wlandev iwn0 inet 192.168.0.20 \e
141d09b9667SJoe Talbott    netmask 0xffffff00
142d09b9667SJoe Talbott.Ed
143d09b9667SJoe Talbott.Pp
144d09b9667SJoe TalbottJoin a specific BSS network with network name
145d09b9667SJoe Talbott.Dq Li my_net :
146d09b9667SJoe Talbott.Pp
147d09b9667SJoe Talbott.Dl "ifconfig wlan create wlandev iwn0 ssid my_net up"
148d09b9667SJoe Talbott.Pp
149d09b9667SJoe TalbottJoin a specific BSS network with 64-bit WEP encryption:
150d09b9667SJoe Talbott.Bd -literal -offset indent
151d09b9667SJoe Talbottifconfig wlan create wlandev iwn0 ssid my_net \e
152d09b9667SJoe Talbott	wepmode on wepkey 0x1234567890 weptxkey 1 up
153d09b9667SJoe Talbott.Ed
154d09b9667SJoe Talbott.Pp
155d09b9667SJoe TalbottJoin a specific BSS network with 128-bit WEP encryption:
156d09b9667SJoe Talbott.Bd -literal -offset indent
157d09b9667SJoe Talbottifconfig wlan create wlandev iwn0 wlanmode adhoc ssid my_net \e
158d09b9667SJoe Talbott    wepmode on wepkey 0x01020304050607080910111213 weptxkey 1
159d09b9667SJoe Talbott.Ed
160d09b9667SJoe Talbott.Sh DIAGNOSTICS
161d09b9667SJoe Talbott.Bl -diag
162d09b9667SJoe Talbott.It "iwn%d: device timeout"
163d09b9667SJoe TalbottThe driver will reset the hardware.
164d09b9667SJoe TalbottThis should not happen.
165d09b9667SJoe Talbott.It "iwn%d: firmware error"
166d09b9667SJoe TalbottThe onboard microcontroller crashed for some reason.
167d09b9667SJoe TalbottThe driver will reset the hardware.
168d09b9667SJoe TalbottThis should not happen.
169d09b9667SJoe Talbott.It "iwn%d: timeout waiting for firmware initialization to complete"
170d09b9667SJoe TalbottThe onboard microcontroller failed to initialize in time.
171d09b9667SJoe TalbottThis should not happen.
172d09b9667SJoe Talbott.It "iwn%d: could not load firmware image '%s'"
173d09b9667SJoe TalbottThe driver failed to load the firmware image using the
174d09b9667SJoe Talbott.Xr firmware 9
175d09b9667SJoe Talbottsubsystem.
176d09b9667SJoe TalbottVerify the
177d09b9667SJoe Talbott.Xr iwnfw 4
178d09b9667SJoe Talbottfirmware module is present.
179d09b9667SJoe Talbott.It "iwn%d: could not load boot firmware"
180d09b9667SJoe TalbottAn attempt to upload the boot firmware image to the onboard microcontroller
181d09b9667SJoe Talbottfailed.
182d09b9667SJoe TalbottThis should not happen.
183d09b9667SJoe Talbott.It "iwn%d: could not load microcode"
184d09b9667SJoe TalbottAn attempt to upload the microcode image to the onboard microcontroller failed.
185d09b9667SJoe TalbottThis should not happen.
186d09b9667SJoe Talbott.It "iwn%d: could not load main firmware"
187d09b9667SJoe TalbottAn attempt to upload the main firmware image to the onboard microcontroller
188d09b9667SJoe Talbottfailed.
189d09b9667SJoe TalbottThis should not happen.
190d09b9667SJoe Talbott.El
191d09b9667SJoe Talbott.Sh SEE ALSO
192cc202119SSascha Wildner.Xr ifmedia 4 ,
193d09b9667SJoe Talbott.Xr iwnfw 4 ,
194d09b9667SJoe Talbott.Xr pci 4 ,
195d09b9667SJoe Talbott.Xr wlan 4 ,
196d09b9667SJoe Talbott.Xr wlan_ccmp 4 ,
197d09b9667SJoe Talbott.Xr wlan_tkip 4 ,
198d09b9667SJoe Talbott.Xr wlan_wep 4 ,
199d09b9667SJoe Talbott.Xr ifconfig 8 ,
200d09b9667SJoe Talbott.Xr wpa_supplicant 8
201d09b9667SJoe Talbott.Sh AUTHORS
202d09b9667SJoe TalbottThe original
203d09b9667SJoe Talbott.Nm
204d09b9667SJoe Talbottdriver was written by
205b2a6f486SFranco Fichtner.An Damien Bergamini Aq Mt damien.bergamini@free.fr .
206