Kconfig 7.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230
  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. select FW_LOADER
  18. # may need to update this when certificates are changed and are
  19. # using a different algorithm, though right now they shouldn't
  20. # (this is here rather than below to allow it to be a module)
  21. select CRYPTO_SHA256 if CFG80211_USE_KERNEL_REGDB_KEYS
  22. ---help---
  23. cfg80211 is the Linux wireless LAN (802.11) configuration API.
  24. Enable this if you have a wireless device.
  25. For more information refer to documentation on the wireless wiki:
  26. http://wireless.kernel.org/en/developers/Documentation/cfg80211
  27. When built as a module it will be called cfg80211.
  28. if CFG80211
  29. config NL80211_TESTMODE
  30. bool "nl80211 testmode command"
  31. help
  32. The nl80211 testmode command helps implementing things like
  33. factory calibration or validation tools for wireless chips.
  34. Select this option ONLY for kernels that are specifically
  35. built for such purposes.
  36. Debugging tools that are supposed to end up in the hands of
  37. users should better be implemented with debugfs.
  38. Say N.
  39. config CFG80211_DEVELOPER_WARNINGS
  40. bool "enable developer warnings"
  41. default n
  42. help
  43. This option enables some additional warnings that help
  44. cfg80211 developers and driver developers, but beware that
  45. they can also trigger due to races with userspace.
  46. For example, when a driver reports that it was disconnected
  47. from the AP, but the user disconnects manually at the same
  48. time, the warning might trigger spuriously due to races.
  49. Say Y only if you are developing cfg80211 or a driver based
  50. on it (or mac80211).
  51. config CFG80211_CERTIFICATION_ONUS
  52. bool "cfg80211 certification onus"
  53. depends on EXPERT
  54. default n
  55. ---help---
  56. You should disable this option unless you are both capable
  57. and willing to ensure your system will remain regulatory
  58. compliant with the features available under this option.
  59. Some options may still be under heavy development and
  60. for whatever reason regulatory compliance has not or
  61. cannot yet be verified. Regulatory verification may at
  62. times only be possible until you have the final system
  63. in place.
  64. This option should only be enabled by system integrators
  65. or distributions that have done work necessary to ensure
  66. regulatory certification on the system with the enabled
  67. features. Alternatively you can enable this option if
  68. you are a wireless researcher and are working in a controlled
  69. and approved environment by your local regulatory agency.
  70. config CFG80211_REQUIRE_SIGNED_REGDB
  71. bool "require regdb signature" if CFG80211_CERTIFICATION_ONUS
  72. default y
  73. select SYSTEM_DATA_VERIFICATION
  74. help
  75. Require that in addition to the "regulatory.db" file a
  76. "regulatory.db.p7s" can be loaded with a valid PKCS#7
  77. signature for the regulatory.db file made by one of the
  78. keys in the certs/ directory.
  79. config CFG80211_USE_KERNEL_REGDB_KEYS
  80. bool "allow regdb keys shipped with the kernel" if CFG80211_CERTIFICATION_ONUS
  81. default y
  82. depends on CFG80211_REQUIRE_SIGNED_REGDB
  83. help
  84. Allow the regulatory database to be signed by one of the keys for
  85. which certificates are part of the kernel sources
  86. (in net/wireless/certs/).
  87. This is currently only Seth Forshee's key, who is the regulatory
  88. database maintainer.
  89. config CFG80211_EXTRA_REGDB_KEYDIR
  90. string "additional regdb key directory" if CFG80211_CERTIFICATION_ONUS
  91. depends on CFG80211_REQUIRE_SIGNED_REGDB
  92. help
  93. If selected, point to a directory with DER-encoded X.509
  94. certificates like in the kernel sources (net/wireless/certs/)
  95. that shall be accepted for a signed regulatory database.
  96. Note that you need to also select the correct CRYPTO_<hash> modules
  97. for your certificates, and if cfg80211 is built-in they also must be.
  98. config CFG80211_REG_CELLULAR_HINTS
  99. bool "cfg80211 regulatory support for cellular base station hints"
  100. depends on CFG80211_CERTIFICATION_ONUS
  101. ---help---
  102. This option enables support for parsing regulatory hints
  103. from cellular base stations. If enabled and at least one driver
  104. claims support for parsing cellular base station hints the
  105. regulatory core will allow and parse these regulatory hints.
  106. The regulatory core will only apply these regulatory hints on
  107. drivers that support this feature. You should only enable this
  108. feature if you have tested and validated this feature on your
  109. systems.
  110. config CFG80211_REG_RELAX_NO_IR
  111. bool "cfg80211 support for NO_IR relaxation"
  112. depends on CFG80211_CERTIFICATION_ONUS
  113. ---help---
  114. This option enables support for relaxation of the NO_IR flag for
  115. situations that certain regulatory bodies have provided clarifications
  116. on how relaxation can occur. This feature has an inherent dependency on
  117. userspace features which must have been properly tested and as such is
  118. not enabled by default.
  119. A relaxation feature example is allowing the operation of a P2P group
  120. owner (GO) on channels marked with NO_IR if there is an additional BSS
  121. interface which associated to an AP which userspace assumes or confirms
  122. to be an authorized master, i.e., with radar detection support and DFS
  123. capabilities. However, note that in order to not create daisy chain
  124. scenarios, this relaxation is not allowed in cases where the BSS client
  125. is associated to P2P GO and in addition the P2P GO instantiated on
  126. a channel due to this relaxation should not allow connection from
  127. non P2P clients.
  128. The regulatory core will apply these relaxations only for drivers that
  129. support this feature by declaring the appropriate channel flags and
  130. capabilities in their registration flow.
  131. config CFG80211_DEFAULT_PS
  132. bool "enable powersave by default"
  133. default y
  134. help
  135. This option enables powersave mode by default.
  136. If this causes your applications to misbehave you should fix your
  137. applications instead -- they need to register their network
  138. latency requirement, see Documentation/power/pm_qos_interface.txt.
  139. config CFG80211_DEBUGFS
  140. bool "cfg80211 DebugFS entries"
  141. depends on DEBUG_FS
  142. ---help---
  143. You can enable this if you want debugfs entries for cfg80211.
  144. If unsure, say N.
  145. config CFG80211_CRDA_SUPPORT
  146. bool "support CRDA" if EXPERT
  147. default y
  148. help
  149. You should enable this option unless you know for sure you have no
  150. need for it, for example when using internal regdb (above) or the
  151. database loaded as a firmware file.
  152. If unsure, say Y.
  153. config CFG80211_WEXT
  154. bool "cfg80211 wireless extensions compatibility" if !CFG80211_WEXT_EXPORT
  155. select WEXT_CORE
  156. default y if CFG80211_WEXT_EXPORT
  157. help
  158. Enable this option if you need old userspace for wireless
  159. extensions with cfg80211-based drivers.
  160. config CFG80211_WEXT_EXPORT
  161. bool
  162. help
  163. Drivers should select this option if they require cfg80211's
  164. wext compatibility symbols to be exported.
  165. endif # CFG80211
  166. config LIB80211
  167. tristate
  168. default n
  169. help
  170. This options enables a library of common routines used
  171. by IEEE802.11 wireless LAN drivers.
  172. Drivers should select this themselves if needed.
  173. config LIB80211_CRYPT_WEP
  174. tristate
  175. config LIB80211_CRYPT_CCMP
  176. tristate
  177. config LIB80211_CRYPT_TKIP
  178. tristate
  179. config LIB80211_DEBUG
  180. bool "lib80211 debugging messages"
  181. depends on LIB80211
  182. default n
  183. ---help---
  184. You can enable this if you want verbose debugging messages
  185. from lib80211.
  186. If unsure, say N.