blob: 2d1247f61297418542bb8d6248b5829bfdb807ca [file] [log] [blame]
Kalle Valo07667892019-06-25 17:52:25 +03001# SPDX-License-Identifier: ISC
Luis R. Rodriguez7322fd12009-09-23 23:07:00 -04002config ATH9K_HW
3 tristate
Luis R. Rodriguezdb86f072009-11-05 08:44:39 -08004config ATH9K_COMMON
5 tristate
Vladimir Kondratiev9a6f7342013-01-03 10:31:19 +02006 select ATH_COMMON
Christian Lamparter1077ec42017-01-12 13:02:23 +02007config ATH9K_COMMON_DEBUG
8 bool
Zefir Kurtisi29942bc2011-12-14 20:16:34 -08009config ATH9K_DFS_DEBUGFS
10 def_bool y
11 depends on ATH9K_DEBUGFS && ATH9K_DFS_CERTIFIED
Luis R. Rodriguez7322fd12009-09-23 23:07:00 -040012
Sujith Manoharan70982b72012-02-22 12:42:04 +053013config 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. Rodriguezf078f202008-08-04 00:16:41 -070021config ATH9K
22 tristate "Atheros 802.11n wireless cards support"
Geert Uytterhoevena01ae5b2013-05-09 23:04:47 +020023 depends on MAC80211 && HAS_DMA
Luis R. Rodriguez7322fd12009-09-23 23:07:00 -040024 select ATH9K_HW
Randy Dunlapd203b8e2008-09-02 12:07:56 -070025 select MAC80211_LEDS
26 select LEDS_CLASS
27 select NEW_LEDS
Luis R. Rodriguezdb86f072009-11-05 08:44:39 -080028 select ATH9K_COMMON
Luis R. Rodriguezf078f202008-08-04 00:16:41 -070029 ---help---
30 This module adds support for wireless adapters based on
Luis R. Rodriguez2a219eb2009-08-12 14:45:16 -070031 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 Iida278cee02013-06-01 01:30:56 +090034 APs that come with these cards refer to ath9k wiki
Luis R. Rodriguez2a219eb2009-08-12 14:45:16 -070035 products page:
36
37 http://wireless.kernel.org/en/users/Drivers/ath9k/products
Luis R. Rodriguezf078f202008-08-04 00:16:41 -070038
39 If you choose to build a module, it'll be called ath9k.
Sujith88b126a2008-11-28 22:19:02 +053040
Gabor Juhos8e26a032011-04-12 18:23:16 +020041config ATH9K_PCI
42 bool "Atheros ath9k PCI/PCIe bus support"
Daniel Kuehnfdacbcd2011-11-09 23:57:57 +010043 default y
Gabor Juhos8e26a032011-04-12 18:23:16 +020044 depends on ATH9K && PCI
Gabor Juhos8e26a032011-04-12 18:23:16 +020045 ---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
50config 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 Fietkaua830df02009-11-23 22:33:27 +010060config ATH9K_DEBUGFS
Sujith88b126a2008-11-28 22:19:02 +053061 bool "Atheros ath9k debugging"
Sujith Manoharane5614a92013-08-26 13:23:43 +053062 depends on ATH9K && DEBUG_FS
Sujith Manoharan12e94322012-12-20 08:38:00 +053063 select MAC80211_DEBUGFS
Christian Lamparter1077ec42017-01-12 13:02:23 +020064 select ATH9K_COMMON_DEBUG
Sujith88b126a2008-11-28 22:19:02 +053065 ---help---
Felix Fietkaua830df02009-11-23 22:33:27 +010066 Say Y, if you need access to ath9k's statistics for
67 interrupts, rate control, etc.
Sujith88b126a2008-11-28 22:19:02 +053068
Matthias Schiffer9df7ddc2017-11-27 18:56:22 +010069 Also required for changing debug message flags at run time and for
70 TX99.
Sujith88b126a2008-11-28 22:19:02 +053071
Sujith Manoharan1cdbaf02014-01-13 07:29:27 +053072config 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 Schaae7ae3282016-04-28 16:45:05 +020080config 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 Kurtisi29942bc2011-12-14 20:16:34 -0800100config ATH9K_DFS_CERTIFIED
101 bool "Atheros DFS support for certified platforms"
Luis R. Rodriguez00267d52012-07-10 10:24:54 -0700102 depends on ATH9K && CFG80211_CERTIFICATION_ONUS
Zefir Kurtisi29942bc2011-12-14 20:16:34 -0800103 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 Bianconice719152014-09-16 02:13:10 +0200119config ATH9K_DYNACK
Lorenzo Bianconi55bb78d2018-11-02 21:49:59 +0100120 bool "Atheros ath9k ACK timeout estimation algorithm"
Lorenzo Bianconice719152014-09-16 02:13:10 +0200121 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 Manoharanbb00b1f2013-10-28 11:33:19 +0530128config 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 Berg74e13062013-07-03 20:55:38 +0200136config 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 Manoharan0e721bd2014-08-22 20:39:28 +0530146config 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 Fietkau935477e2014-10-25 17:19:26 +0200155config ATH9K_PCOEM
156 bool "Atheros ath9k support for PC OEM cards" if EXPERT
157 depends on ATH9K
158 default y
159
Christian Lamparter5a4f2042019-07-05 19:53:13 +0200160config 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
Sujithfb9987d2010-03-17 14:25:25 +0530176config 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
192config ATH9K_HTC_DEBUGFS
193 bool "Atheros ath9k_htc debugging"
194 depends on ATH9K_HTC && DEBUG_FS
Christian Lamparter1077ec42017-01-12 13:02:23 +0200195 select ATH9K_COMMON_DEBUG
Sujithfb9987d2010-03-17 14:25:25 +0530196 ---help---
197 Say Y, if you need access to ath9k_htc's statistics.
Christian Lamparter1077ec42017-01-12 13:02:23 +0200198 As well as access to the FFT/spectral data.
Miaoqing Paned14dc02015-10-09 17:06:45 +0800199
200config ATH9K_HWRNG
201 bool "Random number generator support"
202 depends on ATH9K && (HW_RANDOM = y || HW_RANDOM = ATH9K)
Miaoqing Pan739ccd72016-08-09 15:02:27 +0800203 default n
Miaoqing Paned14dc02015-10-09 17:06:45 +0800204 ---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 Schiffer9df7ddc2017-11-27 18:56:22 +0100210
211config 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.