xref: /linux/net/mac80211/Kconfig (revision 643d1f7fe3aa12c8bdea6fa5b4ba874ff6dd601d)
1config MAC80211
2	tristate "Generic IEEE 802.11 Networking Stack (mac80211)"
3	depends on EXPERIMENTAL
4	select CRYPTO
5	select CRYPTO_ECB
6	select CRYPTO_ARC4
7	select CRYPTO_AES
8	select CRC32
9	select WIRELESS_EXT
10	select CFG80211
11	select NET_SCH_FIFO
12	---help---
13	  This option enables the hardware independent IEEE 802.11
14	  networking stack.
15
16menu "Rate control algorithm selection"
17	depends on MAC80211 != n
18
19choice
20	prompt "Default rate control algorithm"
21	default MAC80211_RC_DEFAULT_PID
22	---help---
23	  This option selects the default rate control algorithm
24	  mac80211 will use. Note that this default can still be
25	  overriden through the ieee80211_default_rc_algo module
26	  parameter if different algorithms are available.
27
28config MAC80211_RC_DEFAULT_PID
29	bool "PID controller based rate control algorithm"
30	select MAC80211_RC_PID
31	---help---
32	  Select the PID controller based rate control as the
33	  default rate control algorithm. You should choose
34	  this unless you know what you are doing.
35
36config MAC80211_RC_DEFAULT_SIMPLE
37	bool "Simple rate control algorithm"
38	select MAC80211_RC_SIMPLE
39	---help---
40	  Select the simple rate control as the default rate
41	  control algorithm. Note that this is a non-responsive,
42	  dumb algorithm. You should choose the PID rate control
43	  instead.
44
45config MAC80211_RC_DEFAULT_NONE
46	bool "No default algorithm"
47	depends on EMBEDDED
48	help
49	  Selecting this option will select no default algorithm
50	  and allow you to not build any. Do not choose this
51	  option unless you know your driver comes with another
52	  suitable algorithm.
53endchoice
54
55comment "Selecting 'y' for an algorithm will"
56comment "build the algorithm into mac80211."
57
58config MAC80211_RC_DEFAULT
59	string
60	default "pid" if MAC80211_RC_DEFAULT_PID
61	default "simple" if MAC80211_RC_DEFAULT_SIMPLE
62	default ""
63
64config MAC80211_RC_PID
65	tristate "PID controller based rate control algorithm"
66	---help---
67	  This option enables a TX rate control algorithm for
68	  mac80211 that uses a PID controller to select the TX
69	  rate.
70
71	  Say Y or M unless you're sure you want to use a
72	  different rate control algorithm.
73
74config MAC80211_RC_SIMPLE
75	tristate "Simple rate control algorithm (DEPRECATED)"
76	---help---
77	  This option enables a very simple, non-responsive TX
78	  rate control algorithm. This algorithm is deprecated
79	  and will be removed from the kernel in the near future.
80	  It has been replaced by the PID algorithm.
81
82	  Say N unless you know what you are doing.
83endmenu
84
85config MAC80211_LEDS
86	bool "Enable LED triggers"
87	depends on MAC80211 && LEDS_TRIGGERS
88	---help---
89	  This option enables a few LED triggers for different
90	  packet receive/transmit events.
91
92config MAC80211_DEBUGFS
93	bool "Export mac80211 internals in DebugFS"
94	depends on MAC80211 && DEBUG_FS
95	---help---
96	  Select this to see extensive information about
97	  the internal state of mac80211 in debugfs.
98
99	  Say N unless you know you need this.
100
101config MAC80211_DEBUG
102	bool "Enable debugging output"
103	depends on MAC80211
104	---help---
105	  This option will enable debug tracing output for the
106	  ieee80211 network stack.
107
108	  If you are not trying to debug or develop the ieee80211
109	  subsystem, you most likely want to say N here.
110
111config MAC80211_HT_DEBUG
112	bool "Enable HT debugging output"
113	depends on MAC80211_DEBUG
114	---help---
115	  This option enables 802.11n High Throughput features
116	  debug tracing output.
117
118	  If you are not trying to debug of develop the ieee80211
119	  subsystem, you most likely want to say N here.
120
121config MAC80211_VERBOSE_DEBUG
122	bool "Verbose debugging output"
123	depends on MAC80211_DEBUG
124
125config MAC80211_LOWTX_FRAME_DUMP
126	bool "Debug frame dumping"
127	depends on MAC80211_DEBUG
128	---help---
129	  Selecting this option will cause the stack to
130	  print a message for each frame that is handed
131	  to the lowlevel driver for transmission. This
132	  message includes all MAC addresses and the
133	  frame control field.
134
135	  If unsure, say N and insert the debugging code
136	  you require into the driver you are debugging.
137
138config TKIP_DEBUG
139	bool "TKIP debugging"
140	depends on MAC80211_DEBUG
141
142config MAC80211_DEBUG_COUNTERS
143	bool "Extra statistics for TX/RX debugging"
144	depends on MAC80211_DEBUG
145
146config MAC80211_IBSS_DEBUG
147	bool "Support for IBSS testing"
148	depends on MAC80211_DEBUG
149	---help---
150	  Say Y here if you intend to debug the IBSS code.
151
152config MAC80211_VERBOSE_PS_DEBUG
153	bool "Verbose powersave mode debugging"
154	depends on MAC80211_DEBUG
155	---help---
156	  Say Y here to print out verbose powersave
157	  mode debug messages.
158