Kconfig 6.6 KB

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