xref: /openbmc/linux/net/mac80211/Kconfig (revision 2f5ce793)
1f0706e82SJiri Bencconfig MAC80211
2f0706e82SJiri Benc	tristate "Generic IEEE 802.11 Networking Stack (mac80211)"
3f0706e82SJiri Benc	select CRYPTO
4f0706e82SJiri Benc	select CRYPTO_ECB
5f0706e82SJiri Benc	select CRYPTO_ARC4
6f0706e82SJiri Benc	select CRYPTO_AES
7f0706e82SJiri Benc	select CRC32
8f0706e82SJiri Benc	select WIRELESS_EXT
9f0706e82SJiri Benc	select CFG80211
10f0706e82SJiri Benc	select NET_SCH_FIFO
11f0706e82SJiri Benc	---help---
12f0706e82SJiri Benc	  This option enables the hardware independent IEEE 802.11
13f0706e82SJiri Benc	  networking stack.
14f0706e82SJiri Benc
154b475898SJohannes Bergmenu "Rate control algorithm selection"
164b475898SJohannes Berg	depends on MAC80211 != n
17ac71c691SJohannes Berg
18c21b39acSStefano Briviochoice
19c21b39acSStefano Brivio	prompt "Default rate control algorithm"
20c21b39acSStefano Brivio	default MAC80211_RC_DEFAULT_PID
21c21b39acSStefano Brivio	---help---
22c21b39acSStefano Brivio	  This option selects the default rate control algorithm
23c21b39acSStefano Brivio	  mac80211 will use. Note that this default can still be
24c21b39acSStefano Brivio	  overriden through the ieee80211_default_rc_algo module
254b475898SJohannes Berg	  parameter if different algorithms are available.
26ac71c691SJohannes Berg
27c21b39acSStefano Brivioconfig MAC80211_RC_DEFAULT_PID
28c21b39acSStefano Brivio	bool "PID controller based rate control algorithm"
29c21b39acSStefano Brivio	select MAC80211_RC_PID
30c21b39acSStefano Brivio	---help---
31c21b39acSStefano Brivio	  Select the PID controller based rate control as the
32c21b39acSStefano Brivio	  default rate control algorithm. You should choose
33c21b39acSStefano Brivio	  this unless you know what you are doing.
34c21b39acSStefano Brivio
35c21b39acSStefano Brivioconfig MAC80211_RC_DEFAULT_SIMPLE
36c21b39acSStefano Brivio	bool "Simple rate control algorithm"
37c21b39acSStefano Brivio	select MAC80211_RC_SIMPLE
38c21b39acSStefano Brivio	---help---
39c21b39acSStefano Brivio	  Select the simple rate control as the default rate
40c21b39acSStefano Brivio	  control algorithm. Note that this is a non-responsive,
41c21b39acSStefano Brivio	  dumb algorithm. You should choose the PID rate control
42c21b39acSStefano Brivio	  instead.
43c21b39acSStefano Brivio
444b475898SJohannes Bergconfig MAC80211_RC_DEFAULT_NONE
454b475898SJohannes Berg	bool "No default algorithm"
464b475898SJohannes Berg	depends on EMBEDDED
474b475898SJohannes Berg	help
484b475898SJohannes Berg	  Selecting this option will select no default algorithm
494b475898SJohannes Berg	  and allow you to not build any. Do not choose this
504b475898SJohannes Berg	  option unless you know your driver comes with another
514b475898SJohannes Berg	  suitable algorithm.
52c21b39acSStefano Brivioendchoice
53c21b39acSStefano Brivio
544b475898SJohannes Bergcomment "Selecting 'y' for an algorithm will"
554b475898SJohannes Bergcomment "build the algorithm into mac80211."
564b475898SJohannes Berg
57c21b39acSStefano Brivioconfig MAC80211_RC_DEFAULT
58c21b39acSStefano Brivio	string
59c21b39acSStefano Brivio	default "pid" if MAC80211_RC_DEFAULT_PID
60c21b39acSStefano Brivio	default "simple" if MAC80211_RC_DEFAULT_SIMPLE
61c21b39acSStefano Brivio	default ""
62c21b39acSStefano Brivio
63c21b39acSStefano Brivioconfig MAC80211_RC_PID
644b475898SJohannes Berg	tristate "PID controller based rate control algorithm"
65c21b39acSStefano Brivio	---help---
66ad018375SMattias Nissler	  This option enables a TX rate control algorithm for
67ad018375SMattias Nissler	  mac80211 that uses a PID controller to select the TX
68ad018375SMattias Nissler	  rate.
69ad018375SMattias Nissler
70c21b39acSStefano Brivio	  Say Y or M unless you're sure you want to use a
71c21b39acSStefano Brivio	  different rate control algorithm.
72c21b39acSStefano Brivio
73c21b39acSStefano Brivioconfig MAC80211_RC_SIMPLE
744b475898SJohannes Berg	tristate "Simple rate control algorithm (DEPRECATED)"
75c21b39acSStefano Brivio	---help---
76c21b39acSStefano Brivio	  This option enables a very simple, non-responsive TX
77c21b39acSStefano Brivio	  rate control algorithm. This algorithm is deprecated
784b475898SJohannes Berg	  and will be removed from the kernel in the near future.
79c21b39acSStefano Brivio	  It has been replaced by the PID algorithm.
80c21b39acSStefano Brivio
81c21b39acSStefano Brivio	  Say N unless you know what you are doing.
824b475898SJohannes Bergendmenu
83ad018375SMattias Nissler
84*2f5ce793SJohannes Bergconfig MAC80211_MESH
85*2f5ce793SJohannes Berg	bool "Enable mac80211 mesh networking (pre-802.11s) support"
86*2f5ce793SJohannes Berg	depends on MAC80211 && EXPERIMENTAL && BROKEN
87*2f5ce793SJohannes Berg	---help---
88*2f5ce793SJohannes Berg	 This options enables support of pre-802.11s mesh interfaces.
89*2f5ce793SJohannes Berg	 For more information visit http://o11s.org
90*2f5ce793SJohannes Berg
91*2f5ce793SJohannes Berg
92f0706e82SJiri Bencconfig MAC80211_LEDS
93f0706e82SJiri Benc	bool "Enable LED triggers"
94f0706e82SJiri Benc	depends on MAC80211 && LEDS_TRIGGERS
95f0706e82SJiri Benc	---help---
96f0706e82SJiri Benc	  This option enables a few LED triggers for different
97f0706e82SJiri Benc	  packet receive/transmit events.
98f0706e82SJiri Benc
99e9f207f0SJiri Bencconfig MAC80211_DEBUGFS
100e9f207f0SJiri Benc	bool "Export mac80211 internals in DebugFS"
101e9f207f0SJiri Benc	depends on MAC80211 && DEBUG_FS
102e9f207f0SJiri Benc	---help---
103e9f207f0SJiri Benc	  Select this to see extensive information about
104e9f207f0SJiri Benc	  the internal state of mac80211 in debugfs.
105e9f207f0SJiri Benc
106e9f207f0SJiri Benc	  Say N unless you know you need this.
107e9f207f0SJiri Benc
1086feeb8aaSJohannes Bergconfig MAC80211_DEBUG_PACKET_ALIGNMENT
1096feeb8aaSJohannes Berg	bool "Enable packet alignment debugging"
1106feeb8aaSJohannes Berg	depends on MAC80211
1116feeb8aaSJohannes Berg	help
1126feeb8aaSJohannes Berg	  This option is recommended for driver authors and strongly
1136feeb8aaSJohannes Berg	  discouraged for everybody else, it will trigger a warning
1146feeb8aaSJohannes Berg	  when a driver hands mac80211 a buffer that is aligned in
1156feeb8aaSJohannes Berg	  a way that will cause problems with the IP stack on some
1166feeb8aaSJohannes Berg	  architectures.
1176feeb8aaSJohannes Berg
1186feeb8aaSJohannes Berg	  Say N unless you're writing a mac80211 based driver.
1196feeb8aaSJohannes Berg
120f0706e82SJiri Bencconfig MAC80211_DEBUG
121f0706e82SJiri Benc	bool "Enable debugging output"
122f0706e82SJiri Benc	depends on MAC80211
123f0706e82SJiri Benc	---help---
124f0706e82SJiri Benc	  This option will enable debug tracing output for the
125f0706e82SJiri Benc	  ieee80211 network stack.
126f0706e82SJiri Benc
127f0706e82SJiri Benc	  If you are not trying to debug or develop the ieee80211
128f0706e82SJiri Benc	  subsystem, you most likely want to say N here.
129f0706e82SJiri Benc
13082b3cad9SRon Rindjunskyconfig MAC80211_HT_DEBUG
13182b3cad9SRon Rindjunsky	bool "Enable HT debugging output"
13282b3cad9SRon Rindjunsky	depends on MAC80211_DEBUG
13382b3cad9SRon Rindjunsky	---help---
13482b3cad9SRon Rindjunsky	  This option enables 802.11n High Throughput features
13582b3cad9SRon Rindjunsky	  debug tracing output.
13682b3cad9SRon Rindjunsky
13782b3cad9SRon Rindjunsky	  If you are not trying to debug of develop the ieee80211
13882b3cad9SRon Rindjunsky	  subsystem, you most likely want to say N here.
13982b3cad9SRon Rindjunsky
140f0706e82SJiri Bencconfig MAC80211_VERBOSE_DEBUG
141f0706e82SJiri Benc	bool "Verbose debugging output"
142f0706e82SJiri Benc	depends on MAC80211_DEBUG
143f0706e82SJiri Benc
144f0706e82SJiri Bencconfig MAC80211_LOWTX_FRAME_DUMP
145f0706e82SJiri Benc	bool "Debug frame dumping"
146f0706e82SJiri Benc	depends on MAC80211_DEBUG
147f0706e82SJiri Benc	---help---
148f0706e82SJiri Benc	  Selecting this option will cause the stack to
149f0706e82SJiri Benc	  print a message for each frame that is handed
150f0706e82SJiri Benc	  to the lowlevel driver for transmission. This
151f0706e82SJiri Benc	  message includes all MAC addresses and the
152f0706e82SJiri Benc	  frame control field.
153f0706e82SJiri Benc
154f0706e82SJiri Benc	  If unsure, say N and insert the debugging code
155f0706e82SJiri Benc	  you require into the driver you are debugging.
156f0706e82SJiri Benc
157f0706e82SJiri Bencconfig TKIP_DEBUG
158f0706e82SJiri Benc	bool "TKIP debugging"
159f0706e82SJiri Benc	depends on MAC80211_DEBUG
160f0706e82SJiri Benc
161f0706e82SJiri Bencconfig MAC80211_DEBUG_COUNTERS
162f0706e82SJiri Benc	bool "Extra statistics for TX/RX debugging"
163f0706e82SJiri Benc	depends on MAC80211_DEBUG
164f0706e82SJiri Benc
165f0706e82SJiri Bencconfig MAC80211_IBSS_DEBUG
166f0706e82SJiri Benc	bool "Support for IBSS testing"
167f0706e82SJiri Benc	depends on MAC80211_DEBUG
168f0706e82SJiri Benc	---help---
169f0706e82SJiri Benc	  Say Y here if you intend to debug the IBSS code.
170f0706e82SJiri Benc
171f0706e82SJiri Bencconfig MAC80211_VERBOSE_PS_DEBUG
172f0706e82SJiri Benc	bool "Verbose powersave mode debugging"
173f0706e82SJiri Benc	depends on MAC80211_DEBUG
174f0706e82SJiri Benc	---help---
175f0706e82SJiri Benc	  Say Y here to print out verbose powersave
176f0706e82SJiri Benc	  mode debug messages.
177*2f5ce793SJohannes Berg
178*2f5ce793SJohannes Bergconfig MAC80211_VERBOSE_MPL_DEBUG
179*2f5ce793SJohannes Berg	bool "Verbose mesh peer link debugging"
180*2f5ce793SJohannes Berg	depends on MAC80211_DEBUG && MAC80211_MESH
181*2f5ce793SJohannes Berg	---help---
182*2f5ce793SJohannes Berg	  Say Y here to print out verbose mesh peer link
183*2f5ce793SJohannes Berg	  debug messages.
184