blob: 1f3523019509fe8fc28ebf329b3855652cb122f1 [file] [log] [blame]
Luis R. Rodriguez7322fd12009-09-23 23:07:00 -04001config ATH9K_HW
2 tristate
Luis R. Rodriguezdb86f072009-11-05 08:44:39 -08003config ATH9K_COMMON
4 tristate
Vladimir Kondratiev9a6f7342013-01-03 10:31:19 +02005 select ATH_COMMON
Christian Lamparter1077ec42017-01-12 13:02:23 +02006config ATH9K_COMMON_DEBUG
7 bool
Zefir Kurtisi29942bc2011-12-14 20:16:34 -08008config ATH9K_DFS_DEBUGFS
9 def_bool y
10 depends on ATH9K_DEBUGFS && ATH9K_DFS_CERTIFIED
Luis R. Rodriguez7322fd12009-09-23 23:07:00 -040011
Sujith Manoharan70982b72012-02-22 12:42:04 +053012config 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
Luis R. Rodriguezf078f202008-08-04 00:16:41 -070020config ATH9K
21 tristate "Atheros 802.11n wireless cards support"
Geert Uytterhoevena01ae5b2013-05-09 23:04:47 +020022 depends on MAC80211 && HAS_DMA
Luis R. Rodriguez7322fd12009-09-23 23:07:00 -040023 select ATH9K_HW
Randy Dunlapd203b8e2008-09-02 12:07:56 -070024 select MAC80211_LEDS
25 select LEDS_CLASS
26 select NEW_LEDS
Luis R. Rodriguezdb86f072009-11-05 08:44:39 -080027 select ATH9K_COMMON
Luis R. Rodriguezf078f202008-08-04 00:16:41 -070028 ---help---
29 This module adds support for wireless adapters based on
Luis R. Rodriguez2a219eb2009-08-12 14:45:16 -070030 Atheros IEEE 802.11n AR5008, AR9001 and AR9002 family
31 of chipsets. For a specific list of supported external
32 cards, laptops that already ship with these cards and
Masanari Iida278cee02013-06-01 01:30:56 +090033 APs that come with these cards refer to ath9k wiki
Luis R. Rodriguez2a219eb2009-08-12 14:45:16 -070034 products page:
35
36 http://wireless.kernel.org/en/users/Drivers/ath9k/products
Luis R. Rodriguezf078f202008-08-04 00:16:41 -070037
38 If you choose to build a module, it'll be called ath9k.
Sujith88b126a2008-11-28 22:19:02 +053039
Gabor Juhos8e26a032011-04-12 18:23:16 +020040config ATH9K_PCI
41 bool "Atheros ath9k PCI/PCIe bus support"
Daniel Kuehnfdacbcd2011-11-09 23:57:57 +010042 default y
Gabor Juhos8e26a032011-04-12 18:23:16 +020043 depends on ATH9K && PCI
Gabor Juhos8e26a032011-04-12 18:23:16 +020044 ---help---
45 This option enables the PCI bus support in ath9k.
46
47 Say Y, if you have a compatible PCI/PCIe wireless card.
48
49config ATH9K_AHB
50 bool "Atheros ath9k AHB bus support"
51 depends on ATH9K
52 default n
53 ---help---
54 This option enables the AHB bus support in ath9k.
55
56 Say Y, if you have a SoC with a compatible built-in
57 wireless MAC. Say N if unsure.
58
Felix Fietkaua830df02009-11-23 22:33:27 +010059config ATH9K_DEBUGFS
Sujith88b126a2008-11-28 22:19:02 +053060 bool "Atheros ath9k debugging"
Sujith Manoharane5614a92013-08-26 13:23:43 +053061 depends on ATH9K && DEBUG_FS
Sujith Manoharan12e94322012-12-20 08:38:00 +053062 select MAC80211_DEBUGFS
Christian Lamparter1077ec42017-01-12 13:02:23 +020063 select ATH9K_COMMON_DEBUG
Sujith88b126a2008-11-28 22:19:02 +053064 ---help---
Felix Fietkaua830df02009-11-23 22:33:27 +010065 Say Y, if you need access to ath9k's statistics for
66 interrupts, rate control, etc.
Sujith88b126a2008-11-28 22:19:02 +053067
Matthias Schiffer9df7ddc2017-11-27 18:56:22 +010068 Also required for changing debug message flags at run time and for
69 TX99.
Sujith88b126a2008-11-28 22:19:02 +053070
Sujith Manoharan1cdbaf02014-01-13 07:29:27 +053071config ATH9K_STATION_STATISTICS
72 bool "Detailed station statistics"
73 depends on ATH9K && ATH9K_DEBUGFS && DEBUG_FS
74 select MAC80211_DEBUGFS
75 default n
76 ---help---
77 This option enables detailed statistics for association stations.
78
Helmut Schaae7ae3282016-04-28 16:45:05 +020079config ATH9K_TX99
80 bool "Atheros ath9k TX99 testing support"
81 depends on ATH9K_DEBUGFS && CFG80211_CERTIFICATION_ONUS
82 default n
83 ---help---
84 Say N. This should only be enabled on systems undergoing
85 certification testing and evaluation in a controlled environment.
86 Enabling this will only enable TX99 support, all other modes of
87 operation will be disabled.
88
89 TX99 support enables Specific Absorption Rate (SAR) testing.
90 SAR is the unit of measurement for the amount of radio frequency(RF)
91 absorbed by the body when using a wireless device. The RF exposure
92 limits used are expressed in the terms of SAR, which is a measure
93 of the electric and magnetic field strength and power density for
94 transmitters operating at frequencies from 300 kHz to 100 GHz.
95 Regulatory bodies around the world require that wireless device
96 be evaluated to meet the RF exposure limits set forth in the
97 governmental SAR regulations.
98
Zefir Kurtisi29942bc2011-12-14 20:16:34 -080099config ATH9K_DFS_CERTIFIED
100 bool "Atheros DFS support for certified platforms"
Luis R. Rodriguez00267d52012-07-10 10:24:54 -0700101 depends on ATH9K && CFG80211_CERTIFICATION_ONUS
Zefir Kurtisi29942bc2011-12-14 20:16:34 -0800102 default n
103 ---help---
104 This option enables DFS support for initiating radiation on
105 ath9k. There is no way to dynamically detect if a card was DFS
106 certified and as such this is left as a build time option. This
107 option should only be enabled by system integrators that can
108 guarantee that all the platforms that their kernel will run on
109 have obtained appropriate regulatory body certification for a
110 respective Atheros card by using ath9k on the target shipping
111 platforms.
112
113 This is currently only a placeholder for future DFS support,
114 as DFS support requires more components that still need to be
115 developed. At this point enabling this option won't do anything
116 except increase code size.
117
Lorenzo Bianconice719152014-09-16 02:13:10 +0200118config ATH9K_DYNACK
119 bool "Atheros ath9k ACK timeout estimation algorithm (EXPERIMENTAL)"
120 depends on ATH9K
121 default n
122 ---help---
123 This option enables ath9k dynamic ACK timeout estimation algorithm
124 based on ACK frame RX timestamp, TX frame timestamp and frame
125 duration
126
Sujith Manoharanbb00b1f2013-10-28 11:33:19 +0530127config ATH9K_WOW
128 bool "Wake on Wireless LAN support (EXPERIMENTAL)"
129 depends on ATH9K && PM
130 default n
131 ---help---
132 This option enables Wake on Wireless LAN support for certain cards.
133 Currently, AR9462 is supported.
134
Johannes Berg74e13062013-07-03 20:55:38 +0200135config ATH9K_RFKILL
136 bool "Atheros ath9k rfkill support" if EXPERT
137 depends on ATH9K
138 depends on RFKILL=y || RFKILL=ATH9K
139 default y
140 help
141 Say Y to have ath9k poll the RF-Kill GPIO every couple of
142 seconds. Turn off to save power, but enable it if you have
143 a platform that can toggle the RF-Kill GPIO.
144
Sujith Manoharan0e721bd2014-08-22 20:39:28 +0530145config ATH9K_CHANNEL_CONTEXT
146 bool "Channel Context support"
147 depends on ATH9K
148 default n
149 ---help---
150 This option enables channel context support in ath9k, which is needed
151 for multi-channel concurrency. Enable this if P2P PowerSave support
152 is required.
153
Felix Fietkau935477e2014-10-25 17:19:26 +0200154config ATH9K_PCOEM
155 bool "Atheros ath9k support for PC OEM cards" if EXPERT
156 depends on ATH9K
157 default y
158
Sujithfb9987d2010-03-17 14:25:25 +0530159config ATH9K_HTC
160 tristate "Atheros HTC based wireless cards support"
161 depends on USB && MAC80211
162 select ATH9K_HW
163 select MAC80211_LEDS
164 select LEDS_CLASS
165 select NEW_LEDS
166 select ATH9K_COMMON
167 ---help---
168 Support for Atheros HTC based cards.
169 Chipsets supported: AR9271
170
171 For more information: http://wireless.kernel.org/en/users/Drivers/ath9k_htc
172
173 The built module will be ath9k_htc.
174
175config ATH9K_HTC_DEBUGFS
176 bool "Atheros ath9k_htc debugging"
177 depends on ATH9K_HTC && DEBUG_FS
Christian Lamparter1077ec42017-01-12 13:02:23 +0200178 select ATH9K_COMMON_DEBUG
Sujithfb9987d2010-03-17 14:25:25 +0530179 ---help---
180 Say Y, if you need access to ath9k_htc's statistics.
Christian Lamparter1077ec42017-01-12 13:02:23 +0200181 As well as access to the FFT/spectral data.
Miaoqing Paned14dc02015-10-09 17:06:45 +0800182
183config ATH9K_HWRNG
184 bool "Random number generator support"
185 depends on ATH9K && (HW_RANDOM = y || HW_RANDOM = ATH9K)
Miaoqing Pan739ccd72016-08-09 15:02:27 +0800186 default n
Miaoqing Paned14dc02015-10-09 17:06:45 +0800187 ---help---
188 This option incorporates the ADC register output as a source of
189 randomness into Linux entropy pool (/dev/urandom and /dev/random)
190
191 Say Y, feeds the entropy directly from the WiFi driver to the input
192 pool.
Matthias Schiffer9df7ddc2017-11-27 18:56:22 +0100193
194config ATH9K_COMMON_SPECTRAL
195 bool "Atheros ath9k/ath9k_htc spectral scan support"
196 depends on ATH9K_DEBUGFS || ATH9K_HTC_DEBUGFS
197 select RELAY
198 default n
199 ---help---
200 Say Y to enable access to the FFT/spectral data via debugfs.