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