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