Kconfig 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217
  1. config WIRELESS_EXT
  2. bool
  3. config WEXT_CORE
  4. def_bool y
  5. depends on CFG80211_WEXT || WIRELESS_EXT
  6. config WEXT_PROC
  7. def_bool y
  8. depends on PROC_FS
  9. depends on WEXT_CORE
  10. config WEXT_SPY
  11. bool
  12. config WEXT_PRIV
  13. bool
  14. config CFG80211
  15. tristate "cfg80211 - wireless configuration API"
  16. depends on RFKILL || !RFKILL
  17. ---help---
  18. cfg80211 is the Linux wireless LAN (802.11) configuration API.
  19. Enable this if you have a wireless device.
  20. For more information refer to documentation on the wireless wiki:
  21. http://wireless.kernel.org/en/developers/Documentation/cfg80211
  22. When built as a module it will be called cfg80211.
  23. config NL80211_TESTMODE
  24. bool "nl80211 testmode command"
  25. depends on CFG80211
  26. help
  27. The nl80211 testmode command helps implementing things like
  28. factory calibration or validation tools for wireless chips.
  29. Select this option ONLY for kernels that are specifically
  30. built for such purposes.
  31. Debugging tools that are supposed to end up in the hands of
  32. users should better be implemented with debugfs.
  33. Say N.
  34. config CFG80211_DEVELOPER_WARNINGS
  35. bool "enable developer warnings"
  36. depends on CFG80211
  37. default n
  38. help
  39. This option enables some additional warnings that help
  40. cfg80211 developers and driver developers, but beware that
  41. they can also trigger due to races with userspace.
  42. For example, when a driver reports that it was disconnected
  43. from the AP, but the user disconnects manually at the same
  44. time, the warning might trigger spuriously due to races.
  45. Say Y only if you are developing cfg80211 or a driver based
  46. on it (or mac80211).
  47. config CFG80211_CERTIFICATION_ONUS
  48. bool "cfg80211 certification onus"
  49. depends on CFG80211 && EXPERT
  50. default n
  51. ---help---
  52. You should disable this option unless you are both capable
  53. and willing to ensure your system will remain regulatory
  54. compliant with the features available under this option.
  55. Some options may still be under heavy development and
  56. for whatever reason regulatory compliance has not or
  57. cannot yet be verified. Regulatory verification may at
  58. times only be possible until you have the final system
  59. in place.
  60. This option should only be enabled by system integrators
  61. or distributions that have done work necessary to ensure
  62. regulatory certification on the system with the enabled
  63. features. Alternatively you can enable this option if
  64. you are a wireless researcher and are working in a controlled
  65. and approved environment by your local regulatory agency.
  66. config CFG80211_REG_CELLULAR_HINTS
  67. bool "cfg80211 regulatory support for cellular base station hints"
  68. depends on CFG80211_CERTIFICATION_ONUS
  69. ---help---
  70. This option enables support for parsing regulatory hints
  71. from cellular base stations. If enabled and at least one driver
  72. claims support for parsing cellular base station hints the
  73. regulatory core will allow and parse these regulatory hints.
  74. The regulatory core will only apply these regulatory hints on
  75. drivers that support this feature. You should only enable this
  76. feature if you have tested and validated this feature on your
  77. systems.
  78. config CFG80211_REG_RELAX_NO_IR
  79. bool "cfg80211 support for NO_IR relaxation"
  80. depends on CFG80211_CERTIFICATION_ONUS
  81. ---help---
  82. This option enables support for relaxation of the NO_IR flag for
  83. situations that certain regulatory bodies have provided clarifications
  84. on how relaxation can occur. This feature has an inherent dependency on
  85. userspace features which must have been properly tested and as such is
  86. not enabled by default.
  87. A relaxation feature example is allowing the operation of a P2P group
  88. owner (GO) on channels marked with NO_IR if there is an additional BSS
  89. interface which associated to an AP which userspace assumes or confirms
  90. to be an authorized master, i.e., with radar detection support and DFS
  91. capabilities. However, note that in order to not create daisy chain
  92. scenarios, this relaxation is not allowed in cases where the BSS client
  93. is associated to P2P GO and in addition the P2P GO instantiated on
  94. a channel due to this relaxation should not allow connection from
  95. non P2P clients.
  96. The regulatory core will apply these relaxations only for drivers that
  97. support this feature by declaring the appropriate channel flags and
  98. capabilities in their registration flow.
  99. config CFG80211_DEFAULT_PS
  100. bool "enable powersave by default"
  101. depends on CFG80211
  102. default y
  103. help
  104. This option enables powersave mode by default.
  105. If this causes your applications to misbehave you should fix your
  106. applications instead -- they need to register their network
  107. latency requirement, see Documentation/power/pm_qos_interface.txt.
  108. config CFG80211_DEBUGFS
  109. bool "cfg80211 DebugFS entries"
  110. depends on CFG80211
  111. depends on DEBUG_FS
  112. ---help---
  113. You can enable this if you want debugfs entries for cfg80211.
  114. If unsure, say N.
  115. config CFG80211_INTERNAL_REGDB
  116. bool "use statically compiled regulatory rules database" if EXPERT
  117. default n
  118. depends on CFG80211
  119. ---help---
  120. This option generates an internal data structure representing
  121. the wireless regulatory rules described in net/wireless/db.txt
  122. and includes code to query that database. This is an alternative
  123. to using CRDA for defining regulatory rules for the kernel.
  124. Using this option requires some parsing of the db.txt at build time,
  125. the parser will be upkept with the latest wireless-regdb updates but
  126. older wireless-regdb formats will be ignored. The parser may later
  127. be replaced to avoid issues with conflicts on versions of
  128. wireless-regdb.
  129. For details see:
  130. http://wireless.kernel.org/en/developers/Regulatory
  131. Most distributions have a CRDA package. So if unsure, say N.
  132. config CFG80211_CRDA_SUPPORT
  133. bool "support CRDA" if CFG80211_INTERNAL_REGDB
  134. default y
  135. depends on CFG80211
  136. help
  137. You should enable this option unless you know for sure you have no
  138. need for it, for example when using internal regdb (above.)
  139. If unsure, say Y.
  140. config CFG80211_WEXT
  141. bool "cfg80211 wireless extensions compatibility" if !CFG80211_WEXT_EXPORT
  142. depends on CFG80211
  143. select WEXT_CORE
  144. default y if CFG80211_WEXT_EXPORT
  145. help
  146. Enable this option if you need old userspace for wireless
  147. extensions with cfg80211-based drivers.
  148. config CFG80211_WEXT_EXPORT
  149. bool
  150. depends on CFG80211
  151. help
  152. Drivers should select this option if they require cfg80211's
  153. wext compatibility symbols to be exported.
  154. config LIB80211
  155. tristate
  156. default n
  157. help
  158. This options enables a library of common routines used
  159. by IEEE802.11 wireless LAN drivers.
  160. Drivers should select this themselves if needed.
  161. config LIB80211_CRYPT_WEP
  162. tristate
  163. config LIB80211_CRYPT_CCMP
  164. tristate
  165. config LIB80211_CRYPT_TKIP
  166. tristate
  167. config LIB80211_DEBUG
  168. bool "lib80211 debugging messages"
  169. depends on LIB80211
  170. default n
  171. ---help---
  172. You can enable this if you want verbose debugging messages
  173. from lib80211.
  174. If unsure, say N.