xref: /freebsd/share/man/man4/bwn.4 (revision efe89589278343237997a06d51bc265f050c4756)
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.\" $FreeBSD$
26.\"
27.Dd September 14, 2010
28.Dt BWN 4
29.Os
30.Sh NAME
31.Nm bwn
32.Nd Broadcom BCM43xx IEEE 802.11b/g wireless network driver
33.Sh SYNOPSIS
34To compile this driver into the kernel,
35place the following lines in your
36kernel configuration file:
37.Bd -ragged -offset indent
38.Cd "device siba_bwn"
39.Cd "device bwn"
40.Cd "device wlan"
41.Cd "device wlan_amrr"
42.Cd "device firmware"
43.Ed
44.Pp
45Alternatively, to load the driver as a
46module at boot time, place the following line in
47.Xr loader.conf 5 :
48.Bd -literal -offset indent
49if_bwn_load="YES"
50.Ed
51.Sh DESCRIPTION
52The
53.Nm
54driver provides support for Broadcom BCM43xx based
55PCI/CardBus network adapters.
56.Pp
57It supports
58.Cm station
59and
60.Cm monitor
61mode operation.
62Only one virtual interface may be configured at any time.
63For more information on configuring this device, see
64.Xr ifconfig 8 .
65.Pp
66This driver requires firmware to be loaded before it will work.
67The
68.Pa ports/net/bwn-firmware-kmod
69port needs to be installed before
70.Xr ifconfig 8
71will work.
72Most cases you need to use bwn_v4_ucode module but if you are a
73LP (low power) PHY user please uses bwn_v4_lp_ucode module.
74.Sh HARDWARE
75The
76.Nm
77driver supports Broadcom BCM43xx based wireless devices, including:
78.Pp
79.Bl -column -compact "Apple Airport Extreme" "BCM4306" "Mini PCI" "a/b/g" -offset 6n
80.It Em "Card	Chip	Bus	Standard"
81.It "Apple Airport Extreme	BCM4306	PCI	b/g"
82.It "Apple Airport Extreme	BCM4318	PCI	b/g"
83.It "ASUS WL-138g	BCM4318	PCI	b/g"
84.It "Buffalo WLI-CB-G54S	BCM4318	CardBus	b/g"
85.It "Buffalo WLI-PCI-G54S	BCM4306	PCI	b/g"
86.It "Compaq R4035 onboard	BCM4306	PCI	b/g"
87.It "Dell Wireless 1470	BCM4318	Mini PCI	b/g"
88.It "Dell Truemobile 1400	BCM4309	Mini PCI	b/g"
89.It "HP nx6125	BCM4319	PCI	b/g"
90.It "Linksys WPC54G Ver 3	BCM4318	CardBus	b/g"
91.It "Linksys WPC54GS Ver 2	BCM4318	CardBus	b/g"
92.It "TRENDnet TEW-401PCplus	BCM4306	CardBus	b/g"
93.It "US Robotics 5411	BCM4318	CardBus	b/g"
94.El
95.Pp
96Users of older Broadcom chipsets (BCM4301, BCM4303 and BCM4306 rev 2)
97must use
98.Xr bwi 4
99because the v4 version of the firmware does not support these chips.
100The newer firmware is too big to fit into these old chips.
101.Sh EXAMPLES
102Join an existing BSS network (i.e., connect to an access point):
103.Pp
104.Bd -literal -offset indent
105ifconfig wlan create wlandev bwn0 inet 192.168.0.20 \e
106    netmask 0xffffff00
107.Ed
108.Pp
109Join a specific BSS network with network name
110.Dq Li my_net :
111.Pp
112.Dl "ifconfig wlan create wlandev bwn0 ssid my_net up"
113.Pp
114Join a specific BSS network with 64-bit WEP encryption:
115.Bd -literal -offset indent
116ifconfig wlan create wlandev bwn0 ssid my_net \e
117        wepmode on wepkey 0x1234567890 weptxkey 1 up
118.Ed
119.Sh LOADER TUNABLES
120Tunables can be set at the
121.Xr loader 8
122prompt before booting the kernel or stored in
123.Xr loader.conf 5 .
124.Bl -tag -width indent
125.It Va hw.bwn.msi_disable
126This tunable disables MSI support on the hardware.
127The default value is 0.
128.It Va hw.bwn.usedma
129This tunable enables DMA operations on the hardware.
130If the value is 0, PIO mode would be used.
131The default value is 1.
132.El
133.Sh SEE ALSO
134.Xr arp 4 ,
135.Xr bwi 4 ,
136.Xr cardbus 4 ,
137.Xr intro 4 ,
138.Xr pci 4 ,
139.Xr wlan 4 ,
140.Xr wlan_amrr 4 ,
141.Xr ifconfig 8 ,
142.Xr wpa_supplicant 8
143.Sh HISTORY
144The
145.Nm
146driver first appeared in
147.Fx 8.1 .
148.Sh CAVEATS
149Some LP PHY devices have DMA operation problems that in that case try to
150use PIO mode.
151.Sh AUTHORS
152.An -nosplit
153The
154.Nm
155driver was written by
156.An Weongyo Jeong
157.Aq weongyo@FreeBSD.org .
158.\".Sh BUGS
159.\"Some card based on the BCM4306 and BCM4309 chips do not work properly
160.\"on channel 1, 2 and 3.
161