WPI(4) BSD Kernel Interfaces Manual WPI(4)
NAME
wpi — Intel 3945ABG Wireless LAN IEEE 802.11 driver
SYNOPSIS
To compile this driver into the kernel, place the following lines in your kernel configuration file:
device wpi
device pci
device wlan
device wlan_amrr
device firmware
Alternatively, to load the driver as a module at boot time, place the following lines in loader.conf(5):
if_wpi_load="YES"
wlan_load="YES"
wlan_amrr_load="YES"
firmware_load="YES"
In both cases, place the following line in loader.conf(5) to load the firmware modules:
wpifw_load="YES"
DESCRIPTION
The wpi driver is an experimental driver providing support for the Intel 3945ABG Wireless network adapter
By default, the wpi driver configures the adapter for BSS operation (aka infrastructure mode). This mode requires the use of an access point.
For more information on configuring this device, see ifconfig(8).
This driver requires firmware to be loaded before it will work. For the loaded firmware to work the license at /usr/share/doc/legal/intel_wpi/LICENSE must be agreed to and the following line be added to loader.conf(5):
legal.intel_wpi.license_ack=1
FILES
/usr/share/doc/legal/intel_wpi/LICENSE
wpi firmware license
EXAMPLES
Join an existing BSS network (i.e., connect to an access point):
ifconfig wpi0 inet 192.168.0.20 netmask 0xffffff00
Join a specific BSS network with network name ‘‘my_net’’:
ifconfig wpi0 inet 192.168.0.20 netmask 0xffffff00 ssid my_net
Join a specific BSS network with 40-bit WEP encryption:
ifconfig wpi0 inet 192.168.0.20 netmask 0xffffff00 ssid my_net \
wepmode on wepkey 0x1234567890 weptxkey 1
Join a specific BSS network with 104-bit WEP encryption:
ifconfig wpi0 inet 192.168.0.20 netmask 0xffffff00 ssid my_net \
wepmode on wepkey 0x01020304050607080910111213 weptxkey 1
DIAGNOSTICS
firmware(9) subsystem. Verify that the necessary firmware modules are loaded and the license agreement loader(8) tunable has been set.
wpi%d: could not load firmware An attempt to upload the firmware image to the onboard microcontroller failed. This should not happen.
wpi%d: fatal firmware error An unknown error has occurred in the uploaded firmware, you may have to unload/reload the driver to continue.
wpi%d: Radio transmitter is switched off The hardware switch controlling the radio is currently turned off. Data transmission is not possible in this state.
BUGS
Not all the error messages are documented here.
Automatic recovery of firmware failures is not currently supported, nor is detection of toggling the radio switch on.
Background scanning is not currently supported.
SEE ALSO
altq(4), ipw(4), iwi(4), pci(4), wlan(4), ifconfig(8)
AUTHORS
The wpi driver was written by Damien Bergamini 〈 damien DOT bergamini AT free DOT fr〉 and Benjamin Close 〈 benjsc AT FreeBSD DOT org〉 .
BSD March 6, 2007 BSD