xref: /freebsd/share/man/man4/iwm.4 (revision 93b30f1b6caec5083efacf3fb5049b72e75cc09e)
18f1a2d50SAlexander Ziaee.\"-
28f1a2d50SAlexander Ziaee.\" SPDX-License-Identifier: BSD-2-Clause
38f1a2d50SAlexander Ziaee.\"
4d4886179SRui Paulo.\" Copyright (c) 2004-2006
5d4886179SRui Paulo.\"	Damien Bergamini <damien.bergamini@free.fr>. All rights reserved.
6d4886179SRui Paulo.\"
7d4886179SRui Paulo.\" Redistribution and use in source and binary forms, with or without
8d4886179SRui Paulo.\" modification, are permitted provided that the following conditions
9d4886179SRui Paulo.\" are met:
10d4886179SRui Paulo.\" 1. Redistributions of source code must retain the above copyright
11d4886179SRui Paulo.\"    notice unmodified, this list of conditions, and the following
12d4886179SRui Paulo.\"    disclaimer.
13d4886179SRui Paulo.\" 2. Redistributions in binary form must reproduce the above copyright
14d4886179SRui Paulo.\"    notice, this list of conditions and the following disclaimer in the
15d4886179SRui Paulo.\"    documentation and/or other materials provided with the distribution.
16d4886179SRui Paulo.\"
17d4886179SRui Paulo.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
18d4886179SRui Paulo.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
19d4886179SRui Paulo.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
20d4886179SRui Paulo.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
21d4886179SRui Paulo.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
22d4886179SRui Paulo.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
23d4886179SRui Paulo.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
24d4886179SRui Paulo.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
25d4886179SRui Paulo.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
26d4886179SRui Paulo.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27d4886179SRui Paulo.\" SUCH DAMAGE.
28d4886179SRui Paulo.\"
29*93b30f1bSAlexander Ziaee.Dd November 10, 2024
30d4886179SRui Paulo.Dt IWM 4
31d4886179SRui Paulo.Os
32d4886179SRui Paulo.Sh NAME
33d4886179SRui Paulo.Nm iwm
34d4886179SRui Paulo.Nd Intel IEEE 802.11ac wireless network driver
35d4886179SRui Paulo.Sh SYNOPSIS
36d4886179SRui PauloTo compile this driver into the kernel,
378f1a2d50SAlexander Ziaeeinclude the following lines in your kernel configuration file:
38d4886179SRui Paulo.Bd -ragged -offset indent
39d4886179SRui Paulo.Cd "device iwm"
40d4886179SRui Paulo.Cd "device pci"
41d4886179SRui Paulo.Cd "device wlan"
42d4886179SRui Paulo.Cd "device firmware"
43d4886179SRui Paulo.Ed
44d4886179SRui Paulo.Pp
45d4886179SRui PauloYou also need to select a firmware for your device.
46d4886179SRui PauloChoose one from:
47d4886179SRui Paulo.Bd -ragged -offset indent
48d4886179SRui Paulo.Cd "device iwm3160fw"
496472fa9aSEitan Adler.Cd "device iwm3168fw"
50d4886179SRui Paulo.Cd "device iwm7260fw"
51d4886179SRui Paulo.Cd "device iwm7265fw"
5229fa34aaSPiotr Kubaj.Cd "device iwm7265Dfw"
53b34d4209SImre Vadász.Cd "device iwm8000Cfw"
54d4064526SEnji Cooper.Cd "device iwm8265fw"
55ad27496dSMark Johnston.Cd "device iwm9000fw"
56ad27496dSMark Johnston.Cd "device iwm9260fw"
57d4886179SRui Paulo.Ed
58d4886179SRui Paulo.Pp
59d4886179SRui PauloOr you can use
60d4886179SRui Paulo.Bd -ragged -offset indent
61d4886179SRui Paulo.Cd "device iwmfw"
62d4886179SRui Paulo.Ed
63d4886179SRui Paulo.Pp
64d4886179SRui Pauloto include them all.
65d4886179SRui Paulo.Pp
66d4886179SRui PauloAlternatively, to load the driver as a
67d4886179SRui Paulomodule at boot time, place the following lines in
68d4886179SRui Paulo.Xr loader.conf 5 :
69d4886179SRui Paulo.Bd -literal -offset indent
70d4886179SRui Pauloif_iwm_load="YES"
71d4886179SRui Pauloiwm3160fw_load="YES"
726472fa9aSEitan Adleriwm3168fw_load="YES"
73d4886179SRui Pauloiwm7260fw_load="YES"
74d4886179SRui Pauloiwm7265fw_load="YES"
7529fa34aaSPiotr Kubajiwm7265Dfw_load="YES"
76b34d4209SImre Vadásziwm8000Cfw_load="YES"
77d4064526SEnji Cooperiwm8265fw_load="YES"
78ad27496dSMark Johnstoniwm9000fw_load="YES"
79ad27496dSMark Johnstoniwm9260fw_load="YES"
80d4886179SRui Paulo.Ed
81d4886179SRui Paulo.Sh DESCRIPTION
82d4886179SRui PauloThe
83d4886179SRui Paulo.Nm
848f1a2d50SAlexander Ziaeedriver supports running most Intel Wireless AC series network devices in
85d4886179SRui Paulo.Cm station
86d4886179SRui Paulomode operation.
87d4886179SRui PauloOnly one virtual interface may be configured at any time.
88d4886179SRui PauloThis driver requires the firmware built with the
898f1a2d50SAlexander Ziaee.Xr iwmfw 4
90d4886179SRui Paulomodule to work.
910550be02SGordon Bergling.Pp
928f1a2d50SAlexander ZiaeeFor more information on configuring this device, see
938f1a2d50SAlexander Ziaee.Xr ifconfig 8 .
948f1a2d50SAlexander Ziaee.Sh HARDWARE
958f1a2d50SAlexander ZiaeeThe
960550be02SGordon Bergling.Nm
978f1a2d50SAlexander Ziaeedriver supports the following PCIe Wi-Fi devices:
988f1a2d50SAlexander Ziaee.Pp
998f1a2d50SAlexander Ziaee.Bl -bullet -compact
1008f1a2d50SAlexander Ziaee.It
1018f1a2d50SAlexander ZiaeeIntel Dual Band Wireless AC 3160
1028f1a2d50SAlexander Ziaee.It
1038f1a2d50SAlexander ZiaeeIntel Dual Band Wireless AC 3165
1048f1a2d50SAlexander Ziaee.It
1058f1a2d50SAlexander ZiaeeIntel Dual Band Wireless AC 3168
1068f1a2d50SAlexander Ziaee.It
1078f1a2d50SAlexander ZiaeeIntel Dual Band Wireless AC 7260
1088f1a2d50SAlexander Ziaee.It
1098f1a2d50SAlexander ZiaeeIntel Dual Band Wireless AC 7265
1108f1a2d50SAlexander Ziaee.It
1118f1a2d50SAlexander ZiaeeIntel Dual Band Wireless AC 8260
1128f1a2d50SAlexander Ziaee.It
1138f1a2d50SAlexander ZiaeeIntel Dual Band Wireless AC 8265
1148f1a2d50SAlexander Ziaee.It
1158f1a2d50SAlexander ZiaeeIntel Dual Band Wireless AC 9260
1168f1a2d50SAlexander Ziaee.It
1178f1a2d50SAlexander ZiaeeIntel Dual Band Wireless AC 9270
1188f1a2d50SAlexander Ziaee.It
1198f1a2d50SAlexander ZiaeeIntel Dual Band Wireless AC 946X
1208f1a2d50SAlexander Ziaee.It
1218f1a2d50SAlexander ZiaeeIntel Dual Band Wireless AC 9560
1228f1a2d50SAlexander Ziaee.El
123d4886179SRui Paulo.Sh EXAMPLES
124d4886179SRui PauloJoin an existing BSS network (i.e., connect to an access point):
1258f1a2d50SAlexander Ziaee.Pp
1268f1a2d50SAlexander Ziaee.Dl ifconfig wlan create wlandev iwm0 inet 192.0.2.20/24
127d4886179SRui Paulo.Pp
128d4886179SRui PauloJoin a specific BSS network with network name
1298f1a2d50SAlexander Ziaee.Ar my_net :
130d4886179SRui Paulo.Pp
1318f1a2d50SAlexander Ziaee.Dl ifconfig wlan create wlandev iwm0 ssid my_net up
132d4886179SRui Paulo.Pp
133d4886179SRui PauloJoin a specific BSS network with 64-bit WEP encryption:
134d4886179SRui Paulo.Bd -literal -offset indent
135d4886179SRui Pauloifconfig wlan create wlandev iwm0 ssid my_net \e
136d4886179SRui Paulo    wepmode on wepkey 0x1234567890 weptxkey 1 up
137d4886179SRui Paulo.Ed
138d4886179SRui Paulo.Pp
139d4886179SRui PauloJoin a specific BSS network with 128-bit WEP encryption:
140d4886179SRui Paulo.Bd -literal -offset indent
141d4886179SRui Pauloifconfig wlan create wlandev iwm0 wlanmode adhoc ssid my_net \e
142d4886179SRui Paulo    wepmode on wepkey 0x01020304050607080910111213 weptxkey 1
143d4886179SRui Paulo.Ed
144d4886179SRui Paulo.Sh DIAGNOSTICS
145d4886179SRui Paulo.Bl -diag
146d4886179SRui Paulo.It "iwm%d: device timeout"
147d4886179SRui PauloThe driver will reset the hardware.
148d4886179SRui PauloThis should not happen.
149d4886179SRui Paulo.It "iwm%d: firmware error"
150d4886179SRui PauloThe onboard microcontroller crashed for some reason.
151d4886179SRui PauloThe driver will reset the hardware.
152d4886179SRui PauloThis should not happen.
153d4886179SRui Paulo.It "iwm%d: timeout waiting for firmware initialization to complete"
154d4886179SRui PauloThe onboard microcontroller failed to initialize in time.
155d4886179SRui PauloThis should not happen.
156d4886179SRui Paulo.It "iwm%d: could not load firmware image '%s'"
157d4886179SRui PauloThe driver failed to load the firmware image using the
158d4886179SRui Paulo.Xr firmware 9
159d4886179SRui Paulosubsystem.
160d4886179SRui PauloVerify the
161d4886179SRui Paulo.Xr iwmfw 4
162d4886179SRui Paulofirmware module is present.
163d4886179SRui Paulo.It "iwm%d: could not load boot firmware"
1648f1a2d50SAlexander ZiaeeAn attempt to upload the boot firmware image
1658f1a2d50SAlexander Ziaeeto the onboard microcontroller failed.
166d4886179SRui PauloThis should not happen.
167d4886179SRui Paulo.It "iwm%d: could not load microcode"
1688f1a2d50SAlexander ZiaeeAn attempt to upload the microcode image
1698f1a2d50SAlexander Ziaeeto the onboard microcontroller failed.
170d4886179SRui PauloThis should not happen.
171d4886179SRui Paulo.It "iwm%d: could not load main firmware"
1728f1a2d50SAlexander ZiaeeAn attempt to upload the main firmware image
1738f1a2d50SAlexander Ziaeeto the onboard microcontroller failed.
174d4886179SRui PauloThis should not happen.
175d4886179SRui Paulo.El
176d4886179SRui Paulo.Sh SEE ALSO
1779dd5023eSEd Maste.Xr iwlwifi 4 ,
178d4886179SRui Paulo.Xr iwmfw 4 ,
179d4886179SRui Paulo.Xr pci 4 ,
180d4886179SRui Paulo.Xr wlan 4 ,
181d4886179SRui Paulo.Xr wlan_ccmp 4 ,
182d4886179SRui Paulo.Xr wlan_tkip 4 ,
183d4886179SRui Paulo.Xr wlan_wep 4 ,
1848f1a2d50SAlexander Ziaee.Xr networking 7 ,
185d4886179SRui Paulo.Xr ifconfig 8 ,
186d4886179SRui Paulo.Xr wpa_supplicant 8
1878f1a2d50SAlexander Ziaee.Sh BUGS
1888f1a2d50SAlexander ZiaeeCurrently,
1898f1a2d50SAlexander Ziaee.Nm
1908f1a2d50SAlexander Ziaeeonly supports 802.11a/b/g modes.
1918f1a2d50SAlexander ZiaeeIt will not associate to access points that are configured to operate
1928f1a2d50SAlexander Ziaeeonly in 802.11n/ac modes.
193