Kconfig 6.9 KB

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