xref: /linux/net/wireless/Kconfig (revision b275f28535fc774325bb8ad5f664e6c44a8fbc9b)
1704232c2SJohannes Bergconfig CFG80211
2*b275f285SLuis R. Rodriguez	tristate "cfg80211 - wireless configuration API"
31f87f7d3SJohannes Berg	depends on RFKILL || !RFKILL
4*b275f285SLuis R. Rodriguez	---help---
5*b275f285SLuis R. Rodriguez	  cfg80211 is the Linux wireless LAN (802.11) configuration API.
6*b275f285SLuis R. Rodriguez	  Enable this if you have a wireless device.
7*b275f285SLuis R. Rodriguez
8*b275f285SLuis R. Rodriguez	  For more information refer to documentation on the wireless wiki:
9*b275f285SLuis R. Rodriguez
10*b275f285SLuis R. Rodriguez	  http://wireless.kernel.org/en/developers/Documentation/cfg80211
11*b275f285SLuis R. Rodriguez
12*b275f285SLuis R. Rodriguez	  When built as a module it will be called cfg80211.
13704232c2SJohannes Berg
14aff89a9bSJohannes Bergconfig NL80211_TESTMODE
15aff89a9bSJohannes Berg	bool "nl80211 testmode command"
16aff89a9bSJohannes Berg	depends on CFG80211
17aff89a9bSJohannes Berg	help
18aff89a9bSJohannes Berg	  The nl80211 testmode command helps implementing things like
19aff89a9bSJohannes Berg	  factory calibration or validation tools for wireless chips.
20aff89a9bSJohannes Berg
21aff89a9bSJohannes Berg	  Select this option ONLY for kernels that are specifically
22aff89a9bSJohannes Berg	  built for such purposes.
23aff89a9bSJohannes Berg
24aff89a9bSJohannes Berg	  Debugging tools that are supposed to end up in the hands of
25aff89a9bSJohannes Berg	  users should better be implemented with debugfs.
26aff89a9bSJohannes Berg
27aff89a9bSJohannes Berg	  Say N.
28aff89a9bSJohannes Berg
29f7969969SJohannes Bergconfig CFG80211_DEVELOPER_WARNINGS
30f7969969SJohannes Berg	bool "enable developer warnings"
31f7969969SJohannes Berg	depends on CFG80211
32f7969969SJohannes Berg	default n
33f7969969SJohannes Berg	help
34f7969969SJohannes Berg	  This option enables some additional warnings that help
35f7969969SJohannes Berg	  cfg80211 developers and driver developers, but that can
36f7969969SJohannes Berg	  trigger due to races with userspace.
37f7969969SJohannes Berg
38f7969969SJohannes Berg	  For example, when a driver reports that it was disconnected
39f7969969SJohannes Berg	  from the AP, but the user disconnects manually at the same
40f7969969SJohannes Berg	  time, the warning might trigger spuriously due to races.
41f7969969SJohannes Berg
42f7969969SJohannes Berg	  Say Y only if you are developing cfg80211 or a driver based
43f7969969SJohannes Berg	  on it (or mac80211).
44f7969969SJohannes Berg
45f7969969SJohannes Berg
463f2355cbSLuis R. Rodriguezconfig CFG80211_REG_DEBUG
473f2355cbSLuis R. Rodriguez	bool "cfg80211 regulatory debugging"
483f2355cbSLuis R. Rodriguez	depends on CFG80211
493f2355cbSLuis R. Rodriguez	default n
503f2355cbSLuis R. Rodriguez	---help---
513f2355cbSLuis R. Rodriguez	  You can enable this if you want to debug regulatory changes.
52253850c1SLuis R. Rodriguez	  For more information on cfg80211 regulatory refer to the wireless
53253850c1SLuis R. Rodriguez	  wiki:
54253850c1SLuis R. Rodriguez
55253850c1SLuis R. Rodriguez	  http://wireless.kernel.org/en/developers/Regulatory
563f2355cbSLuis R. Rodriguez
573f2355cbSLuis R. Rodriguez	  If unsure, say N.
583f2355cbSLuis R. Rodriguez
59bc92afd9SJohannes Bergconfig CFG80211_DEFAULT_PS
60bc92afd9SJohannes Berg	bool "enable powersave by default"
61bc92afd9SJohannes Berg	depends on CFG80211
62bc92afd9SJohannes Berg	default y
63bc92afd9SJohannes Berg	help
64bc92afd9SJohannes Berg	  This option enables powersave mode by default.
65bc92afd9SJohannes Berg
66bc92afd9SJohannes Berg	  If this causes your applications to misbehave you should fix your
67bc92afd9SJohannes Berg	  applications instead -- they need to register their network
68bc92afd9SJohannes Berg	  latency requirement, see Documentation/power/pm_qos_interface.txt.
69bc92afd9SJohannes Berg
70bc92afd9SJohannes Bergconfig CFG80211_DEFAULT_PS_VALUE
71bc92afd9SJohannes Berg	int
72bc92afd9SJohannes Berg	default 1 if CFG80211_DEFAULT_PS
73bc92afd9SJohannes Berg	default 0
74bc92afd9SJohannes Berg
751ac61302SLuis R. Rodriguezconfig CFG80211_DEBUGFS
761ac61302SLuis R. Rodriguez	bool "cfg80211 DebugFS entries"
771ac61302SLuis R. Rodriguez	depends on CFG80211 && DEBUG_FS
781ac61302SLuis R. Rodriguez	---help---
791ac61302SLuis R. Rodriguez	  You can enable this if you want to debugfs entries for cfg80211.
801ac61302SLuis R. Rodriguez
811ac61302SLuis R. Rodriguez	  If unsure, say N.
821ac61302SLuis R. Rodriguez
83b2e1b302SLuis R. Rodriguezconfig WIRELESS_OLD_REGULATORY
845d6ffc53SDavide Pesavento	bool "Old wireless static regulatory definitions"
858a5117d8SLuis R. Rodriguez	default n
86b2e1b302SLuis R. Rodriguez	---help---
87b2e1b302SLuis R. Rodriguez	  This option enables the old static regulatory information
888a5117d8SLuis R. Rodriguez	  and uses it within the new framework. This option is available
898a5117d8SLuis R. Rodriguez	  for historical reasons and it is advised to leave it off.
90b2e1b302SLuis R. Rodriguez
918a5117d8SLuis R. Rodriguez	  For details see:
92b2e1b302SLuis R. Rodriguez
938a5117d8SLuis R. Rodriguez	  http://wireless.kernel.org/en/developers/Regulatory
94b2e1b302SLuis R. Rodriguez
958a5117d8SLuis R. Rodriguez	  Say N and if you say Y, please tell us why. The default is N.
96b2e1b302SLuis R. Rodriguez
972a5e1c0eSJohannes Bergconfig WIRELESS_EXT
982a5e1c0eSJohannes Berg	bool "Wireless extensions"
9989832402SJohannes Berg	default y
1002a5e1c0eSJohannes Berg	---help---
1012a5e1c0eSJohannes Berg	  This option enables the legacy wireless extensions
1022a5e1c0eSJohannes Berg	  (wireless network interface configuration via ioctls.)
1032a5e1c0eSJohannes Berg
10489832402SJohannes Berg	  Say Y unless you've upgraded all your userspace to use
10589832402SJohannes Berg	  nl80211 instead of wireless extensions.
10622bb1be4SJohannes Berg
10722bb1be4SJohannes Bergconfig WIRELESS_EXT_SYSFS
10822bb1be4SJohannes Berg	bool "Wireless extensions sysfs files"
10922bb1be4SJohannes Berg	default y
11022bb1be4SJohannes Berg	depends on WIRELESS_EXT && SYSFS
11122bb1be4SJohannes Berg	help
11222bb1be4SJohannes Berg	  This option enables the deprecated wireless statistics
11322bb1be4SJohannes Berg	  files in /sys/class/net/*/wireless/. The same information
11422bb1be4SJohannes Berg	  is available via the ioctls as well.
11522bb1be4SJohannes Berg
116d9664741SFlorian Mickler	  Say Y if you have programs using it, like old versions of
117d9664741SFlorian Mickler	  hal.
1187e272fcfSJohn W. Linville
1197e272fcfSJohn W. Linvilleconfig LIB80211
1207e272fcfSJohn W. Linville	tristate "Common routines for IEEE802.11 drivers"
1217e272fcfSJohn W. Linville	default n
1227e272fcfSJohn W. Linville	help
1237e272fcfSJohn W. Linville	  This options enables a library of common routines used
1247e272fcfSJohn W. Linville	  by IEEE802.11 wireless LAN drivers.
1257e272fcfSJohn W. Linville
1267e272fcfSJohn W. Linville	  Drivers should select this themselves if needed.  Say Y if
1277e272fcfSJohn W. Linville	  you want this built into your kernel.
128274bfb8dSJohn W. Linville
129274bfb8dSJohn W. Linvilleconfig LIB80211_CRYPT_WEP
130274bfb8dSJohn W. Linville	tristate
131274bfb8dSJohn W. Linville
132274bfb8dSJohn W. Linvilleconfig LIB80211_CRYPT_CCMP
133274bfb8dSJohn W. Linville	tristate
134274bfb8dSJohn W. Linville
135274bfb8dSJohn W. Linvilleconfig LIB80211_CRYPT_TKIP
136274bfb8dSJohn W. Linville	tristate
1376f16bf3bSJohn W. Linville
1386f16bf3bSJohn W. Linvilleconfig LIB80211_DEBUG
1396f16bf3bSJohn W. Linville	bool "lib80211 debugging messages"
1406f16bf3bSJohn W. Linville	depends on LIB80211
1416f16bf3bSJohn W. Linville	default n
1426f16bf3bSJohn W. Linville	---help---
1436f16bf3bSJohn W. Linville	  You can enable this if you want verbose debugging messages
1446f16bf3bSJohn W. Linville	  from lib80211.
1456f16bf3bSJohn W. Linville
1466f16bf3bSJohn W. Linville	  If unsure, say N.
147