Johannes Berg | 3d23e34 | 2009-09-29 23:27:28 +0200 | [diff] [blame] | 1 | config WIRELESS_EXT |
| 2 | bool |
| 3 | |
| 4 | config WEXT_CORE |
| 5 | def_bool y |
| 6 | depends on CFG80211_WEXT || WIRELESS_EXT |
| 7 | |
| 8 | config WEXT_PROC |
| 9 | def_bool y |
| 10 | depends on PROC_FS |
| 11 | depends on WEXT_CORE |
| 12 | |
| 13 | config WEXT_SPY |
| 14 | bool |
| 15 | |
| 16 | config WEXT_PRIV |
| 17 | bool |
| 18 | |
Johannes Berg | 704232c | 2007-04-23 12:20:05 -0700 | [diff] [blame] | 19 | config CFG80211 |
Luis R. Rodriguez | b275f28 | 2009-09-01 08:53:49 -0700 | [diff] [blame] | 20 | tristate "cfg80211 - wireless configuration API" |
Johannes Berg | 1f87f7d | 2009-06-02 13:01:41 +0200 | [diff] [blame] | 21 | depends on RFKILL || !RFKILL |
Johannes Berg | 007f6c5 | 2015-10-15 11:22:58 +0200 | [diff] [blame] | 22 | select FW_LOADER |
Johannes Berg | 01a95b2 | 2017-11-24 09:35:25 +0100 | [diff] [blame] | 23 | # may need to update this when certificates are changed and are |
| 24 | # using a different algorithm, though right now they shouldn't |
| 25 | # (this is here rather than below to allow it to be a module) |
| 26 | select CRYPTO_SHA256 if CFG80211_USE_KERNEL_REGDB_KEYS |
Luis R. Rodriguez | b275f28 | 2009-09-01 08:53:49 -0700 | [diff] [blame] | 27 | ---help--- |
| 28 | cfg80211 is the Linux wireless LAN (802.11) configuration API. |
| 29 | Enable this if you have a wireless device. |
| 30 | |
| 31 | For more information refer to documentation on the wireless wiki: |
| 32 | |
| 33 | http://wireless.kernel.org/en/developers/Documentation/cfg80211 |
| 34 | |
| 35 | When built as a module it will be called cfg80211. |
Johannes Berg | 704232c | 2007-04-23 12:20:05 -0700 | [diff] [blame] | 36 | |
Romain Naour | a788723 | 2018-02-25 13:39:56 +0100 | [diff] [blame] | 37 | if CFG80211 |
| 38 | |
Johannes Berg | aff89a9 | 2009-07-01 21:26:51 +0200 | [diff] [blame] | 39 | config NL80211_TESTMODE |
| 40 | bool "nl80211 testmode command" |
Johannes Berg | aff89a9 | 2009-07-01 21:26:51 +0200 | [diff] [blame] | 41 | help |
| 42 | The nl80211 testmode command helps implementing things like |
| 43 | factory calibration or validation tools for wireless chips. |
| 44 | |
| 45 | Select this option ONLY for kernels that are specifically |
| 46 | built for such purposes. |
| 47 | |
| 48 | Debugging tools that are supposed to end up in the hands of |
| 49 | users should better be implemented with debugfs. |
| 50 | |
| 51 | Say N. |
| 52 | |
Johannes Berg | f796996 | 2009-08-21 12:23:49 +0200 | [diff] [blame] | 53 | config CFG80211_DEVELOPER_WARNINGS |
| 54 | bool "enable developer warnings" |
Johannes Berg | f796996 | 2009-08-21 12:23:49 +0200 | [diff] [blame] | 55 | default n |
| 56 | help |
| 57 | This option enables some additional warnings that help |
Ola Olsson | 573a2b5 | 2016-01-10 18:41:42 +0100 | [diff] [blame] | 58 | cfg80211 developers and driver developers, but beware that |
| 59 | they can also trigger due to races with userspace. |
Johannes Berg | f796996 | 2009-08-21 12:23:49 +0200 | [diff] [blame] | 60 | |
| 61 | For example, when a driver reports that it was disconnected |
| 62 | from the AP, but the user disconnects manually at the same |
| 63 | time, the warning might trigger spuriously due to races. |
| 64 | |
| 65 | Say Y only if you are developing cfg80211 or a driver based |
| 66 | on it (or mac80211). |
| 67 | |
| 68 | |
Luis R. Rodriguez | b594bab | 2012-07-12 11:49:17 -0700 | [diff] [blame] | 69 | config CFG80211_CERTIFICATION_ONUS |
| 70 | bool "cfg80211 certification onus" |
Romain Naour | a788723 | 2018-02-25 13:39:56 +0100 | [diff] [blame] | 71 | depends on EXPERT |
Luis R. Rodriguez | b594bab | 2012-07-12 11:49:17 -0700 | [diff] [blame] | 72 | default n |
| 73 | ---help--- |
| 74 | You should disable this option unless you are both capable |
| 75 | and willing to ensure your system will remain regulatory |
| 76 | compliant with the features available under this option. |
| 77 | Some options may still be under heavy development and |
| 78 | for whatever reason regulatory compliance has not or |
| 79 | cannot yet be verified. Regulatory verification may at |
| 80 | times only be possible until you have the final system |
| 81 | in place. |
| 82 | |
| 83 | This option should only be enabled by system integrators |
| 84 | or distributions that have done work necessary to ensure |
| 85 | regulatory certification on the system with the enabled |
| 86 | features. Alternatively you can enable this option if |
| 87 | you are a wireless researcher and are working in a controlled |
| 88 | and approved environment by your local regulatory agency. |
| 89 | |
Johannes Berg | 90a53e4 | 2017-09-13 22:21:08 +0200 | [diff] [blame] | 90 | config CFG80211_REQUIRE_SIGNED_REGDB |
| 91 | bool "require regdb signature" if CFG80211_CERTIFICATION_ONUS |
| 92 | default y |
| 93 | select SYSTEM_DATA_VERIFICATION |
| 94 | help |
| 95 | Require that in addition to the "regulatory.db" file a |
| 96 | "regulatory.db.p7s" can be loaded with a valid PKCS#7 |
| 97 | signature for the regulatory.db file made by one of the |
| 98 | keys in the certs/ directory. |
| 99 | |
| 100 | config CFG80211_USE_KERNEL_REGDB_KEYS |
| 101 | bool "allow regdb keys shipped with the kernel" if CFG80211_CERTIFICATION_ONUS |
| 102 | default y |
| 103 | depends on CFG80211_REQUIRE_SIGNED_REGDB |
| 104 | help |
| 105 | Allow the regulatory database to be signed by one of the keys for |
| 106 | which certificates are part of the kernel sources |
| 107 | (in net/wireless/certs/). |
| 108 | |
| 109 | This is currently only Seth Forshee's key, who is the regulatory |
| 110 | database maintainer. |
| 111 | |
| 112 | config CFG80211_EXTRA_REGDB_KEYDIR |
| 113 | string "additional regdb key directory" if CFG80211_CERTIFICATION_ONUS |
| 114 | depends on CFG80211_REQUIRE_SIGNED_REGDB |
| 115 | help |
| 116 | If selected, point to a directory with DER-encoded X.509 |
| 117 | certificates like in the kernel sources (net/wireless/certs/) |
| 118 | that shall be accepted for a signed regulatory database. |
| 119 | |
Johannes Berg | 01a95b2 | 2017-11-24 09:35:25 +0100 | [diff] [blame] | 120 | Note that you need to also select the correct CRYPTO_<hash> modules |
| 121 | for your certificates, and if cfg80211 is built-in they also must be. |
| 122 | |
Ilan Peer | 94fc661 | 2014-02-23 09:13:00 +0200 | [diff] [blame] | 123 | config CFG80211_REG_CELLULAR_HINTS |
| 124 | bool "cfg80211 regulatory support for cellular base station hints" |
| 125 | depends on CFG80211_CERTIFICATION_ONUS |
| 126 | ---help--- |
| 127 | This option enables support for parsing regulatory hints |
| 128 | from cellular base stations. If enabled and at least one driver |
| 129 | claims support for parsing cellular base station hints the |
| 130 | regulatory core will allow and parse these regulatory hints. |
| 131 | The regulatory core will only apply these regulatory hints on |
| 132 | drivers that support this feature. You should only enable this |
| 133 | feature if you have tested and validated this feature on your |
| 134 | systems. |
| 135 | |
Ilan Peer | 174e0cd | 2014-02-23 09:13:01 +0200 | [diff] [blame] | 136 | config CFG80211_REG_RELAX_NO_IR |
| 137 | bool "cfg80211 support for NO_IR relaxation" |
| 138 | depends on CFG80211_CERTIFICATION_ONUS |
| 139 | ---help--- |
| 140 | This option enables support for relaxation of the NO_IR flag for |
| 141 | situations that certain regulatory bodies have provided clarifications |
| 142 | on how relaxation can occur. This feature has an inherent dependency on |
| 143 | userspace features which must have been properly tested and as such is |
| 144 | not enabled by default. |
| 145 | |
| 146 | A relaxation feature example is allowing the operation of a P2P group |
| 147 | owner (GO) on channels marked with NO_IR if there is an additional BSS |
| 148 | interface which associated to an AP which userspace assumes or confirms |
| 149 | to be an authorized master, i.e., with radar detection support and DFS |
| 150 | capabilities. However, note that in order to not create daisy chain |
Ola Olsson | 573a2b5 | 2016-01-10 18:41:42 +0100 | [diff] [blame] | 151 | scenarios, this relaxation is not allowed in cases where the BSS client |
Ilan Peer | 174e0cd | 2014-02-23 09:13:01 +0200 | [diff] [blame] | 152 | is associated to P2P GO and in addition the P2P GO instantiated on |
| 153 | a channel due to this relaxation should not allow connection from |
| 154 | non P2P clients. |
| 155 | |
| 156 | The regulatory core will apply these relaxations only for drivers that |
| 157 | support this feature by declaring the appropriate channel flags and |
| 158 | capabilities in their registration flow. |
| 159 | |
Johannes Berg | bc92afd | 2009-07-01 21:26:57 +0200 | [diff] [blame] | 160 | config CFG80211_DEFAULT_PS |
| 161 | bool "enable powersave by default" |
Johannes Berg | bc92afd | 2009-07-01 21:26:57 +0200 | [diff] [blame] | 162 | default y |
| 163 | help |
| 164 | This option enables powersave mode by default. |
| 165 | |
| 166 | If this causes your applications to misbehave you should fix your |
| 167 | applications instead -- they need to register their network |
| 168 | latency requirement, see Documentation/power/pm_qos_interface.txt. |
| 169 | |
Luis R. Rodriguez | 1ac6130 | 2009-05-02 00:37:21 -0400 | [diff] [blame] | 170 | config CFG80211_DEBUGFS |
| 171 | bool "cfg80211 DebugFS entries" |
Johannes Berg | 3d23e34 | 2009-09-29 23:27:28 +0200 | [diff] [blame] | 172 | depends on DEBUG_FS |
Luis R. Rodriguez | 1ac6130 | 2009-05-02 00:37:21 -0400 | [diff] [blame] | 173 | ---help--- |
Ola Olsson | 573a2b5 | 2016-01-10 18:41:42 +0100 | [diff] [blame] | 174 | You can enable this if you want debugfs entries for cfg80211. |
Luis R. Rodriguez | 1ac6130 | 2009-05-02 00:37:21 -0400 | [diff] [blame] | 175 | |
| 176 | If unsure, say N. |
| 177 | |
Johannes Berg | b686303 | 2015-10-15 09:25:18 +0200 | [diff] [blame] | 178 | config CFG80211_CRDA_SUPPORT |
Johannes Berg | c8c240e | 2015-10-15 14:35:41 +0200 | [diff] [blame] | 179 | bool "support CRDA" if EXPERT |
Johannes Berg | b686303 | 2015-10-15 09:25:18 +0200 | [diff] [blame] | 180 | default y |
Johannes Berg | b686303 | 2015-10-15 09:25:18 +0200 | [diff] [blame] | 181 | help |
| 182 | You should enable this option unless you know for sure you have no |
Johannes Berg | 007f6c5 | 2015-10-15 11:22:58 +0200 | [diff] [blame] | 183 | need for it, for example when using internal regdb (above) or the |
| 184 | database loaded as a firmware file. |
Johannes Berg | b686303 | 2015-10-15 09:25:18 +0200 | [diff] [blame] | 185 | |
| 186 | If unsure, say Y. |
| 187 | |
Johannes Berg | 3d23e34 | 2009-09-29 23:27:28 +0200 | [diff] [blame] | 188 | config CFG80211_WEXT |
Johannes Berg | 6d00ec0 | 2015-04-08 09:16:32 +0200 | [diff] [blame] | 189 | bool "cfg80211 wireless extensions compatibility" if !CFG80211_WEXT_EXPORT |
Johannes Berg | 3d23e34 | 2009-09-29 23:27:28 +0200 | [diff] [blame] | 190 | select WEXT_CORE |
Johannes Berg | 2afe38d | 2015-01-06 14:00:53 +0100 | [diff] [blame] | 191 | default y if CFG80211_WEXT_EXPORT |
Johannes Berg | 3d23e34 | 2009-09-29 23:27:28 +0200 | [diff] [blame] | 192 | help |
| 193 | Enable this option if you need old userspace for wireless |
| 194 | extensions with cfg80211-based drivers. |
Johannes Berg | 22bb1be | 2008-07-10 11:16:47 +0200 | [diff] [blame] | 195 | |
Johannes Berg | 2afe38d | 2015-01-06 14:00:53 +0100 | [diff] [blame] | 196 | config CFG80211_WEXT_EXPORT |
| 197 | bool |
Johannes Berg | 2afe38d | 2015-01-06 14:00:53 +0100 | [diff] [blame] | 198 | help |
| 199 | Drivers should select this option if they require cfg80211's |
| 200 | wext compatibility symbols to be exported. |
| 201 | |
Romain Naour | a788723 | 2018-02-25 13:39:56 +0100 | [diff] [blame] | 202 | endif # CFG80211 |
| 203 | |
John W. Linville | 7e272fc | 2008-09-24 18:13:14 -0400 | [diff] [blame] | 204 | config LIB80211 |
Johannes Berg | f368434 | 2012-11-16 00:06:20 +0100 | [diff] [blame] | 205 | tristate |
John W. Linville | 7e272fc | 2008-09-24 18:13:14 -0400 | [diff] [blame] | 206 | default n |
| 207 | help |
| 208 | This options enables a library of common routines used |
| 209 | by IEEE802.11 wireless LAN drivers. |
| 210 | |
Johannes Berg | f368434 | 2012-11-16 00:06:20 +0100 | [diff] [blame] | 211 | Drivers should select this themselves if needed. |
John W. Linville | 274bfb8 | 2008-10-29 11:35:05 -0400 | [diff] [blame] | 212 | |
| 213 | config LIB80211_CRYPT_WEP |
| 214 | tristate |
| 215 | |
| 216 | config LIB80211_CRYPT_CCMP |
| 217 | tristate |
| 218 | |
| 219 | config LIB80211_CRYPT_TKIP |
| 220 | tristate |
John W. Linville | 6f16bf3 | 2009-03-11 11:05:25 -0400 | [diff] [blame] | 221 | |
| 222 | config LIB80211_DEBUG |
| 223 | bool "lib80211 debugging messages" |
| 224 | depends on LIB80211 |
| 225 | default n |
| 226 | ---help--- |
| 227 | You can enable this if you want verbose debugging messages |
| 228 | from lib80211. |
| 229 | |
| 230 | If unsure, say N. |