1config ATH9K_HW
2	tristate
3config ATH9K_COMMON
4	tristate
5	select ATH_COMMON
6config ATH9K_DFS_DEBUGFS
7	def_bool y
8	depends on ATH9K_DEBUGFS && ATH9K_DFS_CERTIFIED
9
10config ATH9K_BTCOEX_SUPPORT
11	bool "Atheros bluetooth coexistence support"
12	depends on (ATH9K || ATH9K_HTC)
13	default y
14	---help---
15	  Say Y, if you want to use the ath9k/ath9k_htc radios together with
16	  Bluetooth modules in the same system.
17
18config ATH9K
19	tristate "Atheros 802.11n wireless cards support"
20	depends on MAC80211 && HAS_DMA
21	select ATH9K_HW
22	select MAC80211_LEDS
23	select LEDS_CLASS
24	select NEW_LEDS
25	select ATH9K_COMMON
26	---help---
27	  This module adds support for wireless adapters based on
28	  Atheros IEEE 802.11n AR5008, AR9001 and AR9002 family
29	  of chipsets. For a specific list of supported external
30	  cards, laptops that already ship with these cards and
31	  APs that come with these cards refer to ath9k wiki
32	  products page:
33
34	  http://wireless.kernel.org/en/users/Drivers/ath9k/products
35
36	  If you choose to build a module, it'll be called ath9k.
37
38config ATH9K_PCI
39	bool "Atheros ath9k PCI/PCIe bus support"
40	default y
41	depends on ATH9K && PCI
42	---help---
43	  This option enables the PCI bus support in ath9k.
44
45	  Say Y, if you have a compatible PCI/PCIe wireless card.
46
47config ATH9K_AHB
48	bool "Atheros ath9k AHB bus support"
49	depends on ATH9K
50	default n
51	---help---
52	  This option enables the AHB bus support in ath9k.
53
54	  Say Y, if you have a SoC with a compatible built-in
55	  wireless MAC. Say N if unsure.
56
57config ATH9K_DEBUGFS
58	bool "Atheros ath9k debugging"
59	depends on ATH9K && DEBUG_FS
60	select MAC80211_DEBUGFS
61	select RELAY
62	---help---
63	  Say Y, if you need access to ath9k's statistics for
64	  interrupts, rate control, etc.
65
66	  Also required for changing debug message flags at run time.
67
68config ATH9K_STATION_STATISTICS
69	bool "Detailed station statistics"
70	depends on ATH9K && ATH9K_DEBUGFS && DEBUG_FS
71	select MAC80211_DEBUGFS
72	default n
73	---help---
74	  This option enables detailed statistics for association stations.
75
76config ATH9K_DFS_CERTIFIED
77	bool "Atheros DFS support for certified platforms"
78	depends on ATH9K && CFG80211_CERTIFICATION_ONUS
79	default n
80	---help---
81	  This option enables DFS support for initiating radiation on
82	  ath9k. There is no way to dynamically detect if a card was DFS
83	  certified and as such this is left as a build time option. This
84	  option should only be enabled by system integrators that can
85	  guarantee that all the platforms that their kernel will run on
86	  have obtained appropriate regulatory body certification for a
87	  respective Atheros card by using ath9k on the target shipping
88	  platforms.
89
90	  This is currently only a placeholder for future DFS support,
91	  as DFS support requires more components that still need to be
92	  developed. At this point enabling this option won't do anything
93	  except increase code size.
94
95config ATH9K_TX99
96	bool "Atheros ath9k TX99 testing support"
97	depends on ATH9K_DEBUGFS && CFG80211_CERTIFICATION_ONUS
98	default n
99	---help---
100	  Say N. This should only be enabled on systems undergoing
101	  certification testing and evaluation in a controlled environment.
102	  Enabling this will only enable TX99 support, all other modes of
103	  operation will be disabled.
104
105	  TX99 support enables Specific Absorption Rate (SAR) testing.
106	  SAR is the unit of measurement for the amount of radio frequency(RF)
107	  absorbed by the body when using a wireless device. The RF exposure
108	  limits used are expressed in the terms of SAR, which is a measure
109	  of the electric and magnetic field strength and power density for
110	  transmitters operating at frequencies from 300 kHz to 100 GHz.
111	  Regulatory bodies around the world require that wireless device
112	  be evaluated to meet the RF exposure limits set forth in the
113	  governmental SAR regulations.
114
115config ATH9K_WOW
116	bool "Wake on Wireless LAN support (EXPERIMENTAL)"
117	depends on ATH9K && PM
118	default n
119	---help---
120	  This option enables Wake on Wireless LAN support for certain cards.
121	  Currently, AR9462 is supported.
122
123config ATH9K_LEGACY_RATE_CONTROL
124	bool "Atheros ath9k rate control"
125	depends on ATH9K
126	default n
127	---help---
128	  Say Y, if you want to use the ath9k specific rate control
129	  module instead of minstrel_ht. Be warned that there are various
130	  issues with the ath9k RC and minstrel is a more robust algorithm.
131	  Note that even if this option is selected, "ath9k_rate_control"
132	  has to be passed to mac80211 using the module parameter,
133	  ieee80211_default_rc_algo.
134
135config 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
145config ATH9K_HTC
146       tristate "Atheros HTC based wireless cards support"
147       depends on USB && MAC80211
148       select ATH9K_HW
149       select MAC80211_LEDS
150       select LEDS_CLASS
151       select NEW_LEDS
152       select ATH9K_COMMON
153       ---help---
154	 Support for Atheros HTC based cards.
155	 Chipsets supported: AR9271
156
157	 For more information: http://wireless.kernel.org/en/users/Drivers/ath9k_htc
158
159	 The built module will be ath9k_htc.
160
161config ATH9K_HTC_DEBUGFS
162	bool "Atheros ath9k_htc debugging"
163	depends on ATH9K_HTC && DEBUG_FS
164	---help---
165	  Say Y, if you need access to ath9k_htc's statistics.
166