1 .\" $NetBSD: wpi.4,v 1.11 2009/02/04 20:46:14 wiz Exp $
4 .\" Damien Bergamini <damien.bergamini@free.fr>. All rights reserved.
6 .\" Redistribution and use in source and binary forms, with or without
7 .\" modification, are permitted provided that the following conditions
9 .\" 1. Redistributions of source code must retain the above copyright
10 .\" notice unmodified, this list of conditions, and the following
12 .\" 2. Redistributions in binary form must reproduce the above copyright
13 .\" notice, this list of conditions and the following disclaimer in the
14 .\" documentation and/or other materials provided with the distribution.
16 .\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
17 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
18 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
19 .\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
20 .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
21 .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
22 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
23 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
24 .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
25 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
33 .Nd Intel PRO/Wireless 3945ABG IEEE 802.11a/b/g wireless network driver
35 .Cd "wpi* at pci? dev ? function ?"
39 driver provides support for
41 PRO/Wireless 3945ABG Mini PCI Express network adapters.
43 These are the modes the
45 driver can operate in:
50 mode, this is used when associating with an access point, through
51 which all traffic passes.
52 This mode is the default.
54 In this mode the driver is able to receive packets without
55 associating with an access point.
56 This disables the internal receive filter and enables the card to
57 capture packets from networks to which it wouldn't normally have access,
58 or to scan for access points.
62 supports software WEP.
63 Wired Equivalent Privacy (WEP) is the de facto encryption standard
64 for wireless networks.
65 It can be typically configured in one of three modes:
66 no encryption; 40-bit encryption; or 104-bit encryption.
67 Unfortunately, due to serious weaknesses in the WEP protocol
68 it is strongly recommended that it not be used as the
69 sole mechanism to secure wireless communication.
70 WEP is not enabled by default.
74 driver can be configured at runtime with
76 using the following parameters:
79 Set the desired BSSID.
81 Unset the desired BSSID.
82 The interface will automatically select a BSSID in this mode, which is
85 Set the channel (radio frequency) to be used by the driver based on
89 Unset the desired channel to be used by the driver.
90 The driver will automatically select a channel in this mode, which is
95 driver supports the following
99 .Bl -tag -width autoselect -compact
101 Enable autoselection of the media type and options.
103 .It Cm mediaopt Ar opts
106 driver supports the following media options:
108 .Bl -tag -width monitor -compact
112 .It Fl mediaopt Ar opts
113 Disable the specified media options on the driver and return it to the
114 default mode of operation (BSS).
118 driver supports the following modes:
120 .Bl -tag -width 11b -compact
122 Force 802.11a operation.
124 Force 802.11b operation.
126 Force 802.11g operation.
132 can either be any text string up to 32 characters in length,
133 or a series of hexadecimal digits up to 64 digits.
136 string allows the interface to connect to any available access points.
139 driver uses an empty string.
140 Note that network ID is synonymous with Extended Service Set ID (ESSID).
142 Enable WEP encryption using the specified
146 can either be a string, a series of hexadecimal digits (preceded by
148 or a set of keys of the form
152 specifies which of the keys will be used for transmitted packets,
157 are configured as WEP keys.
158 If a set of keys is specified, a comma
160 within the key must be escaped with a backslash.
161 Note that if multiple keys are used, their order must be the same within
164 is capable of using both 40-bit (5 characters or 10 hexadecimal digits)
165 or 104-bit (13 characters or 26 hexadecimal digits) keys.
167 Disable WEP encryption.
168 This is the default mode of operation.
171 The driver needs at least version 2.14.4 of the following firmware file,
172 which is loaded when an interface is brought up:
174 .Bl -tag -width Ds -offset indent -compact
175 .It Pa /libdata/if_wpi/iwlwifi-3945.ucode
178 .Bd -literal -offset indent
179 # ifconfig wpi0 nwkey 0x1deadbeef1
182 Return wpi0 to its default settings:
183 .Bd -literal -offset indent
184 # ifconfig wpi0 -bssid -chan media autoselect \e
188 Join an existing BSS network,
190 .Bd -literal -offset indent
191 # ifconfig wpi0 192.168.1.1 netmask 0xffffff00 nwid my_net
195 .It "wpi%d: device timeout"
196 A frame dispatched to the hardware for transmission did not complete in time.
197 The driver will reset the hardware.
198 This should not happen.
199 .It "wpi%d: fatal firmware error"
200 For some reason, the firmware crashed.
201 The driver will reset the hardware.
202 This should not happen.
203 .It "wpi%d: Radio transmitter is off"
204 The radio transmitter is off and thus no packet can go out.
205 The driver will reset the hardware.
206 Make sure the laptop radio switch is on.
207 .It "wpi%d: could not read firmware file"
208 For some reason, the driver was unable to read the firmware image from the
210 The file might be missing or corrupted.
211 .It "wpi%d: firmware file too short: %d bytes"
212 The firmware image is corrupted and can't be loaded into the adapter.
213 .It "wpi%d: could not load firmware"
214 An attempt to load the firmware into the adapter failed.
215 The driver will reset the hardware.
218 On some laptops the radio transmitter button must be pushed twice
219 to get the driver working, or you will get a
220 .Pa "wpi%d: fatal firmware error"
221 when the interface will be set to up
232 .%O http://damien.bergamini.free.fr/ipw/
237 driver was originally written by
238 .An Damien Bergamini Aq damien@openbsd.org .
241 .An Jean-Baptiste Campesato Aq camjelemon@gmail.com .