xref: /openbmc/linux/net/mac80211/Kconfig (revision c21b39ac)
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
16*c21b39acSStefano Brivioconfig MAC80211_RC_DEFAULT_CHOICE
17*c21b39acSStefano Brivio	bool "Choose default rate control algorithm" if EMBEDDED
18ac71c691SJohannes Berg	default y
19d52a60adSJohannes Berg	depends on MAC80211
20*c21b39acSStefano Brivio	---help---
21*c21b39acSStefano Brivio	  This options enables selection of a default rate control
22*c21b39acSStefano Brivio	  algorithm to be built into the mac80211 module.  Alternate
23*c21b39acSStefano Brivio	  rate control algorithms might be built into the mac80211
24*c21b39acSStefano Brivio	  module as well.
25ac71c691SJohannes Berg
26*c21b39acSStefano Briviochoice
27*c21b39acSStefano Brivio	prompt "Default rate control algorithm"
28*c21b39acSStefano Brivio	default MAC80211_RC_DEFAULT_PID
29*c21b39acSStefano Brivio	depends on MAC80211 && MAC80211_RC_DEFAULT_CHOICE
30*c21b39acSStefano Brivio	---help---
31*c21b39acSStefano Brivio	  This option selects the default rate control algorithm
32*c21b39acSStefano Brivio	  mac80211 will use. Note that this default can still be
33*c21b39acSStefano Brivio	  overriden through the ieee80211_default_rc_algo module
34*c21b39acSStefano Brivio	  parameter.
35ac71c691SJohannes Berg
36*c21b39acSStefano Brivioconfig MAC80211_RC_DEFAULT_PID
37*c21b39acSStefano Brivio	bool "PID controller based rate control algorithm"
38*c21b39acSStefano Brivio	select MAC80211_RC_PID
39*c21b39acSStefano Brivio	---help---
40*c21b39acSStefano Brivio	  Select the PID controller based rate control as the
41*c21b39acSStefano Brivio	  default rate control algorithm. You should choose
42*c21b39acSStefano Brivio	  this unless you know what you are doing.
43*c21b39acSStefano Brivio
44*c21b39acSStefano Brivioconfig MAC80211_RC_DEFAULT_SIMPLE
45*c21b39acSStefano Brivio	bool "Simple rate control algorithm"
46*c21b39acSStefano Brivio	select MAC80211_RC_SIMPLE
47*c21b39acSStefano Brivio	---help---
48*c21b39acSStefano Brivio	  Select the simple rate control as the default rate
49*c21b39acSStefano Brivio	  control algorithm. Note that this is a non-responsive,
50*c21b39acSStefano Brivio	  dumb algorithm. You should choose the PID rate control
51*c21b39acSStefano Brivio	  instead.
52*c21b39acSStefano Brivio
53*c21b39acSStefano Brivioendchoice
54*c21b39acSStefano Brivio
55*c21b39acSStefano Brivioconfig MAC80211_RC_DEFAULT
56*c21b39acSStefano Brivio	string
57*c21b39acSStefano Brivio	depends on MAC80211
58*c21b39acSStefano Brivio	default "pid" if MAC80211_RC_DEFAULT_PID
59*c21b39acSStefano Brivio	default "simple" if MAC80211_RC_DEFAULT_SIMPLE
60*c21b39acSStefano Brivio	default ""
61*c21b39acSStefano Brivio
62*c21b39acSStefano Brivioconfig MAC80211_RC_PID
63*c21b39acSStefano Brivio	bool "PID controller based rate control algorithm"
64ad018375SMattias Nissler	default y
65ad018375SMattias Nissler	depends on MAC80211
66*c21b39acSStefano 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
71*c21b39acSStefano Brivio	  Say Y or M unless you're sure you want to use a
72*c21b39acSStefano Brivio	  different rate control algorithm.
73*c21b39acSStefano Brivio
74*c21b39acSStefano Brivioconfig MAC80211_RC_SIMPLE
75*c21b39acSStefano Brivio	bool "Simple rate control algorithm (DEPRECATED)"
76*c21b39acSStefano Brivio	default n
77*c21b39acSStefano Brivio	depends on MAC80211
78*c21b39acSStefano Brivio	---help---
79*c21b39acSStefano Brivio	  This option enables a very simple, non-responsive TX
80*c21b39acSStefano Brivio	  rate control algorithm. This algorithm is deprecated
81*c21b39acSStefano Brivio	  and will be removed from the kernel in near future.
82*c21b39acSStefano Brivio	  It has been replaced by the PID algorithm.
83*c21b39acSStefano Brivio
84*c21b39acSStefano Brivio	  Say N unless you know what you are doing.
85ad018375SMattias Nissler
86f0706e82SJiri Bencconfig MAC80211_LEDS
87f0706e82SJiri Benc	bool "Enable LED triggers"
88f0706e82SJiri Benc	depends on MAC80211 && LEDS_TRIGGERS
89f0706e82SJiri Benc	---help---
90f0706e82SJiri Benc	This option enables a few LED triggers for different
91f0706e82SJiri Benc	packet receive/transmit events.
92f0706e82SJiri Benc
93e9f207f0SJiri Bencconfig MAC80211_DEBUGFS
94e9f207f0SJiri Benc	bool "Export mac80211 internals in DebugFS"
95e9f207f0SJiri Benc	depends on MAC80211 && DEBUG_FS
96e9f207f0SJiri Benc	---help---
97e9f207f0SJiri Benc	  Select this to see extensive information about
98e9f207f0SJiri Benc	  the internal state of mac80211 in debugfs.
99e9f207f0SJiri Benc
100e9f207f0SJiri Benc	  Say N unless you know you need this.
101e9f207f0SJiri Benc
102f0706e82SJiri Bencconfig MAC80211_DEBUG
103f0706e82SJiri Benc	bool "Enable debugging output"
104f0706e82SJiri Benc	depends on MAC80211
105f0706e82SJiri Benc	---help---
106f0706e82SJiri Benc	  This option will enable debug tracing output for the
107f0706e82SJiri Benc	  ieee80211 network stack.
108f0706e82SJiri Benc
109f0706e82SJiri Benc	  If you are not trying to debug or develop the ieee80211
110f0706e82SJiri Benc	  subsystem, you most likely want to say N here.
111f0706e82SJiri Benc
11282b3cad9SRon Rindjunskyconfig MAC80211_HT_DEBUG
11382b3cad9SRon Rindjunsky       bool "Enable HT debugging output"
11482b3cad9SRon Rindjunsky       depends on MAC80211_DEBUG
11582b3cad9SRon Rindjunsky       ---help---
11682b3cad9SRon Rindjunsky       This option enables 802.11n High Throughput features
11782b3cad9SRon Rindjunsky       debug tracing output.
11882b3cad9SRon Rindjunsky
11982b3cad9SRon Rindjunsky       If you are not trying to debug of develop the ieee80211
12082b3cad9SRon Rindjunsky       subsystem, you most likely want to say N here.
12182b3cad9SRon Rindjunsky
122f0706e82SJiri Bencconfig MAC80211_VERBOSE_DEBUG
123f0706e82SJiri Benc	bool "Verbose debugging output"
124f0706e82SJiri Benc	depends on MAC80211_DEBUG
125f0706e82SJiri Benc
126f0706e82SJiri Bencconfig MAC80211_LOWTX_FRAME_DUMP
127f0706e82SJiri Benc	bool "Debug frame dumping"
128f0706e82SJiri Benc	depends on MAC80211_DEBUG
129f0706e82SJiri Benc	---help---
130f0706e82SJiri Benc	  Selecting this option will cause the stack to
131f0706e82SJiri Benc	  print a message for each frame that is handed
132f0706e82SJiri Benc	  to the lowlevel driver for transmission. This
133f0706e82SJiri Benc	  message includes all MAC addresses and the
134f0706e82SJiri Benc	  frame control field.
135f0706e82SJiri Benc
136f0706e82SJiri Benc	  If unsure, say N and insert the debugging code
137f0706e82SJiri Benc	  you require into the driver you are debugging.
138f0706e82SJiri Benc
139f0706e82SJiri Bencconfig TKIP_DEBUG
140f0706e82SJiri Benc	bool "TKIP debugging"
141f0706e82SJiri Benc	depends on MAC80211_DEBUG
142f0706e82SJiri Benc
143f0706e82SJiri Bencconfig MAC80211_DEBUG_COUNTERS
144f0706e82SJiri Benc	bool "Extra statistics for TX/RX debugging"
145f0706e82SJiri Benc	depends on MAC80211_DEBUG
146f0706e82SJiri Benc
147f0706e82SJiri Bencconfig MAC80211_IBSS_DEBUG
148f0706e82SJiri Benc	bool "Support for IBSS testing"
149f0706e82SJiri Benc	depends on MAC80211_DEBUG
150f0706e82SJiri Benc	---help---
151f0706e82SJiri Benc	  Say Y here if you intend to debug the IBSS code.
152f0706e82SJiri Benc
153f0706e82SJiri Bencconfig MAC80211_VERBOSE_PS_DEBUG
154f0706e82SJiri Benc	bool "Verbose powersave mode debugging"
155f0706e82SJiri Benc	depends on MAC80211_DEBUG
156f0706e82SJiri Benc	---help---
157f0706e82SJiri Benc	  Say Y here to print out verbose powersave
158f0706e82SJiri Benc	  mode debug messages.
159