Kconfig 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214
  1. # SPDX-License-Identifier: ISC
  2. config ATH9K_HW
  3. tristate
  4. config ATH9K_COMMON
  5. tristate
  6. select ATH_COMMON
  7. config ATH9K_COMMON_DEBUG
  8. bool
  9. config ATH9K_DFS_DEBUGFS
  10. def_bool y
  11. depends on ATH9K_DEBUGFS && ATH9K_DFS_CERTIFIED
  12. config ATH9K_BTCOEX_SUPPORT
  13. bool "Atheros bluetooth coexistence support"
  14. depends on (ATH9K || ATH9K_HTC)
  15. default y
  16. help
  17. Say Y, if you want to use the ath9k/ath9k_htc radios together with
  18. Bluetooth modules in the same system.
  19. config ATH9K
  20. tristate "Atheros 802.11n wireless cards support"
  21. depends on MAC80211 && HAS_DMA
  22. select MAC80211_LEDS if LEDS_CLASS=y || LEDS_CLASS=MAC80211
  23. select ATH9K_HW
  24. select ATH9K_COMMON
  25. help
  26. This module adds support for wireless adapters based on
  27. Atheros IEEE 802.11n AR5008, AR9001 and AR9002 family
  28. of chipsets. For a specific list of supported external
  29. cards, laptops that already ship with these cards and
  30. APs that come with these cards refer to ath9k wiki
  31. products page:
  32. https://wireless.wiki.kernel.org/en/users/Drivers/ath9k/products
  33. If you choose to build a module, it'll be called ath9k.
  34. config ATH9K_PCI
  35. bool "Atheros ath9k PCI/PCIe bus support"
  36. default y
  37. depends on ATH9K && PCI
  38. help
  39. This option enables the PCI bus support in ath9k.
  40. Say Y, if you have a compatible PCI/PCIe wireless card.
  41. config ATH9K_AHB
  42. bool "Atheros ath9k AHB bus support"
  43. depends on ATH9K
  44. default n
  45. help
  46. This option enables the AHB bus support in ath9k.
  47. Say Y, if you have a SoC with a compatible built-in
  48. wireless MAC. Say N if unsure.
  49. config ATH9K_DEBUGFS
  50. bool "Atheros ath9k debugging"
  51. depends on ATH9K && DEBUG_FS
  52. select MAC80211_DEBUGFS
  53. select ATH9K_COMMON_DEBUG
  54. help
  55. Say Y, if you need access to ath9k's statistics for
  56. interrupts, rate control, etc.
  57. Also required for changing debug message flags at run time and for
  58. TX99.
  59. config ATH9K_STATION_STATISTICS
  60. bool "Detailed station statistics"
  61. depends on ATH9K && ATH9K_DEBUGFS && DEBUG_FS
  62. select MAC80211_DEBUGFS
  63. default n
  64. help
  65. This option enables detailed statistics for association stations.
  66. config ATH9K_TX99
  67. bool "Atheros ath9k TX99 testing support"
  68. depends on ATH9K_DEBUGFS && CFG80211_CERTIFICATION_ONUS
  69. default n
  70. help
  71. Say N. This should only be enabled on systems undergoing
  72. certification testing and evaluation in a controlled environment.
  73. Enabling this will only enable TX99 support, all other modes of
  74. operation will be disabled.
  75. TX99 support enables Specific Absorption Rate (SAR) testing.
  76. SAR is the unit of measurement for the amount of radio frequency(RF)
  77. absorbed by the body when using a wireless device. The RF exposure
  78. limits used are expressed in the terms of SAR, which is a measure
  79. of the electric and magnetic field strength and power density for
  80. transmitters operating at frequencies from 300 kHz to 100 GHz.
  81. Regulatory bodies around the world require that wireless device
  82. be evaluated to meet the RF exposure limits set forth in the
  83. governmental SAR regulations.
  84. config ATH9K_DFS_CERTIFIED
  85. bool "Atheros DFS support for certified platforms"
  86. depends on ATH9K && CFG80211_CERTIFICATION_ONUS
  87. default n
  88. help
  89. This option enables DFS support for initiating radiation on
  90. ath9k. There is no way to dynamically detect if a card was DFS
  91. certified and as such this is left as a build time option. This
  92. option should only be enabled by system integrators that can
  93. guarantee that all the platforms that their kernel will run on
  94. have obtained appropriate regulatory body certification for a
  95. respective Atheros card by using ath9k on the target shipping
  96. platforms.
  97. This is currently only a placeholder for future DFS support,
  98. as DFS support requires more components that still need to be
  99. developed. At this point enabling this option won't do anything
  100. except increase code size.
  101. config ATH9K_DYNACK
  102. bool "Atheros ath9k ACK timeout estimation algorithm"
  103. depends on ATH9K
  104. default n
  105. help
  106. This option enables ath9k dynamic ACK timeout estimation algorithm
  107. based on ACK frame RX timestamp, TX frame timestamp and frame
  108. duration
  109. config ATH9K_WOW
  110. bool "Wake on Wireless LAN support (EXPERIMENTAL)"
  111. depends on ATH9K && PM
  112. default n
  113. help
  114. This option enables Wake on Wireless LAN support for certain cards.
  115. Currently, AR9462 is supported.
  116. config ATH9K_RFKILL
  117. bool "Atheros ath9k rfkill support" if EXPERT
  118. depends on ATH9K
  119. depends on RFKILL=y || RFKILL=ATH9K
  120. default y
  121. help
  122. Say Y to have ath9k poll the RF-Kill GPIO every couple of
  123. seconds. Turn off to save power, but enable it if you have
  124. a platform that can toggle the RF-Kill GPIO.
  125. config ATH9K_CHANNEL_CONTEXT
  126. bool "Channel Context support"
  127. depends on ATH9K
  128. default n
  129. help
  130. This option enables channel context support in ath9k, which is needed
  131. for multi-channel concurrency. Enable this if P2P PowerSave support
  132. is required.
  133. config ATH9K_PCOEM
  134. bool "Atheros ath9k support for PC OEM cards" if EXPERT
  135. depends on ATH9K
  136. default y
  137. config ATH9K_PCI_NO_EEPROM
  138. tristate "Atheros ath9k pci loader for EEPROM-less chips"
  139. depends on ATH9K_PCI
  140. default n
  141. help
  142. This separate driver provides a loader in order to support the
  143. AR500X to AR92XX-generation of ath9k PCI(e) WiFi chips, which have
  144. their initialization data (which contains the real PCI Device ID
  145. that ath9k will need) stored together with the calibration data out
  146. of reach for the ath9k chip.
  147. These devices are usually various network appliances, routers or
  148. access Points and such.
  149. If unsure say N.
  150. config ATH9K_HTC
  151. tristate "Atheros HTC based wireless cards support"
  152. depends on USB && MAC80211
  153. select MAC80211_LEDS if LEDS_CLASS=y || LEDS_CLASS=MAC80211
  154. select ATH9K_HW
  155. select ATH9K_COMMON
  156. help
  157. Support for Atheros HTC based cards.
  158. Chipsets supported: AR9271
  159. For more information:
  160. https://wireless.wiki.kernel.org/en/users/Drivers/ath9k_htc
  161. The built module will be ath9k_htc.
  162. config ATH9K_HTC_DEBUGFS
  163. bool "Atheros ath9k_htc debugging"
  164. depends on ATH9K_HTC && DEBUG_FS
  165. select ATH9K_COMMON_DEBUG
  166. help
  167. Say Y, if you need access to ath9k_htc's statistics.
  168. As well as access to the FFT/spectral data.
  169. config ATH9K_HWRNG
  170. bool "Random number generator support"
  171. depends on ATH9K && (HW_RANDOM = y || HW_RANDOM = ATH9K)
  172. default n
  173. help
  174. This option incorporates the ADC register output as a source of
  175. randomness into Linux entropy pool (/dev/urandom and /dev/random)
  176. Say Y, feeds the entropy directly from the WiFi driver to the input
  177. pool.
  178. config ATH9K_COMMON_SPECTRAL
  179. bool "Atheros ath9k/ath9k_htc spectral scan support"
  180. depends on ATH9K_DEBUGFS || ATH9K_HTC_DEBUGFS
  181. select RELAY
  182. default n
  183. help
  184. Say Y to enable access to the FFT/spectral data via debugfs.