ath9k: move ath9k_spectral_scan_ from main.c to spectral.c
[linux-2.6-block.git] / drivers / net / wireless / ath / ath9k / Kconfig
CommitLineData
7322fd19
LR
1config ATH9K_HW
2 tristate
db86f07e
LR
3config ATH9K_COMMON
4 tristate
9a6f7347 5 select ATH_COMMON
29942bc1
ZK
6config ATH9K_DFS_DEBUGFS
7 def_bool y
8 depends on ATH9K_DEBUGFS && ATH9K_DFS_CERTIFIED
7322fd19 9
70982b72
SM
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
f078f209
LR
18config ATH9K
19 tristate "Atheros 802.11n wireless cards support"
a01ae5b3 20 depends on MAC80211 && HAS_DMA
7322fd19 21 select ATH9K_HW
d203b8ef
RD
22 select MAC80211_LEDS
23 select LEDS_CLASS
24 select NEW_LEDS
db86f07e 25 select ATH9K_COMMON
f078f209
LR
26 ---help---
27 This module adds support for wireless adapters based on
2a219eb2
LR
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
278cee05 31 APs that come with these cards refer to ath9k wiki
2a219eb2
LR
32 products page:
33
34 http://wireless.kernel.org/en/users/Drivers/ath9k/products
f078f209
LR
35
36 If you choose to build a module, it'll be called ath9k.
88b126af 37
8e26a030
GJ
38config ATH9K_PCI
39 bool "Atheros ath9k PCI/PCIe bus support"
fdacbcda 40 default y
8e26a030 41 depends on ATH9K && PCI
8e26a030
GJ
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
a830df07 57config ATH9K_DEBUGFS
88b126af 58 bool "Atheros ath9k debugging"
e5614a91 59 depends on ATH9K && DEBUG_FS
12e94327 60 select MAC80211_DEBUGFS
c672a3ab 61 select RELAY
88b126af 62 ---help---
a830df07
FF
63 Say Y, if you need access to ath9k's statistics for
64 interrupts, rate control, etc.
88b126af 65
a830df07 66 Also required for changing debug message flags at run time.
c46917bb 67
1cdbaf0d
SM
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
29942bc1
ZK
76config ATH9K_DFS_CERTIFIED
77 bool "Atheros DFS support for certified platforms"
00267d59 78 depends on ATH9K && CFG80211_CERTIFICATION_ONUS
29942bc1
ZK
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
ce719152
LB
95config ATH9K_DYNACK
96 bool "Atheros ath9k ACK timeout estimation algorithm (EXPERIMENTAL)"
97 depends on ATH9K
98 default n
99 ---help---
100 This option enables ath9k dynamic ACK timeout estimation algorithm
101 based on ACK frame RX timestamp, TX frame timestamp and frame
102 duration
103
89f927af
LR
104config ATH9K_TX99
105 bool "Atheros ath9k TX99 testing support"
ef6b19e4 106 depends on ATH9K_DEBUGFS && CFG80211_CERTIFICATION_ONUS
89f927af
LR
107 default n
108 ---help---
109 Say N. This should only be enabled on systems undergoing
110 certification testing and evaluation in a controlled environment.
111 Enabling this will only enable TX99 support, all other modes of
112 operation will be disabled.
113
114 TX99 support enables Specific Absorption Rate (SAR) testing.
115 SAR is the unit of measurement for the amount of radio frequency(RF)
116 absorbed by the body when using a wireless device. The RF exposure
117 limits used are expressed in the terms of SAR, which is a measure
118 of the electric and magnetic field strength and power density for
119 transmitters operating at frequencies from 300 kHz to 100 GHz.
120 Regulatory bodies around the world require that wireless device
121 be evaluated to meet the RF exposure limits set forth in the
122 governmental SAR regulations.
123
bb00b1f7
SM
124config ATH9K_WOW
125 bool "Wake on Wireless LAN support (EXPERIMENTAL)"
126 depends on ATH9K && PM
127 default n
128 ---help---
129 This option enables Wake on Wireless LAN support for certain cards.
130 Currently, AR9462 is supported.
131
74e13060
JB
132config ATH9K_RFKILL
133 bool "Atheros ath9k rfkill support" if EXPERT
134 depends on ATH9K
135 depends on RFKILL=y || RFKILL=ATH9K
136 default y
137 help
138 Say Y to have ath9k poll the RF-Kill GPIO every couple of
139 seconds. Turn off to save power, but enable it if you have
140 a platform that can toggle the RF-Kill GPIO.
141
0e721bd0
SM
142config ATH9K_CHANNEL_CONTEXT
143 bool "Channel Context support"
144 depends on ATH9K
145 default n
146 ---help---
147 This option enables channel context support in ath9k, which is needed
148 for multi-channel concurrency. Enable this if P2P PowerSave support
149 is required.
150
935477ed
FF
151config ATH9K_PCOEM
152 bool "Atheros ath9k support for PC OEM cards" if EXPERT
153 depends on ATH9K
154 default y
155
fb9987d0
S
156config ATH9K_HTC
157 tristate "Atheros HTC based wireless cards support"
158 depends on USB && MAC80211
159 select ATH9K_HW
160 select MAC80211_LEDS
161 select LEDS_CLASS
162 select NEW_LEDS
163 select ATH9K_COMMON
164 ---help---
165 Support for Atheros HTC based cards.
166 Chipsets supported: AR9271
167
168 For more information: http://wireless.kernel.org/en/users/Drivers/ath9k_htc
169
170 The built module will be ath9k_htc.
171
172config ATH9K_HTC_DEBUGFS
173 bool "Atheros ath9k_htc debugging"
174 depends on ATH9K_HTC && DEBUG_FS
175 ---help---
176 Say Y, if you need access to ath9k_htc's statistics.