xref: /linux/net/wireless/Kconfig (revision 3b377ea9d4efc94dc52fe41b4dfdb463635ab298)
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
22b275f285SLuis R. Rodriguez	---help---
23b275f285SLuis R. Rodriguez	  cfg80211 is the Linux wireless LAN (802.11) configuration API.
24b275f285SLuis R. Rodriguez	  Enable this if you have a wireless device.
25b275f285SLuis R. Rodriguez
26b275f285SLuis R. Rodriguez	  For more information refer to documentation on the wireless wiki:
27b275f285SLuis R. Rodriguez
28b275f285SLuis R. Rodriguez	  http://wireless.kernel.org/en/developers/Documentation/cfg80211
29b275f285SLuis R. Rodriguez
30b275f285SLuis R. Rodriguez	  When built as a module it will be called cfg80211.
31704232c2SJohannes Berg
32aff89a9bSJohannes Bergconfig NL80211_TESTMODE
33aff89a9bSJohannes Berg	bool "nl80211 testmode command"
34aff89a9bSJohannes Berg	depends on CFG80211
35aff89a9bSJohannes Berg	help
36aff89a9bSJohannes Berg	  The nl80211 testmode command helps implementing things like
37aff89a9bSJohannes Berg	  factory calibration or validation tools for wireless chips.
38aff89a9bSJohannes Berg
39aff89a9bSJohannes Berg	  Select this option ONLY for kernels that are specifically
40aff89a9bSJohannes Berg	  built for such purposes.
41aff89a9bSJohannes Berg
42aff89a9bSJohannes Berg	  Debugging tools that are supposed to end up in the hands of
43aff89a9bSJohannes Berg	  users should better be implemented with debugfs.
44aff89a9bSJohannes Berg
45aff89a9bSJohannes Berg	  Say N.
46aff89a9bSJohannes Berg
47f7969969SJohannes Bergconfig CFG80211_DEVELOPER_WARNINGS
48f7969969SJohannes Berg	bool "enable developer warnings"
49f7969969SJohannes Berg	depends on CFG80211
50f7969969SJohannes Berg	default n
51f7969969SJohannes Berg	help
52f7969969SJohannes Berg	  This option enables some additional warnings that help
53f7969969SJohannes Berg	  cfg80211 developers and driver developers, but that can
54f7969969SJohannes Berg	  trigger due to races with userspace.
55f7969969SJohannes Berg
56f7969969SJohannes Berg	  For example, when a driver reports that it was disconnected
57f7969969SJohannes Berg	  from the AP, but the user disconnects manually at the same
58f7969969SJohannes Berg	  time, the warning might trigger spuriously due to races.
59f7969969SJohannes Berg
60f7969969SJohannes Berg	  Say Y only if you are developing cfg80211 or a driver based
61f7969969SJohannes Berg	  on it (or mac80211).
62f7969969SJohannes Berg
63f7969969SJohannes Berg
643f2355cbSLuis R. Rodriguezconfig CFG80211_REG_DEBUG
653f2355cbSLuis R. Rodriguez	bool "cfg80211 regulatory debugging"
663f2355cbSLuis R. Rodriguez	depends on CFG80211
673f2355cbSLuis R. Rodriguez	default n
683f2355cbSLuis R. Rodriguez	---help---
693f2355cbSLuis R. Rodriguez	  You can enable this if you want to debug regulatory changes.
70253850c1SLuis R. Rodriguez	  For more information on cfg80211 regulatory refer to the wireless
71253850c1SLuis R. Rodriguez	  wiki:
72253850c1SLuis R. Rodriguez
73253850c1SLuis R. Rodriguez	  http://wireless.kernel.org/en/developers/Regulatory
743f2355cbSLuis R. Rodriguez
753f2355cbSLuis R. Rodriguez	  If unsure, say N.
763f2355cbSLuis R. Rodriguez
77bc92afd9SJohannes Bergconfig CFG80211_DEFAULT_PS
78bc92afd9SJohannes Berg	bool "enable powersave by default"
79bc92afd9SJohannes Berg	depends on CFG80211
80bc92afd9SJohannes Berg	default y
81bc92afd9SJohannes Berg	help
82bc92afd9SJohannes Berg	  This option enables powersave mode by default.
83bc92afd9SJohannes Berg
84bc92afd9SJohannes Berg	  If this causes your applications to misbehave you should fix your
85bc92afd9SJohannes Berg	  applications instead -- they need to register their network
86bc92afd9SJohannes Berg	  latency requirement, see Documentation/power/pm_qos_interface.txt.
87bc92afd9SJohannes Berg
881ac61302SLuis R. Rodriguezconfig CFG80211_DEBUGFS
891ac61302SLuis R. Rodriguez	bool "cfg80211 DebugFS entries"
903d23e349SJohannes Berg	depends on CFG80211
913d23e349SJohannes Berg	depends on DEBUG_FS
921ac61302SLuis R. Rodriguez	---help---
931ac61302SLuis R. Rodriguez	  You can enable this if you want to debugfs entries for cfg80211.
941ac61302SLuis R. Rodriguez
951ac61302SLuis R. Rodriguez	  If unsure, say N.
961ac61302SLuis R. Rodriguez
97b2e1b302SLuis R. Rodriguezconfig WIRELESS_OLD_REGULATORY
985d6ffc53SDavide Pesavento	bool "Old wireless static regulatory definitions"
998a5117d8SLuis R. Rodriguez	default n
1003d23e349SJohannes Berg	depends on CFG80211
101b2e1b302SLuis R. Rodriguez	---help---
102b2e1b302SLuis R. Rodriguez	  This option enables the old static regulatory information
1038a5117d8SLuis R. Rodriguez	  and uses it within the new framework. This option is available
1048a5117d8SLuis R. Rodriguez	  for historical reasons and it is advised to leave it off.
105b2e1b302SLuis R. Rodriguez
1068a5117d8SLuis R. Rodriguez	  For details see:
107b2e1b302SLuis R. Rodriguez
1088a5117d8SLuis R. Rodriguez	  http://wireless.kernel.org/en/developers/Regulatory
109b2e1b302SLuis R. Rodriguez
1108a5117d8SLuis R. Rodriguez	  Say N and if you say Y, please tell us why. The default is N.
111b2e1b302SLuis R. Rodriguez
112*3b377ea9SJohn W. Linvilleconfig CFG80211_INTERNAL_REGDB
113*3b377ea9SJohn W. Linville	bool "use statically compiled regulatory rules database" if EMBEDDED
114*3b377ea9SJohn W. Linville	default n
115*3b377ea9SJohn W. Linville	depends on CFG80211
116*3b377ea9SJohn W. Linville	---help---
117*3b377ea9SJohn W. Linville	  This option generates an internal data structure representing
118*3b377ea9SJohn W. Linville	  the wireless regulatory rules described in net/wireless/db.txt
119*3b377ea9SJohn W. Linville	  and includes code to query that database.  This is an alternative
120*3b377ea9SJohn W. Linville	  to using CRDA for defining regulatory rules for the kernel.
121*3b377ea9SJohn W. Linville
122*3b377ea9SJohn W. Linville	  For details see:
123*3b377ea9SJohn W. Linville
124*3b377ea9SJohn W. Linville	  http://wireless.kernel.org/en/developers/Regulatory
125*3b377ea9SJohn W. Linville
126*3b377ea9SJohn W. Linville	  Most distributions have a CRDA package.  So if unsure, say N.
127*3b377ea9SJohn W. Linville
1283d23e349SJohannes Bergconfig CFG80211_WEXT
1293d23e349SJohannes Berg	bool "cfg80211 wireless extensions compatibility"
1303d23e349SJohannes Berg	depends on CFG80211
1313d23e349SJohannes Berg	select WEXT_CORE
13289832402SJohannes Berg	default y
1333d23e349SJohannes Berg	help
1343d23e349SJohannes Berg	  Enable this option if you need old userspace for wireless
1353d23e349SJohannes Berg	  extensions with cfg80211-based drivers.
13622bb1be4SJohannes Berg
13722bb1be4SJohannes Bergconfig WIRELESS_EXT_SYSFS
13822bb1be4SJohannes Berg	bool "Wireless extensions sysfs files"
13922bb1be4SJohannes Berg	default y
1403d23e349SJohannes Berg	depends on WEXT_CORE && SYSFS
14122bb1be4SJohannes Berg	help
14222bb1be4SJohannes Berg	  This option enables the deprecated wireless statistics
14322bb1be4SJohannes Berg	  files in /sys/class/net/*/wireless/. The same information
14422bb1be4SJohannes Berg	  is available via the ioctls as well.
14522bb1be4SJohannes Berg
146d9664741SFlorian Mickler	  Say Y if you have programs using it, like old versions of
147d9664741SFlorian Mickler	  hal.
1487e272fcfSJohn W. Linville
1497e272fcfSJohn W. Linvilleconfig LIB80211
1507e272fcfSJohn W. Linville	tristate "Common routines for IEEE802.11 drivers"
1517e272fcfSJohn W. Linville	default n
1527e272fcfSJohn W. Linville	help
1537e272fcfSJohn W. Linville	  This options enables a library of common routines used
1547e272fcfSJohn W. Linville	  by IEEE802.11 wireless LAN drivers.
1557e272fcfSJohn W. Linville
1567e272fcfSJohn W. Linville	  Drivers should select this themselves if needed.  Say Y if
1577e272fcfSJohn W. Linville	  you want this built into your kernel.
158274bfb8dSJohn W. Linville
159274bfb8dSJohn W. Linvilleconfig LIB80211_CRYPT_WEP
160274bfb8dSJohn W. Linville	tristate
161274bfb8dSJohn W. Linville
162274bfb8dSJohn W. Linvilleconfig LIB80211_CRYPT_CCMP
163274bfb8dSJohn W. Linville	tristate
164274bfb8dSJohn W. Linville
165274bfb8dSJohn W. Linvilleconfig LIB80211_CRYPT_TKIP
166274bfb8dSJohn W. Linville	tristate
1676f16bf3bSJohn W. Linville
1686f16bf3bSJohn W. Linvilleconfig LIB80211_DEBUG
1696f16bf3bSJohn W. Linville	bool "lib80211 debugging messages"
1706f16bf3bSJohn W. Linville	depends on LIB80211
1716f16bf3bSJohn W. Linville	default n
1726f16bf3bSJohn W. Linville	---help---
1736f16bf3bSJohn W. Linville	  You can enable this if you want verbose debugging messages
1746f16bf3bSJohn W. Linville	  from lib80211.
1756f16bf3bSJohn W. Linville
1766f16bf3bSJohn W. Linville	  If unsure, say N.
177