xref: /freebsd/share/man/man4/bwi.4 (revision 61ba55bcf70f2340f9c943c9571113b3fd8eda69)
1.\" Copyright (c) 2009 Christian Brueffer
2.\" All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\"    notice, this list of conditions and the following disclaimer.
9.\" 2. Redistributions in binary form must reproduce the above copyright
10.\"    notice, this list of conditions and the following disclaimer in the
11.\"    documentation and/or other materials provided with the distribution.
12.\"
13.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
14.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
15.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
16.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
17.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
18.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
19.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
20.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
21.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
22.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
23.\" SUCH DAMAGE.
24.\"
25.Dd August 7, 2015
26.Dt BWI 4
27.Os
28.Sh NAME
29.Nm bwi
30.Nd Broadcom BCM43xx IEEE 802.11b/g wireless network driver
31.Sh SYNOPSIS
32To compile this driver into the kernel,
33place the following lines in your
34kernel configuration file:
35.Bd -ragged -offset indent
36.Cd "device bwi"
37.Cd "device wlan"
38.Cd "device wlan_amrr"
39.Cd "device firmware"
40.Ed
41.Pp
42Alternatively, to load the driver as a
43module at boot time, place the following line in
44.Xr loader.conf 5 :
45.Bd -literal -offset indent
46if_bwi_load="YES"
47.Ed
48.Sh DESCRIPTION
49The
50.Nm
51driver provides support for Broadcom BCM43xx based
52PCI/CardBus network adapters.
53.Pp
54It supports
55.Cm station
56and
57.Cm monitor
58mode operation.
59Only one virtual interface may be configured at any time.
60For more information on configuring this device, see
61.Xr ifconfig 8 .
62.Pp
63This driver requires firmware to be loaded before it will work.
64The
65.Pa ports/net/bwi-firmware-kmod
66port needs to be installed before
67.Xr ifconfig 8
68will work.
69.Sh HARDWARE
70The
71.Nm
72driver supports Broadcom BCM43xx based wireless devices, including:
73.Bl -column "Apple Airport Extreme" "BCM4306" "Mini PCI" "a/b/g" -offset 6n
74.It Em "Card" Ta Em "Chip" Ta Em "Bus" Ta Em "Standard"
75.It "Apple Airport Extreme	BCM4306	PCI	b/g"
76.It "Apple Airport Extreme	BCM4318	PCI	b/g"
77.It "ASUS WL-100g	BCM4306	CardBus	b/g"
78.It "ASUS WL-138g	BCM4318	PCI	b/g"
79.It "Buffalo WLI-CB-G54S	BCM4318	CardBus	b/g"
80.It "Buffalo WLI-PCI-G54S	BCM4306	PCI	b/g"
81.It "Compaq R4035 onboard	BCM4306	PCI	b/g"
82.It "Dell Wireless 1390	BCM4311	Mini PCI	b/g"
83.It "Dell Wireless 1470	BCM4318	Mini PCI	b/g"
84.It "Dell Truemobile 1300 r2	BCM4306	Mini PCI	b/g"
85.It "Dell Truemobile 1400	BCM4309	Mini PCI	b/g"
86.It "HP nx6125	BCM4319	PCI	b/g"
87.It "Linksys WPC54G Ver 3	BCM4318	CardBus	b/g"
88.It "Linksys WPC54GS Ver 2	BCM4318	CardBus	b/g"
89.It "TRENDnet TEW-401PCplus	BCM4306	CardBus	b/g"
90.It "US Robotics 5411	BCM4318	CardBus	b/g"
91.El
92.Pp
93The
94.Nm
95driver uses the older v3 version of Broadcom's firmware.
96While this older firmware does support most BCM43xx parts, the
97.Xr bwn 4
98driver works better for the newer chips it supports.
99You must use the
100.Nm
101driver if you are using older Broadcom chipsets (BCM4301, BCM4303 and
102BCM4306 rev 2).
103The v4 version of the firmware that
104.Xr bwn 4
105uses does not support these chips.
106.Sh EXAMPLES
107Join an existing BSS network (i.e., connect to an access point):
108.Bd -literal -offset indent
109ifconfig wlan create wlandev bwi0 inet 192.168.0.20 \e
110    netmask 0xffffff00
111.Ed
112.Pp
113Join a specific BSS network with network name
114.Dq Li my_net :
115.Pp
116.Dl "ifconfig wlan create wlandev bwi0 ssid my_net up"
117.Pp
118Join a specific BSS network with 64-bit WEP encryption:
119.Bd -literal -offset indent
120ifconfig wlan create wlandev bwi0 ssid my_net \e
121        wepmode on wepkey 0x1234567890 weptxkey 1 up
122.Ed
123.Sh SEE ALSO
124.Xr arp 4 ,
125.Xr cardbus 4 ,
126.Xr intro 4 ,
127.Xr pci 4 ,
128.Xr wlan 4 ,
129.Xr wlan_amrr 4 ,
130.Xr ifconfig 8 ,
131.Xr wpa_supplicant 8
132.Sh HISTORY
133The
134.Nm
135driver first appeared in
136.Fx 8.0 .
137.Sh AUTHORS
138.An -nosplit
139The
140.Nm
141driver was written for
142.Dx
143by
144.An Sepherosa Ziehau
145and subsequently ported to
146.Fx .
147.Sh BUGS
148Some card based on the BCM4306 and BCM4309 chips do not work properly
149on channel 1, 2 and 3.
150