xref: /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/cywdhd/bcmdhd/Kconfig (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1# SPDX-License-Identifier: GPL-2.0
2#
3# $ Copyright Open Broadcom $
4#
5#
6# <<Broadcom-WL-IPTag/Open:>>
7#
8
9config BCMDHD
10	tristate "Broadcom FullMAC wireless cards support"
11	---help---
12	  This module adds support for wireless adapters based on
13	  Broadcom FullMAC chipset.
14
15	  If you choose to build a module, it'll be called dhd. Say M if
16	  unsure.
17
18config BCMDHD_SDIO
19	bool "SDIO bus interface support"
20	depends on BCMDHD && MMC
21
22config BCMDHD_PCIE
23	bool "PCIe bus interface support"
24	depends on BCMDHD && PCI && !BCMDHD_SDIO
25
26config BCM4354
27	tristate "BCM4354 support"
28	depends on BCMDHD
29
30config BCM4356
31	tristate "BCM4356 support"
32	depends on BCMDHD
33	default n
34
35config BCM4358
36	tristate "BCM4358 support"
37	depends on BCMDHD
38	default n
39
40config BCM4359
41	tristate "BCM4359 support"
42	depends on BCMDHD
43	default y
44
45config BCM4361
46	tristate "BCM4361 support"
47	depends on BCMDHD
48	default n
49
50config CYW89570
51	tristate "CYW89570 support"
52	depends on BCMDHD
53	default y
54
55config DHD_OF_SUPPORT
56	bool "Use in-drive platform device"
57	depends on BCMDHD
58	default n
59
60config BCMDHD_FW_PATH
61	depends on BCMDHD
62	string "Firmware path"
63	default "/system/vendor/firmware/fw_bcmdhd.bin"
64	---help---
65	  Path to the firmware file.
66
67config BCMDHD_NVRAM_PATH
68	depends on BCMDHD
69	string "NVRAM path"
70	default "/system/etc/wifi/bcmdhd.cal"
71	---help---
72	  Path to the calibration file.
73
74config BROADCOM_WIFI_RESERVED_MEM
75	bool "BROADCOM Reserved memory for wifi device"
76	depends on BCMDHD
77	---help---
78	  This is a configuration for Broadcom WLAN driver.
79
80config BCMDHD_WEXT
81	bool "Enable WEXT support"
82	depends on BCMDHD && CFG80211 = n
83	select WIRELESS_EXT
84	select WEXT_PRIV
85	help
86	  Enables WEXT support
87
88config DHD_USE_STATIC_BUF
89	bool "Enable memory preallocation"
90	depends on BCMDHD
91	default n
92	---help---
93	  Use memory preallocated in platform
94
95config DHD_USE_SCHED_SCAN
96	bool "Use CFG80211 sched scan"
97	depends on BCMDHD && CFG80211
98	default n
99	---help---
100	  Use CFG80211 sched scan
101
102config DHD_SET_RANDOM_MAC_VAL
103	hex "Vendor OUI"
104	depends on BCMDHD
105	default 0x001A11
106	---help---
107	  Set vendor OUI for SoftAP
108
109config WLAN_REGION_CODE
110	int "---Region codes for Broadcom WiFi Driver"
111	depends on BCMDHD
112	default 100
113	---help---
114		This is a region code for Broadcom Wi-Fi featured functions.
115		- 100 : EUR OPEN
116		- 101 : EUR ORG
117		- 200 : KOR OPEN
118		- 201 : KOR SKT
119		- 202 : KOR KTT
120		- 203 : KOR LGT
121		- 300 : CHN OPEN
122
123config WLAIBSS
124	bool "Advanced IBSS mode"
125	depends on (BCM4335 || BCM4339 || BCM4354 || BCM4358 || BCM4359 || BCM4361)
126	default y
127	---help---
128	  This is a configuration for Oxygen Network.
129
130config WL_RELMCAST
131	bool "Reliable Multicast Support"
132	depends on (BCM4335 || BCM4339 || BCM4354 || BCM4358 || BCM4359 || BCM4361)
133	default y
134	---help---
135	  This is a configuration for RMC.
136
137config WL_NAN
138	bool "NAN Feature"
139	depends on BCMDHD
140	default n
141	---help---
142	  This is a configuration for NAN Feature.
143
144config WL_AP_IF
145	bool "Create additional AP interface during intialization"
146	default n
147	---help---
148	  Create additional AP interface during initialization.
149
150config BCMDHD_PREALLOC_PKTIDMAP
151	bool "BROADCOM PCIE specific memory reserved for PKTIDMAP"
152	depends on BROADCOM_WIFI_RESERVED_MEM && BCMDHD_PCIE
153	---help---
154	  Preallocated memory support for PCIE interface in Broadcom
155	  WLAN driver.
156
157config BCMDHD_PREALLOC_MEMDUMP
158	bool "BROADCOM PCIE specific memory reserved for MEMDUMP"
159	depends on BROADCOM_WIFI_RESERVED_MEM
160	---help---
161	  Preallocated memory support for dongle memory dump
162
163config BCMDHD_OOB_HOST_WAKE
164        bool "Use the external WLAN_HOST_WAKE pin"
165        depends on BCMDHD
166        ---help---
167          Use the external GPIO pin to wake up host
168
169config BCMDHD_GET_OOB_STATE
170        bool "Support WLAN_HOST_WAKE pin level information"
171        depends on BCMDHD_OOB_HOST_WAKE
172        default y
173        ---help---
174          Support WLAN_HOST_WAKE pin level information
175
176config BCMDHD_WPA3
177	bool "Support WPA3 feature"
178	depends on BCMDHD
179	default n
180	---help---
181	  This will enable WPA3 support
182