xref: /linux/net/wireless/Kconfig (revision f7969969f416e593bcc7dc24abf3f9fd6c27136d)
1704232c2SJohannes Bergconfig CFG80211
2704232c2SJohannes Berg	tristate "Improved wireless configuration API"
31f87f7d3SJohannes Berg	depends on RFKILL || !RFKILL
4704232c2SJohannes Berg
5aff89a9bSJohannes Bergconfig NL80211_TESTMODE
6aff89a9bSJohannes Berg	bool "nl80211 testmode command"
7aff89a9bSJohannes Berg	depends on CFG80211
8aff89a9bSJohannes Berg	help
9aff89a9bSJohannes Berg	  The nl80211 testmode command helps implementing things like
10aff89a9bSJohannes Berg	  factory calibration or validation tools for wireless chips.
11aff89a9bSJohannes Berg
12aff89a9bSJohannes Berg	  Select this option ONLY for kernels that are specifically
13aff89a9bSJohannes Berg	  built for such purposes.
14aff89a9bSJohannes Berg
15aff89a9bSJohannes Berg	  Debugging tools that are supposed to end up in the hands of
16aff89a9bSJohannes Berg	  users should better be implemented with debugfs.
17aff89a9bSJohannes Berg
18aff89a9bSJohannes Berg	  Say N.
19aff89a9bSJohannes Berg
20*f7969969SJohannes Bergconfig CFG80211_DEVELOPER_WARNINGS
21*f7969969SJohannes Berg	bool "enable developer warnings"
22*f7969969SJohannes Berg	depends on CFG80211
23*f7969969SJohannes Berg	default n
24*f7969969SJohannes Berg	help
25*f7969969SJohannes Berg	  This option enables some additional warnings that help
26*f7969969SJohannes Berg	  cfg80211 developers and driver developers, but that can
27*f7969969SJohannes Berg	  trigger due to races with userspace.
28*f7969969SJohannes Berg
29*f7969969SJohannes Berg	  For example, when a driver reports that it was disconnected
30*f7969969SJohannes Berg	  from the AP, but the user disconnects manually at the same
31*f7969969SJohannes Berg	  time, the warning might trigger spuriously due to races.
32*f7969969SJohannes Berg
33*f7969969SJohannes Berg	  Say Y only if you are developing cfg80211 or a driver based
34*f7969969SJohannes Berg	  on it (or mac80211).
35*f7969969SJohannes Berg
36*f7969969SJohannes Berg
373f2355cbSLuis R. Rodriguezconfig CFG80211_REG_DEBUG
383f2355cbSLuis R. Rodriguez	bool "cfg80211 regulatory debugging"
393f2355cbSLuis R. Rodriguez	depends on CFG80211
403f2355cbSLuis R. Rodriguez	default n
413f2355cbSLuis R. Rodriguez	---help---
423f2355cbSLuis R. Rodriguez	  You can enable this if you want to debug regulatory changes.
433f2355cbSLuis R. Rodriguez
443f2355cbSLuis R. Rodriguez	  If unsure, say N.
453f2355cbSLuis R. Rodriguez
46bc92afd9SJohannes Bergconfig CFG80211_DEFAULT_PS
47bc92afd9SJohannes Berg	bool "enable powersave by default"
48bc92afd9SJohannes Berg	depends on CFG80211
49bc92afd9SJohannes Berg	default y
50bc92afd9SJohannes Berg	help
51bc92afd9SJohannes Berg	  This option enables powersave mode by default.
52bc92afd9SJohannes Berg
53bc92afd9SJohannes Berg	  If this causes your applications to misbehave you should fix your
54bc92afd9SJohannes Berg	  applications instead -- they need to register their network
55bc92afd9SJohannes Berg	  latency requirement, see Documentation/power/pm_qos_interface.txt.
56bc92afd9SJohannes Berg
57bc92afd9SJohannes Bergconfig CFG80211_DEFAULT_PS_VALUE
58bc92afd9SJohannes Berg	int
59bc92afd9SJohannes Berg	default 1 if CFG80211_DEFAULT_PS
60bc92afd9SJohannes Berg	default 0
61bc92afd9SJohannes Berg
621ac61302SLuis R. Rodriguezconfig CFG80211_DEBUGFS
631ac61302SLuis R. Rodriguez	bool "cfg80211 DebugFS entries"
641ac61302SLuis R. Rodriguez	depends on CFG80211 && DEBUG_FS
651ac61302SLuis R. Rodriguez	---help---
661ac61302SLuis R. Rodriguez	  You can enable this if you want to debugfs entries for cfg80211.
671ac61302SLuis R. Rodriguez
681ac61302SLuis R. Rodriguez	  If unsure, say N.
691ac61302SLuis R. Rodriguez
70b2e1b302SLuis R. Rodriguezconfig WIRELESS_OLD_REGULATORY
715d6ffc53SDavide Pesavento	bool "Old wireless static regulatory definitions"
728a5117d8SLuis R. Rodriguez	default n
73b2e1b302SLuis R. Rodriguez	---help---
74b2e1b302SLuis R. Rodriguez	  This option enables the old static regulatory information
758a5117d8SLuis R. Rodriguez	  and uses it within the new framework. This option is available
768a5117d8SLuis R. Rodriguez	  for historical reasons and it is advised to leave it off.
77b2e1b302SLuis R. Rodriguez
788a5117d8SLuis R. Rodriguez	  For details see:
79b2e1b302SLuis R. Rodriguez
808a5117d8SLuis R. Rodriguez	  http://wireless.kernel.org/en/developers/Regulatory
81b2e1b302SLuis R. Rodriguez
828a5117d8SLuis R. Rodriguez	  Say N and if you say Y, please tell us why. The default is N.
83b2e1b302SLuis R. Rodriguez
842a5e1c0eSJohannes Bergconfig WIRELESS_EXT
852a5e1c0eSJohannes Berg	bool "Wireless extensions"
8689832402SJohannes Berg	default y
872a5e1c0eSJohannes Berg	---help---
882a5e1c0eSJohannes Berg	  This option enables the legacy wireless extensions
892a5e1c0eSJohannes Berg	  (wireless network interface configuration via ioctls.)
902a5e1c0eSJohannes Berg
9189832402SJohannes Berg	  Say Y unless you've upgraded all your userspace to use
9289832402SJohannes Berg	  nl80211 instead of wireless extensions.
9322bb1be4SJohannes Berg
9422bb1be4SJohannes Bergconfig WIRELESS_EXT_SYSFS
9522bb1be4SJohannes Berg	bool "Wireless extensions sysfs files"
9622bb1be4SJohannes Berg	default y
9722bb1be4SJohannes Berg	depends on WIRELESS_EXT && SYSFS
9822bb1be4SJohannes Berg	help
9922bb1be4SJohannes Berg	  This option enables the deprecated wireless statistics
10022bb1be4SJohannes Berg	  files in /sys/class/net/*/wireless/. The same information
10122bb1be4SJohannes Berg	  is available via the ioctls as well.
10222bb1be4SJohannes Berg
103d9664741SFlorian Mickler	  Say Y if you have programs using it, like old versions of
104d9664741SFlorian Mickler	  hal.
1057e272fcfSJohn W. Linville
1067e272fcfSJohn W. Linvilleconfig LIB80211
1077e272fcfSJohn W. Linville	tristate "Common routines for IEEE802.11 drivers"
1087e272fcfSJohn W. Linville	default n
1097e272fcfSJohn W. Linville	help
1107e272fcfSJohn W. Linville	  This options enables a library of common routines used
1117e272fcfSJohn W. Linville	  by IEEE802.11 wireless LAN drivers.
1127e272fcfSJohn W. Linville
1137e272fcfSJohn W. Linville	  Drivers should select this themselves if needed.  Say Y if
1147e272fcfSJohn W. Linville	  you want this built into your kernel.
115274bfb8dSJohn W. Linville
116274bfb8dSJohn W. Linvilleconfig LIB80211_CRYPT_WEP
117274bfb8dSJohn W. Linville	tristate
118274bfb8dSJohn W. Linville
119274bfb8dSJohn W. Linvilleconfig LIB80211_CRYPT_CCMP
120274bfb8dSJohn W. Linville	tristate
121274bfb8dSJohn W. Linville
122274bfb8dSJohn W. Linvilleconfig LIB80211_CRYPT_TKIP
123274bfb8dSJohn W. Linville	tristate
1246f16bf3bSJohn W. Linville
1256f16bf3bSJohn W. Linvilleconfig LIB80211_DEBUG
1266f16bf3bSJohn W. Linville	bool "lib80211 debugging messages"
1276f16bf3bSJohn W. Linville	depends on LIB80211
1286f16bf3bSJohn W. Linville	default n
1296f16bf3bSJohn W. Linville	---help---
1306f16bf3bSJohn W. Linville	  You can enable this if you want verbose debugging messages
1316f16bf3bSJohn W. Linville	  from lib80211.
1326f16bf3bSJohn W. Linville
1336f16bf3bSJohn W. Linville	  If unsure, say N.
134