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