Kconfig 7.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250
  1. config MAC80211
  2. tristate "Generic IEEE 802.11 Networking Stack (mac80211)"
  3. depends on CFG80211
  4. select CRYPTO
  5. select CRYPTO_ARC4
  6. select CRYPTO_AES
  7. select CRC32
  8. select AVERAGE
  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. bool
  17. config MAC80211_RC_PID
  18. bool "PID controller based rate control algorithm" if EXPERT
  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 EXPERT
  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 EXPERT
  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_ht" if MAC80211_RC_DEFAULT_MINSTREL && MAC80211_RC_MINSTREL_HT
  61. default "minstrel" if MAC80211_RC_DEFAULT_MINSTREL
  62. default "pid" if MAC80211_RC_DEFAULT_PID
  63. default ""
  64. endif
  65. comment "Some wireless drivers require a rate control algorithm"
  66. depends on MAC80211 && MAC80211_HAS_RC=n
  67. config MAC80211_MESH
  68. bool "Enable mac80211 mesh networking (pre-802.11s) support"
  69. depends on MAC80211 && EXPERIMENTAL
  70. ---help---
  71. This options enables support of Draft 802.11s mesh networking.
  72. The implementation is based on Draft 2.08 of the Mesh Networking
  73. amendment. However, no compliance with that draft is claimed or even
  74. possible, as drafts leave a number of identifiers to be defined after
  75. ratification. For more information visit http://o11s.org/.
  76. config MAC80211_LEDS
  77. bool "Enable LED triggers"
  78. depends on MAC80211
  79. depends on LEDS_CLASS
  80. select LEDS_TRIGGERS
  81. ---help---
  82. This option enables a few LED triggers for different
  83. packet receive/transmit events.
  84. config MAC80211_DEBUGFS
  85. bool "Export mac80211 internals in DebugFS"
  86. depends on MAC80211 && DEBUG_FS
  87. ---help---
  88. Select this to see extensive information about
  89. the internal state of mac80211 in debugfs.
  90. Say N unless you know you need this.
  91. menuconfig MAC80211_DEBUG_MENU
  92. bool "Select mac80211 debugging features"
  93. depends on MAC80211
  94. ---help---
  95. This option collects various mac80211 debug settings.
  96. config MAC80211_NOINLINE
  97. bool "Do not inline TX/RX handlers"
  98. depends on MAC80211_DEBUG_MENU
  99. ---help---
  100. This option affects code generation in mac80211, when
  101. selected some functions are marked "noinline" to allow
  102. easier debugging of problems in the transmit and receive
  103. paths.
  104. This option increases code size a bit and inserts a lot
  105. of function calls in the code, but is otherwise safe to
  106. enable.
  107. If unsure, say N unless you expect to be finding problems
  108. in mac80211.
  109. config MAC80211_VERBOSE_DEBUG
  110. bool "Verbose debugging output"
  111. depends on MAC80211_DEBUG_MENU
  112. ---help---
  113. Selecting this option causes mac80211 to print out
  114. many debugging messages. It should not be selected
  115. on production systems as some of the messages are
  116. remotely triggerable.
  117. Do not select this option.
  118. config MAC80211_HT_DEBUG
  119. bool "Verbose HT debugging"
  120. depends on MAC80211_DEBUG_MENU
  121. ---help---
  122. This option enables 802.11n High Throughput features
  123. debug tracing output.
  124. It should not be selected on production systems as some
  125. of the messages are remotely triggerable.
  126. Do not select this option.
  127. config MAC80211_TKIP_DEBUG
  128. bool "Verbose TKIP debugging"
  129. depends on MAC80211_DEBUG_MENU
  130. ---help---
  131. Selecting this option causes mac80211 to print out
  132. very verbose TKIP debugging messages. It should not
  133. be selected on production systems as those messages
  134. are remotely triggerable.
  135. Do not select this option.
  136. config MAC80211_IBSS_DEBUG
  137. bool "Verbose IBSS debugging"
  138. depends on MAC80211_DEBUG_MENU
  139. ---help---
  140. Selecting this option causes mac80211 to print out
  141. very verbose IBSS debugging messages. It should not
  142. be selected on production systems as those messages
  143. are remotely triggerable.
  144. Do not select this option.
  145. config MAC80211_VERBOSE_PS_DEBUG
  146. bool "Verbose powersave mode debugging"
  147. depends on MAC80211_DEBUG_MENU
  148. ---help---
  149. Selecting this option causes mac80211 to print out very
  150. verbose power save mode debugging messages (when mac80211
  151. is an AP and has power saving stations.)
  152. It should not be selected on production systems as those
  153. messages are remotely triggerable.
  154. Do not select this option.
  155. config MAC80211_VERBOSE_MPL_DEBUG
  156. bool "Verbose mesh peer link debugging"
  157. depends on MAC80211_DEBUG_MENU
  158. depends on MAC80211_MESH
  159. ---help---
  160. Selecting this option causes mac80211 to print out very
  161. verbose mesh peer link debugging messages (when mac80211
  162. is taking part in a mesh network).
  163. It should not be selected on production systems as those
  164. messages are remotely triggerable.
  165. Do not select this option.
  166. config MAC80211_VERBOSE_MPATH_DEBUG
  167. bool "Verbose mesh path debugging"
  168. depends on MAC80211_DEBUG_MENU
  169. depends on MAC80211_MESH
  170. ---help---
  171. Selecting this option causes mac80211 to print out very
  172. verbose mesh path selection debugging messages (when mac80211
  173. is taking part in a mesh network).
  174. It should not be selected on production systems as those
  175. messages are remotely triggerable.
  176. Do not select this option.
  177. config MAC80211_VERBOSE_MHWMP_DEBUG
  178. bool "Verbose mesh HWMP routing debugging"
  179. depends on MAC80211_DEBUG_MENU
  180. depends on MAC80211_MESH
  181. ---help---
  182. Selecting this option causes mac80211 to print out very
  183. verbose mesh routing (HWMP) debugging messages (when mac80211
  184. is taking part in a mesh network).
  185. It should not be selected on production systems as those
  186. messages are remotely triggerable.
  187. Do not select this option.
  188. config MAC80211_VERBOSE_TDLS_DEBUG
  189. bool "Verbose TDLS debugging"
  190. depends on MAC80211_DEBUG_MENU
  191. ---help---
  192. Selecting this option causes mac80211 to print out very
  193. verbose TDLS selection debugging messages (when mac80211
  194. is a TDLS STA).
  195. It should not be selected on production systems as those
  196. messages are remotely triggerable.
  197. Do not select this option.
  198. config MAC80211_DEBUG_COUNTERS
  199. bool "Extra statistics for TX/RX debugging"
  200. depends on MAC80211_DEBUG_MENU
  201. depends on MAC80211_DEBUGFS
  202. ---help---
  203. Selecting this option causes mac80211 to keep additional
  204. and very verbose statistics about TX and RX handler use
  205. and show them in debugfs.
  206. If unsure, say N.