Kconfig 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223
  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. ---help---
  72. This options enables support of Draft 802.11s mesh networking.
  73. The implementation is based on Draft 1.08 of the Mesh Networking
  74. amendment. For more information visit http://o11s.org/.
  75. config MAC80211_LEDS
  76. bool "Enable LED triggers"
  77. depends on MAC80211
  78. select NEW_LEDS
  79. select LEDS_TRIGGERS
  80. ---help---
  81. This option enables a few LED triggers for different
  82. packet receive/transmit events.
  83. config MAC80211_DEBUGFS
  84. bool "Export mac80211 internals in DebugFS"
  85. depends on MAC80211 && DEBUG_FS
  86. ---help---
  87. Select this to see extensive information about
  88. the internal state of mac80211 in debugfs.
  89. Say N unless you know you need this.
  90. menuconfig MAC80211_DEBUG_MENU
  91. bool "Select mac80211 debugging features"
  92. depends on MAC80211
  93. ---help---
  94. This option collects various mac80211 debug settings.
  95. config MAC80211_DEBUG_PACKET_ALIGNMENT
  96. bool "Enable packet alignment debugging"
  97. depends on MAC80211_DEBUG_MENU
  98. ---help---
  99. This option is recommended for driver authors and strongly
  100. discouraged for everybody else, it will trigger a warning
  101. when a driver hands mac80211 a buffer that is aligned in
  102. a way that will cause problems with the IP stack on some
  103. architectures.
  104. Say N unless you're writing a mac80211 based driver.
  105. config MAC80211_NOINLINE
  106. bool "Do not inline TX/RX handlers"
  107. depends on MAC80211_DEBUG_MENU
  108. ---help---
  109. This option affects code generation in mac80211, when
  110. selected some functions are marked "noinline" to allow
  111. easier debugging of problems in the transmit and receive
  112. paths.
  113. This option increases code size a bit and inserts a lot
  114. of function calls in the code, but is otherwise safe to
  115. enable.
  116. If unsure, say N unless you expect to be finding problems
  117. in mac80211.
  118. config MAC80211_VERBOSE_DEBUG
  119. bool "Verbose debugging output"
  120. depends on MAC80211_DEBUG_MENU
  121. ---help---
  122. Selecting this option causes mac80211 to print out
  123. many debugging messages. It should not be selected
  124. on production systems as some of the messages are
  125. remotely triggerable.
  126. Do not select this option.
  127. config MAC80211_HT_DEBUG
  128. bool "Verbose HT debugging"
  129. depends on MAC80211_DEBUG_MENU
  130. ---help---
  131. This option enables 802.11n High Throughput features
  132. debug tracing output.
  133. It should not be selected on production systems as some
  134. of the messages are remotely triggerable.
  135. Do not select this option.
  136. config MAC80211_TKIP_DEBUG
  137. bool "Verbose TKIP debugging"
  138. depends on MAC80211_DEBUG_MENU
  139. ---help---
  140. Selecting this option causes mac80211 to print out
  141. very verbose TKIP 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_IBSS_DEBUG
  146. bool "Verbose IBSS debugging"
  147. depends on MAC80211_DEBUG_MENU
  148. ---help---
  149. Selecting this option causes mac80211 to print out
  150. very verbose IBSS debugging messages. It should not
  151. be selected on production systems as those messages
  152. are remotely triggerable.
  153. Do not select this option.
  154. config MAC80211_VERBOSE_PS_DEBUG
  155. bool "Verbose powersave mode debugging"
  156. depends on MAC80211_DEBUG_MENU
  157. ---help---
  158. Selecting this option causes mac80211 to print out very
  159. verbose power save mode debugging messages (when mac80211
  160. is an AP and has power saving stations.)
  161. It should not be selected on production systems as those
  162. messages are remotely triggerable.
  163. Do not select this option.
  164. config MAC80211_VERBOSE_MPL_DEBUG
  165. bool "Verbose mesh peer link debugging"
  166. depends on MAC80211_DEBUG_MENU
  167. depends on MAC80211_MESH
  168. ---help---
  169. Selecting this option causes mac80211 to print out very
  170. verbose mesh peer link debugging messages (when mac80211
  171. is taking part in a mesh network).
  172. It should not be selected on production systems as those
  173. messages are remotely triggerable.
  174. Do not select this option.
  175. config MAC80211_DEBUG_COUNTERS
  176. bool "Extra statistics for TX/RX debugging"
  177. depends on MAC80211_DEBUG_MENU
  178. depends on MAC80211_DEBUGFS
  179. ---help---
  180. Selecting this option causes mac80211 to keep additional
  181. and very verbose statistics about TX and RX handler use
  182. and show them in debugfs.
  183. If unsure, say N.