xref: /linux/drivers/net/wireless/ath/ath9k/Kconfig (revision fcc8487d477a3452a1d0ccbdd4c5e0e1e3cb8bed)
1config ATH9K_HW
2	tristate
3config ATH9K_COMMON
4	tristate
5	select ATH_COMMON
6config ATH9K_COMMON_DEBUG
7	bool
8config ATH9K_DFS_DEBUGFS
9	def_bool y
10	depends on ATH9K_DEBUGFS && ATH9K_DFS_CERTIFIED
11
12config 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
20config ATH9K
21	tristate "Atheros 802.11n wireless cards support"
22	depends on MAC80211 && HAS_DMA
23	select ATH9K_HW
24	select MAC80211_LEDS
25	select LEDS_CLASS
26	select NEW_LEDS
27	select ATH9K_COMMON
28	---help---
29	  This module adds support for wireless adapters based on
30	  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
33	  APs that come with these cards refer to ath9k wiki
34	  products page:
35
36	  http://wireless.kernel.org/en/users/Drivers/ath9k/products
37
38	  If you choose to build a module, it'll be called ath9k.
39
40config ATH9K_PCI
41	bool "Atheros ath9k PCI/PCIe bus support"
42	default y
43	depends on ATH9K && PCI
44	---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
59config ATH9K_DEBUGFS
60	bool "Atheros ath9k debugging"
61	depends on ATH9K && DEBUG_FS
62	select MAC80211_DEBUGFS
63	select ATH9K_COMMON_DEBUG
64	select RELAY
65	---help---
66	  Say Y, if you need access to ath9k's statistics for
67	  interrupts, rate control, etc.
68
69	  Also required for changing debug message flags at run time.
70	  As well as access to the FFT/spectral data and TX99.
71
72config 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
80config 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
100config ATH9K_DFS_CERTIFIED
101	bool "Atheros DFS support for certified platforms"
102	depends on ATH9K && CFG80211_CERTIFICATION_ONUS
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
119config ATH9K_DYNACK
120	bool "Atheros ath9k ACK timeout estimation algorithm (EXPERIMENTAL)"
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
128config 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
136config 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
146config 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
155config ATH9K_PCOEM
156	bool "Atheros ath9k support for PC OEM cards" if EXPERT
157	depends on ATH9K
158	default y
159
160config ATH9K_HTC
161       tristate "Atheros HTC based wireless cards support"
162       depends on USB && MAC80211
163       select ATH9K_HW
164       select MAC80211_LEDS
165       select LEDS_CLASS
166       select NEW_LEDS
167       select ATH9K_COMMON
168       ---help---
169	 Support for Atheros HTC based cards.
170	 Chipsets supported: AR9271
171
172	 For more information: http://wireless.kernel.org/en/users/Drivers/ath9k_htc
173
174	 The built module will be ath9k_htc.
175
176config ATH9K_HTC_DEBUGFS
177	bool "Atheros ath9k_htc debugging"
178	depends on ATH9K_HTC && DEBUG_FS
179	select ATH9K_COMMON_DEBUG
180	select RELAY
181	---help---
182	  Say Y, if you need access to ath9k_htc's statistics.
183	  As well as access to the FFT/spectral data.
184
185config ATH9K_HWRNG
186	bool "Random number generator support"
187	depends on ATH9K && (HW_RANDOM = y || HW_RANDOM = ATH9K)
188	default n
189	---help---
190	  This option incorporates the ADC register output as a source of
191	  randomness into Linux entropy pool (/dev/urandom and /dev/random)
192
193	  Say Y, feeds the entropy directly from the WiFi driver to the input
194	  pool.
195