hc
2024-10-22 8ac6c7a54ed1b98d142dce24b11c6de6a1e239a5
kernel/net/wireless/Kconfig
....@@ -1,3 +1,4 @@
1
+# SPDX-License-Identifier: GPL-2.0-only
12 config WIRELESS_EXT
23 bool
34
....@@ -20,17 +21,18 @@
2021 tristate "cfg80211 - wireless configuration API"
2122 depends on RFKILL || !RFKILL
2223 select FW_LOADER
24
+ select CRC32
2325 # may need to update this when certificates are changed and are
2426 # using a different algorithm, though right now they shouldn't
2527 # (this is here rather than below to allow it to be a module)
2628 select CRYPTO_SHA256 if CFG80211_USE_KERNEL_REGDB_KEYS
27
- ---help---
29
+ help
2830 cfg80211 is the Linux wireless LAN (802.11) configuration API.
2931 Enable this if you have a wireless device.
3032
3133 For more information refer to documentation on the wireless wiki:
3234
33
- http://wireless.kernel.org/en/developers/Documentation/cfg80211
35
+ https://wireless.wiki.kernel.org/en/developers/Documentation/cfg80211
3436
3537 When built as a module it will be called cfg80211.
3638
....@@ -70,7 +72,7 @@
7072 bool "cfg80211 certification onus"
7173 depends on EXPERT
7274 default n
73
- ---help---
75
+ help
7476 You should disable this option unless you are both capable
7577 and willing to ensure your system will remain regulatory
7678 compliant with the features available under this option.
....@@ -89,7 +91,7 @@
8991
9092 config CFG80211_REQUIRE_SIGNED_REGDB
9193 bool "require regdb signature" if CFG80211_CERTIFICATION_ONUS
92
- default y
94
+ default y if !ROCKCHIP_THUNDER_BOOT
9395 select SYSTEM_DATA_VERIFICATION
9496 help
9597 Require that in addition to the "regulatory.db" file a
....@@ -99,7 +101,7 @@
99101
100102 config CFG80211_USE_KERNEL_REGDB_KEYS
101103 bool "allow regdb keys shipped with the kernel" if CFG80211_CERTIFICATION_ONUS
102
- default y
104
+ default y if !ROCKCHIP_THUNDER_BOOT
103105 depends on CFG80211_REQUIRE_SIGNED_REGDB
104106 help
105107 Allow the regulatory database to be signed by one of the keys for
....@@ -123,7 +125,7 @@
123125 config CFG80211_REG_CELLULAR_HINTS
124126 bool "cfg80211 regulatory support for cellular base station hints"
125127 depends on CFG80211_CERTIFICATION_ONUS
126
- ---help---
128
+ help
127129 This option enables support for parsing regulatory hints
128130 from cellular base stations. If enabled and at least one driver
129131 claims support for parsing cellular base station hints the
....@@ -136,7 +138,7 @@
136138 config CFG80211_REG_RELAX_NO_IR
137139 bool "cfg80211 support for NO_IR relaxation"
138140 depends on CFG80211_CERTIFICATION_ONUS
139
- ---help---
141
+ help
140142 This option enables support for relaxation of the NO_IR flag for
141143 situations that certain regulatory bodies have provided clarifications
142144 on how relaxation can occur. This feature has an inherent dependency on
....@@ -165,12 +167,12 @@
165167
166168 If this causes your applications to misbehave you should fix your
167169 applications instead -- they need to register their network
168
- latency requirement, see Documentation/power/pm_qos_interface.txt.
170
+ latency requirement, see Documentation/power/pm_qos_interface.rst.
169171
170172 config CFG80211_DEBUGFS
171173 bool "cfg80211 DebugFS entries"
172174 depends on DEBUG_FS
173
- ---help---
175
+ help
174176 You can enable this if you want debugfs entries for cfg80211.
175177
176178 If unsure, say N.
....@@ -180,8 +182,8 @@
180182 default y
181183 help
182184 You should enable this option unless you know for sure you have no
183
- need for it, for example when using internal regdb (above) or the
184
- database loaded as a firmware file.
185
+ need for it, for example when using the regulatory database loaded as
186
+ a firmware file.
185187
186188 If unsure, say Y.
187189
....@@ -212,18 +214,23 @@
212214
213215 config LIB80211_CRYPT_WEP
214216 tristate
217
+ select CRYPTO_LIB_ARC4
215218
216219 config LIB80211_CRYPT_CCMP
217220 tristate
221
+ select CRYPTO
222
+ select CRYPTO_AES
223
+ select CRYPTO_CCM
218224
219225 config LIB80211_CRYPT_TKIP
220226 tristate
227
+ select CRYPTO_LIB_ARC4
221228
222229 config LIB80211_DEBUG
223230 bool "lib80211 debugging messages"
224231 depends on LIB80211
225232 default n
226
- ---help---
233
+ help
227234 You can enable this if you want verbose debugging messages
228235 from lib80211.
229236