xref: /openbmc/linux/net/mac80211/Kconfig (revision 5c142e8d)
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
842f5ce793SJohannes Bergconfig MAC80211_MESH
852f5ce793SJohannes Berg	bool "Enable mac80211 mesh networking (pre-802.11s) support"
862f5ce793SJohannes Berg	depends on MAC80211 && EXPERIMENTAL && BROKEN
872f5ce793SJohannes Berg	---help---
88*5c142e8dSJohannes Berg	 This options enables support of Draft 802.11s mesh networking.
89*5c142e8dSJohannes Berg	 The implementation is based on Draft 1.08 of the Mesh Networking
90*5c142e8dSJohannes Berg	 amendment. For more information visit http://o11s.org/.
912f5ce793SJohannes Berg
922f5ce793SJohannes Berg
93f0706e82SJiri Bencconfig MAC80211_LEDS
94f0706e82SJiri Benc	bool "Enable LED triggers"
95f0706e82SJiri Benc	depends on MAC80211 && LEDS_TRIGGERS
96f0706e82SJiri Benc	---help---
97f0706e82SJiri Benc	  This option enables a few LED triggers for different
98f0706e82SJiri Benc	  packet receive/transmit events.
99f0706e82SJiri Benc
100e9f207f0SJiri Bencconfig MAC80211_DEBUGFS
101e9f207f0SJiri Benc	bool "Export mac80211 internals in DebugFS"
102e9f207f0SJiri Benc	depends on MAC80211 && DEBUG_FS
103e9f207f0SJiri Benc	---help---
104e9f207f0SJiri Benc	  Select this to see extensive information about
105e9f207f0SJiri Benc	  the internal state of mac80211 in debugfs.
106e9f207f0SJiri Benc
107e9f207f0SJiri Benc	  Say N unless you know you need this.
108e9f207f0SJiri Benc
1096feeb8aaSJohannes Bergconfig MAC80211_DEBUG_PACKET_ALIGNMENT
1106feeb8aaSJohannes Berg	bool "Enable packet alignment debugging"
1116feeb8aaSJohannes Berg	depends on MAC80211
1126feeb8aaSJohannes Berg	help
1136feeb8aaSJohannes Berg	  This option is recommended for driver authors and strongly
1146feeb8aaSJohannes Berg	  discouraged for everybody else, it will trigger a warning
1156feeb8aaSJohannes Berg	  when a driver hands mac80211 a buffer that is aligned in
1166feeb8aaSJohannes Berg	  a way that will cause problems with the IP stack on some
1176feeb8aaSJohannes Berg	  architectures.
1186feeb8aaSJohannes Berg
1196feeb8aaSJohannes Berg	  Say N unless you're writing a mac80211 based driver.
1206feeb8aaSJohannes Berg
121f0706e82SJiri Bencconfig MAC80211_DEBUG
122f0706e82SJiri Benc	bool "Enable debugging output"
123f0706e82SJiri Benc	depends on MAC80211
124f0706e82SJiri Benc	---help---
125f0706e82SJiri Benc	  This option will enable debug tracing output for the
126f0706e82SJiri Benc	  ieee80211 network stack.
127f0706e82SJiri Benc
128f0706e82SJiri Benc	  If you are not trying to debug or develop the ieee80211
129f0706e82SJiri Benc	  subsystem, you most likely want to say N here.
130f0706e82SJiri Benc
13182b3cad9SRon Rindjunskyconfig MAC80211_HT_DEBUG
13282b3cad9SRon Rindjunsky	bool "Enable HT debugging output"
13382b3cad9SRon Rindjunsky	depends on MAC80211_DEBUG
13482b3cad9SRon Rindjunsky	---help---
13582b3cad9SRon Rindjunsky	  This option enables 802.11n High Throughput features
13682b3cad9SRon Rindjunsky	  debug tracing output.
13782b3cad9SRon Rindjunsky
13882b3cad9SRon Rindjunsky	  If you are not trying to debug of develop the ieee80211
13982b3cad9SRon Rindjunsky	  subsystem, you most likely want to say N here.
14082b3cad9SRon Rindjunsky
141f0706e82SJiri Bencconfig MAC80211_VERBOSE_DEBUG
142f0706e82SJiri Benc	bool "Verbose debugging output"
143f0706e82SJiri Benc	depends on MAC80211_DEBUG
144f0706e82SJiri Benc
145f0706e82SJiri Bencconfig MAC80211_LOWTX_FRAME_DUMP
146f0706e82SJiri Benc	bool "Debug frame dumping"
147f0706e82SJiri Benc	depends on MAC80211_DEBUG
148f0706e82SJiri Benc	---help---
149f0706e82SJiri Benc	  Selecting this option will cause the stack to
150f0706e82SJiri Benc	  print a message for each frame that is handed
151f0706e82SJiri Benc	  to the lowlevel driver for transmission. This
152f0706e82SJiri Benc	  message includes all MAC addresses and the
153f0706e82SJiri Benc	  frame control field.
154f0706e82SJiri Benc
155f0706e82SJiri Benc	  If unsure, say N and insert the debugging code
156f0706e82SJiri Benc	  you require into the driver you are debugging.
157f0706e82SJiri Benc
158f0706e82SJiri Bencconfig TKIP_DEBUG
159f0706e82SJiri Benc	bool "TKIP debugging"
160f0706e82SJiri Benc	depends on MAC80211_DEBUG
161f0706e82SJiri Benc
162f0706e82SJiri Bencconfig MAC80211_DEBUG_COUNTERS
163f0706e82SJiri Benc	bool "Extra statistics for TX/RX debugging"
164f0706e82SJiri Benc	depends on MAC80211_DEBUG
165f0706e82SJiri Benc
166f0706e82SJiri Bencconfig MAC80211_IBSS_DEBUG
167f0706e82SJiri Benc	bool "Support for IBSS testing"
168f0706e82SJiri Benc	depends on MAC80211_DEBUG
169f0706e82SJiri Benc	---help---
170f0706e82SJiri Benc	  Say Y here if you intend to debug the IBSS code.
171f0706e82SJiri Benc
172f0706e82SJiri Bencconfig MAC80211_VERBOSE_PS_DEBUG
173f0706e82SJiri Benc	bool "Verbose powersave mode debugging"
174f0706e82SJiri Benc	depends on MAC80211_DEBUG
175f0706e82SJiri Benc	---help---
176f0706e82SJiri Benc	  Say Y here to print out verbose powersave
177f0706e82SJiri Benc	  mode debug messages.
1782f5ce793SJohannes Berg
1792f5ce793SJohannes Bergconfig MAC80211_VERBOSE_MPL_DEBUG
1802f5ce793SJohannes Berg	bool "Verbose mesh peer link debugging"
1812f5ce793SJohannes Berg	depends on MAC80211_DEBUG && MAC80211_MESH
1822f5ce793SJohannes Berg	---help---
1832f5ce793SJohannes Berg	  Say Y here to print out verbose mesh peer link
1842f5ce793SJohannes Berg	  debug messages.
185