blob: 8427518e4f20781dd92d56843fa55e0df0f15506 [file] [log] [blame]
Jiri Bencf0706e82007-05-05 11:45:53 -07001config MAC80211
2 tristate "Generic IEEE 802.11 Networking Stack (mac80211)"
Jiri Bencf0706e82007-05-05 11:45:53 -07003 select CRYPTO
4 select CRYPTO_ECB
5 select CRYPTO_ARC4
6 select CRYPTO_AES
7 select CRC32
8 select WIRELESS_EXT
9 select CFG80211
Jiri Bencf0706e82007-05-05 11:45:53 -070010 ---help---
John W. Linvillec40896d2007-12-21 00:44:59 -050011 This option enables the hardware independent IEEE 802.11
12 networking stack.
Jiri Bencf0706e82007-05-05 11:45:53 -070013
Johannes Berg4b475892008-01-02 15:17:03 +010014menu "Rate control algorithm selection"
15 depends on MAC80211 != n
Johannes Bergac71c692007-10-28 14:17:44 +010016
Adrian Bunke5f5e732008-06-26 13:38:13 +030017config MAC80211_RC_PID
18 bool "PID controller based rate control algorithm" if EMBEDDED
19 default y
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
Stefano Brivioc21b39a2007-12-19 01:26:16 +010025choice
26 prompt "Default rate control algorithm"
27 default MAC80211_RC_DEFAULT_PID
Stefano Brivioc21b39a2007-12-19 01:26:16 +010028 ---help---
29 This option selects the default rate control algorithm
30 mac80211 will use. Note that this default can still be
31 overriden through the ieee80211_default_rc_algo module
Johannes Berg4b475892008-01-02 15:17:03 +010032 parameter if different algorithms are available.
Johannes Bergac71c692007-10-28 14:17:44 +010033
Stefano Brivioc21b39a2007-12-19 01:26:16 +010034config MAC80211_RC_DEFAULT_PID
35 bool "PID controller based rate control algorithm"
Adrian Bunke5f5e732008-06-26 13:38:13 +030036 depends on MAC80211_RC_PID
Stefano Brivioc21b39a2007-12-19 01:26:16 +010037 ---help---
38 Select the PID controller based rate control as the
39 default rate control algorithm. You should choose
40 this unless you know what you are doing.
41
Stefano Brivioc21b39a2007-12-19 01:26:16 +010042endchoice
43
44config MAC80211_RC_DEFAULT
45 string
Stefano Brivioc21b39a2007-12-19 01:26:16 +010046 default "pid" if MAC80211_RC_DEFAULT_PID
Stefano Brivioc21b39a2007-12-19 01:26:16 +010047 default ""
48
Johannes Berg4b475892008-01-02 15:17:03 +010049endmenu
Mattias Nisslerad018372007-12-19 01:25:57 +010050
Johannes Berg2f5ce792008-02-23 15:17:21 +010051config MAC80211_MESH
52 bool "Enable mac80211 mesh networking (pre-802.11s) support"
Luis Carlos Cobo37659ff2008-02-29 12:13:38 -080053 depends on MAC80211 && EXPERIMENTAL
Johannes Berg2f5ce792008-02-23 15:17:21 +010054 ---help---
Johannes Berg5c142e82008-02-25 10:13:31 +010055 This options enables support of Draft 802.11s mesh networking.
56 The implementation is based on Draft 1.08 of the Mesh Networking
57 amendment. For more information visit http://o11s.org/.
Johannes Berg2f5ce792008-02-23 15:17:21 +010058
59
Jiri Bencf0706e82007-05-05 11:45:53 -070060config MAC80211_LEDS
61 bool "Enable LED triggers"
Luca Tettamantibd8fd212008-04-27 15:34:55 -070062 depends on MAC80211
63 select NEW_LEDS
64 select LEDS_TRIGGERS
Jiri Bencf0706e82007-05-05 11:45:53 -070065 ---help---
John W. Linvillec40896d2007-12-21 00:44:59 -050066 This option enables a few LED triggers for different
67 packet receive/transmit events.
Jiri Bencf0706e82007-05-05 11:45:53 -070068
Jiri Bence9f207f2007-05-05 11:46:38 -070069config MAC80211_DEBUGFS
70 bool "Export mac80211 internals in DebugFS"
71 depends on MAC80211 && DEBUG_FS
72 ---help---
73 Select this to see extensive information about
74 the internal state of mac80211 in debugfs.
75
76 Say N unless you know you need this.
77
Johannes Bergf4ea83d2008-06-30 15:10:46 +020078menuconfig MAC80211_DEBUG_MENU
79 bool "Select mac80211 debugging features"
80 depends on MAC80211
81 ---help---
82 This option collects various mac80211 debug settings.
83
Johannes Berg6feeb8a2008-01-29 16:57:51 +010084config MAC80211_DEBUG_PACKET_ALIGNMENT
85 bool "Enable packet alignment debugging"
Johannes Bergf4ea83d2008-06-30 15:10:46 +020086 depends on MAC80211_DEBUG_MENU
87 ---help---
Johannes Berg6feeb8a2008-01-29 16:57:51 +010088 This option is recommended for driver authors and strongly
89 discouraged for everybody else, it will trigger a warning
90 when a driver hands mac80211 a buffer that is aligned in
91 a way that will cause problems with the IP stack on some
92 architectures.
93
94 Say N unless you're writing a mac80211 based driver.
95
Johannes Bergf4ea83d2008-06-30 15:10:46 +020096config MAC80211_NOINLINE
97 bool "Do not inline TX/RX handlers"
98 depends on MAC80211_DEBUG_MENU
Jiri Bencf0706e82007-05-05 11:45:53 -070099 ---help---
Johannes Bergf4ea83d2008-06-30 15:10:46 +0200100 This option affects code generation in mac80211, when
101 selected some functions are marked "noinline" to allow
102 easier debugging of problems in the transmit and receive
103 paths.
Jiri Bencf0706e82007-05-05 11:45:53 -0700104
Johannes Bergf4ea83d2008-06-30 15:10:46 +0200105 This option increases code size a bit and inserts a lot
106 of function calls in the code, but is otherwise safe to
107 enable.
108
109 If unsure, say N unless you expect to be finding problems
110 in mac80211.
111
112config MAC80211_VERBOSE_DEBUG
113 bool "Verbose debugging output"
114 depends on MAC80211_DEBUG_MENU
115 ---help---
116 Selecting this option causes mac80211 to print out
117 many debugging messages. It should not be selected
118 on production systems as some of the messages are
119 remotely triggerable.
120
121 Do not select this option.
Jiri Bencf0706e82007-05-05 11:45:53 -0700122
Ron Rindjunsky82b3cad2007-12-16 16:09:26 -0800123config MAC80211_HT_DEBUG
Johannes Bergf4ea83d2008-06-30 15:10:46 +0200124 bool "Verbose HT debugging"
125 depends on MAC80211_DEBUG_MENU
John W. Linvillec40896d2007-12-21 00:44:59 -0500126 ---help---
127 This option enables 802.11n High Throughput features
128 debug tracing output.
Ron Rindjunsky82b3cad2007-12-16 16:09:26 -0800129
Johannes Bergf4ea83d2008-06-30 15:10:46 +0200130 It should not be selected on production systems as some
131 of the messages are remotely triggerable.
Ron Rindjunsky82b3cad2007-12-16 16:09:26 -0800132
Johannes Bergf4ea83d2008-06-30 15:10:46 +0200133 Do not select this option.
134
135config MAC80211_TKIP_DEBUG
136 bool "Verbose TKIP debugging"
137 depends on MAC80211_DEBUG_MENU
138 ---help---
139 Selecting this option causes mac80211 to print out
140 very verbose TKIP debugging messages. It should not
141 be selected on production systems as those messages
142 are remotely triggerable.
143
144 Do not select this option.
145
146config MAC80211_IBSS_DEBUG
147 bool "Verbose IBSS debugging"
148 depends on MAC80211_DEBUG_MENU
149 ---help---
150 Selecting this option causes mac80211 to print out
151 very verbose IBSS debugging messages. It should not
152 be selected on production systems as those messages
153 are remotely triggerable.
154
155 Do not select this option.
156
157config MAC80211_VERBOSE_PS_DEBUG
158 bool "Verbose powersave mode debugging"
159 depends on MAC80211_DEBUG_MENU
160 ---help---
161 Selecting this option causes mac80211 to print out very
162 verbose power save mode debugging messages (when mac80211
163 is an AP and has power saving stations.)
164 It should not be selected on production systems as those
165 messages are remotely triggerable.
166
167 Do not select this option.
168
169config MAC80211_VERBOSE_MPL_DEBUG
170 bool "Verbose mesh peer link debugging"
171 depends on MAC80211_DEBUG_MENU
172 depends on MAC80211_MESH
173 ---help---
174 Selecting this option causes mac80211 to print out very
175 verbose mesh peer link debugging messages (when mac80211
176 is taking part in a mesh network).
177 It should not be selected on production systems as those
178 messages are remotely triggerable.
179
180 Do not select this option.
Jiri Bencf0706e82007-05-05 11:45:53 -0700181
Jiri Bencf0706e82007-05-05 11:45:53 -0700182config MAC80211_DEBUG_COUNTERS
183 bool "Extra statistics for TX/RX debugging"
Johannes Bergf4ea83d2008-06-30 15:10:46 +0200184 depends on MAC80211_DEBUG_MENU
185 depends on MAC80211_DEBUGFS
Jiri Bencf0706e82007-05-05 11:45:53 -0700186 ---help---
Johannes Bergf4ea83d2008-06-30 15:10:46 +0200187 Selecting this option causes mac80211 to keep additional
188 and very verbose statistics about TX and RX handler use
189 and show them in debugfs.
Jiri Bencf0706e82007-05-05 11:45:53 -0700190
Johannes Bergf4ea83d2008-06-30 15:10:46 +0200191 If unsure, say N.
Yi Zhu7b1e78d2008-06-18 17:53:43 +0300192
193config MAC80211_VERBOSE_SPECT_MGMT_DEBUG
194 bool "Verbose Spectrum Management (IEEE 802.11h)debugging"
Rami Rosen4e887d52008-07-02 10:53:57 +0300195 depends on MAC80211_DEBUG_MENU
Yi Zhu7b1e78d2008-06-18 17:53:43 +0300196 ---help---
197 Say Y here to print out verbose Spectrum Management (IEEE 802.11h)
198 debug messages.