Kconfig 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224
  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 WIRELESS_EXT
  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. config MAC80211_DEFAULT_PS
  16. bool "enable powersave by default"
  17. depends on MAC80211
  18. default y
  19. help
  20. This option enables powersave mode by default.
  21. If this causes your applications to misbehave you should fix your
  22. applications instead -- they need to register their network
  23. latency requirement, see Documentation/power/pm_qos_interface.txt.
  24. config MAC80211_DEFAULT_PS_VALUE
  25. int
  26. default 1 if MAC80211_DEFAULT_PS
  27. default 0
  28. menu "Rate control algorithm selection"
  29. depends on MAC80211 != n
  30. config MAC80211_RC_PID
  31. bool "PID controller based rate control algorithm" if EMBEDDED
  32. ---help---
  33. This option enables a TX rate control algorithm for
  34. mac80211 that uses a PID controller to select the TX
  35. rate.
  36. config MAC80211_RC_MINSTREL
  37. bool "Minstrel" if EMBEDDED
  38. default y
  39. ---help---
  40. This option enables the 'minstrel' TX rate control algorithm
  41. choice
  42. prompt "Default rate control algorithm"
  43. default MAC80211_RC_DEFAULT_MINSTREL
  44. ---help---
  45. This option selects the default rate control algorithm
  46. mac80211 will use. Note that this default can still be
  47. overridden through the ieee80211_default_rc_algo module
  48. parameter if different algorithms are available.
  49. config MAC80211_RC_DEFAULT_PID
  50. bool "PID controller based rate control algorithm"
  51. depends on MAC80211_RC_PID
  52. ---help---
  53. Select the PID controller based rate control as the
  54. default rate control algorithm. You should choose
  55. this unless you know what you are doing.
  56. config MAC80211_RC_DEFAULT_MINSTREL
  57. bool "Minstrel"
  58. depends on MAC80211_RC_MINSTREL
  59. ---help---
  60. Select Minstrel as the default rate control algorithm.
  61. endchoice
  62. config MAC80211_RC_DEFAULT
  63. string
  64. default "minstrel" if MAC80211_RC_DEFAULT_MINSTREL
  65. default "pid" if MAC80211_RC_DEFAULT_PID
  66. default ""
  67. endmenu
  68. config MAC80211_MESH
  69. bool "Enable mac80211 mesh networking (pre-802.11s) support"
  70. depends on MAC80211 && EXPERIMENTAL
  71. depends on BROKEN
  72. ---help---
  73. This options enables support of Draft 802.11s mesh networking.
  74. The implementation is based on Draft 1.08 of the Mesh Networking
  75. amendment. For more information visit http://o11s.org/.
  76. config MAC80211_LEDS
  77. bool "Enable LED triggers"
  78. depends on MAC80211
  79. select NEW_LEDS
  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_DEBUG_PACKET_ALIGNMENT
  97. bool "Enable packet alignment debugging"
  98. depends on MAC80211_DEBUG_MENU
  99. ---help---
  100. This option is recommended for driver authors and strongly
  101. discouraged for everybody else, it will trigger a warning
  102. when a driver hands mac80211 a buffer that is aligned in
  103. a way that will cause problems with the IP stack on some
  104. architectures.
  105. Say N unless you're writing a mac80211 based driver.
  106. config MAC80211_NOINLINE
  107. bool "Do not inline TX/RX handlers"
  108. depends on MAC80211_DEBUG_MENU
  109. ---help---
  110. This option affects code generation in mac80211, when
  111. selected some functions are marked "noinline" to allow
  112. easier debugging of problems in the transmit and receive
  113. paths.
  114. This option increases code size a bit and inserts a lot
  115. of function calls in the code, but is otherwise safe to
  116. enable.
  117. If unsure, say N unless you expect to be finding problems
  118. in mac80211.
  119. config MAC80211_VERBOSE_DEBUG
  120. bool "Verbose debugging output"
  121. depends on MAC80211_DEBUG_MENU
  122. ---help---
  123. Selecting this option causes mac80211 to print out
  124. many debugging messages. It should not be selected
  125. on production systems as some of the messages are
  126. remotely triggerable.
  127. Do not select this option.
  128. config MAC80211_HT_DEBUG
  129. bool "Verbose HT debugging"
  130. depends on MAC80211_DEBUG_MENU
  131. ---help---
  132. This option enables 802.11n High Throughput features
  133. debug tracing output.
  134. It should not be selected on production systems as some
  135. of the messages are remotely triggerable.
  136. Do not select this option.
  137. config MAC80211_TKIP_DEBUG
  138. bool "Verbose TKIP debugging"
  139. depends on MAC80211_DEBUG_MENU
  140. ---help---
  141. Selecting this option causes mac80211 to print out
  142. very verbose TKIP 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_IBSS_DEBUG
  147. bool "Verbose IBSS debugging"
  148. depends on MAC80211_DEBUG_MENU
  149. ---help---
  150. Selecting this option causes mac80211 to print out
  151. very verbose IBSS debugging messages. It should not
  152. be selected on production systems as those messages
  153. are remotely triggerable.
  154. Do not select this option.
  155. config MAC80211_VERBOSE_PS_DEBUG
  156. bool "Verbose powersave mode debugging"
  157. depends on MAC80211_DEBUG_MENU
  158. ---help---
  159. Selecting this option causes mac80211 to print out very
  160. verbose power save mode debugging messages (when mac80211
  161. is an AP and has power saving stations.)
  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_MPL_DEBUG
  166. bool "Verbose mesh peer link 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 peer link 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.