xref: /dflybsd-src/share/man/man4/bwn.4 (revision 6307bddbfbcc6930803b37a36a8d6093a4875f55)
1cab56aceSImre Vadasz.\" Copyright (c) 2009 Christian Brueffer
2cab56aceSImre Vadasz.\" All rights reserved.
3cab56aceSImre Vadasz.\"
4cab56aceSImre Vadasz.\" Redistribution and use in source and binary forms, with or without
5cab56aceSImre Vadasz.\" modification, are permitted provided that the following conditions
6cab56aceSImre Vadasz.\" are met:
7cab56aceSImre Vadasz.\" 1. Redistributions of source code must retain the above copyright
8cab56aceSImre Vadasz.\"    notice, this list of conditions and the following disclaimer.
9cab56aceSImre Vadasz.\" 2. Redistributions in binary form must reproduce the above copyright
10cab56aceSImre Vadasz.\"    notice, this list of conditions and the following disclaimer in the
11cab56aceSImre Vadasz.\"    documentation and/or other materials provided with the distribution.
12cab56aceSImre Vadasz.\"
13cab56aceSImre Vadasz.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
14cab56aceSImre Vadasz.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
15cab56aceSImre Vadasz.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
16cab56aceSImre Vadasz.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
17cab56aceSImre Vadasz.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
18cab56aceSImre Vadasz.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
19cab56aceSImre Vadasz.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
20cab56aceSImre Vadasz.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
21cab56aceSImre Vadasz.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
22cab56aceSImre Vadasz.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
23cab56aceSImre Vadasz.\" SUCH DAMAGE.
24cab56aceSImre Vadasz.\"
25*6307bddbSSascha Wildner.\" $FreeBSD: head/share/man/man4/bwn.4 284291 2015-06-12 00:02:31Z brueffer $
26cab56aceSImre Vadasz.\"
27*6307bddbSSascha Wildner.Dd May 26, 2016
28cab56aceSImre Vadasz.Dt BWN 4
29cab56aceSImre Vadasz.Os
30cab56aceSImre Vadasz.Sh NAME
31cab56aceSImre Vadasz.Nm bwn
32cab56aceSImre Vadasz.Nd Broadcom BCM43xx IEEE 802.11b/g wireless network driver
33cab56aceSImre Vadasz.Sh SYNOPSIS
34cab56aceSImre VadaszTo compile this driver into the kernel,
35cab56aceSImre Vadaszplace the following lines in your
36cab56aceSImre Vadaszkernel configuration file:
37cab56aceSImre Vadasz.Bd -ragged -offset indent
38cab56aceSImre Vadasz.Cd "device siba_bwn"
39cab56aceSImre Vadasz.Cd "device bwn"
40cab56aceSImre Vadasz.Cd "device wlan"
41cab56aceSImre Vadasz.Cd "device wlan_amrr"
42*6307bddbSSascha Wildner.\".Cd "device firmware"
43cab56aceSImre Vadasz.Ed
44cab56aceSImre Vadasz.Pp
45cab56aceSImre VadaszAlternatively, to load the driver as a
46cab56aceSImre Vadaszmodule at boot time, place the following line in
47cab56aceSImre Vadasz.Xr loader.conf 5 :
48cab56aceSImre Vadasz.Bd -literal -offset indent
49cab56aceSImre Vadaszif_bwn_load="YES"
50cab56aceSImre Vadasz.Ed
51cab56aceSImre Vadasz.Sh DESCRIPTION
52cab56aceSImre VadaszThe
53cab56aceSImre Vadasz.Nm
54cab56aceSImre Vadaszdriver provides support for Broadcom BCM43xx based
55cab56aceSImre VadaszPCI/CardBus network adapters.
56cab56aceSImre Vadasz.Pp
57cab56aceSImre VadaszIt supports
58cab56aceSImre Vadasz.Cm station
59cab56aceSImre Vadaszand
60cab56aceSImre Vadasz.Cm monitor
61cab56aceSImre Vadaszmode operation.
62cab56aceSImre VadaszOnly one virtual interface may be configured at any time.
63cab56aceSImre VadaszFor more information on configuring this device, see
64cab56aceSImre Vadasz.Xr ifconfig 8 .
65cab56aceSImre Vadasz.Pp
66cab56aceSImre VadaszThis driver requires firmware to be loaded before it will work.
67cab56aceSImre VadaszThe
6886d794f0Szrj.Pa dports/sysutils/devfw-bwn
69cab56aceSImre Vadaszport needs to be installed before
70cab56aceSImre Vadasz.Xr ifconfig 8
71cab56aceSImre Vadaszwill work.
72*6307bddbSSascha WildnerIn most cases the
73*6307bddbSSascha Wildner.Pa bwn_v4_ucode
74*6307bddbSSascha Wildnerkernel module from the port should be used.
75*6307bddbSSascha WildnerHowever, if an LP (low power) PHY is being used, the
76*6307bddbSSascha Wildner.Pa bwn_v4_lp_ucode
77*6307bddbSSascha Wildnermodule should be used.
78cab56aceSImre Vadasz.Sh HARDWARE
79cab56aceSImre VadaszThe
80cab56aceSImre Vadasz.Nm
81cab56aceSImre Vadaszdriver supports Broadcom BCM43xx based wireless devices, including:
82cab56aceSImre Vadasz.Bl -column "Apple Airport Extreme" "BCM4306" "Mini PCI" "a/b/g"
83cab56aceSImre Vadasz.It Em "Card" Ta Em "Chip" Ta Em "Bus" Ta Em "Standard"
84cab56aceSImre Vadasz.It "Apple Airport Extreme	BCM4318	PCI	b/g"
85cab56aceSImre Vadasz.It "ASUS WL-138g	BCM4318	PCI	b/g"
86cab56aceSImre Vadasz.It "Buffalo WLI-CB-G54S	BCM4318	CardBus	b/g"
87cab56aceSImre Vadasz.It "Dell Wireless 1390	BCM4311	Mini PCI	b/g"
88cab56aceSImre Vadasz.It "Dell Wireless 1470	BCM4318	Mini PCI	b/g"
89cab56aceSImre Vadasz.It "Dell Truemobile 1400	BCM4309	Mini PCI	b/g"
90cab56aceSImre Vadasz.It "HP Compaq 6715b	BCM4312	PCI	b/g"
91cab56aceSImre Vadasz.It "HP nx6125	BCM4319	PCI	b/g"
92cab56aceSImre Vadasz.It "Linksys WPC54G Ver 3	BCM4318	CardBus	b/g"
93cab56aceSImre Vadasz.It "Linksys WPC54GS Ver 2	BCM4318	CardBus	b/g"
94cab56aceSImre Vadasz.It "US Robotics 5411	BCM4318	CardBus	b/g"
95cab56aceSImre Vadasz.El
96*6307bddbSSascha Wildner.\".Pp
97*6307bddbSSascha Wildner.\"Users of older Broadcom chipsets (BCM4301, BCM4303 and BCM4306 rev 2)
98*6307bddbSSascha Wildner.\"must use
99*6307bddbSSascha Wildner.\".Xr bwi 4
100*6307bddbSSascha Wildner.\"because the v4 version of the firmware does not support these chips.
101*6307bddbSSascha Wildner.\"The newer firmware is too big to fit into these old chips.
102cab56aceSImre Vadasz.Sh EXAMPLES
103cab56aceSImre VadaszJoin an existing BSS network (i.e., connect to an access point):
104cab56aceSImre Vadasz.Bd -literal -offset indent
105cab56aceSImre Vadaszifconfig wlan create wlandev bwn0 inet 192.168.0.20 \e
106cab56aceSImre Vadasz    netmask 0xffffff00
107cab56aceSImre Vadasz.Ed
108cab56aceSImre Vadasz.Pp
109cab56aceSImre VadaszJoin a specific BSS network with network name
110cab56aceSImre Vadasz.Dq Li my_net :
111cab56aceSImre Vadasz.Pp
112cab56aceSImre Vadasz.Dl "ifconfig wlan create wlandev bwn0 ssid my_net up"
113cab56aceSImre Vadasz.Pp
114cab56aceSImre VadaszJoin a specific BSS network with 64-bit WEP encryption:
115cab56aceSImre Vadasz.Bd -literal -offset indent
116cab56aceSImre Vadaszifconfig wlan create wlandev bwn0 ssid my_net \e
117cab56aceSImre Vadasz        wepmode on wepkey 0x1234567890 weptxkey 1 up
118cab56aceSImre Vadasz.Ed
119cab56aceSImre Vadasz.Sh LOADER TUNABLES
120cab56aceSImre VadaszTunables can be set at the
121cab56aceSImre Vadasz.Xr loader 8
122cab56aceSImre Vadaszprompt before booting the kernel or stored in
123cab56aceSImre Vadasz.Xr loader.conf 5 .
124cab56aceSImre Vadasz.Bl -tag -width indent
125a0ab8429SImre Vadasz.It Va hw.bwn.msi.enable
126a0ab8429SImre VadaszBy default, the driver will use MSI if it is supported.
127a0ab8429SImre VadaszThis behavior can be turned off by setting this tunable to 0.
128cab56aceSImre Vadasz.It Va hw.bwn.usedma
129cab56aceSImre VadaszThis tunable enables DMA operations on the hardware.
130cab56aceSImre VadaszIf the value is 0, PIO mode would be used.
131cab56aceSImre VadaszThe default value is 1.
132cab56aceSImre Vadasz.El
133cab56aceSImre Vadasz.Sh SEE ALSO
134cab56aceSImre Vadasz.Xr arp 4 ,
135*6307bddbSSascha Wildner.\".Xr bwi 4 ,
136cab56aceSImre Vadasz.Xr cardbus 4 ,
137a0ab8429SImre Vadasz.Xr ifmedia 4 ,
138cab56aceSImre Vadasz.Xr intro 4 ,
139cab56aceSImre Vadasz.Xr pci 4 ,
140cab56aceSImre Vadasz.Xr wlan 4 ,
141cab56aceSImre Vadasz.Xr wlan_amrr 4 ,
142cab56aceSImre Vadasz.Xr ifconfig 8 ,
143cab56aceSImre Vadasz.Xr wpa_supplicant 8
144cab56aceSImre Vadasz.Sh HISTORY
145cab56aceSImre VadaszThe
146cab56aceSImre Vadasz.Nm
147cab56aceSImre Vadaszdriver first appeared in
148cab56aceSImre Vadasz.Fx 8.1 .
149cab56aceSImre Vadasz.Sh AUTHORS
150cab56aceSImre Vadasz.An -nosplit
151cab56aceSImre VadaszThe
152cab56aceSImre Vadasz.Nm
153cab56aceSImre Vadaszdriver was written by
154c7a1b66bSFranco Fichtner.An Weongyo Jeong Aq Mt weongyo@FreeBSD.org .
155cab56aceSImre Vadasz.\".Sh BUGS
156cab56aceSImre Vadasz.\"Some card based on the BCM4306 and BCM4309 chips do not work properly
157cab56aceSImre Vadasz.\"on channel 1, 2 and 3.
158cab56aceSImre Vadasz.Sh CAVEATS
159a0ab8429SImre VadaszSome LP PHY devices have DMA operation problems.
160a0ab8429SImre VadaszIn that case try to use the PIO mode.
161