blob: 594bc7319ca622a33260c37920096f048d6fb5dc [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 Berge2530082008-05-17 00:57:14 +020014config MAC80211_QOS
15 def_bool y
16 depends on MAC80211
17 depends on NET_SCHED
18 depends on NETDEVICES_MULTIQUEUE
19
20comment "QoS/HT support disabled"
21 depends on MAC80211 && !MAC80211_QOS
22comment "QoS/HT support needs CONFIG_NET_SCHED"
23 depends on MAC80211 && !NET_SCHED
24comment "QoS/HT support needs CONFIG_NETDEVICES_MULTIQUEUE"
25 depends on MAC80211 && !NETDEVICES_MULTIQUEUE
26
Johannes Berg4b475892008-01-02 15:17:03 +010027menu "Rate control algorithm selection"
28 depends on MAC80211 != n
Johannes Bergac71c692007-10-28 14:17:44 +010029
Stefano Brivioc21b39a2007-12-19 01:26:16 +010030choice
31 prompt "Default rate control algorithm"
32 default MAC80211_RC_DEFAULT_PID
Stefano Brivioc21b39a2007-12-19 01:26:16 +010033 ---help---
34 This option selects the default rate control algorithm
35 mac80211 will use. Note that this default can still be
36 overriden through the ieee80211_default_rc_algo module
Johannes Berg4b475892008-01-02 15:17:03 +010037 parameter if different algorithms are available.
Johannes Bergac71c692007-10-28 14:17:44 +010038
Stefano Brivioc21b39a2007-12-19 01:26:16 +010039config MAC80211_RC_DEFAULT_PID
40 bool "PID controller based rate control algorithm"
41 select MAC80211_RC_PID
42 ---help---
43 Select the PID controller based rate control as the
44 default rate control algorithm. You should choose
45 this unless you know what you are doing.
46
Johannes Berg4b475892008-01-02 15:17:03 +010047config MAC80211_RC_DEFAULT_NONE
48 bool "No default algorithm"
49 depends on EMBEDDED
50 help
51 Selecting this option will select no default algorithm
52 and allow you to not build any. Do not choose this
53 option unless you know your driver comes with another
54 suitable algorithm.
Stefano Brivioc21b39a2007-12-19 01:26:16 +010055endchoice
56
Johannes Berg4b475892008-01-02 15:17:03 +010057comment "Selecting 'y' for an algorithm will"
58comment "build the algorithm into mac80211."
59
Stefano Brivioc21b39a2007-12-19 01:26:16 +010060config MAC80211_RC_DEFAULT
61 string
Stefano Brivioc21b39a2007-12-19 01:26:16 +010062 default "pid" if MAC80211_RC_DEFAULT_PID
Stefano Brivioc21b39a2007-12-19 01:26:16 +010063 default ""
64
65config MAC80211_RC_PID
Johannes Berg4b475892008-01-02 15:17:03 +010066 tristate "PID controller based rate control algorithm"
Stefano Brivioc21b39a2007-12-19 01:26:16 +010067 ---help---
Mattias Nisslerad018372007-12-19 01:25:57 +010068 This option enables a TX rate control algorithm for
69 mac80211 that uses a PID controller to select the TX
70 rate.
71
Stefano Brivioc21b39a2007-12-19 01:26:16 +010072 Say Y or M unless you're sure you want to use a
73 different rate control algorithm.
74
Johannes Berg4b475892008-01-02 15:17:03 +010075endmenu
Mattias Nisslerad018372007-12-19 01:25:57 +010076
Johannes Berg2f5ce792008-02-23 15:17:21 +010077config MAC80211_MESH
78 bool "Enable mac80211 mesh networking (pre-802.11s) support"
Luis Carlos Cobo37659ff2008-02-29 12:13:38 -080079 depends on MAC80211 && EXPERIMENTAL
Johannes Berg2f5ce792008-02-23 15:17:21 +010080 ---help---
Johannes Berg5c142e82008-02-25 10:13:31 +010081 This options enables support of Draft 802.11s mesh networking.
82 The implementation is based on Draft 1.08 of the Mesh Networking
83 amendment. For more information visit http://o11s.org/.
Johannes Berg2f5ce792008-02-23 15:17:21 +010084
85
Jiri Bencf0706e82007-05-05 11:45:53 -070086config MAC80211_LEDS
87 bool "Enable LED triggers"
Luca Tettamantibd8fd212008-04-27 15:34:55 -070088 depends on MAC80211
89 select NEW_LEDS
90 select LEDS_TRIGGERS
Jiri Bencf0706e82007-05-05 11:45:53 -070091 ---help---
John W. Linvillec40896d2007-12-21 00:44:59 -050092 This option enables a few LED triggers for different
93 packet receive/transmit events.
Jiri Bencf0706e82007-05-05 11:45:53 -070094
Jiri Bence9f207f2007-05-05 11:46:38 -070095config MAC80211_DEBUGFS
96 bool "Export mac80211 internals in DebugFS"
97 depends on MAC80211 && DEBUG_FS
98 ---help---
99 Select this to see extensive information about
100 the internal state of mac80211 in debugfs.
101
102 Say N unless you know you need this.
103
Johannes Berg6feeb8a2008-01-29 16:57:51 +0100104config MAC80211_DEBUG_PACKET_ALIGNMENT
105 bool "Enable packet alignment debugging"
106 depends on MAC80211
107 help
108 This option is recommended for driver authors and strongly
109 discouraged for everybody else, it will trigger a warning
110 when a driver hands mac80211 a buffer that is aligned in
111 a way that will cause problems with the IP stack on some
112 architectures.
113
114 Say N unless you're writing a mac80211 based driver.
115
Jiri Bencf0706e82007-05-05 11:45:53 -0700116config MAC80211_DEBUG
117 bool "Enable debugging output"
118 depends on MAC80211
119 ---help---
120 This option will enable debug tracing output for the
121 ieee80211 network stack.
122
123 If you are not trying to debug or develop the ieee80211
124 subsystem, you most likely want to say N here.
125
Ron Rindjunsky82b3cad2007-12-16 16:09:26 -0800126config MAC80211_HT_DEBUG
John W. Linvillec40896d2007-12-21 00:44:59 -0500127 bool "Enable HT debugging output"
128 depends on MAC80211_DEBUG
129 ---help---
130 This option enables 802.11n High Throughput features
131 debug tracing output.
Ron Rindjunsky82b3cad2007-12-16 16:09:26 -0800132
John W. Linvillec40896d2007-12-21 00:44:59 -0500133 If you are not trying to debug of develop the ieee80211
134 subsystem, you most likely want to say N here.
Ron Rindjunsky82b3cad2007-12-16 16:09:26 -0800135
Jiri Bencf0706e82007-05-05 11:45:53 -0700136config MAC80211_VERBOSE_DEBUG
137 bool "Verbose debugging output"
138 depends on MAC80211_DEBUG
139
140config MAC80211_LOWTX_FRAME_DUMP
141 bool "Debug frame dumping"
142 depends on MAC80211_DEBUG
143 ---help---
144 Selecting this option will cause the stack to
145 print a message for each frame that is handed
146 to the lowlevel driver for transmission. This
147 message includes all MAC addresses and the
148 frame control field.
149
150 If unsure, say N and insert the debugging code
151 you require into the driver you are debugging.
152
Johannes Berg9ae705c2008-06-20 11:54:24 +0200153config MAC80211_TKIP_DEBUG
Jiri Bencf0706e82007-05-05 11:45:53 -0700154 bool "TKIP debugging"
155 depends on MAC80211_DEBUG
156
157config MAC80211_DEBUG_COUNTERS
158 bool "Extra statistics for TX/RX debugging"
159 depends on MAC80211_DEBUG
160
161config MAC80211_IBSS_DEBUG
162 bool "Support for IBSS testing"
163 depends on MAC80211_DEBUG
164 ---help---
165 Say Y here if you intend to debug the IBSS code.
166
167config MAC80211_VERBOSE_PS_DEBUG
168 bool "Verbose powersave mode debugging"
169 depends on MAC80211_DEBUG
170 ---help---
171 Say Y here to print out verbose powersave
172 mode debug messages.
Johannes Berg2f5ce792008-02-23 15:17:21 +0100173
174config MAC80211_VERBOSE_MPL_DEBUG
175 bool "Verbose mesh peer link debugging"
176 depends on MAC80211_DEBUG && MAC80211_MESH
177 ---help---
178 Say Y here to print out verbose mesh peer link
179 debug messages.
Yi Zhu7b1e78d2008-06-18 17:53:43 +0300180
181config MAC80211_VERBOSE_SPECT_MGMT_DEBUG
182 bool "Verbose Spectrum Management (IEEE 802.11h)debugging"
183 depends on MAC80211_DEBUG
184 ---help---
185 Say Y here to print out verbose Spectrum Management (IEEE 802.11h)
186 debug messages.