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