162306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only
262306a36Sopenharmony_ciconfig BRCMUTIL
362306a36Sopenharmony_ci	tristate
462306a36Sopenharmony_ci
562306a36Sopenharmony_ciconfig BRCMSMAC
662306a36Sopenharmony_ci	tristate "Broadcom IEEE802.11n PCIe SoftMAC WLAN driver"
762306a36Sopenharmony_ci	depends on MAC80211
862306a36Sopenharmony_ci	depends on BCMA_POSSIBLE
962306a36Sopenharmony_ci	select BCMA
1062306a36Sopenharmony_ci	select BRCMUTIL
1162306a36Sopenharmony_ci	select FW_LOADER
1262306a36Sopenharmony_ci	select CORDIC
1362306a36Sopenharmony_ci	help
1462306a36Sopenharmony_ci	  This module adds support for PCIe wireless adapters based on Broadcom
1562306a36Sopenharmony_ci	  IEEE802.11n SoftMAC chipsets. If you choose to build a module, the
1662306a36Sopenharmony_ci	  driver will be called brcmsmac.ko.
1762306a36Sopenharmony_ci
1862306a36Sopenharmony_ciconfig BRCMSMAC_LEDS
1962306a36Sopenharmony_ci	def_bool BRCMSMAC && BCMA_DRIVER_GPIO && MAC80211_LEDS
2062306a36Sopenharmony_ci	help
2162306a36Sopenharmony_ci	  The brcmsmac LED support depends on the presence of the
2262306a36Sopenharmony_ci	  BCMA_DRIVER_GPIO driver, and it only works if LED support
2362306a36Sopenharmony_ci	  is enabled and reachable from the driver module.
2462306a36Sopenharmony_ci
2562306a36Sopenharmony_cisource "drivers/net/wireless/broadcom/brcm80211/brcmfmac/Kconfig"
2662306a36Sopenharmony_ci
2762306a36Sopenharmony_ciconfig BRCM_TRACING
2862306a36Sopenharmony_ci	bool "Broadcom device tracing"
2962306a36Sopenharmony_ci	depends on BRCMSMAC || BRCMFMAC
3062306a36Sopenharmony_ci	help
3162306a36Sopenharmony_ci	  If you say Y here, the Broadcom wireless drivers will register
3262306a36Sopenharmony_ci	  with ftrace to dump event information into the trace ringbuffer.
3362306a36Sopenharmony_ci	  Tracing can be enabled at runtime to aid in debugging wireless
3462306a36Sopenharmony_ci	  issues. This option adds a small amount of overhead when tracing
3562306a36Sopenharmony_ci	  is disabled. If unsure, say Y to allow developers to better help
3662306a36Sopenharmony_ci	  you when wireless problems occur.
3762306a36Sopenharmony_ci
3862306a36Sopenharmony_ciconfig BRCMDBG
3962306a36Sopenharmony_ci	bool "Broadcom driver debug functions"
4062306a36Sopenharmony_ci	depends on BRCMSMAC || BRCMFMAC
4162306a36Sopenharmony_ci	select WANT_DEV_COREDUMP if BRCMFMAC
4262306a36Sopenharmony_ci	help
4362306a36Sopenharmony_ci	  Selecting this enables additional code for debug purposes.
44