forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-01-03 2f7c68cb55ecb7331f2381deb497c27155f32faf
kernel/drivers/net/wireless/rockchip_wlan/cywdhd/bcmdhd/Kconfig
....@@ -1,7 +1,14 @@
11 # SPDX-License-Identifier: GPL-2.0
2
+#
3
+# $ Copyright Open Broadcom $
4
+#
5
+#
6
+# <<Broadcom-WL-IPTag/Open:>>
7
+#
8
+
29 config BCMDHD
310 tristate "Broadcom FullMAC wireless cards support"
4
- help
11
+ ---help---
512 This module adds support for wireless adapters based on
613 Broadcom FullMAC chipset.
714
....@@ -25,19 +32,50 @@
2532 depends on BCMDHD
2633 default n
2734
35
+config BCM4358
36
+ tristate "BCM4358 support"
37
+ depends on BCMDHD
38
+ default n
39
+
40
+config BCM4359
41
+ tristate "BCM4359 support"
42
+ depends on BCMDHD
43
+ default y
44
+
45
+config BCM4361
46
+ tristate "BCM4361 support"
47
+ depends on BCMDHD
48
+ default n
49
+
50
+config CYW89570
51
+ tristate "CYW89570 support"
52
+ depends on BCMDHD
53
+ default y
54
+
55
+config DHD_OF_SUPPORT
56
+ bool "Use in-drive platform device"
57
+ depends on BCMDHD
58
+ default n
59
+
2860 config BCMDHD_FW_PATH
2961 depends on BCMDHD
3062 string "Firmware path"
3163 default "/system/vendor/firmware/fw_bcmdhd.bin"
32
- help
64
+ ---help---
3365 Path to the firmware file.
3466
3567 config BCMDHD_NVRAM_PATH
3668 depends on BCMDHD
3769 string "NVRAM path"
3870 default "/system/etc/wifi/bcmdhd.cal"
39
- help
71
+ ---help---
4072 Path to the calibration file.
73
+
74
+config 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.
4179
4280 config BCMDHD_WEXT
4381 bool "Enable WEXT support"
....@@ -51,19 +89,93 @@
5189 bool "Enable memory preallocation"
5290 depends on BCMDHD
5391 default n
54
- help
92
+ ---help---
5593 Use memory preallocated in platform
5694
5795 config DHD_USE_SCHED_SCAN
5896 bool "Use CFG80211 sched scan"
5997 depends on BCMDHD && CFG80211
6098 default n
61
- help
99
+ ---help---
62100 Use CFG80211 sched scan
63101
64102 config DHD_SET_RANDOM_MAC_VAL
65
-hex "Vendor OUI"
66
-depends on BCMDHD
67
-default 0x001A11
68
- help
69
-Set vendor OUI for SoftAP
103
+ hex "Vendor OUI"
104
+ depends on BCMDHD
105
+ default 0x001A11
106
+ ---help---
107
+ Set vendor OUI for SoftAP
108
+
109
+config 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
+
123
+config 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
+
130
+config 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
+
137
+config WL_NAN
138
+ bool "NAN Feature"
139
+ depends on BCMDHD
140
+ default n
141
+ ---help---
142
+ This is a configuration for NAN Feature.
143
+
144
+config WL_AP_IF
145
+ bool "Create additional AP interface during intialization"
146
+ default n
147
+ ---help---
148
+ Create additional AP interface during initialization.
149
+
150
+config 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
+
157
+config 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
+
163
+config 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
+
169
+config 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
+
176
+config BCMDHD_WPA3
177
+ bool "Support WPA3 feature"
178
+ depends on BCMDHD
179
+ default n
180
+ ---help---
181
+ This will enable WPA3 support