xref: /openbmc/linux/net/mac80211/Kconfig (revision cccf129f)
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	---help---
11f0706e82SJiri Benc	  This option enables the hardware independent IEEE 802.11
12f0706e82SJiri Benc	  networking stack.
13f0706e82SJiri Benc
144b475898SJohannes Bergmenu "Rate control algorithm selection"
154b475898SJohannes Berg	depends on MAC80211 != n
16ac71c691SJohannes Berg
17e5f5e733SAdrian Bunkconfig MAC80211_RC_PID
18e5f5e733SAdrian Bunk	bool "PID controller based rate control algorithm" if EMBEDDED
19e5f5e733SAdrian Bunk	default y
20e5f5e733SAdrian Bunk	---help---
21e5f5e733SAdrian Bunk	  This option enables a TX rate control algorithm for
22e5f5e733SAdrian Bunk	  mac80211 that uses a PID controller to select the TX
23e5f5e733SAdrian Bunk	  rate.
24e5f5e733SAdrian Bunk
25*cccf129fSFelix Fietkauconfig MAC80211_RC_MINSTREL
26*cccf129fSFelix Fietkau	bool "Minstrel"
27*cccf129fSFelix Fietkau	---help---
28*cccf129fSFelix Fietkau	  This option enables the 'minstrel' TX rate control algorithm
29*cccf129fSFelix Fietkau
30c21b39acSStefano Briviochoice
31c21b39acSStefano Brivio	prompt "Default rate control algorithm"
32c21b39acSStefano Brivio	default MAC80211_RC_DEFAULT_PID
33c21b39acSStefano Brivio	---help---
34c21b39acSStefano Brivio	  This option selects the default rate control algorithm
35c21b39acSStefano Brivio	  mac80211 will use. Note that this default can still be
36c21b39acSStefano Brivio	  overriden through the ieee80211_default_rc_algo module
374b475898SJohannes Berg	  parameter if different algorithms are available.
38ac71c691SJohannes Berg
39c21b39acSStefano Brivioconfig MAC80211_RC_DEFAULT_PID
40c21b39acSStefano Brivio	bool "PID controller based rate control algorithm"
41e5f5e733SAdrian Bunk	depends on MAC80211_RC_PID
42c21b39acSStefano Brivio	---help---
43c21b39acSStefano Brivio	  Select the PID controller based rate control as the
44c21b39acSStefano Brivio	  default rate control algorithm. You should choose
45c21b39acSStefano Brivio	  this unless you know what you are doing.
46c21b39acSStefano Brivio
47*cccf129fSFelix Fietkauconfig MAC80211_RC_DEFAULT_MINSTREL
48*cccf129fSFelix Fietkau	bool "Minstrel"
49*cccf129fSFelix Fietkau	depends on MAC80211_RC_MINSTREL
50*cccf129fSFelix Fietkau	---help---
51*cccf129fSFelix Fietkau	  Select Minstrel as the default rate control algorithm.
52*cccf129fSFelix Fietkau
53*cccf129fSFelix Fietkau
54c21b39acSStefano Brivioendchoice
55c21b39acSStefano Brivio
56c21b39acSStefano Brivioconfig MAC80211_RC_DEFAULT
57c21b39acSStefano Brivio	string
58c21b39acSStefano Brivio	default "pid" if MAC80211_RC_DEFAULT_PID
59*cccf129fSFelix Fietkau	default "minstrel" if MAC80211_RC_DEFAULT_MINSTREL
60c21b39acSStefano Brivio	default ""
61c21b39acSStefano Brivio
624b475898SJohannes Bergendmenu
63ad018375SMattias Nissler
642f5ce793SJohannes Bergconfig MAC80211_MESH
652f5ce793SJohannes Berg	bool "Enable mac80211 mesh networking (pre-802.11s) support"
6637659ff8SLuis Carlos Cobo	depends on MAC80211 && EXPERIMENTAL
672f5ce793SJohannes Berg	---help---
685c142e8dSJohannes Berg	 This options enables support of Draft 802.11s mesh networking.
695c142e8dSJohannes Berg	 The implementation is based on Draft 1.08 of the Mesh Networking
705c142e8dSJohannes Berg	 amendment. For more information visit http://o11s.org/.
712f5ce793SJohannes Berg
722f5ce793SJohannes Berg
73f0706e82SJiri Bencconfig MAC80211_LEDS
74f0706e82SJiri Benc	bool "Enable LED triggers"
75bd8fd21dSLuca Tettamanti	depends on MAC80211
76bd8fd21dSLuca Tettamanti	select NEW_LEDS
77bd8fd21dSLuca Tettamanti	select LEDS_TRIGGERS
78f0706e82SJiri Benc	---help---
79f0706e82SJiri Benc	  This option enables a few LED triggers for different
80f0706e82SJiri Benc	  packet receive/transmit events.
81f0706e82SJiri Benc
82e9f207f0SJiri Bencconfig MAC80211_DEBUGFS
83e9f207f0SJiri Benc	bool "Export mac80211 internals in DebugFS"
84e9f207f0SJiri Benc	depends on MAC80211 && DEBUG_FS
85e9f207f0SJiri Benc	---help---
86e9f207f0SJiri Benc	  Select this to see extensive information about
87e9f207f0SJiri Benc	  the internal state of mac80211 in debugfs.
88e9f207f0SJiri Benc
89e9f207f0SJiri Benc	  Say N unless you know you need this.
90e9f207f0SJiri Benc
91f4ea83ddSJohannes Bergmenuconfig MAC80211_DEBUG_MENU
92f4ea83ddSJohannes Berg	bool "Select mac80211 debugging features"
93f4ea83ddSJohannes Berg	depends on MAC80211
94f4ea83ddSJohannes Berg	---help---
95f4ea83ddSJohannes Berg	  This option collects various mac80211 debug settings.
96f4ea83ddSJohannes Berg
976feeb8aaSJohannes Bergconfig MAC80211_DEBUG_PACKET_ALIGNMENT
986feeb8aaSJohannes Berg	bool "Enable packet alignment debugging"
99f4ea83ddSJohannes Berg	depends on MAC80211_DEBUG_MENU
100f4ea83ddSJohannes Berg	---help---
1016feeb8aaSJohannes Berg	  This option is recommended for driver authors and strongly
1026feeb8aaSJohannes Berg	  discouraged for everybody else, it will trigger a warning
1036feeb8aaSJohannes Berg	  when a driver hands mac80211 a buffer that is aligned in
1046feeb8aaSJohannes Berg	  a way that will cause problems with the IP stack on some
1056feeb8aaSJohannes Berg	  architectures.
1066feeb8aaSJohannes Berg
1076feeb8aaSJohannes Berg	  Say N unless you're writing a mac80211 based driver.
1086feeb8aaSJohannes Berg
109f4ea83ddSJohannes Bergconfig MAC80211_NOINLINE
110f4ea83ddSJohannes Berg	bool "Do not inline TX/RX handlers"
111f4ea83ddSJohannes Berg	depends on MAC80211_DEBUG_MENU
112f0706e82SJiri Benc	---help---
113f4ea83ddSJohannes Berg	  This option affects code generation in mac80211, when
114f4ea83ddSJohannes Berg	  selected some functions are marked "noinline" to allow
115f4ea83ddSJohannes Berg	  easier debugging of problems in the transmit and receive
116f4ea83ddSJohannes Berg	  paths.
117f0706e82SJiri Benc
118f4ea83ddSJohannes Berg	  This option increases code size a bit and inserts a lot
119f4ea83ddSJohannes Berg	  of function calls in the code, but is otherwise safe to
120f4ea83ddSJohannes Berg	  enable.
121f4ea83ddSJohannes Berg
122f4ea83ddSJohannes Berg	  If unsure, say N unless you expect to be finding problems
123f4ea83ddSJohannes Berg	  in mac80211.
124f4ea83ddSJohannes Berg
125f4ea83ddSJohannes Bergconfig MAC80211_VERBOSE_DEBUG
126f4ea83ddSJohannes Berg	bool "Verbose debugging output"
127f4ea83ddSJohannes Berg	depends on MAC80211_DEBUG_MENU
128f4ea83ddSJohannes Berg	---help---
129f4ea83ddSJohannes Berg	  Selecting this option causes mac80211 to print out
130f4ea83ddSJohannes Berg	  many debugging messages. It should not be selected
131f4ea83ddSJohannes Berg	  on production systems as some of the messages are
132f4ea83ddSJohannes Berg	  remotely triggerable.
133f4ea83ddSJohannes Berg
134f4ea83ddSJohannes Berg	  Do not select this option.
135f0706e82SJiri Benc
13682b3cad9SRon Rindjunskyconfig MAC80211_HT_DEBUG
137f4ea83ddSJohannes Berg	bool "Verbose HT debugging"
138f4ea83ddSJohannes Berg	depends on MAC80211_DEBUG_MENU
13982b3cad9SRon Rindjunsky	---help---
14082b3cad9SRon Rindjunsky	  This option enables 802.11n High Throughput features
14182b3cad9SRon Rindjunsky	  debug tracing output.
14282b3cad9SRon Rindjunsky
143f4ea83ddSJohannes Berg	  It should not be selected on production systems as some
144f4ea83ddSJohannes Berg	  of the messages are remotely triggerable.
14582b3cad9SRon Rindjunsky
146f4ea83ddSJohannes Berg	  Do not select this option.
147f4ea83ddSJohannes Berg
148f4ea83ddSJohannes Bergconfig MAC80211_TKIP_DEBUG
149f4ea83ddSJohannes Berg	bool "Verbose TKIP debugging"
150f4ea83ddSJohannes Berg	depends on MAC80211_DEBUG_MENU
151f4ea83ddSJohannes Berg	---help---
152f4ea83ddSJohannes Berg	  Selecting this option causes mac80211 to print out
153f4ea83ddSJohannes Berg	  very verbose TKIP debugging messages. It should not
154f4ea83ddSJohannes Berg	  be selected on production systems as those messages
155f4ea83ddSJohannes Berg	  are remotely triggerable.
156f4ea83ddSJohannes Berg
157f4ea83ddSJohannes Berg	  Do not select this option.
158f4ea83ddSJohannes Berg
159f4ea83ddSJohannes Bergconfig MAC80211_IBSS_DEBUG
160f4ea83ddSJohannes Berg	bool "Verbose IBSS debugging"
161f4ea83ddSJohannes Berg	depends on MAC80211_DEBUG_MENU
162f4ea83ddSJohannes Berg	---help---
163f4ea83ddSJohannes Berg	  Selecting this option causes mac80211 to print out
164f4ea83ddSJohannes Berg	  very verbose IBSS debugging messages. It should not
165f4ea83ddSJohannes Berg	  be selected on production systems as those messages
166f4ea83ddSJohannes Berg	  are remotely triggerable.
167f4ea83ddSJohannes Berg
168f4ea83ddSJohannes Berg	  Do not select this option.
169f4ea83ddSJohannes Berg
170f4ea83ddSJohannes Bergconfig MAC80211_VERBOSE_PS_DEBUG
171f4ea83ddSJohannes Berg	bool "Verbose powersave mode debugging"
172f4ea83ddSJohannes Berg	depends on MAC80211_DEBUG_MENU
173f4ea83ddSJohannes Berg	---help---
174f4ea83ddSJohannes Berg	  Selecting this option causes mac80211 to print out very
175f4ea83ddSJohannes Berg	  verbose power save mode debugging messages (when mac80211
176f4ea83ddSJohannes Berg	  is an AP and has power saving stations.)
177f4ea83ddSJohannes Berg	  It should not be selected on production systems as those
178f4ea83ddSJohannes Berg	  messages are remotely triggerable.
179f4ea83ddSJohannes Berg
180f4ea83ddSJohannes Berg	  Do not select this option.
181f4ea83ddSJohannes Berg
182f4ea83ddSJohannes Bergconfig MAC80211_VERBOSE_MPL_DEBUG
183f4ea83ddSJohannes Berg	bool "Verbose mesh peer link debugging"
184f4ea83ddSJohannes Berg	depends on MAC80211_DEBUG_MENU
185f4ea83ddSJohannes Berg	depends on MAC80211_MESH
186f4ea83ddSJohannes Berg	---help---
187f4ea83ddSJohannes Berg	  Selecting this option causes mac80211 to print out very
188f4ea83ddSJohannes Berg	  verbose mesh peer link debugging messages (when mac80211
189f4ea83ddSJohannes Berg	  is taking part in a mesh network).
190f4ea83ddSJohannes Berg	  It should not be selected on production systems as those
191f4ea83ddSJohannes Berg	  messages are remotely triggerable.
192f4ea83ddSJohannes Berg
193f4ea83ddSJohannes Berg	  Do not select this option.
194f0706e82SJiri Benc
195f0706e82SJiri Bencconfig MAC80211_DEBUG_COUNTERS
196f0706e82SJiri Benc	bool "Extra statistics for TX/RX debugging"
197f4ea83ddSJohannes Berg	depends on MAC80211_DEBUG_MENU
198f4ea83ddSJohannes Berg	depends on MAC80211_DEBUGFS
199f0706e82SJiri Benc	---help---
200f4ea83ddSJohannes Berg	  Selecting this option causes mac80211 to keep additional
201f4ea83ddSJohannes Berg	  and very verbose statistics about TX and RX handler use
202f4ea83ddSJohannes Berg	  and show them in debugfs.
203f0706e82SJiri Benc
204f4ea83ddSJohannes Berg	  If unsure, say N.
2057b1e78d5SYi Zhu
2067b1e78d5SYi Zhuconfig MAC80211_VERBOSE_SPECT_MGMT_DEBUG
2077b1e78d5SYi Zhu	bool "Verbose Spectrum Management (IEEE 802.11h)debugging"
2084e887d5bSRami Rosen	depends on MAC80211_DEBUG_MENU
2097b1e78d5SYi Zhu	---help---
2107b1e78d5SYi Zhu	  Say Y here to print out verbose Spectrum Management (IEEE 802.11h)
2117b1e78d5SYi Zhu	  debug messages.
212