Kconfig 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224
  1. config 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. ---help---
  11. This option enables the hardware independent IEEE 802.11
  12. networking stack.
  13. config MAC80211_QOS
  14. def_bool y
  15. depends on MAC80211
  16. depends on NET_SCHED
  17. depends on NETDEVICES_MULTIQUEUE
  18. comment "QoS/HT support disabled"
  19. depends on MAC80211 && !MAC80211_QOS
  20. comment "QoS/HT support needs CONFIG_NET_SCHED"
  21. depends on MAC80211 && !NET_SCHED
  22. comment "QoS/HT support needs CONFIG_NETDEVICES_MULTIQUEUE"
  23. depends on MAC80211 && !NETDEVICES_MULTIQUEUE
  24. menu "Rate control algorithm selection"
  25. depends on MAC80211 != n
  26. config MAC80211_RC_PID
  27. bool "PID controller based rate control algorithm" if EMBEDDED
  28. default y
  29. ---help---
  30. This option enables a TX rate control algorithm for
  31. mac80211 that uses a PID controller to select the TX
  32. rate.
  33. choice
  34. prompt "Default rate control algorithm"
  35. default MAC80211_RC_DEFAULT_PID
  36. ---help---
  37. This option selects the default rate control algorithm
  38. mac80211 will use. Note that this default can still be
  39. overriden through the ieee80211_default_rc_algo module
  40. parameter if different algorithms are available.
  41. config MAC80211_RC_DEFAULT_PID
  42. bool "PID controller based rate control algorithm"
  43. depends on MAC80211_RC_PID
  44. ---help---
  45. Select the PID controller based rate control as the
  46. default rate control algorithm. You should choose
  47. this unless you know what you are doing.
  48. endchoice
  49. config MAC80211_RC_DEFAULT
  50. string
  51. default "pid" if MAC80211_RC_DEFAULT_PID
  52. default ""
  53. endmenu
  54. config MAC80211_MESH
  55. bool "Enable mac80211 mesh networking (pre-802.11s) support"
  56. depends on MAC80211 && EXPERIMENTAL
  57. ---help---
  58. This options enables support of Draft 802.11s mesh networking.
  59. The implementation is based on Draft 1.08 of the Mesh Networking
  60. amendment. For more information visit http://o11s.org/.
  61. config MAC80211_LEDS
  62. bool "Enable LED triggers"
  63. depends on MAC80211
  64. select NEW_LEDS
  65. select LEDS_TRIGGERS
  66. ---help---
  67. This option enables a few LED triggers for different
  68. packet receive/transmit events.
  69. config MAC80211_DEBUGFS
  70. bool "Export mac80211 internals in DebugFS"
  71. depends on MAC80211 && DEBUG_FS
  72. ---help---
  73. Select this to see extensive information about
  74. the internal state of mac80211 in debugfs.
  75. Say N unless you know you need this.
  76. menuconfig MAC80211_DEBUG_MENU
  77. bool "Select mac80211 debugging features"
  78. depends on MAC80211
  79. ---help---
  80. This option collects various mac80211 debug settings.
  81. config MAC80211_DEBUG_PACKET_ALIGNMENT
  82. bool "Enable packet alignment debugging"
  83. depends on MAC80211_DEBUG_MENU
  84. ---help---
  85. This option is recommended for driver authors and strongly
  86. discouraged for everybody else, it will trigger a warning
  87. when a driver hands mac80211 a buffer that is aligned in
  88. a way that will cause problems with the IP stack on some
  89. architectures.
  90. Say N unless you're writing a mac80211 based driver.
  91. config MAC80211_NOINLINE
  92. bool "Do not inline TX/RX handlers"
  93. depends on MAC80211_DEBUG_MENU
  94. ---help---
  95. This option affects code generation in mac80211, when
  96. selected some functions are marked "noinline" to allow
  97. easier debugging of problems in the transmit and receive
  98. paths.
  99. This option increases code size a bit and inserts a lot
  100. of function calls in the code, but is otherwise safe to
  101. enable.
  102. If unsure, say N unless you expect to be finding problems
  103. in mac80211.
  104. config MAC80211_VERBOSE_DEBUG
  105. bool "Verbose debugging output"
  106. depends on MAC80211_DEBUG_MENU
  107. ---help---
  108. Selecting this option causes mac80211 to print out
  109. many debugging messages. It should not be selected
  110. on production systems as some of the messages are
  111. remotely triggerable.
  112. Do not select this option.
  113. config MAC80211_HT_DEBUG
  114. bool "Verbose HT debugging"
  115. depends on MAC80211_DEBUG_MENU
  116. ---help---
  117. This option enables 802.11n High Throughput features
  118. debug tracing output.
  119. It should not be selected on production systems as some
  120. of the messages are remotely triggerable.
  121. Do not select this option.
  122. config MAC80211_TKIP_DEBUG
  123. bool "Verbose TKIP debugging"
  124. depends on MAC80211_DEBUG_MENU
  125. ---help---
  126. Selecting this option causes mac80211 to print out
  127. very verbose TKIP debugging messages. It should not
  128. be selected on production systems as those messages
  129. are remotely triggerable.
  130. Do not select this option.
  131. config MAC80211_IBSS_DEBUG
  132. bool "Verbose IBSS debugging"
  133. depends on MAC80211_DEBUG_MENU
  134. ---help---
  135. Selecting this option causes mac80211 to print out
  136. very verbose IBSS debugging messages. It should not
  137. be selected on production systems as those messages
  138. are remotely triggerable.
  139. Do not select this option.
  140. config MAC80211_VERBOSE_PS_DEBUG
  141. bool "Verbose powersave mode debugging"
  142. depends on MAC80211_DEBUG_MENU
  143. ---help---
  144. Selecting this option causes mac80211 to print out very
  145. verbose power save mode debugging messages (when mac80211
  146. is an AP and has power saving stations.)
  147. It should not be selected on production systems as those
  148. messages are remotely triggerable.
  149. Do not select this option.
  150. config MAC80211_VERBOSE_MPL_DEBUG
  151. bool "Verbose mesh peer link debugging"
  152. depends on MAC80211_DEBUG_MENU
  153. depends on MAC80211_MESH
  154. ---help---
  155. Selecting this option causes mac80211 to print out very
  156. verbose mesh peer link debugging messages (when mac80211
  157. is taking part in a mesh network).
  158. It should not be selected on production systems as those
  159. messages are remotely triggerable.
  160. Do not select this option.
  161. config MAC80211_LOWTX_FRAME_DUMP
  162. bool "Debug frame dumping"
  163. depends on MAC80211_DEBUG_MENU
  164. ---help---
  165. Selecting this option will cause the stack to
  166. print a message for each frame that is handed
  167. to the lowlevel driver for transmission. This
  168. message includes all MAC addresses and the
  169. frame control field.
  170. If unsure, say N and insert the debugging code
  171. you require into the driver you are debugging.
  172. config MAC80211_DEBUG_COUNTERS
  173. bool "Extra statistics for TX/RX debugging"
  174. depends on MAC80211_DEBUG_MENU
  175. depends on MAC80211_DEBUGFS
  176. ---help---
  177. Selecting this option causes mac80211 to keep additional
  178. and very verbose statistics about TX and RX handler use
  179. and show them in debugfs.
  180. If unsure, say N.
  181. config MAC80211_VERBOSE_SPECT_MGMT_DEBUG
  182. bool "Verbose Spectrum Management (IEEE 802.11h)debugging"
  183. depends on MAC80211_DEBUG_MENU
  184. ---help---
  185. Say Y here to print out verbose Spectrum Management (IEEE 802.11h)
  186. debug messages.