Kconfig 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220
  1. config MAC80211
  2. tristate "Generic IEEE 802.11 Networking Stack (mac80211)"
  3. select CRYPTO
  4. select CRYPTO_ECB
  5. select CRYPTO_ARC4
  6. select CRYPTO_AES
  7. select CRC32
  8. select WIRELESS_EXT
  9. select CFG80211
  10. ---help---
  11. This option enables the hardware independent IEEE 802.11
  12. networking stack.
  13. config MAC80211_DEFAULT_PS
  14. bool "enable powersave by default"
  15. depends on MAC80211
  16. default y
  17. help
  18. This option enables powersave mode by default.
  19. If this causes your applications to misbehave you should fix your
  20. applications instead -- they need to register their network
  21. latency requirement, see Documentation/power/pm_qos_interface.txt.
  22. config MAC80211_DEFAULT_PS_VALUE
  23. int
  24. default 1 if MAC80211_DEFAULT_PS
  25. default 0
  26. menu "Rate control algorithm selection"
  27. depends on MAC80211 != n
  28. config MAC80211_RC_PID
  29. bool "PID controller based rate control algorithm" if EMBEDDED
  30. ---help---
  31. This option enables a TX rate control algorithm for
  32. mac80211 that uses a PID controller to select the TX
  33. rate.
  34. config MAC80211_RC_MINSTREL
  35. bool "Minstrel" if EMBEDDED
  36. default y
  37. ---help---
  38. This option enables the 'minstrel' TX rate control algorithm
  39. choice
  40. prompt "Default rate control algorithm"
  41. default MAC80211_RC_DEFAULT_MINSTREL
  42. ---help---
  43. This option selects the default rate control algorithm
  44. mac80211 will use. Note that this default can still be
  45. overridden through the ieee80211_default_rc_algo module
  46. parameter if different algorithms are available.
  47. config MAC80211_RC_DEFAULT_PID
  48. bool "PID controller based rate control algorithm"
  49. depends on MAC80211_RC_PID
  50. ---help---
  51. Select the PID controller based rate control as the
  52. default rate control algorithm. You should choose
  53. this unless you know what you are doing.
  54. config MAC80211_RC_DEFAULT_MINSTREL
  55. bool "Minstrel"
  56. depends on MAC80211_RC_MINSTREL
  57. ---help---
  58. Select Minstrel as the default rate control algorithm.
  59. endchoice
  60. config MAC80211_RC_DEFAULT
  61. string
  62. default "minstrel" if MAC80211_RC_DEFAULT_MINSTREL
  63. default "pid" if MAC80211_RC_DEFAULT_PID
  64. default ""
  65. endmenu
  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 1.08 of the Mesh Networking
  72. amendment. For more information visit http://o11s.org/.
  73. config MAC80211_LEDS
  74. bool "Enable LED triggers"
  75. depends on MAC80211
  76. select NEW_LEDS
  77. select LEDS_TRIGGERS
  78. ---help---
  79. This option enables a few LED triggers for different
  80. packet receive/transmit events.
  81. config MAC80211_DEBUGFS
  82. bool "Export mac80211 internals in DebugFS"
  83. depends on MAC80211 && DEBUG_FS
  84. ---help---
  85. Select this to see extensive information about
  86. the internal state of mac80211 in debugfs.
  87. Say N unless you know you need this.
  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_DEBUG_PACKET_ALIGNMENT
  94. bool "Enable packet alignment debugging"
  95. depends on MAC80211_DEBUG_MENU
  96. ---help---
  97. This option is recommended for driver authors and strongly
  98. discouraged for everybody else, it will trigger a warning
  99. when a driver hands mac80211 a buffer that is aligned in
  100. a way that will cause problems with the IP stack on some
  101. architectures.
  102. Say N unless you're writing a mac80211 based driver.
  103. config MAC80211_NOINLINE
  104. bool "Do not inline TX/RX handlers"
  105. depends on MAC80211_DEBUG_MENU
  106. ---help---
  107. This option affects code generation in mac80211, when
  108. selected some functions are marked "noinline" to allow
  109. easier debugging of problems in the transmit and receive
  110. paths.
  111. This option increases code size a bit and inserts a lot
  112. of function calls in the code, but is otherwise safe to
  113. enable.
  114. If unsure, say N unless you expect to be finding problems
  115. in mac80211.
  116. config MAC80211_VERBOSE_DEBUG
  117. bool "Verbose debugging output"
  118. depends on MAC80211_DEBUG_MENU
  119. ---help---
  120. Selecting this option causes mac80211 to print out
  121. many debugging messages. It should not be selected
  122. on production systems as some of the messages are
  123. remotely triggerable.
  124. Do not select this option.
  125. config MAC80211_HT_DEBUG
  126. bool "Verbose HT debugging"
  127. depends on MAC80211_DEBUG_MENU
  128. ---help---
  129. This option enables 802.11n High Throughput features
  130. debug tracing output.
  131. It should not be selected on production systems as some
  132. of the messages are remotely triggerable.
  133. Do not select this option.
  134. config MAC80211_TKIP_DEBUG
  135. bool "Verbose TKIP debugging"
  136. depends on MAC80211_DEBUG_MENU
  137. ---help---
  138. Selecting this option causes mac80211 to print out
  139. very verbose TKIP debugging messages. It should not
  140. be selected on production systems as those messages
  141. are remotely triggerable.
  142. Do not select this option.
  143. config MAC80211_IBSS_DEBUG
  144. bool "Verbose IBSS debugging"
  145. depends on MAC80211_DEBUG_MENU
  146. ---help---
  147. Selecting this option causes mac80211 to print out
  148. very verbose IBSS debugging messages. It should not
  149. be selected on production systems as those messages
  150. are remotely triggerable.
  151. Do not select this option.
  152. config MAC80211_VERBOSE_PS_DEBUG
  153. bool "Verbose powersave mode debugging"
  154. depends on MAC80211_DEBUG_MENU
  155. ---help---
  156. Selecting this option causes mac80211 to print out very
  157. verbose power save mode debugging messages (when mac80211
  158. is an AP and has power saving stations.)
  159. It should not be selected on production systems as those
  160. messages are remotely triggerable.
  161. Do not select this option.
  162. config MAC80211_VERBOSE_MPL_DEBUG
  163. bool "Verbose mesh peer link debugging"
  164. depends on MAC80211_DEBUG_MENU
  165. depends on MAC80211_MESH
  166. ---help---
  167. Selecting this option causes mac80211 to print out very
  168. verbose mesh peer link debugging messages (when mac80211
  169. is taking part in a mesh network).
  170. It should not be selected on production systems as those
  171. messages are remotely triggerable.
  172. Do not select this option.
  173. config MAC80211_DEBUG_COUNTERS
  174. bool "Extra statistics for TX/RX debugging"
  175. depends on MAC80211_DEBUG_MENU
  176. depends on MAC80211_DEBUGFS
  177. ---help---
  178. Selecting this option causes mac80211 to keep additional
  179. and very verbose statistics about TX and RX handler use
  180. and show them in debugfs.
  181. If unsure, say N.