190 lines · plain
1# SPDX-License-Identifier: GPL-2.0-only2config B433 tristate "Broadcom 43xx wireless support (mac80211 stack)"4 depends on (BCMA_POSSIBLE || SSB_POSSIBLE) && MAC80211 && HAS_DMA5 select BCMA if B43_BCMA6 select SSB if B43_SSB7 select FW_LOADER8 select CORDIC9 help10 b43 is a driver for the Broadcom 43xx series wireless devices.11 12 Check "lspci" for something like13 "Broadcom Corporation BCM43XX 802.11 Wireless LAN Controller"14 to determine whether you own such a device.15 16 This driver supports the new BCM43xx IEEE 802.11G devices, but not17 the old IEEE 802.11B devices. Old devices are supported by18 the b43legacy driver.19 Note that this has nothing to do with the standard that your AccessPoint20 supports (A, B, G or a combination).21 IEEE 802.11G devices can talk to IEEE 802.11B AccessPoints.22 23 It is safe to include both b43 and b43legacy as the underlying glue24 layer will automatically load the correct version for your device.25 26 This driver uses V4 firmware, which must be installed separately using27 b43-fwcutter.28 29 This driver can be built as a module (recommended) that will be called "b43".30 If unsure, say M.31 32config B43_BCMA33 bool34 35config B43_SSB36 bool37 38choice39 prompt "Supported bus types"40 depends on B4341 default B43_BUSES_BCMA_AND_SSB42 43config B43_BUSES_BCMA_AND_SSB44 bool "BCMA and SSB"45 depends on BCMA_POSSIBLE && SSB_POSSIBLE46 select B43_BCMA47 select B43_SSB48 49config B43_BUSES_BCMA50 bool "BCMA only"51 depends on BCMA_POSSIBLE52 select B43_BCMA53 54config B43_BUSES_SSB55 bool "SSB only"56 depends on SSB_POSSIBLE57 select B43_SSB58 59endchoice60 61# Auto-select SSB PCI-HOST support, if possible62config B43_PCI_AUTOSELECT63 bool64 depends on B43 && SSB_PCIHOST_POSSIBLE65 select SSB_PCIHOST66 select SSB_B43_PCI_BRIDGE67 default y68 69# Auto-select SSB PCICORE driver, if possible70config B43_PCICORE_AUTOSELECT71 bool72 depends on B43 && SSB_DRIVER_PCICORE_POSSIBLE73 select SSB_DRIVER_PCICORE74 default y75 76config B43_SDIO77 bool "Broadcom 43xx SDIO device support"78 depends on B43 && B43_SSB && SSB_SDIOHOST_POSSIBLE79 select SSB_SDIOHOST80 help81 Broadcom 43xx device support for Soft-MAC SDIO devices.82 83 With this config option you can drive Soft-MAC b43 cards with a84 Secure Digital I/O interface.85 This includes the WLAN daughter card found on the Nintendo Wii86 video game console.87 Note that this does not support Broadcom 43xx Full-MAC devices.88 89 It's safe to select Y here, even if you don't have a B43 SDIO device.90 91 If unsure, say N.92 93#Data transfers to the device via PIO. We want it as a fallback even94# if we can do DMA.95config B43_BCMA_PIO96 bool97 depends on B43 && B43_BCMA98 select BCMA_BLOCKIO99 default y100 101config B43_PIO102 bool103 depends on B43 && B43_SSB104 select SSB_BLOCKIO105 default y106 107config B43_PHY_G108 bool "Support for G-PHY (802.11g) devices"109 depends on B43 && B43_SSB110 default y111 help112 This PHY type can be found in the following chipsets:113 PCI: BCM4306, BCM4311, BCM4318114 SoC: BCM4712, BCM5352E115 116config B43_PHY_N117 bool "Support for N-PHY (the main 802.11n series) devices"118 depends on B43119 default y120 help121 This PHY type can be found in the following chipsets:122 PCI: BCM4321, BCM4322,123 BCM43222, BCM43224, BCM43225,124 BCM43131, BCM43217, BCM43227, BCM43228125 SoC: BCM4716, BCM4717, BCM4718, BCM5356, BCM5357, BCM5358126 127config B43_PHY_LP128 bool "Support for LP-PHY (low-power 802.11g) devices"129 depends on B43 && B43_SSB130 default y131 help132 The LP-PHY is a low-power PHY built into some notebooks133 and embedded devices. It supports 802.11a/b/g134 (802.11a support is optional, and currently disabled).135 136config B43_PHY_HT137 bool "Support for HT-PHY (high throughput 802.11n) devices"138 depends on B43 && B43_BCMA139 default y140 help141 This PHY type with 3x3:3 MIMO can be found in the BCM4331 PCI chipset.142 143config B43_PHY_LCN144 bool "Support for LCN-PHY devices (BROKEN)"145 depends on B43 && BROKEN146 help147 Support for the LCN-PHY.148 149 Say N, this is BROKEN and crashes driver.150 151config B43_PHY_AC152 bool "Support for AC-PHY (802.11ac) devices (BROKEN)"153 depends on B43 && B43_BCMA && BROKEN154 help155 This PHY type can be found in the following chipsets:156 PCI: BCM4352, BCM4360157 158 Say N, this is BROKEN and crashes driver.159 160# This config option automatically enables b43 LEDS support,161# if it's possible.162config B43_LEDS163 bool164 depends on B43 && MAC80211_LEDS && (LEDS_CLASS = y || LEDS_CLASS = B43)165 default y166 167# This config option automatically enables b43 HW-RNG support,168# if the HW-RNG core is enabled.169config B43_HWRNG170 bool171 depends on B43 && (HW_RANDOM = y || HW_RANDOM = B43)172 default y173 174config B43_DEBUG175 bool "Broadcom 43xx debugging"176 depends on B43177 help178 Broadcom 43xx debugging.179 180 This adds additional runtime sanity checks and statistics to the driver.181 These checks and statistics might be expensive and hurt the runtime182 performance of your system.183 This also adds the b43 debugfs interface.184 185 Do not enable this, unless you are debugging the driver.186 187 Say N, if you are a distributor or user building a release kernel188 for production use.189 Only say Y, if you are debugging a problem in the b43 driver sourcecode.190