Kalle Valo | 0766789 | 2019-06-25 17:52:25 +0300 | [diff] [blame] | 1 | # SPDX-License-Identifier: ISC |
Luis R. Rodriguez | 7322fd1 | 2009-09-23 23:07:00 -0400 | [diff] [blame] | 2 | config ATH9K_HW |
| 3 | tristate |
Luis R. Rodriguez | db86f07 | 2009-11-05 08:44:39 -0800 | [diff] [blame] | 4 | config ATH9K_COMMON |
| 5 | tristate |
Vladimir Kondratiev | 9a6f734 | 2013-01-03 10:31:19 +0200 | [diff] [blame] | 6 | select ATH_COMMON |
Christian Lamparter | 1077ec4 | 2017-01-12 13:02:23 +0200 | [diff] [blame] | 7 | config ATH9K_COMMON_DEBUG |
| 8 | bool |
Zefir Kurtisi | 29942bc | 2011-12-14 20:16:34 -0800 | [diff] [blame] | 9 | config ATH9K_DFS_DEBUGFS |
| 10 | def_bool y |
| 11 | depends on ATH9K_DEBUGFS && ATH9K_DFS_CERTIFIED |
Luis R. Rodriguez | 7322fd1 | 2009-09-23 23:07:00 -0400 | [diff] [blame] | 12 | |
Sujith Manoharan | 70982b7 | 2012-02-22 12:42:04 +0530 | [diff] [blame] | 13 | config ATH9K_BTCOEX_SUPPORT |
| 14 | bool "Atheros bluetooth coexistence support" |
| 15 | depends on (ATH9K || ATH9K_HTC) |
| 16 | default y |
| 17 | ---help--- |
| 18 | Say Y, if you want to use the ath9k/ath9k_htc radios together with |
| 19 | Bluetooth modules in the same system. |
| 20 | |
Luis R. Rodriguez | f078f20 | 2008-08-04 00:16:41 -0700 | [diff] [blame] | 21 | config ATH9K |
| 22 | tristate "Atheros 802.11n wireless cards support" |
Geert Uytterhoeven | a01ae5b | 2013-05-09 23:04:47 +0200 | [diff] [blame] | 23 | depends on MAC80211 && HAS_DMA |
Luis R. Rodriguez | 7322fd1 | 2009-09-23 23:07:00 -0400 | [diff] [blame] | 24 | select ATH9K_HW |
Randy Dunlap | d203b8e | 2008-09-02 12:07:56 -0700 | [diff] [blame] | 25 | select MAC80211_LEDS |
| 26 | select LEDS_CLASS |
| 27 | select NEW_LEDS |
Luis R. Rodriguez | db86f07 | 2009-11-05 08:44:39 -0800 | [diff] [blame] | 28 | select ATH9K_COMMON |
Luis R. Rodriguez | f078f20 | 2008-08-04 00:16:41 -0700 | [diff] [blame] | 29 | ---help--- |
| 30 | This module adds support for wireless adapters based on |
Luis R. Rodriguez | 2a219eb | 2009-08-12 14:45:16 -0700 | [diff] [blame] | 31 | Atheros IEEE 802.11n AR5008, AR9001 and AR9002 family |
| 32 | of chipsets. For a specific list of supported external |
| 33 | cards, laptops that already ship with these cards and |
Masanari Iida | 278cee0 | 2013-06-01 01:30:56 +0900 | [diff] [blame] | 34 | APs that come with these cards refer to ath9k wiki |
Luis R. Rodriguez | 2a219eb | 2009-08-12 14:45:16 -0700 | [diff] [blame] | 35 | products page: |
| 36 | |
| 37 | http://wireless.kernel.org/en/users/Drivers/ath9k/products |
Luis R. Rodriguez | f078f20 | 2008-08-04 00:16:41 -0700 | [diff] [blame] | 38 | |
| 39 | If you choose to build a module, it'll be called ath9k. |
Sujith | 88b126a | 2008-11-28 22:19:02 +0530 | [diff] [blame] | 40 | |
Gabor Juhos | 8e26a03 | 2011-04-12 18:23:16 +0200 | [diff] [blame] | 41 | config ATH9K_PCI |
| 42 | bool "Atheros ath9k PCI/PCIe bus support" |
Daniel Kuehn | fdacbcd | 2011-11-09 23:57:57 +0100 | [diff] [blame] | 43 | default y |
Gabor Juhos | 8e26a03 | 2011-04-12 18:23:16 +0200 | [diff] [blame] | 44 | depends on ATH9K && PCI |
Gabor Juhos | 8e26a03 | 2011-04-12 18:23:16 +0200 | [diff] [blame] | 45 | ---help--- |
| 46 | This option enables the PCI bus support in ath9k. |
| 47 | |
| 48 | Say Y, if you have a compatible PCI/PCIe wireless card. |
| 49 | |
| 50 | config ATH9K_AHB |
| 51 | bool "Atheros ath9k AHB bus support" |
| 52 | depends on ATH9K |
| 53 | default n |
| 54 | ---help--- |
| 55 | This option enables the AHB bus support in ath9k. |
| 56 | |
| 57 | Say Y, if you have a SoC with a compatible built-in |
| 58 | wireless MAC. Say N if unsure. |
| 59 | |
Felix Fietkau | a830df0 | 2009-11-23 22:33:27 +0100 | [diff] [blame] | 60 | config ATH9K_DEBUGFS |
Sujith | 88b126a | 2008-11-28 22:19:02 +0530 | [diff] [blame] | 61 | bool "Atheros ath9k debugging" |
Sujith Manoharan | e5614a9 | 2013-08-26 13:23:43 +0530 | [diff] [blame] | 62 | depends on ATH9K && DEBUG_FS |
Sujith Manoharan | 12e9432 | 2012-12-20 08:38:00 +0530 | [diff] [blame] | 63 | select MAC80211_DEBUGFS |
Christian Lamparter | 1077ec4 | 2017-01-12 13:02:23 +0200 | [diff] [blame] | 64 | select ATH9K_COMMON_DEBUG |
Sujith | 88b126a | 2008-11-28 22:19:02 +0530 | [diff] [blame] | 65 | ---help--- |
Felix Fietkau | a830df0 | 2009-11-23 22:33:27 +0100 | [diff] [blame] | 66 | Say Y, if you need access to ath9k's statistics for |
| 67 | interrupts, rate control, etc. |
Sujith | 88b126a | 2008-11-28 22:19:02 +0530 | [diff] [blame] | 68 | |
Matthias Schiffer | 9df7ddc | 2017-11-27 18:56:22 +0100 | [diff] [blame] | 69 | Also required for changing debug message flags at run time and for |
| 70 | TX99. |
Sujith | 88b126a | 2008-11-28 22:19:02 +0530 | [diff] [blame] | 71 | |
Sujith Manoharan | 1cdbaf0 | 2014-01-13 07:29:27 +0530 | [diff] [blame] | 72 | config ATH9K_STATION_STATISTICS |
| 73 | bool "Detailed station statistics" |
| 74 | depends on ATH9K && ATH9K_DEBUGFS && DEBUG_FS |
| 75 | select MAC80211_DEBUGFS |
| 76 | default n |
| 77 | ---help--- |
| 78 | This option enables detailed statistics for association stations. |
| 79 | |
Helmut Schaa | e7ae328 | 2016-04-28 16:45:05 +0200 | [diff] [blame] | 80 | config ATH9K_TX99 |
| 81 | bool "Atheros ath9k TX99 testing support" |
| 82 | depends on ATH9K_DEBUGFS && CFG80211_CERTIFICATION_ONUS |
| 83 | default n |
| 84 | ---help--- |
| 85 | Say N. This should only be enabled on systems undergoing |
| 86 | certification testing and evaluation in a controlled environment. |
| 87 | Enabling this will only enable TX99 support, all other modes of |
| 88 | operation will be disabled. |
| 89 | |
| 90 | TX99 support enables Specific Absorption Rate (SAR) testing. |
| 91 | SAR is the unit of measurement for the amount of radio frequency(RF) |
| 92 | absorbed by the body when using a wireless device. The RF exposure |
| 93 | limits used are expressed in the terms of SAR, which is a measure |
| 94 | of the electric and magnetic field strength and power density for |
| 95 | transmitters operating at frequencies from 300 kHz to 100 GHz. |
| 96 | Regulatory bodies around the world require that wireless device |
| 97 | be evaluated to meet the RF exposure limits set forth in the |
| 98 | governmental SAR regulations. |
| 99 | |
Zefir Kurtisi | 29942bc | 2011-12-14 20:16:34 -0800 | [diff] [blame] | 100 | config ATH9K_DFS_CERTIFIED |
| 101 | bool "Atheros DFS support for certified platforms" |
Luis R. Rodriguez | 00267d5 | 2012-07-10 10:24:54 -0700 | [diff] [blame] | 102 | depends on ATH9K && CFG80211_CERTIFICATION_ONUS |
Zefir Kurtisi | 29942bc | 2011-12-14 20:16:34 -0800 | [diff] [blame] | 103 | default n |
| 104 | ---help--- |
| 105 | This option enables DFS support for initiating radiation on |
| 106 | ath9k. There is no way to dynamically detect if a card was DFS |
| 107 | certified and as such this is left as a build time option. This |
| 108 | option should only be enabled by system integrators that can |
| 109 | guarantee that all the platforms that their kernel will run on |
| 110 | have obtained appropriate regulatory body certification for a |
| 111 | respective Atheros card by using ath9k on the target shipping |
| 112 | platforms. |
| 113 | |
| 114 | This is currently only a placeholder for future DFS support, |
| 115 | as DFS support requires more components that still need to be |
| 116 | developed. At this point enabling this option won't do anything |
| 117 | except increase code size. |
| 118 | |
Lorenzo Bianconi | ce71915 | 2014-09-16 02:13:10 +0200 | [diff] [blame] | 119 | config ATH9K_DYNACK |
Lorenzo Bianconi | 55bb78d | 2018-11-02 21:49:59 +0100 | [diff] [blame] | 120 | bool "Atheros ath9k ACK timeout estimation algorithm" |
Lorenzo Bianconi | ce71915 | 2014-09-16 02:13:10 +0200 | [diff] [blame] | 121 | depends on ATH9K |
| 122 | default n |
| 123 | ---help--- |
| 124 | This option enables ath9k dynamic ACK timeout estimation algorithm |
| 125 | based on ACK frame RX timestamp, TX frame timestamp and frame |
| 126 | duration |
| 127 | |
Sujith Manoharan | bb00b1f | 2013-10-28 11:33:19 +0530 | [diff] [blame] | 128 | config ATH9K_WOW |
| 129 | bool "Wake on Wireless LAN support (EXPERIMENTAL)" |
| 130 | depends on ATH9K && PM |
| 131 | default n |
| 132 | ---help--- |
| 133 | This option enables Wake on Wireless LAN support for certain cards. |
| 134 | Currently, AR9462 is supported. |
| 135 | |
Johannes Berg | 74e1306 | 2013-07-03 20:55:38 +0200 | [diff] [blame] | 136 | config ATH9K_RFKILL |
| 137 | bool "Atheros ath9k rfkill support" if EXPERT |
| 138 | depends on ATH9K |
| 139 | depends on RFKILL=y || RFKILL=ATH9K |
| 140 | default y |
| 141 | help |
| 142 | Say Y to have ath9k poll the RF-Kill GPIO every couple of |
| 143 | seconds. Turn off to save power, but enable it if you have |
| 144 | a platform that can toggle the RF-Kill GPIO. |
| 145 | |
Sujith Manoharan | 0e721bd | 2014-08-22 20:39:28 +0530 | [diff] [blame] | 146 | config ATH9K_CHANNEL_CONTEXT |
| 147 | bool "Channel Context support" |
| 148 | depends on ATH9K |
| 149 | default n |
| 150 | ---help--- |
| 151 | This option enables channel context support in ath9k, which is needed |
| 152 | for multi-channel concurrency. Enable this if P2P PowerSave support |
| 153 | is required. |
| 154 | |
Felix Fietkau | 935477e | 2014-10-25 17:19:26 +0200 | [diff] [blame] | 155 | config ATH9K_PCOEM |
| 156 | bool "Atheros ath9k support for PC OEM cards" if EXPERT |
| 157 | depends on ATH9K |
| 158 | default y |
| 159 | |
Christian Lamparter | 5a4f204 | 2019-07-05 19:53:13 +0200 | [diff] [blame^] | 160 | config ATH9K_PCI_NO_EEPROM |
| 161 | tristate "Atheros ath9k pci loader for EEPROM-less chips" |
| 162 | depends on ATH9K_PCI |
| 163 | default n |
| 164 | help |
| 165 | This separate driver provides a loader in order to support the |
| 166 | AR500X to AR92XX-generation of ath9k PCI(e) WiFi chips, which have |
| 167 | their initialization data (which contains the real PCI Device ID |
| 168 | that ath9k will need) stored together with the calibration data out |
| 169 | of reach for the ath9k chip. |
| 170 | |
| 171 | These devices are usually various network appliances, routers or |
| 172 | access Points and such. |
| 173 | |
| 174 | If unsure say N. |
| 175 | |
Sujith | fb9987d | 2010-03-17 14:25:25 +0530 | [diff] [blame] | 176 | config ATH9K_HTC |
| 177 | tristate "Atheros HTC based wireless cards support" |
| 178 | depends on USB && MAC80211 |
| 179 | select ATH9K_HW |
| 180 | select MAC80211_LEDS |
| 181 | select LEDS_CLASS |
| 182 | select NEW_LEDS |
| 183 | select ATH9K_COMMON |
| 184 | ---help--- |
| 185 | Support for Atheros HTC based cards. |
| 186 | Chipsets supported: AR9271 |
| 187 | |
| 188 | For more information: http://wireless.kernel.org/en/users/Drivers/ath9k_htc |
| 189 | |
| 190 | The built module will be ath9k_htc. |
| 191 | |
| 192 | config ATH9K_HTC_DEBUGFS |
| 193 | bool "Atheros ath9k_htc debugging" |
| 194 | depends on ATH9K_HTC && DEBUG_FS |
Christian Lamparter | 1077ec4 | 2017-01-12 13:02:23 +0200 | [diff] [blame] | 195 | select ATH9K_COMMON_DEBUG |
Sujith | fb9987d | 2010-03-17 14:25:25 +0530 | [diff] [blame] | 196 | ---help--- |
| 197 | Say Y, if you need access to ath9k_htc's statistics. |
Christian Lamparter | 1077ec4 | 2017-01-12 13:02:23 +0200 | [diff] [blame] | 198 | As well as access to the FFT/spectral data. |
Miaoqing Pan | ed14dc0 | 2015-10-09 17:06:45 +0800 | [diff] [blame] | 199 | |
| 200 | config ATH9K_HWRNG |
| 201 | bool "Random number generator support" |
| 202 | depends on ATH9K && (HW_RANDOM = y || HW_RANDOM = ATH9K) |
Miaoqing Pan | 739ccd7 | 2016-08-09 15:02:27 +0800 | [diff] [blame] | 203 | default n |
Miaoqing Pan | ed14dc0 | 2015-10-09 17:06:45 +0800 | [diff] [blame] | 204 | ---help--- |
| 205 | This option incorporates the ADC register output as a source of |
| 206 | randomness into Linux entropy pool (/dev/urandom and /dev/random) |
| 207 | |
| 208 | Say Y, feeds the entropy directly from the WiFi driver to the input |
| 209 | pool. |
Matthias Schiffer | 9df7ddc | 2017-11-27 18:56:22 +0100 | [diff] [blame] | 210 | |
| 211 | config ATH9K_COMMON_SPECTRAL |
| 212 | bool "Atheros ath9k/ath9k_htc spectral scan support" |
| 213 | depends on ATH9K_DEBUGFS || ATH9K_HTC_DEBUGFS |
| 214 | select RELAY |
| 215 | default n |
| 216 | ---help--- |
| 217 | Say Y to enable access to the FFT/spectral data via debugfs. |