]> bbs.cooldavid.org Git - net-next-2.6.git/blame - net/mac80211/Kconfig
scm: lower SCM_MAX_FD
[net-next-2.6.git] / net / mac80211 / Kconfig
CommitLineData
f0706e82
JB
1config MAC80211
2 tristate "Generic IEEE 802.11 Networking Stack (mac80211)"
0aa8204b 3 depends on CFG80211
f0706e82
JB
4 select CRYPTO
5 select CRYPTO_ECB
6 select CRYPTO_ARC4
7 select CRYPTO_AES
8 select CRC32
f0706e82 9 ---help---
c40896de
JL
10 This option enables the hardware independent IEEE 802.11
11 networking stack.
f0706e82 12
0aa8204b
JB
13comment "CFG80211 needs to be enabled for MAC80211"
14 depends on CFG80211=n
15
abd8ea22 16if MAC80211 != n
c21b39ac 17
c2ef355b
AS
18config MAC80211_HAS_RC
19 def_bool n
20
e5f5e733
AB
21config MAC80211_RC_PID
22 bool "PID controller based rate control algorithm" if EMBEDDED
c2ef355b 23 select MAC80211_HAS_RC
e5f5e733
AB
24 ---help---
25 This option enables a TX rate control algorithm for
26 mac80211 that uses a PID controller to select the TX
27 rate.
28
cccf129f 29config MAC80211_RC_MINSTREL
8eb41c93 30 bool "Minstrel" if EMBEDDED
c2ef355b 31 select MAC80211_HAS_RC
8eb41c93 32 default y
cccf129f
FF
33 ---help---
34 This option enables the 'minstrel' TX rate control algorithm
35
ec8aa669
FF
36config MAC80211_RC_MINSTREL_HT
37 bool "Minstrel 802.11n support" if EMBEDDED
38 depends on MAC80211_RC_MINSTREL
39 default y
40 ---help---
41 This option enables the 'minstrel_ht' TX rate control algorithm
42
c21b39ac
SB
43choice
44 prompt "Default rate control algorithm"
c2ef355b 45 depends on MAC80211_HAS_RC
8eb41c93 46 default MAC80211_RC_DEFAULT_MINSTREL
c21b39ac
SB
47 ---help---
48 This option selects the default rate control algorithm
49 mac80211 will use. Note that this default can still be
692105b8 50 overridden through the ieee80211_default_rc_algo module
4b475898 51 parameter if different algorithms are available.
c21b39ac
SB
52
53config MAC80211_RC_DEFAULT_PID
54 bool "PID controller based rate control algorithm"
e5f5e733 55 depends on MAC80211_RC_PID
c21b39ac
SB
56 ---help---
57 Select the PID controller based rate control as the
58 default rate control algorithm. You should choose
59 this unless you know what you are doing.
60
cccf129f
FF
61config MAC80211_RC_DEFAULT_MINSTREL
62 bool "Minstrel"
63 depends on MAC80211_RC_MINSTREL
64 ---help---
65 Select Minstrel as the default rate control algorithm.
66
67
c21b39ac 68endchoice
ac71c691 69
c21b39ac
SB
70config MAC80211_RC_DEFAULT
71 string
92b50c4b 72 default "minstrel_ht" if MAC80211_RC_DEFAULT_MINSTREL && MAC80211_RC_MINSTREL_HT
cccf129f 73 default "minstrel" if MAC80211_RC_DEFAULT_MINSTREL
8eb41c93 74 default "pid" if MAC80211_RC_DEFAULT_PID
c21b39ac
SB
75 default ""
76
abd8ea22 77endif
ad018375 78
c2ef355b
AS
79comment "Some wireless drivers require a rate control algorithm"
80 depends on MAC80211_HAS_RC=n
81
2f5ce793
JB
82config MAC80211_MESH
83 bool "Enable mac80211 mesh networking (pre-802.11s) support"
37659ff8 84 depends on MAC80211 && EXPERIMENTAL
2f5ce793 85 ---help---
5c142e8d 86 This options enables support of Draft 802.11s mesh networking.
18889231
JC
87 The implementation is based on Draft 2.08 of the Mesh Networking
88 amendment. However, no compliance with that draft is claimed or even
89 possible, as drafts leave a number of identifiers to be defined after
90 ratification. For more information visit http://o11s.org/.
2f5ce793 91
f0706e82
JB
92config MAC80211_LEDS
93 bool "Enable LED triggers"
bd8fd21d
LT
94 depends on MAC80211
95 select NEW_LEDS
96 select LEDS_TRIGGERS
f0706e82 97 ---help---
c40896de
JL
98 This option enables a few LED triggers for different
99 packet receive/transmit events.
f0706e82 100
e9f207f0
JB
101config MAC80211_DEBUGFS
102 bool "Export mac80211 internals in DebugFS"
103 depends on MAC80211 && DEBUG_FS
104 ---help---
105 Select this to see extensive information about
106 the internal state of mac80211 in debugfs.
107
108 Say N unless you know you need this.
109
f4ea83dd
JB
110menuconfig MAC80211_DEBUG_MENU
111 bool "Select mac80211 debugging features"
112 depends on MAC80211
113 ---help---
114 This option collects various mac80211 debug settings.
115
f4ea83dd
JB
116config MAC80211_NOINLINE
117 bool "Do not inline TX/RX handlers"
118 depends on MAC80211_DEBUG_MENU
f0706e82 119 ---help---
f4ea83dd
JB
120 This option affects code generation in mac80211, when
121 selected some functions are marked "noinline" to allow
122 easier debugging of problems in the transmit and receive
123 paths.
124
125 This option increases code size a bit and inserts a lot
126 of function calls in the code, but is otherwise safe to
127 enable.
f0706e82 128
f4ea83dd
JB
129 If unsure, say N unless you expect to be finding problems
130 in mac80211.
131
132config MAC80211_VERBOSE_DEBUG
133 bool "Verbose debugging output"
134 depends on MAC80211_DEBUG_MENU
135 ---help---
136 Selecting this option causes mac80211 to print out
137 many debugging messages. It should not be selected
138 on production systems as some of the messages are
139 remotely triggerable.
140
141 Do not select this option.
82b3cad9
RR
142
143config MAC80211_HT_DEBUG
f4ea83dd
JB
144 bool "Verbose HT debugging"
145 depends on MAC80211_DEBUG_MENU
c40896de
JL
146 ---help---
147 This option enables 802.11n High Throughput features
148 debug tracing output.
149
f4ea83dd
JB
150 It should not be selected on production systems as some
151 of the messages are remotely triggerable.
f0706e82 152
f4ea83dd
JB
153 Do not select this option.
154
155config MAC80211_TKIP_DEBUG
156 bool "Verbose TKIP debugging"
157 depends on MAC80211_DEBUG_MENU
158 ---help---
159 Selecting this option causes mac80211 to print out
160 very verbose TKIP debugging messages. It should not
161 be selected on production systems as those messages
162 are remotely triggerable.
163
164 Do not select this option.
165
166config MAC80211_IBSS_DEBUG
167 bool "Verbose IBSS debugging"
168 depends on MAC80211_DEBUG_MENU
169 ---help---
170 Selecting this option causes mac80211 to print out
171 very verbose IBSS debugging messages. It should not
172 be selected on production systems as those messages
173 are remotely triggerable.
174
175 Do not select this option.
176
177config MAC80211_VERBOSE_PS_DEBUG
178 bool "Verbose powersave mode debugging"
179 depends on MAC80211_DEBUG_MENU
180 ---help---
181 Selecting this option causes mac80211 to print out very
182 verbose power save mode debugging messages (when mac80211
183 is an AP and has power saving stations.)
184 It should not be selected on production systems as those
185 messages are remotely triggerable.
186
187 Do not select this option.
188
189config MAC80211_VERBOSE_MPL_DEBUG
190 bool "Verbose mesh peer link debugging"
191 depends on MAC80211_DEBUG_MENU
192 depends on MAC80211_MESH
193 ---help---
194 Selecting this option causes mac80211 to print out very
195 verbose mesh peer link debugging messages (when mac80211
196 is taking part in a mesh network).
197 It should not be selected on production systems as those
198 messages are remotely triggerable.
199
200 Do not select this option.
f0706e82 201
27db2e42
RP
202config MAC80211_VERBOSE_MHWMP_DEBUG
203 bool "Verbose mesh HWMP routing debugging"
204 depends on MAC80211_DEBUG_MENU
205 depends on MAC80211_MESH
206 ---help---
207 Selecting this option causes mac80211 to print out very
208 verbose mesh routing (HWMP) debugging messages (when mac80211
209 is taking part in a mesh network).
210 It should not be selected on production systems as those
211 messages are remotely triggerable.
212
213 Do not select this option.
214
f0706e82
JB
215config MAC80211_DEBUG_COUNTERS
216 bool "Extra statistics for TX/RX debugging"
f4ea83dd
JB
217 depends on MAC80211_DEBUG_MENU
218 depends on MAC80211_DEBUGFS
f0706e82 219 ---help---
f4ea83dd
JB
220 Selecting this option causes mac80211 to keep additional
221 and very verbose statistics about TX and RX handler use
222 and show them in debugfs.
2f5ce793 223
f4ea83dd 224 If unsure, say N.
0a2b8bb2
JB
225
226config MAC80211_DRIVER_API_TRACER
227 bool "Driver API tracer"
228 depends on MAC80211_DEBUG_MENU
229 depends on EVENT_TRACING
230 help
231 Say Y here to make mac80211 register with the ftrace
b5878a2d
JB
232 framework for the driver API -- you can then see which
233 driver methods it is calling and which API functions
234 drivers are calling by looking at the trace.
0a2b8bb2 235
b5878a2d 236 If unsure, say Y.