1e27fb776SChristian Brueffer.\" Copyright (c) 2009 Christian Brueffer 2e27fb776SChristian Brueffer.\" All rights reserved. 3e27fb776SChristian Brueffer.\" 4e27fb776SChristian Brueffer.\" Redistribution and use in source and binary forms, with or without 5e27fb776SChristian Brueffer.\" modification, are permitted provided that the following conditions 6e27fb776SChristian Brueffer.\" are met: 7e27fb776SChristian Brueffer.\" 1. Redistributions of source code must retain the above copyright 8e27fb776SChristian Brueffer.\" notice, this list of conditions and the following disclaimer. 9e27fb776SChristian Brueffer.\" 2. Redistributions in binary form must reproduce the above copyright 10e27fb776SChristian Brueffer.\" notice, this list of conditions and the following disclaimer in the 11e27fb776SChristian Brueffer.\" documentation and/or other materials provided with the distribution. 12e27fb776SChristian Brueffer.\" 13e27fb776SChristian Brueffer.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 14e27fb776SChristian Brueffer.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 15e27fb776SChristian Brueffer.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 16e27fb776SChristian Brueffer.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 17e27fb776SChristian Brueffer.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 18e27fb776SChristian Brueffer.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 19e27fb776SChristian Brueffer.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 20e27fb776SChristian Brueffer.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 21e27fb776SChristian Brueffer.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 22e27fb776SChristian Brueffer.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 23e27fb776SChristian Brueffer.\" SUCH DAMAGE. 24e27fb776SChristian Brueffer.\" 250fa4d4b5SKevin Lo.Dd August 7, 2015 26e27fb776SChristian Brueffer.Dt BWI 4 27e27fb776SChristian Brueffer.Os 28e27fb776SChristian Brueffer.Sh NAME 29e27fb776SChristian Brueffer.Nm bwi 30e27fb776SChristian Brueffer.Nd Broadcom BCM43xx IEEE 802.11b/g wireless network driver 31e27fb776SChristian Brueffer.Sh SYNOPSIS 32e27fb776SChristian BruefferTo compile this driver into the kernel, 33e27fb776SChristian Bruefferplace the following lines in your 34e27fb776SChristian Bruefferkernel configuration file: 35e27fb776SChristian Brueffer.Bd -ragged -offset indent 36e27fb776SChristian Brueffer.Cd "device bwi" 37e27fb776SChristian Brueffer.Cd "device wlan" 38e27fb776SChristian Brueffer.Cd "device wlan_amrr" 39e27fb776SChristian Brueffer.Cd "device firmware" 40e27fb776SChristian Brueffer.Ed 41e27fb776SChristian Brueffer.Pp 42e27fb776SChristian BruefferAlternatively, to load the driver as a 43e27fb776SChristian Brueffermodule at boot time, place the following line in 44e27fb776SChristian Brueffer.Xr loader.conf 5 : 45e27fb776SChristian Brueffer.Bd -literal -offset indent 46e27fb776SChristian Bruefferif_bwi_load="YES" 47e27fb776SChristian Brueffer.Ed 48e27fb776SChristian Brueffer.Sh DESCRIPTION 49e27fb776SChristian BruefferThe 50e27fb776SChristian Brueffer.Nm 51e27fb776SChristian Bruefferdriver provides support for Broadcom BCM43xx based 52e27fb776SChristian BruefferPCI/CardBus network adapters. 53e27fb776SChristian Brueffer.Pp 54e27fb776SChristian BruefferIt supports 55e27fb776SChristian Brueffer.Cm station 56e27fb776SChristian Bruefferand 57e27fb776SChristian Brueffer.Cm monitor 58e27fb776SChristian Brueffermode operation. 59e27fb776SChristian BruefferOnly one virtual interface may be configured at any time. 60e27fb776SChristian BruefferFor more information on configuring this device, see 61e27fb776SChristian Brueffer.Xr ifconfig 8 . 62e27fb776SChristian Brueffer.Pp 63e27fb776SChristian BruefferThis driver requires firmware to be loaded before it will work. 64e27fb776SChristian BruefferThe 65e27fb776SChristian Brueffer.Pa ports/net/bwi-firmware-kmod 66e27fb776SChristian Bruefferport needs to be installed before 67e27fb776SChristian Brueffer.Xr ifconfig 8 68e27fb776SChristian Bruefferwill work. 69e27fb776SChristian Brueffer.Sh HARDWARE 70e27fb776SChristian BruefferThe 71e27fb776SChristian Brueffer.Nm 72e27fb776SChristian Bruefferdriver supports Broadcom BCM43xx based wireless devices, including: 73748611c9SJoel Dahl.Bl -column "Apple Airport Extreme" "BCM4306" "Mini PCI" "a/b/g" -offset 6n 74748611c9SJoel Dahl.It Em "Card" Ta Em "Chip" Ta Em "Bus" Ta Em "Standard" 75e27fb776SChristian Brueffer.It "Apple Airport Extreme BCM4306 PCI b/g" 76e27fb776SChristian Brueffer.It "Apple Airport Extreme BCM4318 PCI b/g" 770fa4d4b5SKevin Lo.It "ASUS WL-100g BCM4306 CardBus b/g" 78e27fb776SChristian Brueffer.It "ASUS WL-138g BCM4318 PCI b/g" 79e27fb776SChristian Brueffer.It "Buffalo WLI-CB-G54S BCM4318 CardBus b/g" 80e27fb776SChristian Brueffer.It "Buffalo WLI-PCI-G54S BCM4306 PCI b/g" 81e27fb776SChristian Brueffer.It "Compaq R4035 onboard BCM4306 PCI b/g" 82194a781cSMartin Wilke.It "Dell Wireless 1390 BCM4311 Mini PCI b/g" 83e27fb776SChristian Brueffer.It "Dell Wireless 1470 BCM4318 Mini PCI b/g" 84b9c95422SWeongyo Jeong.It "Dell Truemobile 1300 r2 BCM4306 Mini PCI b/g" 85e27fb776SChristian Brueffer.It "Dell Truemobile 1400 BCM4309 Mini PCI b/g" 86e27fb776SChristian Brueffer.It "HP nx6125 BCM4319 PCI b/g" 87e27fb776SChristian Brueffer.It "Linksys WPC54G Ver 3 BCM4318 CardBus b/g" 88e27fb776SChristian Brueffer.It "Linksys WPC54GS Ver 2 BCM4318 CardBus b/g" 89e27fb776SChristian Brueffer.It "TRENDnet TEW-401PCplus BCM4306 CardBus b/g" 90e27fb776SChristian Brueffer.It "US Robotics 5411 BCM4318 CardBus b/g" 91e27fb776SChristian Brueffer.El 920e2b59beSWarner Losh.Pp 930e2b59beSWarner LoshThe 940e2b59beSWarner Losh.Nm 950e2b59beSWarner Loshdriver uses the older v3 version of Broadcom's firmware. 960e2b59beSWarner LoshWhile this older firmware does support most BCM43xx parts, the 970e2b59beSWarner Losh.Xr bwn 4 980e2b59beSWarner Loshdriver works better for the newer chips it supports. 990e2b59beSWarner LoshYou must use the 1000e2b59beSWarner Losh.Nm 1010e2b59beSWarner Loshdriver if you are using older Broadcom chipsets (BCM4301, BCM4303 and 1020e2b59beSWarner LoshBCM4306 rev 2). 1030e2b59beSWarner LoshThe v4 version of the firmware that 1040e2b59beSWarner Losh.Xr bwn 4 1050e2b59beSWarner Loshuses does not support these chips. 106e27fb776SChristian Brueffer.Sh EXAMPLES 107e27fb776SChristian BruefferJoin an existing BSS network (i.e., connect to an access point): 108e27fb776SChristian Brueffer.Bd -literal -offset indent 109e27fb776SChristian Bruefferifconfig wlan create wlandev bwi0 inet 192.168.0.20 \e 110e27fb776SChristian Brueffer netmask 0xffffff00 111e27fb776SChristian Brueffer.Ed 112e27fb776SChristian Brueffer.Pp 113e27fb776SChristian BruefferJoin a specific BSS network with network name 114e27fb776SChristian Brueffer.Dq Li my_net : 115e27fb776SChristian Brueffer.Pp 116e27fb776SChristian Brueffer.Dl "ifconfig wlan create wlandev bwi0 ssid my_net up" 117e27fb776SChristian Brueffer.Pp 118e27fb776SChristian BruefferJoin a specific BSS network with 64-bit WEP encryption: 119e27fb776SChristian Brueffer.Bd -literal -offset indent 120e27fb776SChristian Bruefferifconfig wlan create wlandev bwi0 ssid my_net \e 121e27fb776SChristian Brueffer wepmode on wepkey 0x1234567890 weptxkey 1 up 122e27fb776SChristian Brueffer.Ed 123e27fb776SChristian Brueffer.Sh SEE ALSO 124e27fb776SChristian Brueffer.Xr arp 4 , 125e27fb776SChristian Brueffer.Xr cardbus 4 , 126e27fb776SChristian Brueffer.Xr intro 4 , 127e27fb776SChristian Brueffer.Xr pci 4 , 128e27fb776SChristian Brueffer.Xr wlan 4 , 129e27fb776SChristian Brueffer.Xr wlan_amrr 4 , 130e27fb776SChristian Brueffer.Xr ifconfig 8 , 131e27fb776SChristian Brueffer.Xr wpa_supplicant 8 132e27fb776SChristian Brueffer.Sh HISTORY 133e27fb776SChristian BruefferThe 134e27fb776SChristian Brueffer.Nm 135e27fb776SChristian Bruefferdriver first appeared in 136e27fb776SChristian Brueffer.Fx 8.0 . 137e27fb776SChristian Brueffer.Sh AUTHORS 138e27fb776SChristian Brueffer.An -nosplit 139e27fb776SChristian BruefferThe 140e27fb776SChristian Brueffer.Nm 141*1cc60ae8SBenedict Reuschlingdriver was written for 142*1cc60ae8SBenedict Reuschling.Dx 143*1cc60ae8SBenedict Reuschlingby 144e27fb776SChristian Brueffer.An Sepherosa Ziehau 145e27fb776SChristian Bruefferand subsequently ported to 146e27fb776SChristian Brueffer.Fx . 147e27fb776SChristian Brueffer.Sh BUGS 148e27fb776SChristian BruefferSome card based on the BCM4306 and BCM4309 chips do not work properly 149e27fb776SChristian Bruefferon channel 1, 2 and 3. 150