1.\" $NetBSD: bwi.4,v 1.15 2025/01/19 00:29:29 jmcneill Exp $ 2.\" 3.\" Copyright (c) 2007 The DragonFly Project. All rights reserved. 4.\" 5.\" Redistribution and use in source and binary forms, with or without 6.\" modification, are permitted provided that the following conditions 7.\" are met: 8.\" 9.\" 1. Redistributions of source code must retain the above copyright 10.\" notice, this list of conditions and the following disclaimer. 11.\" 2. Redistributions in binary form must reproduce the above copyright 12.\" notice, this list of conditions and the following disclaimer in 13.\" the documentation and/or other materials provided with the 14.\" distribution. 15.\" 3. Neither the name of The DragonFly Project nor the names of its 16.\" contributors may be used to endorse or promote products derived 17.\" from this software without specific, prior written permission. 18.\" 19.\" THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 20.\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 21.\" LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS 22.\" FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE 23.\" COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, 24.\" INCIDENTAL, SPECIAL, EXEMPLARY OR CONSEQUENTIAL DAMAGES (INCLUDING, 25.\" BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 26.\" LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED 27.\" AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 28.\" OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT 29.\" OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 30.\" SUCH DAMAGE. 31.\" 32.\" $DragonFly: src/share/man/man4/bwi.4,v 1.10 2008/07/26 16:25:40 swildner Exp $ 33.\" 34.Dd January 18, 2025 35.Dt BWI 4 36.Os 37.Sh NAME 38.Nm bwi 39.Nd Broadcom BCM430x/4318 IEEE 802.11b/g wireless network driver 40.Sh SYNOPSIS 41.Cd "bwi* at pci? dev ? function ?" 42.Cd "bwi* at cardbus? function ?" 43.Cd "bwi* at sdmmc?" 44.Sh DESCRIPTION 45The 46.Nm 47driver provides support for Broadcom BCM430x/4318 wireless network adapters. 48For more information on configuring this device, see 49.Xr ifconfig 8 . 50.Ss MIB Variables 51The following per-interface variables are implemented in the 52.Va hw.bwi Ns Em X 53branch of the 54.Xr sysctl 3 55MIB. 56.Bl -tag -width ".Va txpwr_calib" 57.It Va debug 58Debug flags. 59.It Va dwell_time 60Channel dwell time during scan (msec). 61.It Va fw_version 62Firmware version. 63.It Va led_idle 64Number of ticks before LED enters idle state. 65.It Va led_blink 66Allow LED to blink. 67.It Va txpwr_calib 68Enable software TX power calibration. 69.El 70.Sh HARDWARE 71The following cards are among those supported by the 72.Nm 73driver: 74.Pp 75.Bl -column -offset 6n -compact "Apple AirPort Extreme" "BCM4318" "Mini PCI" "b/g" 76.It Em "Card Chip Bus Standard" 77.It Apple AirPort Extreme b/g 78.It Buffalo WLI-CB-G54 BCM4306 CardBus b/g 79.It Buffalo WLI3-CB-G54L BCM4318 CardBus b/g 80.It Buffalo WLI-PCI-G54S BCM4306 PCI b/g 81.It Dell Wireless 1370 BCM4318 Mini PCI b/g 82.It Dell Wireless 1470 BCM4318 Mini PCI b/g 83.It Dell Truemobile 1400 BCM4309 Mini PCI b/g 84.It Dell Latitude D505 BCM4306 PCI b/g 85.It Nintendo Wii WLAN BCM4318 SDIO b/g 86.El 87.Sh FILES 88The firmware for the adapter is not shipped with 89.Nx 90and must be obtained separately. 91An archive with firmware files that are known to work can be found at: 92.Bd -literal -offset indent 93.Lk http://leaf.dragonflybsd.org/~sephe/bwi/v3.tbz 94.Ed 95.Pp 96The firmware files conventionally reside in 97.Pa /libdata/firmware/bwi 98and will be loaded when the interface is brought up. 99.Em Note : 100the v3 subdirectory in the above firmware archive should exist 101in the firmware folder. 102The full list of paths checked for firmware can be found in the 103.Va hw.firmware.path 104.Xr sysctl 3 105node. 106.Sh SEE ALSO 107.Xr arp 4 , 108.Xr cardbus 4 , 109.Xr ifmedia 4 , 110.Xr pci 4 , 111.Xr ifconfig 8 , 112.Xr sysctl 8 , 113.Xr wiconfig 8 , 114.Xr wpa_supplicant 8 115.Sh HISTORY 116The 117.Nm 118driver first appeared in 119.Nx 6.0 . 120.Sh AUTHORS 121.An -nosplit 122The 123.Nm 124driver was written by 125.An Sepherosa Ziehau 126for Dragonfly BSD. 127It was ported to 128.Nx 129by 130.An Taylor R. Campbell Aq Mt riastradh@NetBSD.org . 131.Pp 132The hardware specification was reverse engineered by the people at 133.Lk https://bcm-specs.sipsolutions.net/ . 134Thanks go also to johill and mb on the #bcm-specs channel. 135.Sh BUGS 136BCM4306 and BCM4309 chips do not work properly on channel 1, 2, and 3. 137