Kconfig 6.8 KB

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