Kconfig 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219
  1. config MAC80211
  2. tristate "Generic IEEE 802.11 Networking Stack (mac80211)"
  3. depends on CFG80211
  4. select CRYPTO
  5. select CRYPTO_ECB
  6. select CRYPTO_ARC4
  7. select CRYPTO_AES
  8. select CRC32
  9. ---help---
  10. This option enables the hardware independent IEEE 802.11
  11. networking stack.
  12. comment "CFG80211 needs to be enabled for MAC80211"
  13. depends on CFG80211=n
  14. menu "Rate control algorithm selection"
  15. depends on MAC80211 != n
  16. config MAC80211_RC_PID
  17. bool "PID controller based rate control algorithm" if EMBEDDED
  18. ---help---
  19. This option enables a TX rate control algorithm for
  20. mac80211 that uses a PID controller to select the TX
  21. rate.
  22. config MAC80211_RC_MINSTREL
  23. bool "Minstrel" if EMBEDDED
  24. default y
  25. ---help---
  26. This option enables the 'minstrel' TX rate control algorithm
  27. choice
  28. prompt "Default rate control algorithm"
  29. default MAC80211_RC_DEFAULT_MINSTREL
  30. ---help---
  31. This option selects the default rate control algorithm
  32. mac80211 will use. Note that this default can still be
  33. overridden through the ieee80211_default_rc_algo module
  34. parameter if different algorithms are available.
  35. config MAC80211_RC_DEFAULT_PID
  36. bool "PID controller based rate control algorithm"
  37. depends on MAC80211_RC_PID
  38. ---help---
  39. Select the PID controller based rate control as the
  40. default rate control algorithm. You should choose
  41. this unless you know what you are doing.
  42. config MAC80211_RC_DEFAULT_MINSTREL
  43. bool "Minstrel"
  44. depends on MAC80211_RC_MINSTREL
  45. ---help---
  46. Select Minstrel as the default rate control algorithm.
  47. endchoice
  48. config MAC80211_RC_DEFAULT
  49. string
  50. default "minstrel" if MAC80211_RC_DEFAULT_MINSTREL
  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 2.08 of the Mesh Networking
  60. amendment. However, no compliance with that draft is claimed or even
  61. possible, as drafts leave a number of identifiers to be defined after
  62. ratification. For more information visit http://o11s.org/.
  63. config MAC80211_LEDS
  64. bool "Enable LED triggers"
  65. depends on MAC80211
  66. select NEW_LEDS
  67. select LEDS_TRIGGERS
  68. ---help---
  69. This option enables a few LED triggers for different
  70. packet receive/transmit events.
  71. config MAC80211_DEBUGFS
  72. bool "Export mac80211 internals in DebugFS"
  73. depends on MAC80211 && DEBUG_FS
  74. ---help---
  75. Select this to see extensive information about
  76. the internal state of mac80211 in debugfs.
  77. Say N unless you know you need this.
  78. menuconfig MAC80211_DEBUG_MENU
  79. bool "Select mac80211 debugging features"
  80. depends on MAC80211
  81. ---help---
  82. This option collects various mac80211 debug settings.
  83. config MAC80211_DEBUG_PACKET_ALIGNMENT
  84. bool "Enable packet alignment debugging"
  85. depends on MAC80211_DEBUG_MENU
  86. ---help---
  87. This option is recommended for driver authors and strongly
  88. discouraged for everybody else, it will trigger a warning
  89. when a driver hands mac80211 a buffer that is aligned in
  90. a way that will cause problems with the IP stack on some
  91. architectures.
  92. Say N unless you're writing a mac80211 based driver.
  93. config MAC80211_NOINLINE
  94. bool "Do not inline TX/RX handlers"
  95. depends on MAC80211_DEBUG_MENU
  96. ---help---
  97. This option affects code generation in mac80211, when
  98. selected some functions are marked "noinline" to allow
  99. easier debugging of problems in the transmit and receive
  100. paths.
  101. This option increases code size a bit and inserts a lot
  102. of function calls in the code, but is otherwise safe to
  103. enable.
  104. If unsure, say N unless you expect to be finding problems
  105. in mac80211.
  106. config MAC80211_VERBOSE_DEBUG
  107. bool "Verbose debugging output"
  108. depends on MAC80211_DEBUG_MENU
  109. ---help---
  110. Selecting this option causes mac80211 to print out
  111. many debugging messages. It should not be selected
  112. on production systems as some of the messages are
  113. remotely triggerable.
  114. Do not select this option.
  115. config MAC80211_HT_DEBUG
  116. bool "Verbose HT debugging"
  117. depends on MAC80211_DEBUG_MENU
  118. ---help---
  119. This option enables 802.11n High Throughput features
  120. debug tracing output.
  121. It should not be selected on production systems as some
  122. of the messages are remotely triggerable.
  123. Do not select this option.
  124. config MAC80211_TKIP_DEBUG
  125. bool "Verbose TKIP debugging"
  126. depends on MAC80211_DEBUG_MENU
  127. ---help---
  128. Selecting this option causes mac80211 to print out
  129. very verbose TKIP debugging messages. It should not
  130. be selected on production systems as those messages
  131. are remotely triggerable.
  132. Do not select this option.
  133. config MAC80211_IBSS_DEBUG
  134. bool "Verbose IBSS debugging"
  135. depends on MAC80211_DEBUG_MENU
  136. ---help---
  137. Selecting this option causes mac80211 to print out
  138. very verbose IBSS debugging messages. It should not
  139. be selected on production systems as those messages
  140. are remotely triggerable.
  141. Do not select this option.
  142. config MAC80211_VERBOSE_PS_DEBUG
  143. bool "Verbose powersave mode debugging"
  144. depends on MAC80211_DEBUG_MENU
  145. ---help---
  146. Selecting this option causes mac80211 to print out very
  147. verbose power save mode debugging messages (when mac80211
  148. is an AP and has power saving stations.)
  149. It should not be selected on production systems as those
  150. messages are remotely triggerable.
  151. Do not select this option.
  152. config MAC80211_VERBOSE_MPL_DEBUG
  153. bool "Verbose mesh peer link debugging"
  154. depends on MAC80211_DEBUG_MENU
  155. depends on MAC80211_MESH
  156. ---help---
  157. Selecting this option causes mac80211 to print out very
  158. verbose mesh peer link debugging messages (when mac80211
  159. is taking part in a mesh network).
  160. It should not be selected on production systems as those
  161. messages are remotely triggerable.
  162. Do not select this option.
  163. config MAC80211_DEBUG_COUNTERS
  164. bool "Extra statistics for TX/RX debugging"
  165. depends on MAC80211_DEBUG_MENU
  166. depends on MAC80211_DEBUGFS
  167. ---help---
  168. Selecting this option causes mac80211 to keep additional
  169. and very verbose statistics about TX and RX handler use
  170. and show them in debugfs.
  171. If unsure, say N.
  172. config MAC80211_DRIVER_API_TRACER
  173. bool "Driver API tracer"
  174. depends on MAC80211_DEBUG_MENU
  175. depends on EVENT_TRACING
  176. help
  177. Say Y here to make mac80211 register with the ftrace
  178. framework for the driver API -- you can see which
  179. driver methods it is calling then by looking at the
  180. trace.
  181. If unsure, say N.