]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/blame - net/mac80211/Kconfig
mac80211: get rid of function pointers in RX path
[mirror_ubuntu-jammy-kernel.git] / net / mac80211 / Kconfig
CommitLineData
f0706e82
JB
1config MAC80211
2 tristate "Generic IEEE 802.11 Networking Stack (mac80211)"
f0706e82
JB
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
f0706e82 10 ---help---
c40896de
JL
11 This option enables the hardware independent IEEE 802.11
12 networking stack.
f0706e82 13
e2530083
JB
14config MAC80211_QOS
15 def_bool y
16 depends on MAC80211
17 depends on NET_SCHED
18 depends on NETDEVICES_MULTIQUEUE
19
20comment "QoS/HT support disabled"
21 depends on MAC80211 && !MAC80211_QOS
22comment "QoS/HT support needs CONFIG_NET_SCHED"
23 depends on MAC80211 && !NET_SCHED
24comment "QoS/HT support needs CONFIG_NETDEVICES_MULTIQUEUE"
25 depends on MAC80211 && !NETDEVICES_MULTIQUEUE
26
4b475898
JB
27menu "Rate control algorithm selection"
28 depends on MAC80211 != n
c21b39ac 29
e5f5e733
AB
30config MAC80211_RC_PID
31 bool "PID controller based rate control algorithm" if EMBEDDED
32 default y
33 ---help---
34 This option enables a TX rate control algorithm for
35 mac80211 that uses a PID controller to select the TX
36 rate.
37
c21b39ac
SB
38choice
39 prompt "Default rate control algorithm"
40 default MAC80211_RC_DEFAULT_PID
c21b39ac
SB
41 ---help---
42 This option selects the default rate control algorithm
43 mac80211 will use. Note that this default can still be
44 overriden through the ieee80211_default_rc_algo module
4b475898 45 parameter if different algorithms are available.
c21b39ac
SB
46
47config MAC80211_RC_DEFAULT_PID
48 bool "PID controller based rate control algorithm"
e5f5e733 49 depends on MAC80211_RC_PID
c21b39ac
SB
50 ---help---
51 Select the PID controller based rate control as the
52 default rate control algorithm. You should choose
53 this unless you know what you are doing.
54
c21b39ac 55endchoice
ac71c691 56
c21b39ac
SB
57config MAC80211_RC_DEFAULT
58 string
c21b39ac 59 default "pid" if MAC80211_RC_DEFAULT_PID
c21b39ac
SB
60 default ""
61
4b475898 62endmenu
ad018375 63
2f5ce793
JB
64config MAC80211_MESH
65 bool "Enable mac80211 mesh networking (pre-802.11s) support"
37659ff8 66 depends on MAC80211 && EXPERIMENTAL
2f5ce793 67 ---help---
5c142e8d
JB
68 This options enables support of Draft 802.11s mesh networking.
69 The implementation is based on Draft 1.08 of the Mesh Networking
70 amendment. For more information visit http://o11s.org/.
2f5ce793
JB
71
72
f0706e82
JB
73config MAC80211_LEDS
74 bool "Enable LED triggers"
bd8fd21d
LT
75 depends on MAC80211
76 select NEW_LEDS
77 select LEDS_TRIGGERS
f0706e82 78 ---help---
c40896de
JL
79 This option enables a few LED triggers for different
80 packet receive/transmit events.
f0706e82 81
e9f207f0
JB
82config MAC80211_DEBUGFS
83 bool "Export mac80211 internals in DebugFS"
84 depends on MAC80211 && DEBUG_FS
85 ---help---
86 Select this to see extensive information about
87 the internal state of mac80211 in debugfs.
88
89 Say N unless you know you need this.
90
6feeb8aa
JB
91config MAC80211_DEBUG_PACKET_ALIGNMENT
92 bool "Enable packet alignment debugging"
93 depends on MAC80211
94 help
95 This option is recommended for driver authors and strongly
96 discouraged for everybody else, it will trigger a warning
97 when a driver hands mac80211 a buffer that is aligned in
98 a way that will cause problems with the IP stack on some
99 architectures.
100
101 Say N unless you're writing a mac80211 based driver.
102
f0706e82
JB
103config MAC80211_DEBUG
104 bool "Enable debugging output"
105 depends on MAC80211
106 ---help---
107 This option will enable debug tracing output for the
108 ieee80211 network stack.
109
110 If you are not trying to debug or develop the ieee80211
111 subsystem, you most likely want to say N here.
82b3cad9
RR
112
113config MAC80211_HT_DEBUG
c40896de
JL
114 bool "Enable HT debugging output"
115 depends on MAC80211_DEBUG
116 ---help---
117 This option enables 802.11n High Throughput features
118 debug tracing output.
119
120 If you are not trying to debug of develop the ieee80211
121 subsystem, you most likely want to say N here.
f0706e82
JB
122
123config MAC80211_VERBOSE_DEBUG
124 bool "Verbose debugging output"
125 depends on MAC80211_DEBUG
126
127config MAC80211_LOWTX_FRAME_DUMP
128 bool "Debug frame dumping"
129 depends on MAC80211_DEBUG
130 ---help---
131 Selecting this option will cause the stack to
132 print a message for each frame that is handed
133 to the lowlevel driver for transmission. This
134 message includes all MAC addresses and the
135 frame control field.
136
137 If unsure, say N and insert the debugging code
138 you require into the driver you are debugging.
139
9ae705cf 140config MAC80211_TKIP_DEBUG
f0706e82
JB
141 bool "TKIP debugging"
142 depends on MAC80211_DEBUG
143
144config MAC80211_DEBUG_COUNTERS
145 bool "Extra statistics for TX/RX debugging"
146 depends on MAC80211_DEBUG
147
148config MAC80211_IBSS_DEBUG
149 bool "Support for IBSS testing"
150 depends on MAC80211_DEBUG
151 ---help---
152 Say Y here if you intend to debug the IBSS code.
153
154config MAC80211_VERBOSE_PS_DEBUG
155 bool "Verbose powersave mode debugging"
156 depends on MAC80211_DEBUG
157 ---help---
158 Say Y here to print out verbose powersave
159 mode debug messages.
2f5ce793
JB
160
161config MAC80211_VERBOSE_MPL_DEBUG
162 bool "Verbose mesh peer link debugging"
163 depends on MAC80211_DEBUG && MAC80211_MESH
164 ---help---
165 Say Y here to print out verbose mesh peer link
166 debug messages.
7b1e78d5
YZ
167
168config MAC80211_VERBOSE_SPECT_MGMT_DEBUG
169 bool "Verbose Spectrum Management (IEEE 802.11h)debugging"
170 depends on MAC80211_DEBUG
171 ---help---
172 Say Y here to print out verbose Spectrum Management (IEEE 802.11h)
173 debug messages.