]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blame - net/wireless/Kconfig
wireless: support internal statically compiled regulatory database
[mirror_ubuntu-bionic-kernel.git] / net / wireless / Kconfig
CommitLineData
3d23e349
JB
1config WIRELESS_EXT
2 bool
3
4config WEXT_CORE
5 def_bool y
6 depends on CFG80211_WEXT || WIRELESS_EXT
7
8config WEXT_PROC
9 def_bool y
10 depends on PROC_FS
11 depends on WEXT_CORE
12
13config WEXT_SPY
14 bool
15
16config WEXT_PRIV
17 bool
18
704232c2 19config CFG80211
b275f285 20 tristate "cfg80211 - wireless configuration API"
1f87f7d3 21 depends on RFKILL || !RFKILL
b275f285
LR
22 ---help---
23 cfg80211 is the Linux wireless LAN (802.11) configuration API.
24 Enable this if you have a wireless device.
25
26 For more information refer to documentation on the wireless wiki:
27
28 http://wireless.kernel.org/en/developers/Documentation/cfg80211
29
30 When built as a module it will be called cfg80211.
704232c2 31
aff89a9b
JB
32config NL80211_TESTMODE
33 bool "nl80211 testmode command"
34 depends on CFG80211
35 help
36 The nl80211 testmode command helps implementing things like
37 factory calibration or validation tools for wireless chips.
38
39 Select this option ONLY for kernels that are specifically
40 built for such purposes.
41
42 Debugging tools that are supposed to end up in the hands of
43 users should better be implemented with debugfs.
44
45 Say N.
46
f7969969
JB
47config CFG80211_DEVELOPER_WARNINGS
48 bool "enable developer warnings"
49 depends on CFG80211
50 default n
51 help
52 This option enables some additional warnings that help
53 cfg80211 developers and driver developers, but that can
54 trigger due to races with userspace.
55
56 For example, when a driver reports that it was disconnected
57 from the AP, but the user disconnects manually at the same
58 time, the warning might trigger spuriously due to races.
59
60 Say Y only if you are developing cfg80211 or a driver based
61 on it (or mac80211).
62
63
3f2355cb
LR
64config CFG80211_REG_DEBUG
65 bool "cfg80211 regulatory debugging"
66 depends on CFG80211
67 default n
68 ---help---
69 You can enable this if you want to debug regulatory changes.
253850c1
LR
70 For more information on cfg80211 regulatory refer to the wireless
71 wiki:
72
73 http://wireless.kernel.org/en/developers/Regulatory
3f2355cb
LR
74
75 If unsure, say N.
76
bc92afd9
JB
77config CFG80211_DEFAULT_PS
78 bool "enable powersave by default"
79 depends on CFG80211
80 default y
81 help
82 This option enables powersave mode by default.
83
84 If this causes your applications to misbehave you should fix your
85 applications instead -- they need to register their network
86 latency requirement, see Documentation/power/pm_qos_interface.txt.
87
1ac61302
LR
88config CFG80211_DEBUGFS
89 bool "cfg80211 DebugFS entries"
3d23e349
JB
90 depends on CFG80211
91 depends on DEBUG_FS
1ac61302
LR
92 ---help---
93 You can enable this if you want to debugfs entries for cfg80211.
94
95 If unsure, say N.
96
b2e1b302 97config WIRELESS_OLD_REGULATORY
5d6ffc53 98 bool "Old wireless static regulatory definitions"
8a5117d8 99 default n
3d23e349 100 depends on CFG80211
b2e1b302
LR
101 ---help---
102 This option enables the old static regulatory information
8a5117d8
LR
103 and uses it within the new framework. This option is available
104 for historical reasons and it is advised to leave it off.
105
106 For details see:
107
108 http://wireless.kernel.org/en/developers/Regulatory
109
110 Say N and if you say Y, please tell us why. The default is N.
b2e1b302 111
3b377ea9
JL
112config CFG80211_INTERNAL_REGDB
113 bool "use statically compiled regulatory rules database" if EMBEDDED
114 default n
115 depends on CFG80211
116 ---help---
117 This option generates an internal data structure representing
118 the wireless regulatory rules described in net/wireless/db.txt
119 and includes code to query that database. This is an alternative
120 to using CRDA for defining regulatory rules for the kernel.
121
122 For details see:
123
124 http://wireless.kernel.org/en/developers/Regulatory
125
126 Most distributions have a CRDA package. So if unsure, say N.
127
3d23e349
JB
128config CFG80211_WEXT
129 bool "cfg80211 wireless extensions compatibility"
130 depends on CFG80211
131 select WEXT_CORE
89832402 132 default y
3d23e349
JB
133 help
134 Enable this option if you need old userspace for wireless
135 extensions with cfg80211-based drivers.
22bb1be4
JB
136
137config WIRELESS_EXT_SYSFS
138 bool "Wireless extensions sysfs files"
139 default y
3d23e349 140 depends on WEXT_CORE && SYSFS
22bb1be4
JB
141 help
142 This option enables the deprecated wireless statistics
143 files in /sys/class/net/*/wireless/. The same information
144 is available via the ioctls as well.
145
d9664741
FM
146 Say Y if you have programs using it, like old versions of
147 hal.
7e272fcf
JL
148
149config LIB80211
150 tristate "Common routines for IEEE802.11 drivers"
151 default n
152 help
153 This options enables a library of common routines used
154 by IEEE802.11 wireless LAN drivers.
155
156 Drivers should select this themselves if needed. Say Y if
157 you want this built into your kernel.
274bfb8d
JL
158
159config LIB80211_CRYPT_WEP
160 tristate
161
162config LIB80211_CRYPT_CCMP
163 tristate
164
165config LIB80211_CRYPT_TKIP
166 tristate
6f16bf3b
JL
167
168config LIB80211_DEBUG
169 bool "lib80211 debugging messages"
170 depends on LIB80211
171 default n
172 ---help---
173 You can enable this if you want verbose debugging messages
174 from lib80211.
175
176 If unsure, say N.