1f0706e82SJiri Bencconfig MAC80211 2f0706e82SJiri Benc tristate "Generic IEEE 802.11 Networking Stack (mac80211)" 30aa8204bSJohannes Berg depends on CFG80211 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 ---help--- 10f0706e82SJiri Benc This option enables the hardware independent IEEE 802.11 11f0706e82SJiri Benc networking stack. 12f0706e82SJiri Benc 130aa8204bSJohannes Bergcomment "CFG80211 needs to be enabled for MAC80211" 140aa8204bSJohannes Berg depends on CFG80211=n 150aa8204bSJohannes Berg 164b475898SJohannes Bergmenu "Rate control algorithm selection" 174b475898SJohannes Berg depends on MAC80211 != n 18ac71c691SJohannes Berg 19e5f5e733SAdrian Bunkconfig MAC80211_RC_PID 20e5f5e733SAdrian Bunk bool "PID controller based rate control algorithm" if EMBEDDED 21e5f5e733SAdrian Bunk ---help--- 22e5f5e733SAdrian Bunk This option enables a TX rate control algorithm for 23e5f5e733SAdrian Bunk mac80211 that uses a PID controller to select the TX 24e5f5e733SAdrian Bunk rate. 25e5f5e733SAdrian Bunk 26cccf129fSFelix Fietkauconfig MAC80211_RC_MINSTREL 278eb41c93SLuis R. Rodriguez bool "Minstrel" if EMBEDDED 288eb41c93SLuis R. Rodriguez default y 29cccf129fSFelix Fietkau ---help--- 30cccf129fSFelix Fietkau This option enables the 'minstrel' TX rate control algorithm 31cccf129fSFelix Fietkau 32c21b39acSStefano Briviochoice 33c21b39acSStefano Brivio prompt "Default rate control algorithm" 348eb41c93SLuis R. Rodriguez default MAC80211_RC_DEFAULT_MINSTREL 35c21b39acSStefano Brivio ---help--- 36c21b39acSStefano Brivio This option selects the default rate control algorithm 37c21b39acSStefano Brivio mac80211 will use. Note that this default can still be 38692105b8SMatt LaPlante overridden through the ieee80211_default_rc_algo module 394b475898SJohannes Berg parameter if different algorithms are available. 40ac71c691SJohannes Berg 41c21b39acSStefano Brivioconfig MAC80211_RC_DEFAULT_PID 42c21b39acSStefano Brivio bool "PID controller based rate control algorithm" 43e5f5e733SAdrian Bunk depends on MAC80211_RC_PID 44c21b39acSStefano Brivio ---help--- 45c21b39acSStefano Brivio Select the PID controller based rate control as the 46c21b39acSStefano Brivio default rate control algorithm. You should choose 47c21b39acSStefano Brivio this unless you know what you are doing. 48c21b39acSStefano Brivio 49cccf129fSFelix Fietkauconfig MAC80211_RC_DEFAULT_MINSTREL 50cccf129fSFelix Fietkau bool "Minstrel" 51cccf129fSFelix Fietkau depends on MAC80211_RC_MINSTREL 52cccf129fSFelix Fietkau ---help--- 53cccf129fSFelix Fietkau Select Minstrel as the default rate control algorithm. 54cccf129fSFelix Fietkau 55cccf129fSFelix Fietkau 56c21b39acSStefano Brivioendchoice 57c21b39acSStefano Brivio 58c21b39acSStefano Brivioconfig MAC80211_RC_DEFAULT 59c21b39acSStefano Brivio string 60cccf129fSFelix Fietkau default "minstrel" if MAC80211_RC_DEFAULT_MINSTREL 618eb41c93SLuis R. Rodriguez default "pid" if MAC80211_RC_DEFAULT_PID 62c21b39acSStefano Brivio default "" 63c21b39acSStefano Brivio 644b475898SJohannes Bergendmenu 65ad018375SMattias Nissler 662f5ce793SJohannes Bergconfig MAC80211_MESH 672f5ce793SJohannes Berg bool "Enable mac80211 mesh networking (pre-802.11s) support" 6837659ff8SLuis Carlos Cobo depends on MAC80211 && EXPERIMENTAL 692f5ce793SJohannes Berg ---help--- 705c142e8dSJohannes Berg This options enables support of Draft 802.11s mesh networking. 71*18889231SJavier Cardona The implementation is based on Draft 2.08 of the Mesh Networking 72*18889231SJavier Cardona amendment. However, no compliance with that draft is claimed or even 73*18889231SJavier Cardona possible, as drafts leave a number of identifiers to be defined after 74*18889231SJavier Cardona ratification. For more information visit http://o11s.org/. 752f5ce793SJohannes Berg 76f0706e82SJiri Bencconfig MAC80211_LEDS 77f0706e82SJiri Benc bool "Enable LED triggers" 78bd8fd21dSLuca Tettamanti depends on MAC80211 79bd8fd21dSLuca Tettamanti select NEW_LEDS 80bd8fd21dSLuca Tettamanti select LEDS_TRIGGERS 81f0706e82SJiri Benc ---help--- 82f0706e82SJiri Benc This option enables a few LED triggers for different 83f0706e82SJiri Benc packet receive/transmit events. 84f0706e82SJiri Benc 85e9f207f0SJiri Bencconfig MAC80211_DEBUGFS 86e9f207f0SJiri Benc bool "Export mac80211 internals in DebugFS" 87e9f207f0SJiri Benc depends on MAC80211 && DEBUG_FS 88e9f207f0SJiri Benc ---help--- 89e9f207f0SJiri Benc Select this to see extensive information about 90e9f207f0SJiri Benc the internal state of mac80211 in debugfs. 91e9f207f0SJiri Benc 92e9f207f0SJiri Benc Say N unless you know you need this. 93e9f207f0SJiri Benc 94f4ea83ddSJohannes Bergmenuconfig MAC80211_DEBUG_MENU 95f4ea83ddSJohannes Berg bool "Select mac80211 debugging features" 96f4ea83ddSJohannes Berg depends on MAC80211 97f4ea83ddSJohannes Berg ---help--- 98f4ea83ddSJohannes Berg This option collects various mac80211 debug settings. 99f4ea83ddSJohannes Berg 1006feeb8aaSJohannes Bergconfig MAC80211_DEBUG_PACKET_ALIGNMENT 1016feeb8aaSJohannes Berg bool "Enable packet alignment debugging" 102f4ea83ddSJohannes Berg depends on MAC80211_DEBUG_MENU 103f4ea83ddSJohannes Berg ---help--- 1046feeb8aaSJohannes Berg This option is recommended for driver authors and strongly 1056feeb8aaSJohannes Berg discouraged for everybody else, it will trigger a warning 1066feeb8aaSJohannes Berg when a driver hands mac80211 a buffer that is aligned in 1076feeb8aaSJohannes Berg a way that will cause problems with the IP stack on some 1086feeb8aaSJohannes Berg architectures. 1096feeb8aaSJohannes Berg 1106feeb8aaSJohannes Berg Say N unless you're writing a mac80211 based driver. 1116feeb8aaSJohannes Berg 112f4ea83ddSJohannes Bergconfig MAC80211_NOINLINE 113f4ea83ddSJohannes Berg bool "Do not inline TX/RX handlers" 114f4ea83ddSJohannes Berg depends on MAC80211_DEBUG_MENU 115f0706e82SJiri Benc ---help--- 116f4ea83ddSJohannes Berg This option affects code generation in mac80211, when 117f4ea83ddSJohannes Berg selected some functions are marked "noinline" to allow 118f4ea83ddSJohannes Berg easier debugging of problems in the transmit and receive 119f4ea83ddSJohannes Berg paths. 120f0706e82SJiri Benc 121f4ea83ddSJohannes Berg This option increases code size a bit and inserts a lot 122f4ea83ddSJohannes Berg of function calls in the code, but is otherwise safe to 123f4ea83ddSJohannes Berg enable. 124f4ea83ddSJohannes Berg 125f4ea83ddSJohannes Berg If unsure, say N unless you expect to be finding problems 126f4ea83ddSJohannes Berg in mac80211. 127f4ea83ddSJohannes Berg 128f4ea83ddSJohannes Bergconfig MAC80211_VERBOSE_DEBUG 129f4ea83ddSJohannes Berg bool "Verbose debugging output" 130f4ea83ddSJohannes Berg depends on MAC80211_DEBUG_MENU 131f4ea83ddSJohannes Berg ---help--- 132f4ea83ddSJohannes Berg Selecting this option causes mac80211 to print out 133f4ea83ddSJohannes Berg many debugging messages. It should not be selected 134f4ea83ddSJohannes Berg on production systems as some of the messages are 135f4ea83ddSJohannes Berg remotely triggerable. 136f4ea83ddSJohannes Berg 137f4ea83ddSJohannes Berg Do not select this option. 138f0706e82SJiri Benc 13982b3cad9SRon Rindjunskyconfig MAC80211_HT_DEBUG 140f4ea83ddSJohannes Berg bool "Verbose HT debugging" 141f4ea83ddSJohannes Berg depends on MAC80211_DEBUG_MENU 14282b3cad9SRon Rindjunsky ---help--- 14382b3cad9SRon Rindjunsky This option enables 802.11n High Throughput features 14482b3cad9SRon Rindjunsky debug tracing output. 14582b3cad9SRon Rindjunsky 146f4ea83ddSJohannes Berg It should not be selected on production systems as some 147f4ea83ddSJohannes Berg of the messages are remotely triggerable. 14882b3cad9SRon Rindjunsky 149f4ea83ddSJohannes Berg Do not select this option. 150f4ea83ddSJohannes Berg 151f4ea83ddSJohannes Bergconfig MAC80211_TKIP_DEBUG 152f4ea83ddSJohannes Berg bool "Verbose TKIP debugging" 153f4ea83ddSJohannes Berg depends on MAC80211_DEBUG_MENU 154f4ea83ddSJohannes Berg ---help--- 155f4ea83ddSJohannes Berg Selecting this option causes mac80211 to print out 156f4ea83ddSJohannes Berg very verbose TKIP debugging messages. It should not 157f4ea83ddSJohannes Berg be selected on production systems as those messages 158f4ea83ddSJohannes Berg are remotely triggerable. 159f4ea83ddSJohannes Berg 160f4ea83ddSJohannes Berg Do not select this option. 161f4ea83ddSJohannes Berg 162f4ea83ddSJohannes Bergconfig MAC80211_IBSS_DEBUG 163f4ea83ddSJohannes Berg bool "Verbose IBSS debugging" 164f4ea83ddSJohannes Berg depends on MAC80211_DEBUG_MENU 165f4ea83ddSJohannes Berg ---help--- 166f4ea83ddSJohannes Berg Selecting this option causes mac80211 to print out 167f4ea83ddSJohannes Berg very verbose IBSS debugging messages. It should not 168f4ea83ddSJohannes Berg be selected on production systems as those messages 169f4ea83ddSJohannes Berg are remotely triggerable. 170f4ea83ddSJohannes Berg 171f4ea83ddSJohannes Berg Do not select this option. 172f4ea83ddSJohannes Berg 173f4ea83ddSJohannes Bergconfig MAC80211_VERBOSE_PS_DEBUG 174f4ea83ddSJohannes Berg bool "Verbose powersave mode debugging" 175f4ea83ddSJohannes Berg depends on MAC80211_DEBUG_MENU 176f4ea83ddSJohannes Berg ---help--- 177f4ea83ddSJohannes Berg Selecting this option causes mac80211 to print out very 178f4ea83ddSJohannes Berg verbose power save mode debugging messages (when mac80211 179f4ea83ddSJohannes Berg is an AP and has power saving stations.) 180f4ea83ddSJohannes Berg It should not be selected on production systems as those 181f4ea83ddSJohannes Berg messages are remotely triggerable. 182f4ea83ddSJohannes Berg 183f4ea83ddSJohannes Berg Do not select this option. 184f4ea83ddSJohannes Berg 185f4ea83ddSJohannes Bergconfig MAC80211_VERBOSE_MPL_DEBUG 186f4ea83ddSJohannes Berg bool "Verbose mesh peer link debugging" 187f4ea83ddSJohannes Berg depends on MAC80211_DEBUG_MENU 188f4ea83ddSJohannes Berg depends on MAC80211_MESH 189f4ea83ddSJohannes Berg ---help--- 190f4ea83ddSJohannes Berg Selecting this option causes mac80211 to print out very 191f4ea83ddSJohannes Berg verbose mesh peer link debugging messages (when mac80211 192f4ea83ddSJohannes Berg is taking part in a mesh network). 193f4ea83ddSJohannes Berg It should not be selected on production systems as those 194f4ea83ddSJohannes Berg messages are remotely triggerable. 195f4ea83ddSJohannes Berg 196f4ea83ddSJohannes Berg Do not select this option. 197f0706e82SJiri Benc 198f0706e82SJiri Bencconfig MAC80211_DEBUG_COUNTERS 199f0706e82SJiri Benc bool "Extra statistics for TX/RX debugging" 200f4ea83ddSJohannes Berg depends on MAC80211_DEBUG_MENU 201f4ea83ddSJohannes Berg depends on MAC80211_DEBUGFS 202f0706e82SJiri Benc ---help--- 203f4ea83ddSJohannes Berg Selecting this option causes mac80211 to keep additional 204f4ea83ddSJohannes Berg and very verbose statistics about TX and RX handler use 205f4ea83ddSJohannes Berg and show them in debugfs. 206f0706e82SJiri Benc 207f4ea83ddSJohannes Berg If unsure, say N. 2080a2b8bb2SJohannes Berg 2090a2b8bb2SJohannes Bergconfig MAC80211_DRIVER_API_TRACER 2100a2b8bb2SJohannes Berg bool "Driver API tracer" 2110a2b8bb2SJohannes Berg depends on MAC80211_DEBUG_MENU 2120a2b8bb2SJohannes Berg depends on EVENT_TRACING 2130a2b8bb2SJohannes Berg help 2140a2b8bb2SJohannes Berg Say Y here to make mac80211 register with the ftrace 2150a2b8bb2SJohannes Berg framework for the driver API -- you can see which 2160a2b8bb2SJohannes Berg driver methods it is calling then by looking at the 2170a2b8bb2SJohannes Berg trace. 2180a2b8bb2SJohannes Berg 2190a2b8bb2SJohannes Berg If unsure, say N. 220