1# SPDX-License-Identifier: GPL-2.0-only
2config BRCMUTIL
3	tristate
4
5config 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
18config 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
25source "drivers/net/wireless/broadcom/brcm80211/brcmfmac/Kconfig"
26
27config BRCM_TRACING
28	bool "Broadcom device tracing"
29	depends on BRCMSMAC || BRCMFMAC
30	depends on TRACING
31	help
32	  If you say Y here, the Broadcom wireless drivers will register
33	  with ftrace to dump event information into the trace ringbuffer.
34	  Tracing can be enabled at runtime to aid in debugging wireless
35	  issues. This option adds a small amount of overhead when tracing
36	  is disabled. If unsure, say Y to allow developers to better help
37	  you when wireless problems occur.
38
39config BRCMDBG
40	bool "Broadcom driver debug functions"
41	depends on BRCMSMAC || BRCMFMAC
42	select WANT_DEV_COREDUMP if BRCMFMAC
43	help
44	  Selecting this enables additional code for debug purposes.
45