xref: /freebsd/share/man/man4/bwn.4 (revision 8a2d29c97eee77131dd431f26e1b3ce2278d2cea)
145d9abdbSWeongyo Jeong.\" Copyright (c) 2009 Christian Brueffer
245d9abdbSWeongyo Jeong.\" All rights reserved.
345d9abdbSWeongyo Jeong.\"
445d9abdbSWeongyo Jeong.\" Redistribution and use in source and binary forms, with or without
545d9abdbSWeongyo Jeong.\" modification, are permitted provided that the following conditions
645d9abdbSWeongyo Jeong.\" are met:
745d9abdbSWeongyo Jeong.\" 1. Redistributions of source code must retain the above copyright
845d9abdbSWeongyo Jeong.\"    notice, this list of conditions and the following disclaimer.
945d9abdbSWeongyo Jeong.\" 2. Redistributions in binary form must reproduce the above copyright
1045d9abdbSWeongyo Jeong.\"    notice, this list of conditions and the following disclaimer in the
1145d9abdbSWeongyo Jeong.\"    documentation and/or other materials provided with the distribution.
1245d9abdbSWeongyo Jeong.\"
1345d9abdbSWeongyo Jeong.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
1445d9abdbSWeongyo Jeong.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
1545d9abdbSWeongyo Jeong.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
1645d9abdbSWeongyo Jeong.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
1745d9abdbSWeongyo Jeong.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
1845d9abdbSWeongyo Jeong.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
1945d9abdbSWeongyo Jeong.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
2045d9abdbSWeongyo Jeong.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
2145d9abdbSWeongyo Jeong.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
2245d9abdbSWeongyo Jeong.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2345d9abdbSWeongyo Jeong.\" SUCH DAMAGE.
2445d9abdbSWeongyo Jeong.\"
2545d9abdbSWeongyo Jeong.\" $FreeBSD$
2645d9abdbSWeongyo Jeong.\"
27*8a2d29c9SMartin Wilke.Dd February 15, 2011
2845d9abdbSWeongyo Jeong.Dt BWN 4
2945d9abdbSWeongyo Jeong.Os
3045d9abdbSWeongyo Jeong.Sh NAME
3145d9abdbSWeongyo Jeong.Nm bwn
3245d9abdbSWeongyo Jeong.Nd Broadcom BCM43xx IEEE 802.11b/g wireless network driver
3345d9abdbSWeongyo Jeong.Sh SYNOPSIS
3445d9abdbSWeongyo JeongTo compile this driver into the kernel,
3545d9abdbSWeongyo Jeongplace the following lines in your
3645d9abdbSWeongyo Jeongkernel configuration file:
3745d9abdbSWeongyo Jeong.Bd -ragged -offset indent
3845d9abdbSWeongyo Jeong.Cd "device siba_bwn"
3945d9abdbSWeongyo Jeong.Cd "device bwn"
4045d9abdbSWeongyo Jeong.Cd "device wlan"
4145d9abdbSWeongyo Jeong.Cd "device wlan_amrr"
4245d9abdbSWeongyo Jeong.Cd "device firmware"
4345d9abdbSWeongyo Jeong.Ed
4445d9abdbSWeongyo Jeong.Pp
4545d9abdbSWeongyo JeongAlternatively, to load the driver as a
4645d9abdbSWeongyo Jeongmodule at boot time, place the following line in
4745d9abdbSWeongyo Jeong.Xr loader.conf 5 :
4845d9abdbSWeongyo Jeong.Bd -literal -offset indent
4945d9abdbSWeongyo Jeongif_bwn_load="YES"
5045d9abdbSWeongyo Jeong.Ed
5145d9abdbSWeongyo Jeong.Sh DESCRIPTION
5245d9abdbSWeongyo JeongThe
5345d9abdbSWeongyo Jeong.Nm
5445d9abdbSWeongyo Jeongdriver provides support for Broadcom BCM43xx based
5545d9abdbSWeongyo JeongPCI/CardBus network adapters.
5645d9abdbSWeongyo Jeong.Pp
5745d9abdbSWeongyo JeongIt supports
5845d9abdbSWeongyo Jeong.Cm station
5945d9abdbSWeongyo Jeongand
6045d9abdbSWeongyo Jeong.Cm monitor
6145d9abdbSWeongyo Jeongmode operation.
6245d9abdbSWeongyo JeongOnly one virtual interface may be configured at any time.
6345d9abdbSWeongyo JeongFor more information on configuring this device, see
6445d9abdbSWeongyo Jeong.Xr ifconfig 8 .
6545d9abdbSWeongyo Jeong.Pp
6645d9abdbSWeongyo JeongThis driver requires firmware to be loaded before it will work.
6745d9abdbSWeongyo JeongThe
6845d9abdbSWeongyo Jeong.Pa ports/net/bwn-firmware-kmod
6945d9abdbSWeongyo Jeongport needs to be installed before
7045d9abdbSWeongyo Jeong.Xr ifconfig 8
7145d9abdbSWeongyo Jeongwill work.
72e7dc8641SWeongyo JeongMost cases you need to use bwn_v4_ucode module but if you are a
73e7dc8641SWeongyo JeongLP (low power) PHY user please uses bwn_v4_lp_ucode module.
7445d9abdbSWeongyo Jeong.Sh HARDWARE
7545d9abdbSWeongyo JeongThe
7645d9abdbSWeongyo Jeong.Nm
7745d9abdbSWeongyo Jeongdriver supports Broadcom BCM43xx based wireless devices, including:
7845d9abdbSWeongyo Jeong.Pp
7945d9abdbSWeongyo Jeong.Bl -column -compact "Apple Airport Extreme" "BCM4306" "Mini PCI" "a/b/g" -offset 6n
8045d9abdbSWeongyo Jeong.It Em "Card	Chip	Bus	Standard"
8145d9abdbSWeongyo Jeong.It "Apple Airport Extreme	BCM4318	PCI	b/g"
8245d9abdbSWeongyo Jeong.It "ASUS WL-138g	BCM4318	PCI	b/g"
8345d9abdbSWeongyo Jeong.It "Buffalo WLI-CB-G54S	BCM4318	CardBus	b/g"
84*8a2d29c9SMartin Wilke.It "Dell Wireless 1390 BCM4311 Mini PCI	b/g"
8545d9abdbSWeongyo Jeong.It "Dell Wireless 1470	BCM4318	Mini PCI	b/g"
8645d9abdbSWeongyo Jeong.It "Dell Truemobile 1400	BCM4309	Mini PCI	b/g"
873fb1541dSJoel Dahl.It "HP Compaq 6715b	BCM4312	PCI	b/g"
8845d9abdbSWeongyo Jeong.It "HP nx6125	BCM4319	PCI	b/g"
8945d9abdbSWeongyo Jeong.It "Linksys WPC54G Ver 3	BCM4318	CardBus	b/g"
9045d9abdbSWeongyo Jeong.It "Linksys WPC54GS Ver 2	BCM4318	CardBus	b/g"
9145d9abdbSWeongyo Jeong.It "US Robotics 5411	BCM4318	CardBus	b/g"
9245d9abdbSWeongyo Jeong.El
9337e81ca5SWeongyo Jeong.Pp
94efe89589SWeongyo JeongUsers of older Broadcom chipsets (BCM4301, BCM4303 and BCM4306 rev 2)
95efe89589SWeongyo Jeongmust use
9637e81ca5SWeongyo Jeong.Xr bwi 4
97efe89589SWeongyo Jeongbecause the v4 version of the firmware does not support these chips.
98efe89589SWeongyo JeongThe newer firmware is too big to fit into these old chips.
9945d9abdbSWeongyo Jeong.Sh EXAMPLES
10045d9abdbSWeongyo JeongJoin an existing BSS network (i.e., connect to an access point):
10145d9abdbSWeongyo Jeong.Bd -literal -offset indent
10245d9abdbSWeongyo Jeongifconfig wlan create wlandev bwn0 inet 192.168.0.20 \e
10345d9abdbSWeongyo Jeong    netmask 0xffffff00
10445d9abdbSWeongyo Jeong.Ed
10545d9abdbSWeongyo Jeong.Pp
10645d9abdbSWeongyo JeongJoin a specific BSS network with network name
10745d9abdbSWeongyo Jeong.Dq Li my_net :
10845d9abdbSWeongyo Jeong.Pp
10945d9abdbSWeongyo Jeong.Dl "ifconfig wlan create wlandev bwn0 ssid my_net up"
11045d9abdbSWeongyo Jeong.Pp
11145d9abdbSWeongyo JeongJoin a specific BSS network with 64-bit WEP encryption:
11245d9abdbSWeongyo Jeong.Bd -literal -offset indent
11345d9abdbSWeongyo Jeongifconfig wlan create wlandev bwn0 ssid my_net \e
11445d9abdbSWeongyo Jeong        wepmode on wepkey 0x1234567890 weptxkey 1 up
11545d9abdbSWeongyo Jeong.Ed
11650398e41SWeongyo Jeong.Sh LOADER TUNABLES
11750398e41SWeongyo JeongTunables can be set at the
11850398e41SWeongyo Jeong.Xr loader 8
11950398e41SWeongyo Jeongprompt before booting the kernel or stored in
12050398e41SWeongyo Jeong.Xr loader.conf 5 .
12150398e41SWeongyo Jeong.Bl -tag -width indent
12250398e41SWeongyo Jeong.It Va hw.bwn.msi_disable
12350398e41SWeongyo JeongThis tunable disables MSI support on the hardware.
12450398e41SWeongyo JeongThe default value is 0.
12550398e41SWeongyo Jeong.It Va hw.bwn.usedma
12650398e41SWeongyo JeongThis tunable enables DMA operations on the hardware.
12750398e41SWeongyo JeongIf the value is 0, PIO mode would be used.
12850398e41SWeongyo JeongThe default value is 1.
12950398e41SWeongyo Jeong.El
13045d9abdbSWeongyo Jeong.Sh SEE ALSO
13145d9abdbSWeongyo Jeong.Xr arp 4 ,
132d3e3be7fSWeongyo Jeong.Xr bwi 4 ,
13345d9abdbSWeongyo Jeong.Xr cardbus 4 ,
13445d9abdbSWeongyo Jeong.Xr intro 4 ,
13545d9abdbSWeongyo Jeong.Xr pci 4 ,
13645d9abdbSWeongyo Jeong.Xr wlan 4 ,
13745d9abdbSWeongyo Jeong.Xr wlan_amrr 4 ,
13845d9abdbSWeongyo Jeong.Xr ifconfig 8 ,
13945d9abdbSWeongyo Jeong.Xr wpa_supplicant 8
14045d9abdbSWeongyo Jeong.Sh HISTORY
14145d9abdbSWeongyo JeongThe
14245d9abdbSWeongyo Jeong.Nm
14345d9abdbSWeongyo Jeongdriver first appeared in
144976d54c3SXin LI.Fx 8.1 .
1455454c3c0SWeongyo Jeong.Sh CAVEATS
1465454c3c0SWeongyo JeongSome LP PHY devices have DMA operation problems that in that case try to
1475454c3c0SWeongyo Jeonguse PIO mode.
14845d9abdbSWeongyo Jeong.Sh AUTHORS
14945d9abdbSWeongyo Jeong.An -nosplit
15045d9abdbSWeongyo JeongThe
15145d9abdbSWeongyo Jeong.Nm
15245d9abdbSWeongyo Jeongdriver was written by
15345d9abdbSWeongyo Jeong.An Weongyo Jeong
15445d9abdbSWeongyo Jeong.Aq weongyo@FreeBSD.org .
15545d9abdbSWeongyo Jeong.\".Sh BUGS
15645d9abdbSWeongyo Jeong.\"Some card based on the BCM4306 and BCM4309 chips do not work properly
15745d9abdbSWeongyo Jeong.\"on channel 1, 2 and 3.
158