213 lines · plain
1# SPDX-License-Identifier: ISC2config ATH9K_HW3 tristate4config ATH9K_COMMON5 tristate6 select ATH_COMMON7config ATH9K_COMMON_DEBUG8 bool9config ATH9K_DFS_DEBUGFS10 def_bool y11 depends on ATH9K_DEBUGFS && ATH9K_DFS_CERTIFIED12 13config ATH9K_BTCOEX_SUPPORT14 bool "Atheros bluetooth coexistence support"15 depends on (ATH9K || ATH9K_HTC)16 default y17 help18 Say Y, if you want to use the ath9k/ath9k_htc radios together with19 Bluetooth modules in the same system.20 21config ATH9K22 tristate "Atheros 802.11n wireless cards support"23 depends on MAC80211 && HAS_DMA24 select MAC80211_LEDS if LEDS_CLASS=y || LEDS_CLASS=MAC8021125 select ATH9K_HW26 select ATH9K_COMMON27 help28 This module adds support for wireless adapters based on29 Atheros IEEE 802.11n AR5008, AR9001 and AR9002 family30 of chipsets. For a specific list of supported external31 cards, laptops that already ship with these cards and32 APs that come with these cards refer to ath9k wiki33 products page:34 35 https://wireless.wiki.kernel.org/en/users/Drivers/ath9k/products36 37 If you choose to build a module, it'll be called ath9k.38 39config ATH9K_PCI40 bool "Atheros ath9k PCI/PCIe bus support"41 default y42 depends on ATH9K && PCI43 help44 This option enables the PCI bus support in ath9k.45 46 Say Y, if you have a compatible PCI/PCIe wireless card.47 48config ATH9K_AHB49 bool "Atheros ath9k AHB bus support"50 depends on ATH9K51 default n52 help53 This option enables the AHB bus support in ath9k.54 55 Say Y, if you have a SoC with a compatible built-in56 wireless MAC. Say N if unsure.57 58config ATH9K_DEBUGFS59 bool "Atheros ath9k debugging"60 depends on ATH9K && DEBUG_FS && MAC80211_DEBUGFS61 select ATH9K_COMMON_DEBUG62 help63 Say Y, if you need access to ath9k's statistics for64 interrupts, rate control, etc.65 66 Also required for changing debug message flags at run time and for67 TX99.68 69config ATH9K_STATION_STATISTICS70 bool "Detailed station statistics"71 depends on ATH9K && ATH9K_DEBUGFS && DEBUG_FS72 default n73 help74 This option enables detailed statistics for association stations.75 76config ATH9K_TX9977 bool "Atheros ath9k TX99 testing support"78 depends on ATH9K_DEBUGFS && CFG80211_CERTIFICATION_ONUS79 default n80 help81 Say N. This should only be enabled on systems undergoing82 certification testing and evaluation in a controlled environment.83 Enabling this will only enable TX99 support, all other modes of84 operation will be disabled.85 86 TX99 support enables Specific Absorption Rate (SAR) testing.87 SAR is the unit of measurement for the amount of radio frequency(RF)88 absorbed by the body when using a wireless device. The RF exposure89 limits used are expressed in the terms of SAR, which is a measure90 of the electric and magnetic field strength and power density for91 transmitters operating at frequencies from 300 kHz to 100 GHz.92 Regulatory bodies around the world require that wireless device93 be evaluated to meet the RF exposure limits set forth in the94 governmental SAR regulations.95 96config ATH9K_DFS_CERTIFIED97 bool "Atheros DFS support for certified platforms"98 depends on ATH9K && CFG80211_CERTIFICATION_ONUS99 default n100 help101 This option enables DFS support for initiating radiation on102 ath9k. There is no way to dynamically detect if a card was DFS103 certified and as such this is left as a build time option. This104 option should only be enabled by system integrators that can105 guarantee that all the platforms that their kernel will run on106 have obtained appropriate regulatory body certification for a107 respective Atheros card by using ath9k on the target shipping108 platforms.109 110 This is currently only a placeholder for future DFS support,111 as DFS support requires more components that still need to be112 developed. At this point enabling this option won't do anything113 except increase code size.114 115config ATH9K_DYNACK116 bool "Atheros ath9k ACK timeout estimation algorithm"117 depends on ATH9K118 default n119 help120 This option enables ath9k dynamic ACK timeout estimation algorithm121 based on ACK frame RX timestamp, TX frame timestamp and frame122 duration123 124config ATH9K_WOW125 bool "Wake on Wireless LAN support (EXPERIMENTAL)"126 depends on ATH9K && PM127 default n128 help129 This option enables Wake on Wireless LAN support for certain cards.130 Currently, AR9462 is supported.131 132config ATH9K_RFKILL133 bool "Atheros ath9k rfkill support" if EXPERT134 depends on ATH9K135 depends on RFKILL=y || RFKILL=ATH9K136 default y137 help138 Say Y to have ath9k poll the RF-Kill GPIO every couple of139 seconds. Turn off to save power, but enable it if you have140 a platform that can toggle the RF-Kill GPIO.141 142config ATH9K_CHANNEL_CONTEXT143 bool "Channel Context support"144 depends on ATH9K145 default n146 help147 This option enables channel context support in ath9k, which is needed148 for multi-channel concurrency. Enable this if P2P PowerSave support149 is required.150 151config ATH9K_PCOEM152 bool "Atheros ath9k support for PC OEM cards" if EXPERT153 depends on ATH9K154 default y155 156config ATH9K_PCI_NO_EEPROM157 tristate "Atheros ath9k pci loader for EEPROM-less chips"158 depends on ATH9K_PCI159 default n160 help161 This separate driver provides a loader in order to support the162 AR500X to AR92XX-generation of ath9k PCI(e) WiFi chips, which have163 their initialization data (which contains the real PCI Device ID164 that ath9k will need) stored together with the calibration data out165 of reach for the ath9k chip.166 167 These devices are usually various network appliances, routers or168 access Points and such.169 170 If unsure say N.171 172config ATH9K_HTC173 tristate "Atheros HTC based wireless cards support"174 depends on USB && MAC80211175 select MAC80211_LEDS if LEDS_CLASS=y || LEDS_CLASS=MAC80211176 select ATH9K_HW177 select ATH9K_COMMON178 help179 Support for Atheros HTC based cards.180 Chipsets supported: AR9271181 182 For more information:183 https://wireless.wiki.kernel.org/en/users/Drivers/ath9k_htc184 185 The built module will be ath9k_htc.186 187config ATH9K_HTC_DEBUGFS188 bool "Atheros ath9k_htc debugging"189 depends on ATH9K_HTC && DEBUG_FS190 select ATH9K_COMMON_DEBUG191 help192 Say Y, if you need access to ath9k_htc's statistics.193 As well as access to the FFT/spectral data.194 195config ATH9K_HWRNG196 bool "Random number generator support"197 depends on ATH9K && (HW_RANDOM = y || HW_RANDOM = ATH9K)198 default n199 help200 This option incorporates the ADC register output as a source of201 randomness into Linux entropy pool (/dev/urandom and /dev/random)202 203 Say Y, feeds the entropy directly from the WiFi driver to the input204 pool.205 206config ATH9K_COMMON_SPECTRAL207 bool "Atheros ath9k/ath9k_htc spectral scan support"208 depends on ATH9K_DEBUGFS || ATH9K_HTC_DEBUGFS209 select RELAY210 default n211 help212 Say Y to enable access to the FFT/spectral data via debugfs.213