xref: /freebsd/share/man/man4/wpi.4 (revision dc4815c099f7631f00165094be022e79ca2c4c3a)
1dc4815c0SBenjamin Close.\" Copyright (c) 2004-2007
2dc4815c0SBenjamin Close.\"	Damien Bergamini <damien.bergamini@free.fr>. All rights reserved.
3dc4815c0SBenjamin Close.\"	Benjamin Close <Benjamin.Close@clearchain.com>. All rights reserved.
4dc4815c0SBenjamin Close.\"
5dc4815c0SBenjamin Close.\" Redistribution and use in source and binary forms, with or without
6dc4815c0SBenjamin Close.\" modification, are permitted provided that the following conditions
7dc4815c0SBenjamin Close.\" are met:
8dc4815c0SBenjamin Close.\" 1. Redistributions of source code must retain the above copyright
9dc4815c0SBenjamin Close.\"    notice unmodified, this list of conditions, and the following
10dc4815c0SBenjamin Close.\"    disclaimer.
11dc4815c0SBenjamin Close.\" 2. Redistributions in binary form must reproduce the above copyright
12dc4815c0SBenjamin Close.\"    notice, this list of conditions and the following disclaimer in the
13dc4815c0SBenjamin Close.\"    documentation and/or other materials provided with the distribution.
14dc4815c0SBenjamin Close.\"
15dc4815c0SBenjamin Close.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
16dc4815c0SBenjamin Close.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
17dc4815c0SBenjamin Close.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
18dc4815c0SBenjamin Close.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
19dc4815c0SBenjamin Close.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
20dc4815c0SBenjamin Close.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
21dc4815c0SBenjamin Close.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
22dc4815c0SBenjamin Close.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
23dc4815c0SBenjamin Close.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
24dc4815c0SBenjamin Close.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
25dc4815c0SBenjamin Close.\" SUCH DAMAGE.
26dc4815c0SBenjamin Close.\"
27dc4815c0SBenjamin Close.\" $FreeBSD$
28dc4815c0SBenjamin Close.\"
29dc4815c0SBenjamin Close.Dd March 6, 2007
30dc4815c0SBenjamin Close.Os
31dc4815c0SBenjamin Close.Dt WPI 4
32dc4815c0SBenjamin Close.Sh NAME
33dc4815c0SBenjamin Close.Nm wpi
34dc4815c0SBenjamin Close.Nd "Intel 3945ABG Wireless LAN IEEE 802.11 driver"
35dc4815c0SBenjamin Close.Sh SYNOPSIS
36dc4815c0SBenjamin CloseTo compile this driver into the kernel,
37dc4815c0SBenjamin Closeplace the following lines in your
38dc4815c0SBenjamin Closekernel configuration file:
39dc4815c0SBenjamin Close.Bd -ragged -offset indent
40dc4815c0SBenjamin Close.Cd "device wpi"
41dc4815c0SBenjamin Close.Cd "device pci"
42dc4815c0SBenjamin Close.Cd "device wlan"
43dc4815c0SBenjamin Close.Cd "device firmware"
44dc4815c0SBenjamin Close.Ed
45dc4815c0SBenjamin Close.Pp
46dc4815c0SBenjamin CloseAlternatively, to load the driver as a
47dc4815c0SBenjamin Closemodule at boot time, place the following lines in
48dc4815c0SBenjamin Close.Xr loader.conf 5 :
49dc4815c0SBenjamin Close.Bd -literal -offset indent
50dc4815c0SBenjamin Closeif_wpi_load="YES"
51dc4815c0SBenjamin Closewlan_load="YES"
52dc4815c0SBenjamin Closefirmware_load="YES"
53dc4815c0SBenjamin Close.Ed
54dc4815c0SBenjamin Close.Pp
55dc4815c0SBenjamin CloseIn both cases, place the following lines in
56dc4815c0SBenjamin Close.Xr loader.conf 5
57dc4815c0SBenjamin Closeto load the firmware modules:
58dc4815c0SBenjamin Close.Bd -literal -offset indent
59dc4815c0SBenjamin Closewpifw_load="YES"
60dc4815c0SBenjamin Close.Ed
61dc4815c0SBenjamin Close.Sh DESCRIPTION
62dc4815c0SBenjamin CloseThe
63dc4815c0SBenjamin Close.Nm
64dc4815c0SBenjamin Closedriver is an experimental driver providing support for the
65dc4815c0SBenjamin Close.Tn Intel
66dc4815c0SBenjamin Close3945ABG Wireless network adapter
67dc4815c0SBenjamin Close.Pp
68dc4815c0SBenjamin CloseBy default, the
69dc4815c0SBenjamin Close.Nm
70dc4815c0SBenjamin Closedriver configures the adapter for BSS operation (aka infrastructure mode).
71dc4815c0SBenjamin CloseThis mode requires the use of an access point.
72dc4815c0SBenjamin Close.Pp
73dc4815c0SBenjamin CloseFor more information on configuring this device, see
74dc4815c0SBenjamin Close.Xr ifconfig 8 .
75dc4815c0SBenjamin Close.Pp
76dc4815c0SBenjamin CloseThis driver requires firmware to be loaded before it will work.
77dc4815c0SBenjamin CloseFor the loaded firmware to work the license at
78dc4815c0SBenjamin Close.Pa /usr/share/doc/legal/intel_wpi/LICENSE
79dc4815c0SBenjamin Closemust be agreed to and the following line be added to
80dc4815c0SBenjamin Close.Xr loader.conf 5 :
81dc4815c0SBenjamin Close.Pp
82dc4815c0SBenjamin Close.Dl "legal.intel_wpi.license_ack=1"
83dc4815c0SBenjamin Close.Sh FILES
84dc4815c0SBenjamin Close.Bl -tag -width ".Pa /usr/share/doc/legal/intel_wpi/LICENSE" -compact
85dc4815c0SBenjamin Close.It Pa /usr/share/doc/legal/intel_wpi/LICENSE
86dc4815c0SBenjamin Close.Nm
87dc4815c0SBenjamin Closefirmware license
88dc4815c0SBenjamin Close.El
89dc4815c0SBenjamin Close.Sh EXAMPLES
90dc4815c0SBenjamin CloseJoin an existing BSS network (i.e., connect to an access point):
91dc4815c0SBenjamin Close.Pp
92dc4815c0SBenjamin Close.Dl "ifconfig wpi0 inet 192.168.0.20 netmask 0xffffff00"
93dc4815c0SBenjamin Close.Pp
94dc4815c0SBenjamin CloseJoin a specific BSS network with network name
95dc4815c0SBenjamin Close.Dq Li my_net :
96dc4815c0SBenjamin Close.Pp
97dc4815c0SBenjamin Close.Dl "ifconfig wpi0 inet 192.168.0.20 netmask 0xffffff00 ssid my_net"
98dc4815c0SBenjamin Close.Pp
99dc4815c0SBenjamin CloseJoin a specific BSS network with 40-bit WEP encryption:
100dc4815c0SBenjamin Close.Bd -literal -offset indent
101dc4815c0SBenjamin Closeifconfig wpi0 inet 192.168.0.20 netmask 0xffffff00 ssid my_net \e
102dc4815c0SBenjamin Close    wepmode on wepkey 0x1234567890 weptxkey 1
103dc4815c0SBenjamin Close.Ed
104dc4815c0SBenjamin Close.Pp
105dc4815c0SBenjamin CloseJoin a specific BSS network with 104-bit WEP encryption:
106dc4815c0SBenjamin Close.Bd -literal -offset indent
107dc4815c0SBenjamin Closeifconfig wpi0 inet 192.168.0.20 netmask 0xffffff00 ssid my_net \e
108dc4815c0SBenjamin Close    wepmode on wepkey 0x01020304050607080910111213 weptxkey 1
109dc4815c0SBenjamin Close.Ed
110dc4815c0SBenjamin Close.Sh DIAGNOSTICS
111dc4815c0SBenjamin Close.Bl -diag
112dc4815c0SBenjamin Close.Xr firmware 9
113dc4815c0SBenjamin Closesubsystem.
114dc4815c0SBenjamin CloseVerify that the necessary firmware modules are loaded and the
115dc4815c0SBenjamin Closelicense agreement
116dc4815c0SBenjamin Close.Xr loader 8
117dc4815c0SBenjamin Closetunable has been set.
118dc4815c0SBenjamin Close.It "wpi%d: could not load firmware"
119dc4815c0SBenjamin CloseAn attempt to upload the firmware image to the onboard microcontroller failed.
120dc4815c0SBenjamin CloseThis should not happen.
121dc4815c0SBenjamin Close.It "wpi%d: fatal firmware error"
122dc4815c0SBenjamin CloseAn unknown error has occurred in the uploaded firmware, you may have to
123dc4815c0SBenjamin Closeunload/reload the driver to continue.
124dc4815c0SBenjamin Close.It "wpi%d: Radio Transmitteer is switched off"
125dc4815c0SBenjamin CloseThe hardware switch controlling the radio is currently turned off.
126dc4815c0SBenjamin CloseData transmision is not possible in this state.
127dc4815c0SBenjamin Close.Sh BUGS
128dc4815c0SBenjamin CloseNot all the error messages are documented here.
129dc4815c0SBenjamin Close.Pp
130dc4815c0SBenjamin CloseAutomatic recovery of firmware failures is not currently supported, nor is
131dc4815c0SBenjamin Closedetection of toggling the radio switch on.
132dc4815c0SBenjamin Close.Pp
133dc4815c0SBenjamin CloseBackground scanning is not currently supported
134dc4815c0SBenjamin Close.El
135dc4815c0SBenjamin Close.Sh SEE ALSO
136dc4815c0SBenjamin Close.Xr altq 4 ,
137dc4815c0SBenjamin Close.Xr iwi 4 ,
138dc4815c0SBenjamin Close.Xr ipw 4 ,
139dc4815c0SBenjamin Close.Xr pci 4 ,
140dc4815c0SBenjamin Close.Xr wlan 4 ,
141dc4815c0SBenjamin Close.Xr ifconfig 8
142dc4815c0SBenjamin Close.Sh AUTHORS
143dc4815c0SBenjamin CloseThe
144dc4815c0SBenjamin Close.Nm
145dc4815c0SBenjamin Closedriver was written by
146dc4815c0SBenjamin Close.An Damien Bergamini Aq damien.bergamini@free.fr
147dc4815c0SBenjamin Close.An and Benjamin Close Aq benjsc@FreeBSD.org .
148