xref: /linux/net/wireless/Kconfig (revision 007f6c5e6eb45c81ee89368a5f226572ae638831)
13d23e349SJohannes Bergconfig WIRELESS_EXT
23d23e349SJohannes Berg	bool
33d23e349SJohannes Berg
43d23e349SJohannes Bergconfig WEXT_CORE
53d23e349SJohannes Berg	def_bool y
63d23e349SJohannes Berg	depends on CFG80211_WEXT || WIRELESS_EXT
73d23e349SJohannes Berg
83d23e349SJohannes Bergconfig WEXT_PROC
93d23e349SJohannes Berg	def_bool y
103d23e349SJohannes Berg	depends on PROC_FS
113d23e349SJohannes Berg	depends on WEXT_CORE
123d23e349SJohannes Berg
133d23e349SJohannes Bergconfig WEXT_SPY
143d23e349SJohannes Berg	bool
153d23e349SJohannes Berg
163d23e349SJohannes Bergconfig WEXT_PRIV
173d23e349SJohannes Berg	bool
183d23e349SJohannes Berg
19704232c2SJohannes Bergconfig CFG80211
20b275f285SLuis R. Rodriguez	tristate "cfg80211 - wireless configuration API"
211f87f7d3SJohannes Berg	depends on RFKILL || !RFKILL
22*007f6c5eSJohannes Berg	select FW_LOADER
23b275f285SLuis R. Rodriguez	---help---
24b275f285SLuis R. Rodriguez	  cfg80211 is the Linux wireless LAN (802.11) configuration API.
25b275f285SLuis R. Rodriguez	  Enable this if you have a wireless device.
26b275f285SLuis R. Rodriguez
27b275f285SLuis R. Rodriguez	  For more information refer to documentation on the wireless wiki:
28b275f285SLuis R. Rodriguez
29b275f285SLuis R. Rodriguez	  http://wireless.kernel.org/en/developers/Documentation/cfg80211
30b275f285SLuis R. Rodriguez
31b275f285SLuis R. Rodriguez	  When built as a module it will be called cfg80211.
32704232c2SJohannes Berg
33aff89a9bSJohannes Bergconfig NL80211_TESTMODE
34aff89a9bSJohannes Berg	bool "nl80211 testmode command"
35aff89a9bSJohannes Berg	depends on CFG80211
36aff89a9bSJohannes Berg	help
37aff89a9bSJohannes Berg	  The nl80211 testmode command helps implementing things like
38aff89a9bSJohannes Berg	  factory calibration or validation tools for wireless chips.
39aff89a9bSJohannes Berg
40aff89a9bSJohannes Berg	  Select this option ONLY for kernels that are specifically
41aff89a9bSJohannes Berg	  built for such purposes.
42aff89a9bSJohannes Berg
43aff89a9bSJohannes Berg	  Debugging tools that are supposed to end up in the hands of
44aff89a9bSJohannes Berg	  users should better be implemented with debugfs.
45aff89a9bSJohannes Berg
46aff89a9bSJohannes Berg	  Say N.
47aff89a9bSJohannes Berg
48f7969969SJohannes Bergconfig CFG80211_DEVELOPER_WARNINGS
49f7969969SJohannes Berg	bool "enable developer warnings"
50f7969969SJohannes Berg	depends on CFG80211
51f7969969SJohannes Berg	default n
52f7969969SJohannes Berg	help
53f7969969SJohannes Berg	  This option enables some additional warnings that help
54573a2b51SOla Olsson	  cfg80211 developers and driver developers, but beware that
55573a2b51SOla Olsson	  they can also trigger due to races with userspace.
56f7969969SJohannes Berg
57f7969969SJohannes Berg	  For example, when a driver reports that it was disconnected
58f7969969SJohannes Berg	  from the AP, but the user disconnects manually at the same
59f7969969SJohannes Berg	  time, the warning might trigger spuriously due to races.
60f7969969SJohannes Berg
61f7969969SJohannes Berg	  Say Y only if you are developing cfg80211 or a driver based
62f7969969SJohannes Berg	  on it (or mac80211).
63f7969969SJohannes Berg
64f7969969SJohannes Berg
65b594bab9SLuis R. Rodriguezconfig CFG80211_CERTIFICATION_ONUS
66b594bab9SLuis R. Rodriguez	bool "cfg80211 certification onus"
67b594bab9SLuis R. Rodriguez	depends on CFG80211 && EXPERT
68b594bab9SLuis R. Rodriguez	default n
69b594bab9SLuis R. Rodriguez	---help---
70b594bab9SLuis R. Rodriguez	  You should disable this option unless you are both capable
71b594bab9SLuis R. Rodriguez	  and willing to ensure your system will remain regulatory
72b594bab9SLuis R. Rodriguez	  compliant with the features available under this option.
73b594bab9SLuis R. Rodriguez	  Some options may still be under heavy development and
74b594bab9SLuis R. Rodriguez	  for whatever reason regulatory compliance has not or
75b594bab9SLuis R. Rodriguez	  cannot yet be verified. Regulatory verification may at
76b594bab9SLuis R. Rodriguez	  times only be possible until you have the final system
77b594bab9SLuis R. Rodriguez	  in place.
78b594bab9SLuis R. Rodriguez
79b594bab9SLuis R. Rodriguez	  This option should only be enabled by system integrators
80b594bab9SLuis R. Rodriguez	  or distributions that have done work necessary to ensure
81b594bab9SLuis R. Rodriguez	  regulatory certification on the system with the enabled
82b594bab9SLuis R. Rodriguez	  features. Alternatively you can enable this option if
83b594bab9SLuis R. Rodriguez	  you are a wireless researcher and are working in a controlled
84b594bab9SLuis R. Rodriguez	  and approved environment by your local regulatory agency.
85b594bab9SLuis R. Rodriguez
8694fc661fSIlan Peerconfig CFG80211_REG_CELLULAR_HINTS
8794fc661fSIlan Peer	bool "cfg80211 regulatory support for cellular base station hints"
8894fc661fSIlan Peer	depends on CFG80211_CERTIFICATION_ONUS
8994fc661fSIlan Peer	---help---
9094fc661fSIlan Peer	  This option enables support for parsing regulatory hints
9194fc661fSIlan Peer	  from cellular base stations. If enabled and at least one driver
9294fc661fSIlan Peer	  claims support for parsing cellular base station hints the
9394fc661fSIlan Peer	  regulatory core will allow and parse these regulatory hints.
9494fc661fSIlan Peer	  The regulatory core will only apply these regulatory hints on
9594fc661fSIlan Peer	  drivers that support this feature. You should only enable this
9694fc661fSIlan Peer	  feature if you have tested and validated this feature on your
9794fc661fSIlan Peer	  systems.
9894fc661fSIlan Peer
99174e0cd2SIlan Peerconfig CFG80211_REG_RELAX_NO_IR
100174e0cd2SIlan Peer	bool "cfg80211 support for NO_IR relaxation"
101174e0cd2SIlan Peer	depends on CFG80211_CERTIFICATION_ONUS
102174e0cd2SIlan Peer	---help---
103174e0cd2SIlan Peer	 This option enables support for relaxation of the NO_IR flag for
104174e0cd2SIlan Peer	 situations that certain regulatory bodies have provided clarifications
105174e0cd2SIlan Peer	 on how relaxation can occur. This feature has an inherent dependency on
106174e0cd2SIlan Peer	 userspace features which must have been properly tested and as such is
107174e0cd2SIlan Peer	 not enabled by default.
108174e0cd2SIlan Peer
109174e0cd2SIlan Peer	 A relaxation feature example is allowing the operation of a P2P group
110174e0cd2SIlan Peer	 owner (GO) on channels marked with NO_IR if there is an additional BSS
111174e0cd2SIlan Peer	 interface which associated to an AP which userspace assumes or confirms
112174e0cd2SIlan Peer	 to be an authorized master, i.e., with radar detection support and DFS
113174e0cd2SIlan Peer	 capabilities. However, note that in order to not create daisy chain
114573a2b51SOla Olsson	 scenarios, this relaxation is not allowed in cases where the BSS client
115174e0cd2SIlan Peer	 is associated to P2P GO and in addition the P2P GO instantiated on
116174e0cd2SIlan Peer	 a channel due to this relaxation should not allow connection from
117174e0cd2SIlan Peer	 non P2P clients.
118174e0cd2SIlan Peer
119174e0cd2SIlan Peer	 The regulatory core will apply these relaxations only for drivers that
120174e0cd2SIlan Peer	 support this feature by declaring the appropriate channel flags and
121174e0cd2SIlan Peer	 capabilities in their registration flow.
122174e0cd2SIlan Peer
123bc92afd9SJohannes Bergconfig CFG80211_DEFAULT_PS
124bc92afd9SJohannes Berg	bool "enable powersave by default"
125bc92afd9SJohannes Berg	depends on CFG80211
126bc92afd9SJohannes Berg	default y
127bc92afd9SJohannes Berg	help
128bc92afd9SJohannes Berg	  This option enables powersave mode by default.
129bc92afd9SJohannes Berg
130bc92afd9SJohannes Berg	  If this causes your applications to misbehave you should fix your
131bc92afd9SJohannes Berg	  applications instead -- they need to register their network
132bc92afd9SJohannes Berg	  latency requirement, see Documentation/power/pm_qos_interface.txt.
133bc92afd9SJohannes Berg
1341ac61302SLuis R. Rodriguezconfig CFG80211_DEBUGFS
1351ac61302SLuis R. Rodriguez	bool "cfg80211 DebugFS entries"
1363d23e349SJohannes Berg	depends on CFG80211
1373d23e349SJohannes Berg	depends on DEBUG_FS
1381ac61302SLuis R. Rodriguez	---help---
139573a2b51SOla Olsson	  You can enable this if you want debugfs entries for cfg80211.
1401ac61302SLuis R. Rodriguez
1411ac61302SLuis R. Rodriguez	  If unsure, say N.
1421ac61302SLuis R. Rodriguez
1433b377ea9SJohn W. Linvilleconfig CFG80211_INTERNAL_REGDB
1446a108a14SDavid Rientjes	bool "use statically compiled regulatory rules database" if EXPERT
1453b377ea9SJohn W. Linville	default n
1463b377ea9SJohn W. Linville	depends on CFG80211
1473b377ea9SJohn W. Linville	---help---
1483b377ea9SJohn W. Linville	  This option generates an internal data structure representing
1493b377ea9SJohn W. Linville	  the wireless regulatory rules described in net/wireless/db.txt
1503b377ea9SJohn W. Linville	  and includes code to query that database. This is an alternative
1513b377ea9SJohn W. Linville	  to using CRDA for defining regulatory rules for the kernel.
1523b377ea9SJohn W. Linville
153fa96aabbSLuis R. Rodriguez	  Using this option requires some parsing of the db.txt at build time,
154fa96aabbSLuis R. Rodriguez	  the parser will be upkept with the latest wireless-regdb updates but
155fa96aabbSLuis R. Rodriguez	  older wireless-regdb formats will be ignored. The parser may later
156fa96aabbSLuis R. Rodriguez	  be replaced to avoid issues with conflicts on versions of
157fa96aabbSLuis R. Rodriguez	  wireless-regdb.
158fa96aabbSLuis R. Rodriguez
1593b377ea9SJohn W. Linville	  For details see:
1603b377ea9SJohn W. Linville
1613b377ea9SJohn W. Linville	  http://wireless.kernel.org/en/developers/Regulatory
1623b377ea9SJohn W. Linville
1633b377ea9SJohn W. Linville	  Most distributions have a CRDA package. So if unsure, say N.
1643b377ea9SJohn W. Linville
165b6863036SJohannes Bergconfig CFG80211_CRDA_SUPPORT
166b6863036SJohannes Berg	bool "support CRDA" if CFG80211_INTERNAL_REGDB
167b6863036SJohannes Berg	default y
168b6863036SJohannes Berg	depends on CFG80211
169b6863036SJohannes Berg	help
170b6863036SJohannes Berg	  You should enable this option unless you know for sure you have no
171*007f6c5eSJohannes Berg	  need for it, for example when using internal regdb (above) or the
172*007f6c5eSJohannes Berg	  database loaded as a firmware file.
173b6863036SJohannes Berg
174b6863036SJohannes Berg	  If unsure, say Y.
175b6863036SJohannes Berg
1763d23e349SJohannes Bergconfig CFG80211_WEXT
1776d00ec05SJohannes Berg	bool "cfg80211 wireless extensions compatibility" if !CFG80211_WEXT_EXPORT
1783d23e349SJohannes Berg	depends on CFG80211
1793d23e349SJohannes Berg	select WEXT_CORE
1802afe38d1SJohannes Berg	default y if CFG80211_WEXT_EXPORT
1813d23e349SJohannes Berg	help
1823d23e349SJohannes Berg	  Enable this option if you need old userspace for wireless
1833d23e349SJohannes Berg	  extensions with cfg80211-based drivers.
18422bb1be4SJohannes Berg
1852afe38d1SJohannes Bergconfig CFG80211_WEXT_EXPORT
1862afe38d1SJohannes Berg	bool
1872afe38d1SJohannes Berg	depends on CFG80211
1882afe38d1SJohannes Berg	help
1892afe38d1SJohannes Berg	  Drivers should select this option if they require cfg80211's
1902afe38d1SJohannes Berg	  wext compatibility symbols to be exported.
1912afe38d1SJohannes Berg
1927e272fcfSJohn W. Linvilleconfig LIB80211
193f3684343SJohannes Berg	tristate
1947e272fcfSJohn W. Linville	default n
1957e272fcfSJohn W. Linville	help
1967e272fcfSJohn W. Linville	  This options enables a library of common routines used
1977e272fcfSJohn W. Linville	  by IEEE802.11 wireless LAN drivers.
1987e272fcfSJohn W. Linville
199f3684343SJohannes Berg	  Drivers should select this themselves if needed.
200274bfb8dSJohn W. Linville
201274bfb8dSJohn W. Linvilleconfig LIB80211_CRYPT_WEP
202274bfb8dSJohn W. Linville	tristate
203274bfb8dSJohn W. Linville
204274bfb8dSJohn W. Linvilleconfig LIB80211_CRYPT_CCMP
205274bfb8dSJohn W. Linville	tristate
206274bfb8dSJohn W. Linville
207274bfb8dSJohn W. Linvilleconfig LIB80211_CRYPT_TKIP
208274bfb8dSJohn W. Linville	tristate
2096f16bf3bSJohn W. Linville
2106f16bf3bSJohn W. Linvilleconfig LIB80211_DEBUG
2116f16bf3bSJohn W. Linville	bool "lib80211 debugging messages"
2126f16bf3bSJohn W. Linville	depends on LIB80211
2136f16bf3bSJohn W. Linville	default n
2146f16bf3bSJohn W. Linville	---help---
2156f16bf3bSJohn W. Linville	  You can enable this if you want verbose debugging messages
2166f16bf3bSJohn W. Linville	  from lib80211.
2176f16bf3bSJohn W. Linville
2186f16bf3bSJohn W. Linville	  If unsure, say N.
219