Kconfig 6.8 KB

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