NOTE: this page is for archival only, see the note at the end of the page.

Broadcom brcmsmac(PCIe) and brcmfmac(SDIO) drivers

  • Completely open source host drivers, no binary object files.
  • Framework for supporting new chips, including mac80211-aware embedded chips
  • Does not support older PCI/PCIe chips with SSB backplane
  • brcmsmac is a mac80211-based SoftMAC driver, and brcmfmac is a FullMAC driver.

Supported Chips

brcmsmac (PCIe/AXI) driver:

Name

PCI Device ID

BCM4313

0x4727

BCM43224

0x0576

BCM43224

0x4353

BCM43225

0x4357

brcmfmac (SDIO) driver:

Name

BCM4329

BCM4330

BCM4334

brcmfmac (USB) driver:

Name

USB Device ID

BCM43235 (>= rev 3)

0x????

BCM43236 (>= rev 3)

0xbd17

BCM43238 (>= rev 3)

0x????

Both brcmsmac and brcmfmac drivers require firmware files that need to be separately downloaded. Firmware is available from the Linux firmware repository at:

Broadcom brcmsmac driver

  • Support for both 32 and 64 bit Linux kernels

Firmware installation

Copy brcm/bcm43xx-0.fw and brcm/bcm43xx_hdr-0.fw to /lib/firmware/brcm (or wherever firmware is normally installed on your system).

Broadcom brcmfmac driver

  • Support for both 32 and 64 bit Linux kernels

Firmware installation

Use the nvram file installed in your system and copy it to /lib/firmware/brcm/brcmfmac-sdio.txt The firmware can be found in the linux-firmware repository.

For 4329: cp brcm/brcmfmac4329.bin /lib/firmware/brcm/brcmfmac-sdio.bin

For 4330: cp brcm/brcmfmac4330.bin /lib/firmware/brcm/brcmfmac-sdio.bin

Alternatively, when not available the Android version can be used as well:

git clone https://android.googlesource.com/platform/hardware/broadcom/wlan

firmware files: bcmdhd/firmware/bcm4329/fw_bcm4329.bin bcmdhd/firmware/bcm4330/fw_bcm4330_b2.bin

For the USB driver no nvram file is needed. The firmware is in the linux-firmware repository.

For all USB chips listed: cp brcm/brcmfmac43236b.bin /lib/firmware/brcm/

Contact Info

For driver issues and/or bug reports, please use:

brcm80211-dev-list@broadcom.com

For any other questions feel free to contact the developers listed below:

Arend van Spriel arend@broadcom.com

Franky Lin frankyl@broadcom.com

Kan Yan kanyan@broadcom.com

Roland Vossen rvossen@broadcom.com

Brett Rudley brudley@broadcom.com

Developer information

Overview

  • On-chip firmware loaded using standard request_firmware()
  • Uses minstrel_ht rate algorithm
  • HW based encryption not enabled yet
  • Infrastructure for future chips in place.
  • AMPDU support
  • many software, ucode and phy/radio counters available.

softmac driver specifics

  • Integrated with mac80211
  • Using BCMA bus driver
  • monitor mode

fullmac driver specifics

  • Integrated with cfg80211
  • Most of Mac functionality is performed on chip
  • support for SDIO and USB

Get the code

The driver is available in linux mainline and development is done on the wireless-testing tree, available at:

git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-testing.git

The driver is also available in the 3.2 and newer kernels. When using 'make menuconfig' it can be accessed:

Location: -> Device Drivers

  • -> Network device support

    • -> Wireless LAN

      • -> < > Broadcom IEEE802.11n PCIe SoftMAC WLAN driver

      • -> < > Broadcom IEEE802.11n embedded FullMAC WLAN driver

        • -> [ ] SDIO bus interface support for FullMAC driver

        • -> [ ] USB bus interface support for FullMAC driver

For the PCIe SoftMAC WLAN driver (brcmsmac) you need to enable select the BCMA bus driver as well:

Location: -> Device Drivers

  • -> Broadcom specific AMBA

    • -> <M> BCMA support

      • -> [*] Support for BCMA on PCI-host bus

To be done for softmac driver

  • Add support for
    • 40MHz channels
    • powersave
    • debugfs (for accessing counters and other diagnostic info)
    • IBSS
    • AP
    • LED support
    • HW-based encryption
    • Add support for more chips, including (near term) BCM43227, BCM43228, and BCM4331. Support for additional new chips to follow.

To be done for fullmac driver

  • Add support for
    • debugfs (for accessing counters and other diagnostic info)
    • monitor mode
    • Add support for more chips.

Regulatory Implementation for brcmsmac

This generation of chips contain additional regulatory support independent of the driver. The devices use a single worldwide regulatory domain, with channels 12-14 (2.4 GHz band) and channels 52-64 and 100-140 (5 GHz band) restricted to passive operation. Transmission on those channels is suppressed until appropriate other traffic is observed on those channels. Within the driver, we use the ficticious country code "X2" to represent this worldwide regulatory domain. There is currently no interface to configure a different domain. The driver reads the SROM country code from the chip and hands it up to mac80211 as the regulatory hint, however this information is otherwise unused with the driver.

Mainline patches

Patch v3 has been accepted and applied to the wireless-testing tree. The removal from staging has been done on the staging tree.

Patch v3:

0001-net-wireless-add-brcm80211-drivers-v3.patch 0001-staging-brcm80211-remove-brcm80211-driver-from-the-s.patch


This is a static dump of the old wiki, taken after locking it in January 2015. The new wiki is at https://wireless.wiki.kernel.org/.
versions of this page: last, v77, v76, v75, v74, v73, v72, v71, v70, v69, v68, v67, v66, v65, v64, v63, v62, v61, v60, v59, v58, v57, v56, v55, v54, v53, v52, v51, v50, v49, v48, v47, v46, v45, v44, v43, v42, v41, v40, v39, v38, v37, v36, v35, v34, v33, v32, v31, v30, v29, v28, v27, v26, v25, v24, v23, v22, v21, v20, v19, v18, v17, v16, v15, v14, v13, v12, v11, v10, v9, v8, v7, v6, v5, v4, v3, v2, v1