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