xref: /openbmc/linux/net/mac80211/Kconfig (revision 6feeb8aa)
1f0706e82SJiri Bencconfig MAC80211
2f0706e82SJiri Benc	tristate "Generic IEEE 802.11 Networking Stack (mac80211)"
3f0706e82SJiri Benc	depends on EXPERIMENTAL
4f0706e82SJiri Benc	select CRYPTO
5f0706e82SJiri Benc	select CRYPTO_ECB
6f0706e82SJiri Benc	select CRYPTO_ARC4
7f0706e82SJiri Benc	select CRYPTO_AES
8f0706e82SJiri Benc	select CRC32
9f0706e82SJiri Benc	select WIRELESS_EXT
10f0706e82SJiri Benc	select CFG80211
11f0706e82SJiri Benc	select NET_SCH_FIFO
12f0706e82SJiri Benc	---help---
13f0706e82SJiri Benc	  This option enables the hardware independent IEEE 802.11
14f0706e82SJiri Benc	  networking stack.
15f0706e82SJiri Benc
164b475898SJohannes Bergmenu "Rate control algorithm selection"
174b475898SJohannes Berg	depends on MAC80211 != n
18ac71c691SJohannes Berg
19c21b39acSStefano Briviochoice
20c21b39acSStefano Brivio	prompt "Default rate control algorithm"
21c21b39acSStefano Brivio	default MAC80211_RC_DEFAULT_PID
22c21b39acSStefano Brivio	---help---
23c21b39acSStefano Brivio	  This option selects the default rate control algorithm
24c21b39acSStefano Brivio	  mac80211 will use. Note that this default can still be
25c21b39acSStefano Brivio	  overriden through the ieee80211_default_rc_algo module
264b475898SJohannes Berg	  parameter if different algorithms are available.
27ac71c691SJohannes Berg
28c21b39acSStefano Brivioconfig MAC80211_RC_DEFAULT_PID
29c21b39acSStefano Brivio	bool "PID controller based rate control algorithm"
30c21b39acSStefano Brivio	select MAC80211_RC_PID
31c21b39acSStefano Brivio	---help---
32c21b39acSStefano Brivio	  Select the PID controller based rate control as the
33c21b39acSStefano Brivio	  default rate control algorithm. You should choose
34c21b39acSStefano Brivio	  this unless you know what you are doing.
35c21b39acSStefano Brivio
36c21b39acSStefano Brivioconfig MAC80211_RC_DEFAULT_SIMPLE
37c21b39acSStefano Brivio	bool "Simple rate control algorithm"
38c21b39acSStefano Brivio	select MAC80211_RC_SIMPLE
39c21b39acSStefano Brivio	---help---
40c21b39acSStefano Brivio	  Select the simple rate control as the default rate
41c21b39acSStefano Brivio	  control algorithm. Note that this is a non-responsive,
42c21b39acSStefano Brivio	  dumb algorithm. You should choose the PID rate control
43c21b39acSStefano Brivio	  instead.
44c21b39acSStefano Brivio
454b475898SJohannes Bergconfig MAC80211_RC_DEFAULT_NONE
464b475898SJohannes Berg	bool "No default algorithm"
474b475898SJohannes Berg	depends on EMBEDDED
484b475898SJohannes Berg	help
494b475898SJohannes Berg	  Selecting this option will select no default algorithm
504b475898SJohannes Berg	  and allow you to not build any. Do not choose this
514b475898SJohannes Berg	  option unless you know your driver comes with another
524b475898SJohannes Berg	  suitable algorithm.
53c21b39acSStefano Brivioendchoice
54c21b39acSStefano Brivio
554b475898SJohannes Bergcomment "Selecting 'y' for an algorithm will"
564b475898SJohannes Bergcomment "build the algorithm into mac80211."
574b475898SJohannes Berg
58c21b39acSStefano Brivioconfig MAC80211_RC_DEFAULT
59c21b39acSStefano Brivio	string
60c21b39acSStefano Brivio	default "pid" if MAC80211_RC_DEFAULT_PID
61c21b39acSStefano Brivio	default "simple" if MAC80211_RC_DEFAULT_SIMPLE
62c21b39acSStefano Brivio	default ""
63c21b39acSStefano Brivio
64c21b39acSStefano Brivioconfig MAC80211_RC_PID
654b475898SJohannes Berg	tristate "PID controller based rate control algorithm"
66c21b39acSStefano Brivio	---help---
67ad018375SMattias Nissler	  This option enables a TX rate control algorithm for
68ad018375SMattias Nissler	  mac80211 that uses a PID controller to select the TX
69ad018375SMattias Nissler	  rate.
70ad018375SMattias Nissler
71c21b39acSStefano Brivio	  Say Y or M unless you're sure you want to use a
72c21b39acSStefano Brivio	  different rate control algorithm.
73c21b39acSStefano Brivio
74c21b39acSStefano Brivioconfig MAC80211_RC_SIMPLE
754b475898SJohannes Berg	tristate "Simple rate control algorithm (DEPRECATED)"
76c21b39acSStefano Brivio	---help---
77c21b39acSStefano Brivio	  This option enables a very simple, non-responsive TX
78c21b39acSStefano Brivio	  rate control algorithm. This algorithm is deprecated
794b475898SJohannes Berg	  and will be removed from the kernel in the near future.
80c21b39acSStefano Brivio	  It has been replaced by the PID algorithm.
81c21b39acSStefano Brivio
82c21b39acSStefano Brivio	  Say N unless you know what you are doing.
834b475898SJohannes Bergendmenu
84ad018375SMattias Nissler
85f0706e82SJiri Bencconfig MAC80211_LEDS
86f0706e82SJiri Benc	bool "Enable LED triggers"
87f0706e82SJiri Benc	depends on MAC80211 && LEDS_TRIGGERS
88f0706e82SJiri Benc	---help---
89f0706e82SJiri Benc	  This option enables a few LED triggers for different
90f0706e82SJiri Benc	  packet receive/transmit events.
91f0706e82SJiri Benc
92e9f207f0SJiri Bencconfig MAC80211_DEBUGFS
93e9f207f0SJiri Benc	bool "Export mac80211 internals in DebugFS"
94e9f207f0SJiri Benc	depends on MAC80211 && DEBUG_FS
95e9f207f0SJiri Benc	---help---
96e9f207f0SJiri Benc	  Select this to see extensive information about
97e9f207f0SJiri Benc	  the internal state of mac80211 in debugfs.
98e9f207f0SJiri Benc
99e9f207f0SJiri Benc	  Say N unless you know you need this.
100e9f207f0SJiri Benc
101*6feeb8aaSJohannes Bergconfig MAC80211_DEBUG_PACKET_ALIGNMENT
102*6feeb8aaSJohannes Berg	bool "Enable packet alignment debugging"
103*6feeb8aaSJohannes Berg	depends on MAC80211
104*6feeb8aaSJohannes Berg	help
105*6feeb8aaSJohannes Berg	  This option is recommended for driver authors and strongly
106*6feeb8aaSJohannes Berg	  discouraged for everybody else, it will trigger a warning
107*6feeb8aaSJohannes Berg	  when a driver hands mac80211 a buffer that is aligned in
108*6feeb8aaSJohannes Berg	  a way that will cause problems with the IP stack on some
109*6feeb8aaSJohannes Berg	  architectures.
110*6feeb8aaSJohannes Berg
111*6feeb8aaSJohannes Berg	  Say N unless you're writing a mac80211 based driver.
112*6feeb8aaSJohannes Berg
113f0706e82SJiri Bencconfig MAC80211_DEBUG
114f0706e82SJiri Benc	bool "Enable debugging output"
115f0706e82SJiri Benc	depends on MAC80211
116f0706e82SJiri Benc	---help---
117f0706e82SJiri Benc	  This option will enable debug tracing output for the
118f0706e82SJiri Benc	  ieee80211 network stack.
119f0706e82SJiri Benc
120f0706e82SJiri Benc	  If you are not trying to debug or develop the ieee80211
121f0706e82SJiri Benc	  subsystem, you most likely want to say N here.
122f0706e82SJiri Benc
12382b3cad9SRon Rindjunskyconfig MAC80211_HT_DEBUG
12482b3cad9SRon Rindjunsky	bool "Enable HT debugging output"
12582b3cad9SRon Rindjunsky	depends on MAC80211_DEBUG
12682b3cad9SRon Rindjunsky	---help---
12782b3cad9SRon Rindjunsky	  This option enables 802.11n High Throughput features
12882b3cad9SRon Rindjunsky	  debug tracing output.
12982b3cad9SRon Rindjunsky
13082b3cad9SRon Rindjunsky	  If you are not trying to debug of develop the ieee80211
13182b3cad9SRon Rindjunsky	  subsystem, you most likely want to say N here.
13282b3cad9SRon Rindjunsky
133f0706e82SJiri Bencconfig MAC80211_VERBOSE_DEBUG
134f0706e82SJiri Benc	bool "Verbose debugging output"
135f0706e82SJiri Benc	depends on MAC80211_DEBUG
136f0706e82SJiri Benc
137f0706e82SJiri Bencconfig MAC80211_LOWTX_FRAME_DUMP
138f0706e82SJiri Benc	bool "Debug frame dumping"
139f0706e82SJiri Benc	depends on MAC80211_DEBUG
140f0706e82SJiri Benc	---help---
141f0706e82SJiri Benc	  Selecting this option will cause the stack to
142f0706e82SJiri Benc	  print a message for each frame that is handed
143f0706e82SJiri Benc	  to the lowlevel driver for transmission. This
144f0706e82SJiri Benc	  message includes all MAC addresses and the
145f0706e82SJiri Benc	  frame control field.
146f0706e82SJiri Benc
147f0706e82SJiri Benc	  If unsure, say N and insert the debugging code
148f0706e82SJiri Benc	  you require into the driver you are debugging.
149f0706e82SJiri Benc
150f0706e82SJiri Bencconfig TKIP_DEBUG
151f0706e82SJiri Benc	bool "TKIP debugging"
152f0706e82SJiri Benc	depends on MAC80211_DEBUG
153f0706e82SJiri Benc
154f0706e82SJiri Bencconfig MAC80211_DEBUG_COUNTERS
155f0706e82SJiri Benc	bool "Extra statistics for TX/RX debugging"
156f0706e82SJiri Benc	depends on MAC80211_DEBUG
157f0706e82SJiri Benc
158f0706e82SJiri Bencconfig MAC80211_IBSS_DEBUG
159f0706e82SJiri Benc	bool "Support for IBSS testing"
160f0706e82SJiri Benc	depends on MAC80211_DEBUG
161f0706e82SJiri Benc	---help---
162f0706e82SJiri Benc	  Say Y here if you intend to debug the IBSS code.
163f0706e82SJiri Benc
164f0706e82SJiri Bencconfig MAC80211_VERBOSE_PS_DEBUG
165f0706e82SJiri Benc	bool "Verbose powersave mode debugging"
166f0706e82SJiri Benc	depends on MAC80211_DEBUG
167f0706e82SJiri Benc	---help---
168f0706e82SJiri Benc	  Say Y here to print out verbose powersave
169f0706e82SJiri Benc	  mode debug messages.
170