Kconfig 8.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288
  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 CRYPTO_CCM
  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. bool
  18. config MAC80211_RC_MINSTREL
  19. bool "Minstrel" if EXPERT
  20. select MAC80211_HAS_RC
  21. default y
  22. ---help---
  23. This option enables the 'minstrel' TX rate control algorithm
  24. config MAC80211_RC_MINSTREL_HT
  25. bool "Minstrel 802.11n support" if EXPERT
  26. depends on MAC80211_RC_MINSTREL
  27. default y
  28. ---help---
  29. This option enables the 'minstrel_ht' 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_MINSTREL
  40. bool "Minstrel"
  41. depends on MAC80211_RC_MINSTREL
  42. ---help---
  43. Select Minstrel as the default rate control algorithm.
  44. endchoice
  45. config MAC80211_RC_DEFAULT
  46. string
  47. default "minstrel_ht" if MAC80211_RC_DEFAULT_MINSTREL && MAC80211_RC_MINSTREL_HT
  48. default "minstrel" if MAC80211_RC_DEFAULT_MINSTREL
  49. default ""
  50. endif
  51. comment "Some wireless drivers require a rate control algorithm"
  52. depends on MAC80211 && MAC80211_HAS_RC=n
  53. config MAC80211_MESH
  54. bool "Enable mac80211 mesh networking (pre-802.11s) support"
  55. depends on MAC80211
  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. depends on LEDS_CLASS
  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. config MAC80211_MESSAGE_TRACING
  78. bool "Trace all mac80211 debug messages"
  79. depends on MAC80211
  80. ---help---
  81. Select this option to have mac80211 register the
  82. mac80211_msg trace subsystem with tracepoints to
  83. collect all debugging messages, independent of
  84. printing them into the kernel log.
  85. The overhead in this option is that all the messages
  86. need to be present in the binary and formatted at
  87. runtime for tracing.
  88. menuconfig MAC80211_DEBUG_MENU
  89. bool "Select mac80211 debugging features"
  90. depends on MAC80211
  91. ---help---
  92. This option collects various mac80211 debug settings.
  93. config MAC80211_NOINLINE
  94. bool "Do not inline TX/RX handlers"
  95. depends on MAC80211_DEBUG_MENU
  96. ---help---
  97. This option affects code generation in mac80211, when
  98. selected some functions are marked "noinline" to allow
  99. easier debugging of problems in the transmit and receive
  100. paths.
  101. This option increases code size a bit and inserts a lot
  102. of function calls in the code, but is otherwise safe to
  103. enable.
  104. If unsure, say N unless you expect to be finding problems
  105. in mac80211.
  106. config MAC80211_VERBOSE_DEBUG
  107. bool "Verbose debugging output"
  108. depends on MAC80211_DEBUG_MENU
  109. ---help---
  110. Selecting this option causes mac80211 to print out
  111. many debugging messages. It should not be selected
  112. on production systems as some of the messages are
  113. remotely triggerable.
  114. Do not select this option.
  115. config MAC80211_MLME_DEBUG
  116. bool "Verbose managed MLME output"
  117. depends on MAC80211_DEBUG_MENU
  118. ---help---
  119. Selecting this option causes mac80211 to print out
  120. debugging messages for the managed-mode MLME. It
  121. should not be selected on production systems as some
  122. of the messages are remotely triggerable.
  123. Do not select this option.
  124. config MAC80211_STA_DEBUG
  125. bool "Verbose station debugging"
  126. depends on MAC80211_DEBUG_MENU
  127. ---help---
  128. Selecting this option causes mac80211 to print out
  129. debugging messages for station addition/removal.
  130. Do not select this option.
  131. config MAC80211_HT_DEBUG
  132. bool "Verbose HT debugging"
  133. depends on MAC80211_DEBUG_MENU
  134. ---help---
  135. This option enables 802.11n High Throughput features
  136. debug tracing output.
  137. It should not be selected on production systems as some
  138. of the messages are remotely triggerable.
  139. Do not select this option.
  140. config MAC80211_IBSS_DEBUG
  141. bool "Verbose IBSS debugging"
  142. depends on MAC80211_DEBUG_MENU
  143. ---help---
  144. Selecting this option causes mac80211 to print out
  145. very verbose IBSS debugging messages. It should not
  146. be selected on production systems as those messages
  147. are remotely triggerable.
  148. Do not select this option.
  149. config MAC80211_PS_DEBUG
  150. bool "Verbose powersave mode debugging"
  151. depends on MAC80211_DEBUG_MENU
  152. ---help---
  153. Selecting this option causes mac80211 to print out very
  154. verbose power save mode debugging messages (when mac80211
  155. is an AP and has power saving stations.)
  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_MPL_DEBUG
  160. bool "Verbose mesh peer link 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 peer link 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_MPATH_DEBUG
  171. bool "Verbose mesh path debugging"
  172. depends on MAC80211_DEBUG_MENU
  173. depends on MAC80211_MESH
  174. ---help---
  175. Selecting this option causes mac80211 to print out very
  176. verbose mesh path selection debugging messages (when mac80211
  177. is taking part in a mesh network).
  178. It should not be selected on production systems as those
  179. messages are remotely triggerable.
  180. Do not select this option.
  181. config MAC80211_MHWMP_DEBUG
  182. bool "Verbose mesh HWMP routing debugging"
  183. depends on MAC80211_DEBUG_MENU
  184. depends on MAC80211_MESH
  185. ---help---
  186. Selecting this option causes mac80211 to print out very
  187. verbose mesh routing (HWMP) debugging messages (when mac80211
  188. is taking part in a mesh network).
  189. It should not be selected on production systems as those
  190. messages are remotely triggerable.
  191. Do not select this option.
  192. config MAC80211_MESH_SYNC_DEBUG
  193. bool "Verbose mesh synchronization debugging"
  194. depends on MAC80211_DEBUG_MENU
  195. depends on MAC80211_MESH
  196. ---help---
  197. Selecting this option causes mac80211 to print out very verbose mesh
  198. synchronization debugging messages (when mac80211 is taking part in a
  199. mesh network).
  200. Do not select this option.
  201. config MAC80211_MESH_CSA_DEBUG
  202. bool "Verbose mesh channel switch debugging"
  203. depends on MAC80211_DEBUG_MENU
  204. depends on MAC80211_MESH
  205. ---help---
  206. Selecting this option causes mac80211 to print out very verbose mesh
  207. channel switch debugging messages (when mac80211 is taking part in a
  208. mesh network).
  209. Do not select this option.
  210. config MAC80211_MESH_PS_DEBUG
  211. bool "Verbose mesh powersave debugging"
  212. depends on MAC80211_DEBUG_MENU
  213. depends on MAC80211_MESH
  214. ---help---
  215. Selecting this option causes mac80211 to print out very verbose mesh
  216. powersave debugging messages (when mac80211 is taking part in a
  217. mesh network).
  218. Do not select this option.
  219. config MAC80211_TDLS_DEBUG
  220. bool "Verbose TDLS debugging"
  221. depends on MAC80211_DEBUG_MENU
  222. ---help---
  223. Selecting this option causes mac80211 to print out very
  224. verbose TDLS selection debugging messages (when mac80211
  225. is a TDLS STA).
  226. It should not be selected on production systems as those
  227. messages are remotely triggerable.
  228. Do not select this option.
  229. config MAC80211_DEBUG_COUNTERS
  230. bool "Extra statistics for TX/RX debugging"
  231. depends on MAC80211_DEBUG_MENU
  232. depends on MAC80211_DEBUGFS
  233. ---help---
  234. Selecting this option causes mac80211 to keep additional
  235. and very verbose statistics about TX and RX handler use
  236. and show them in debugfs.
  237. If unsure, say N.