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: head/share/man/man4/bwn.4 233992 2012-04-07 09:05:30Z joel $ 26.\" 27.Dd April 5, 2014 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.Ed 43.Pp 44Alternatively, to load the driver as a 45module at boot time, place the following line in 46.Xr loader.conf 5 : 47.Bd -literal -offset indent 48if_bwn_load="YES" 49.Ed 50.Sh DESCRIPTION 51The 52.Nm 53driver provides support for Broadcom BCM43xx based 54PCI/CardBus network adapters. 55.Pp 56It supports 57.Cm station 58and 59.Cm monitor 60mode operation. 61Only one virtual interface may be configured at any time. 62For more information on configuring this device, see 63.Xr ifconfig 8 . 64.Pp 65This driver requires firmware to be loaded before it will work. 66The 67.Pa dports/net/bwn-firmware-kmod 68port needs to be installed before 69.Xr ifconfig 8 70will work. 71In most cases you need to use the bwn_v4_ucode module but if you are a 72LP (low power) PHY user please use the bwn_v4_lp_ucode module. 73.Sh HARDWARE 74The 75.Nm 76driver supports Broadcom BCM43xx based wireless devices, including: 77.Bl -column "Apple Airport Extreme" "BCM4306" "Mini PCI" "a/b/g" 78.It Em "Card" Ta Em "Chip" Ta Em "Bus" Ta Em "Standard" 79.It "Apple Airport Extreme BCM4318 PCI b/g" 80.It "ASUS WL-138g BCM4318 PCI b/g" 81.It "Buffalo WLI-CB-G54S BCM4318 CardBus 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 1400 BCM4309 Mini PCI b/g" 85.It "HP Compaq 6715b BCM4312 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 "US Robotics 5411 BCM4318 CardBus b/g" 90.El 91.Sh EXAMPLES 92Join an existing BSS network (i.e., connect to an access point): 93.Bd -literal -offset indent 94ifconfig wlan create wlandev bwn0 inet 192.168.0.20 \e 95 netmask 0xffffff00 96.Ed 97.Pp 98Join a specific BSS network with network name 99.Dq Li my_net : 100.Pp 101.Dl "ifconfig wlan create wlandev bwn0 ssid my_net up" 102.Pp 103Join a specific BSS network with 64-bit WEP encryption: 104.Bd -literal -offset indent 105ifconfig wlan create wlandev bwn0 ssid my_net \e 106 wepmode on wepkey 0x1234567890 weptxkey 1 up 107.Ed 108.Sh LOADER TUNABLES 109Tunables can be set at the 110.Xr loader 8 111prompt before booting the kernel or stored in 112.Xr loader.conf 5 . 113.Bl -tag -width indent 114.It Va hw.bwn.msi.enable 115By default, the driver will use MSI if it is supported. 116This behavior can be turned off by setting this tunable to 0. 117.It Va hw.bwn.usedma 118This tunable enables DMA operations on the hardware. 119If the value is 0, PIO mode would be used. 120The default value is 1. 121.El 122.Sh SEE ALSO 123.Xr arp 4 , 124.Xr cardbus 4 , 125.Xr ifmedia 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.1 . 137.Sh AUTHORS 138.An -nosplit 139The 140.Nm 141driver was written by 142.An Weongyo Jeong Aq Mt weongyo@FreeBSD.org . 143.\".Sh BUGS 144.\"Some card based on the BCM4306 and BCM4309 chips do not work properly 145.\"on channel 1, 2 and 3. 146.Sh CAVEATS 147Some LP PHY devices have DMA operation problems. 148In that case try to use the PIO mode. 149