1 # SPDX-License-Identifier: GPL-2.0-only << 2 config WIRELESS_EXT 1 config WIRELESS_EXT 3 bool 2 bool 4 3 5 config WEXT_CORE 4 config WEXT_CORE 6 def_bool y 5 def_bool y 7 depends on CFG80211_WEXT || WIRELESS_E 6 depends on CFG80211_WEXT || WIRELESS_EXT 8 7 9 config WEXT_PROC 8 config WEXT_PROC 10 def_bool y 9 def_bool y 11 depends on PROC_FS 10 depends on PROC_FS 12 depends on WEXT_CORE 11 depends on WEXT_CORE 13 12 14 config WEXT_SPY 13 config WEXT_SPY 15 bool 14 bool 16 15 17 config WEXT_PRIV 16 config WEXT_PRIV 18 bool 17 bool 19 18 20 config CFG80211 19 config CFG80211 21 tristate "cfg80211 - wireless configur 20 tristate "cfg80211 - wireless configuration API" 22 depends on RFKILL || !RFKILL 21 depends on RFKILL || !RFKILL 23 select FW_LOADER !! 22 ---help--- 24 select CRC32 << 25 # may need to update this when certifi << 26 # using a different algorithm, though << 27 # (this is here rather than below to a << 28 select CRYPTO_SHA256 if CFG80211_USE_K << 29 help << 30 cfg80211 is the Linux wireless LAN ( 23 cfg80211 is the Linux wireless LAN (802.11) configuration API. 31 Enable this if you have a wireless d 24 Enable this if you have a wireless device. 32 25 33 For more information refer to docume 26 For more information refer to documentation on the wireless wiki: 34 27 35 https://wireless.wiki.kernel.org/en/ !! 28 http://wireless.kernel.org/en/developers/Documentation/cfg80211 36 29 37 When built as a module it will be ca 30 When built as a module it will be called cfg80211. 38 31 39 if CFG80211 << 40 << 41 config NL80211_TESTMODE 32 config NL80211_TESTMODE 42 bool "nl80211 testmode command" 33 bool "nl80211 testmode command" >> 34 depends on CFG80211 43 help 35 help 44 The nl80211 testmode command helps i 36 The nl80211 testmode command helps implementing things like 45 factory calibration or validation to 37 factory calibration or validation tools for wireless chips. 46 38 47 Select this option ONLY for kernels 39 Select this option ONLY for kernels that are specifically 48 built for such purposes. 40 built for such purposes. 49 41 50 Debugging tools that are supposed to 42 Debugging tools that are supposed to end up in the hands of 51 users should better be implemented w 43 users should better be implemented with debugfs. 52 44 53 Say N. 45 Say N. 54 46 55 config CFG80211_DEVELOPER_WARNINGS 47 config CFG80211_DEVELOPER_WARNINGS 56 bool "enable developer warnings" 48 bool "enable developer warnings" >> 49 depends on CFG80211 57 default n 50 default n 58 help 51 help 59 This option enables some additional 52 This option enables some additional warnings that help 60 cfg80211 developers and driver devel !! 53 cfg80211 developers and driver developers, but that can 61 they can also trigger due to races w !! 54 trigger due to races with userspace. 62 55 63 For example, when a driver reports t 56 For example, when a driver reports that it was disconnected 64 from the AP, but the user disconnect 57 from the AP, but the user disconnects manually at the same 65 time, the warning might trigger spur 58 time, the warning might trigger spuriously due to races. 66 59 67 Say Y only if you are developing cfg 60 Say Y only if you are developing cfg80211 or a driver based 68 on it (or mac80211). 61 on it (or mac80211). 69 62 70 63 >> 64 config CFG80211_REG_DEBUG >> 65 bool "cfg80211 regulatory debugging" >> 66 depends on CFG80211 >> 67 default n >> 68 ---help--- >> 69 You can enable this if you want to debug regulatory changes. >> 70 For more information on cfg80211 regulatory refer to the wireless >> 71 wiki: >> 72 >> 73 http://wireless.kernel.org/en/developers/Regulatory >> 74 >> 75 If unsure, say N. >> 76 71 config CFG80211_CERTIFICATION_ONUS 77 config CFG80211_CERTIFICATION_ONUS 72 bool "cfg80211 certification onus" 78 bool "cfg80211 certification onus" 73 depends on EXPERT !! 79 depends on CFG80211 && EXPERT 74 default n 80 default n 75 help !! 81 ---help--- 76 You should disable this option unles 82 You should disable this option unless you are both capable 77 and willing to ensure your system wi 83 and willing to ensure your system will remain regulatory 78 compliant with the features availabl 84 compliant with the features available under this option. 79 Some options may still be under heav 85 Some options may still be under heavy development and 80 for whatever reason regulatory compl 86 for whatever reason regulatory compliance has not or 81 cannot yet be verified. Regulatory v 87 cannot yet be verified. Regulatory verification may at 82 times only be possible until you hav 88 times only be possible until you have the final system 83 in place. 89 in place. 84 90 85 This option should only be enabled b 91 This option should only be enabled by system integrators 86 or distributions that have done work 92 or distributions that have done work necessary to ensure 87 regulatory certification on the syst 93 regulatory certification on the system with the enabled 88 features. Alternatively you can enab 94 features. Alternatively you can enable this option if 89 you are a wireless researcher and ar 95 you are a wireless researcher and are working in a controlled 90 and approved environment by your loc 96 and approved environment by your local regulatory agency. 91 97 92 config CFG80211_REQUIRE_SIGNED_REGDB << 93 bool "require regdb signature" if CFG8 << 94 default y << 95 select SYSTEM_DATA_VERIFICATION << 96 help << 97 Require that in addition to the "reg << 98 "regulatory.db.p7s" can be loaded wi << 99 signature for the regulatory.db file << 100 keys in the certs/ directory. << 101 << 102 config CFG80211_USE_KERNEL_REGDB_KEYS << 103 bool "allow regdb keys shipped with th << 104 default y << 105 depends on CFG80211_REQUIRE_SIGNED_REG << 106 help << 107 Allow the regulatory database to be << 108 which certificates are part of the k << 109 (in net/wireless/certs/). << 110 << 111 This is currently only Seth Forshee' << 112 database maintainer. << 113 << 114 config CFG80211_EXTRA_REGDB_KEYDIR << 115 string "additional regdb key directory << 116 depends on CFG80211_REQUIRE_SIGNED_REG << 117 help << 118 If selected, point to a directory wi << 119 certificates like in the kernel sour << 120 that shall be accepted for a signed << 121 << 122 Note that you need to also select th << 123 for your certificates, and if cfg802 << 124 << 125 config CFG80211_REG_CELLULAR_HINTS 98 config CFG80211_REG_CELLULAR_HINTS 126 bool "cfg80211 regulatory support for 99 bool "cfg80211 regulatory support for cellular base station hints" 127 depends on CFG80211_CERTIFICATION_ONUS 100 depends on CFG80211_CERTIFICATION_ONUS 128 help !! 101 ---help--- 129 This option enables support for pars 102 This option enables support for parsing regulatory hints 130 from cellular base stations. If enab 103 from cellular base stations. If enabled and at least one driver 131 claims support for parsing cellular 104 claims support for parsing cellular base station hints the 132 regulatory core will allow and parse 105 regulatory core will allow and parse these regulatory hints. 133 The regulatory core will only apply 106 The regulatory core will only apply these regulatory hints on 134 drivers that support this feature. Y 107 drivers that support this feature. You should only enable this 135 feature if you have tested and valid 108 feature if you have tested and validated this feature on your 136 systems. 109 systems. 137 110 138 config CFG80211_REG_RELAX_NO_IR 111 config CFG80211_REG_RELAX_NO_IR 139 bool "cfg80211 support for NO_IR relax 112 bool "cfg80211 support for NO_IR relaxation" 140 depends on CFG80211_CERTIFICATION_ONUS 113 depends on CFG80211_CERTIFICATION_ONUS 141 help !! 114 ---help--- 142 This option enables support for relax 115 This option enables support for relaxation of the NO_IR flag for 143 situations that certain regulatory bo 116 situations that certain regulatory bodies have provided clarifications 144 on how relaxation can occur. This fea 117 on how relaxation can occur. This feature has an inherent dependency on 145 userspace features which must have be 118 userspace features which must have been properly tested and as such is 146 not enabled by default. 119 not enabled by default. 147 120 148 A relaxation feature example is allow 121 A relaxation feature example is allowing the operation of a P2P group 149 owner (GO) on channels marked with NO 122 owner (GO) on channels marked with NO_IR if there is an additional BSS 150 interface which associated to an AP w 123 interface which associated to an AP which userspace assumes or confirms 151 to be an authorized master, i.e., wit 124 to be an authorized master, i.e., with radar detection support and DFS 152 capabilities. However, note that in o 125 capabilities. However, note that in order to not create daisy chain 153 scenarios, this relaxation is not all !! 126 scenarios, this relaxation is not allowed in cases that the BSS client 154 is associated to P2P GO and in additi 127 is associated to P2P GO and in addition the P2P GO instantiated on 155 a channel due to this relaxation shou 128 a channel due to this relaxation should not allow connection from 156 non P2P clients. 129 non P2P clients. 157 130 158 The regulatory core will apply these 131 The regulatory core will apply these relaxations only for drivers that 159 support this feature by declaring the 132 support this feature by declaring the appropriate channel flags and 160 capabilities in their registration fl 133 capabilities in their registration flow. 161 134 162 config CFG80211_DEFAULT_PS 135 config CFG80211_DEFAULT_PS 163 bool "enable powersave by default" 136 bool "enable powersave by default" >> 137 depends on CFG80211 164 default y 138 default y 165 help 139 help 166 This option enables powersave mode b 140 This option enables powersave mode by default. 167 141 168 If this causes your applications to 142 If this causes your applications to misbehave you should fix your 169 applications instead -- they need to 143 applications instead -- they need to register their network 170 latency requirement, see Documentati !! 144 latency requirement, see Documentation/power/pm_qos_interface.txt. 171 145 172 config CFG80211_DEBUGFS 146 config CFG80211_DEBUGFS 173 bool "cfg80211 DebugFS entries" 147 bool "cfg80211 DebugFS entries" >> 148 depends on CFG80211 174 depends on DEBUG_FS 149 depends on DEBUG_FS 175 help !! 150 ---help--- 176 You can enable this if you want debu !! 151 You can enable this if you want to debugfs entries for cfg80211. 177 152 178 If unsure, say N. 153 If unsure, say N. 179 154 >> 155 config CFG80211_INTERNAL_REGDB >> 156 bool "use statically compiled regulatory rules database" if EXPERT >> 157 default n >> 158 depends on CFG80211 >> 159 ---help--- >> 160 This option generates an internal data structure representing >> 161 the wireless regulatory rules described in net/wireless/db.txt >> 162 and includes code to query that database. This is an alternative >> 163 to using CRDA for defining regulatory rules for the kernel. >> 164 >> 165 Using this option requires some parsing of the db.txt at build time, >> 166 the parser will be upkept with the latest wireless-regdb updates but >> 167 older wireless-regdb formats will be ignored. The parser may later >> 168 be replaced to avoid issues with conflicts on versions of >> 169 wireless-regdb. >> 170 >> 171 For details see: >> 172 >> 173 http://wireless.kernel.org/en/developers/Regulatory >> 174 >> 175 Most distributions have a CRDA package. So if unsure, say N. >> 176 180 config CFG80211_CRDA_SUPPORT 177 config CFG80211_CRDA_SUPPORT 181 bool "support CRDA" if EXPERT !! 178 bool "support CRDA" if CFG80211_INTERNAL_REGDB 182 default y 179 default y >> 180 depends on CFG80211 183 help 181 help 184 You should enable this option unless 182 You should enable this option unless you know for sure you have no 185 need for it, for example when using !! 183 need for it, for example when using internal regdb (above.) 186 a firmware file. << 187 184 188 If unsure, say Y. 185 If unsure, say Y. 189 186 190 config CFG80211_WEXT 187 config CFG80211_WEXT 191 bool "cfg80211 wireless extensions com 188 bool "cfg80211 wireless extensions compatibility" if !CFG80211_WEXT_EXPORT >> 189 depends on CFG80211 192 select WEXT_CORE 190 select WEXT_CORE 193 default y if CFG80211_WEXT_EXPORT 191 default y if CFG80211_WEXT_EXPORT 194 help 192 help 195 Enable this option if you need old u 193 Enable this option if you need old userspace for wireless 196 extensions with cfg80211-based drive 194 extensions with cfg80211-based drivers. 197 195 198 config CFG80211_WEXT_EXPORT 196 config CFG80211_WEXT_EXPORT 199 bool 197 bool >> 198 depends on CFG80211 200 help 199 help 201 Drivers should select this option if 200 Drivers should select this option if they require cfg80211's 202 wext compatibility symbols to be exp 201 wext compatibility symbols to be exported. 203 202 204 config CFG80211_KUNIT_TEST << 205 tristate "KUnit tests for cfg80211" if << 206 depends on KUNIT << 207 depends on CFG80211 << 208 default KUNIT_ALL_TESTS << 209 help << 210 Enable this option to test cfg80211 << 211 << 212 If unsure, say N. << 213 << 214 endif # CFG80211 << 215 << 216 config LIB80211 203 config LIB80211 217 tristate 204 tristate 218 default n 205 default n 219 help 206 help 220 This options enables a library of co 207 This options enables a library of common routines used 221 by IEEE802.11 wireless LAN drivers. 208 by IEEE802.11 wireless LAN drivers. 222 209 223 Drivers should select this themselve 210 Drivers should select this themselves if needed. 224 211 225 config LIB80211_CRYPT_WEP 212 config LIB80211_CRYPT_WEP 226 tristate 213 tristate 227 select CRYPTO_LIB_ARC4 << 228 214 229 config LIB80211_CRYPT_CCMP 215 config LIB80211_CRYPT_CCMP 230 tristate 216 tristate 231 select CRYPTO << 232 select CRYPTO_AES << 233 select CRYPTO_CCM << 234 217 235 config LIB80211_CRYPT_TKIP 218 config LIB80211_CRYPT_TKIP 236 tristate 219 tristate 237 select CRYPTO_LIB_ARC4 << 238 220 239 config LIB80211_DEBUG 221 config LIB80211_DEBUG 240 bool "lib80211 debugging messages" 222 bool "lib80211 debugging messages" 241 depends on LIB80211 223 depends on LIB80211 242 default n 224 default n 243 help !! 225 ---help--- 244 You can enable this if you want verb 226 You can enable this if you want verbose debugging messages 245 from lib80211. 227 from lib80211. 246 228 247 If unsure, say N. 229 If unsure, say N.
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.