xref: /freebsd/share/man/man4/bwn.4 (revision 8a2d29c97eee77131dd431f26e1b3ce2278d2cea)
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 February 15, 2011
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	BCM4318	PCI	b/g"
82.It "ASUS WL-138g	BCM4318	PCI	b/g"
83.It "Buffalo WLI-CB-G54S	BCM4318	CardBus	b/g"
84.It "Dell Wireless 1390 BCM4311 Mini PCI	b/g"
85.It "Dell Wireless 1470	BCM4318	Mini PCI	b/g"
86.It "Dell Truemobile 1400	BCM4309	Mini PCI	b/g"
87.It "HP Compaq 6715b	BCM4312	PCI	b/g"
88.It "HP nx6125	BCM4319	PCI	b/g"
89.It "Linksys WPC54G Ver 3	BCM4318	CardBus	b/g"
90.It "Linksys WPC54GS Ver 2	BCM4318	CardBus	b/g"
91.It "US Robotics 5411	BCM4318	CardBus	b/g"
92.El
93.Pp
94Users of older Broadcom chipsets (BCM4301, BCM4303 and BCM4306 rev 2)
95must use
96.Xr bwi 4
97because the v4 version of the firmware does not support these chips.
98The newer firmware is too big to fit into these old chips.
99.Sh EXAMPLES
100Join an existing BSS network (i.e., connect to an access point):
101.Bd -literal -offset indent
102ifconfig wlan create wlandev bwn0 inet 192.168.0.20 \e
103    netmask 0xffffff00
104.Ed
105.Pp
106Join a specific BSS network with network name
107.Dq Li my_net :
108.Pp
109.Dl "ifconfig wlan create wlandev bwn0 ssid my_net up"
110.Pp
111Join a specific BSS network with 64-bit WEP encryption:
112.Bd -literal -offset indent
113ifconfig wlan create wlandev bwn0 ssid my_net \e
114        wepmode on wepkey 0x1234567890 weptxkey 1 up
115.Ed
116.Sh LOADER TUNABLES
117Tunables can be set at the
118.Xr loader 8
119prompt before booting the kernel or stored in
120.Xr loader.conf 5 .
121.Bl -tag -width indent
122.It Va hw.bwn.msi_disable
123This tunable disables MSI support on the hardware.
124The default value is 0.
125.It Va hw.bwn.usedma
126This tunable enables DMA operations on the hardware.
127If the value is 0, PIO mode would be used.
128The default value is 1.
129.El
130.Sh SEE ALSO
131.Xr arp 4 ,
132.Xr bwi 4 ,
133.Xr cardbus 4 ,
134.Xr intro 4 ,
135.Xr pci 4 ,
136.Xr wlan 4 ,
137.Xr wlan_amrr 4 ,
138.Xr ifconfig 8 ,
139.Xr wpa_supplicant 8
140.Sh HISTORY
141The
142.Nm
143driver first appeared in
144.Fx 8.1 .
145.Sh CAVEATS
146Some LP PHY devices have DMA operation problems that in that case try to
147use PIO mode.
148.Sh AUTHORS
149.An -nosplit
150The
151.Nm
152driver was written by
153.An Weongyo Jeong
154.Aq weongyo@FreeBSD.org .
155.\".Sh BUGS
156.\"Some card based on the BCM4306 and BCM4309 chips do not work properly
157.\"on channel 1, 2 and 3.
158