xref: /linux/net/wireless/Kconfig (revision 253850c10d1f9af46f4870616ed29f38ed39fd15)
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
20f7969969SJohannes Bergconfig CFG80211_DEVELOPER_WARNINGS
21f7969969SJohannes Berg	bool "enable developer warnings"
22f7969969SJohannes Berg	depends on CFG80211
23f7969969SJohannes Berg	default n
24f7969969SJohannes Berg	help
25f7969969SJohannes Berg	  This option enables some additional warnings that help
26f7969969SJohannes Berg	  cfg80211 developers and driver developers, but that can
27f7969969SJohannes Berg	  trigger due to races with userspace.
28f7969969SJohannes Berg
29f7969969SJohannes Berg	  For example, when a driver reports that it was disconnected
30f7969969SJohannes Berg	  from the AP, but the user disconnects manually at the same
31f7969969SJohannes Berg	  time, the warning might trigger spuriously due to races.
32f7969969SJohannes Berg
33f7969969SJohannes Berg	  Say Y only if you are developing cfg80211 or a driver based
34f7969969SJohannes Berg	  on it (or mac80211).
35f7969969SJohannes Berg
36f7969969SJohannes 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.
43*253850c1SLuis R. Rodriguez	  For more information on cfg80211 regulatory refer to the wireless
44*253850c1SLuis R. Rodriguez	  wiki:
45*253850c1SLuis R. Rodriguez
46*253850c1SLuis R. Rodriguez	  http://wireless.kernel.org/en/developers/Regulatory
473f2355cbSLuis R. Rodriguez
483f2355cbSLuis R. Rodriguez	  If unsure, say N.
493f2355cbSLuis R. Rodriguez
50bc92afd9SJohannes Bergconfig CFG80211_DEFAULT_PS
51bc92afd9SJohannes Berg	bool "enable powersave by default"
52bc92afd9SJohannes Berg	depends on CFG80211
53bc92afd9SJohannes Berg	default y
54bc92afd9SJohannes Berg	help
55bc92afd9SJohannes Berg	  This option enables powersave mode by default.
56bc92afd9SJohannes Berg
57bc92afd9SJohannes Berg	  If this causes your applications to misbehave you should fix your
58bc92afd9SJohannes Berg	  applications instead -- they need to register their network
59bc92afd9SJohannes Berg	  latency requirement, see Documentation/power/pm_qos_interface.txt.
60bc92afd9SJohannes Berg
61bc92afd9SJohannes Bergconfig CFG80211_DEFAULT_PS_VALUE
62bc92afd9SJohannes Berg	int
63bc92afd9SJohannes Berg	default 1 if CFG80211_DEFAULT_PS
64bc92afd9SJohannes Berg	default 0
65bc92afd9SJohannes Berg
661ac61302SLuis R. Rodriguezconfig CFG80211_DEBUGFS
671ac61302SLuis R. Rodriguez	bool "cfg80211 DebugFS entries"
681ac61302SLuis R. Rodriguez	depends on CFG80211 && DEBUG_FS
691ac61302SLuis R. Rodriguez	---help---
701ac61302SLuis R. Rodriguez	  You can enable this if you want to debugfs entries for cfg80211.
711ac61302SLuis R. Rodriguez
721ac61302SLuis R. Rodriguez	  If unsure, say N.
731ac61302SLuis R. Rodriguez
74b2e1b302SLuis R. Rodriguezconfig WIRELESS_OLD_REGULATORY
755d6ffc53SDavide Pesavento	bool "Old wireless static regulatory definitions"
768a5117d8SLuis R. Rodriguez	default n
77b2e1b302SLuis R. Rodriguez	---help---
78b2e1b302SLuis R. Rodriguez	  This option enables the old static regulatory information
798a5117d8SLuis R. Rodriguez	  and uses it within the new framework. This option is available
808a5117d8SLuis R. Rodriguez	  for historical reasons and it is advised to leave it off.
81b2e1b302SLuis R. Rodriguez
828a5117d8SLuis R. Rodriguez	  For details see:
83b2e1b302SLuis R. Rodriguez
848a5117d8SLuis R. Rodriguez	  http://wireless.kernel.org/en/developers/Regulatory
85b2e1b302SLuis R. Rodriguez
868a5117d8SLuis R. Rodriguez	  Say N and if you say Y, please tell us why. The default is N.
87b2e1b302SLuis R. Rodriguez
882a5e1c0eSJohannes Bergconfig WIRELESS_EXT
892a5e1c0eSJohannes Berg	bool "Wireless extensions"
9089832402SJohannes Berg	default y
912a5e1c0eSJohannes Berg	---help---
922a5e1c0eSJohannes Berg	  This option enables the legacy wireless extensions
932a5e1c0eSJohannes Berg	  (wireless network interface configuration via ioctls.)
942a5e1c0eSJohannes Berg
9589832402SJohannes Berg	  Say Y unless you've upgraded all your userspace to use
9689832402SJohannes Berg	  nl80211 instead of wireless extensions.
9722bb1be4SJohannes Berg
9822bb1be4SJohannes Bergconfig WIRELESS_EXT_SYSFS
9922bb1be4SJohannes Berg	bool "Wireless extensions sysfs files"
10022bb1be4SJohannes Berg	default y
10122bb1be4SJohannes Berg	depends on WIRELESS_EXT && SYSFS
10222bb1be4SJohannes Berg	help
10322bb1be4SJohannes Berg	  This option enables the deprecated wireless statistics
10422bb1be4SJohannes Berg	  files in /sys/class/net/*/wireless/. The same information
10522bb1be4SJohannes Berg	  is available via the ioctls as well.
10622bb1be4SJohannes Berg
107d9664741SFlorian Mickler	  Say Y if you have programs using it, like old versions of
108d9664741SFlorian Mickler	  hal.
1097e272fcfSJohn W. Linville
1107e272fcfSJohn W. Linvilleconfig LIB80211
1117e272fcfSJohn W. Linville	tristate "Common routines for IEEE802.11 drivers"
1127e272fcfSJohn W. Linville	default n
1137e272fcfSJohn W. Linville	help
1147e272fcfSJohn W. Linville	  This options enables a library of common routines used
1157e272fcfSJohn W. Linville	  by IEEE802.11 wireless LAN drivers.
1167e272fcfSJohn W. Linville
1177e272fcfSJohn W. Linville	  Drivers should select this themselves if needed.  Say Y if
1187e272fcfSJohn W. Linville	  you want this built into your kernel.
119274bfb8dSJohn W. Linville
120274bfb8dSJohn W. Linvilleconfig LIB80211_CRYPT_WEP
121274bfb8dSJohn W. Linville	tristate
122274bfb8dSJohn W. Linville
123274bfb8dSJohn W. Linvilleconfig LIB80211_CRYPT_CCMP
124274bfb8dSJohn W. Linville	tristate
125274bfb8dSJohn W. Linville
126274bfb8dSJohn W. Linvilleconfig LIB80211_CRYPT_TKIP
127274bfb8dSJohn W. Linville	tristate
1286f16bf3bSJohn W. Linville
1296f16bf3bSJohn W. Linvilleconfig LIB80211_DEBUG
1306f16bf3bSJohn W. Linville	bool "lib80211 debugging messages"
1316f16bf3bSJohn W. Linville	depends on LIB80211
1326f16bf3bSJohn W. Linville	default n
1336f16bf3bSJohn W. Linville	---help---
1346f16bf3bSJohn W. Linville	  You can enable this if you want verbose debugging messages
1356f16bf3bSJohn W. Linville	  from lib80211.
1366f16bf3bSJohn W. Linville
1376f16bf3bSJohn W. Linville	  If unsure, say N.
138