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 NEW_LEDS if BCMA_DRIVER_GPIO
11	select LEDS_CLASS if BCMA_DRIVER_GPIO
12	select BRCMUTIL
13	select FW_LOADER
14	select CORDIC
15	---help---
16	  This module adds support for PCIe wireless adapters based on Broadcom
17	  IEEE802.11n SoftMAC chipsets. It also has WLAN led support, which will
18	  be available if you select BCMA_DRIVER_GPIO. If you choose to build a
19	  module, the driver will be called brcmsmac.ko.
20
21config BRCMFMAC
22	tristate "Broadcom FullMAC WLAN driver"
23	depends on CFG80211
24	select BRCMUTIL
25	---help---
26	  This module adds support for wireless adapters based on Broadcom
27	  FullMAC chipsets. It has to work with at least one of the bus
28	  interface support. If you choose to build a module, it'll be called
29	  brcmfmac.ko.
30
31config BRCMFMAC_PROTO_BCDC
32	bool
33
34config BRCMFMAC_PROTO_MSGBUF
35	bool
36
37config BRCMFMAC_SDIO
38	bool "SDIO bus interface support for FullMAC driver"
39	depends on (MMC = y || MMC = BRCMFMAC)
40	depends on BRCMFMAC
41	select BRCMFMAC_PROTO_BCDC
42	select FW_LOADER
43	default y
44	---help---
45	  This option enables the SDIO bus interface support for Broadcom
46	  IEEE802.11n embedded FullMAC WLAN driver. Say Y if you want to
47	  use the driver for a SDIO wireless card.
48
49config BRCMFMAC_USB
50	bool "USB bus interface support for FullMAC driver"
51	depends on (USB = y || USB = BRCMFMAC)
52	depends on BRCMFMAC
53	select BRCMFMAC_PROTO_BCDC
54	select FW_LOADER
55	---help---
56	  This option enables the USB bus interface support for Broadcom
57	  IEEE802.11n embedded FullMAC WLAN driver. Say Y if you want to
58	  use the driver for an USB wireless card.
59
60config BRCMFMAC_PCIE
61	bool "PCIE bus interface support for FullMAC driver"
62	depends on BRCMFMAC
63	depends on PCI
64	select BRCMFMAC_PROTO_MSGBUF
65	select FW_LOADER
66	---help---
67	  This option enables the PCIE bus interface support for Broadcom
68	  IEEE802.11ac embedded FullMAC WLAN driver. Say Y if you want to
69	  use the driver for an PCIE wireless card.
70
71config BRCM_TRACING
72	bool "Broadcom device tracing"
73	depends on BRCMSMAC || BRCMFMAC
74	---help---
75	  If you say Y here, the Broadcom wireless drivers will register
76	  with ftrace to dump event information into the trace ringbuffer.
77	  Tracing can be enabled at runtime to aid in debugging wireless
78	  issues. This option adds a small amount of overhead when tracing
79	  is disabled. If unsure, say Y to allow developers to better help
80	  you when wireless problems occur.
81
82config BRCMDBG
83	bool "Broadcom driver debug functions"
84	depends on BRCMSMAC || BRCMFMAC
85	select WANT_DEV_COREDUMP
86	---help---
87	  Selecting this enables additional code for debug purposes.
88