GNU Linux-libre 5.19-rc6-gnu
[releases.git] / drivers / net / wireless / broadcom / brcm80211 / Kconfig
1 # SPDX-License-Identifier: GPL-2.0-only
2 config BRCMUTIL
3         tristate
4
5 config BRCMSMAC
6         tristate "Broadcom IEEE802.11n PCIe SoftMAC WLAN driver"
7         depends on MAC80211
8         depends on BCMA_POSSIBLE
9         select BCMA
10         select BRCMUTIL
11         select FW_LOADER
12         select CORDIC
13         help
14           This module adds support for PCIe wireless adapters based on Broadcom
15           IEEE802.11n SoftMAC chipsets. If you choose to build a module, the
16           driver will be called brcmsmac.ko.
17
18 config BRCMSMAC_LEDS
19         def_bool BRCMSMAC && BCMA_DRIVER_GPIO && MAC80211_LEDS
20         help
21           The brcmsmac LED support depends on the presence of the
22           BCMA_DRIVER_GPIO driver, and it only works if LED support
23           is enabled and reachable from the driver module.
24
25 source "drivers/net/wireless/broadcom/brcm80211/brcmfmac/Kconfig"
26
27 config BRCM_TRACING
28         bool "Broadcom device tracing"
29         depends on BRCMSMAC || BRCMFMAC
30         help
31           If you say Y here, the Broadcom wireless drivers will register
32           with ftrace to dump event information into the trace ringbuffer.
33           Tracing can be enabled at runtime to aid in debugging wireless
34           issues. This option adds a small amount of overhead when tracing
35           is disabled. If unsure, say Y to allow developers to better help
36           you when wireless problems occur.
37
38 config BRCMDBG
39         bool "Broadcom driver debug functions"
40         depends on BRCMSMAC || BRCMFMAC
41         select WANT_DEV_COREDUMP if BRCMFMAC
42         help
43           Selecting this enables additional code for debug purposes.