Merge branch 'for-upstream' of git://git.kernel.org/pub/scm/linux/kernel/git/bluetoot...
[cascardo/linux.git] / drivers / net / wireless / ath / ath9k / Kconfig
1 config ATH9K_HW
2         tristate
3 config ATH9K_COMMON
4         tristate
5         select ATH_COMMON
6 config ATH9K_DFS_DEBUGFS
7         def_bool y
8         depends on ATH9K_DEBUGFS && ATH9K_DFS_CERTIFIED
9
10 config 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
18 config 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
38 config 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
47 config 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
57 config 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
68 config ATH9K_DFS_CERTIFIED
69         bool "Atheros DFS support for certified platforms"
70         depends on ATH9K && CFG80211_CERTIFICATION_ONUS
71         default n
72         ---help---
73           This option enables DFS support for initiating radiation on
74           ath9k. There is no way to dynamically detect if a card was DFS
75           certified and as such this is left as a build time option. This
76           option should only be enabled by system integrators that can
77           guarantee that all the platforms that their kernel will run on
78           have obtained appropriate regulatory body certification for a
79           respective Atheros card by using ath9k on the target shipping
80           platforms.
81
82           This is currently only a placeholder for future DFS support,
83           as DFS support requires more components that still need to be
84           developed. At this point enabling this option won't do anything
85           except increase code size.
86
87 config ATH9K_TX99
88         bool "Atheros ath9k TX99 testing support"
89         depends on CFG80211_CERTIFICATION_ONUS
90         default n
91         ---help---
92           Say N. This should only be enabled on systems undergoing
93           certification testing and evaluation in a controlled environment.
94           Enabling this will only enable TX99 support, all other modes of
95           operation will be disabled.
96
97           TX99 support enables Specific Absorption Rate (SAR) testing.
98           SAR is the unit of measurement for the amount of radio frequency(RF)
99           absorbed by the body when using a wireless device. The RF exposure
100           limits used are expressed in the terms of SAR, which is a measure
101           of the electric and magnetic field strength and power density for
102           transmitters operating at frequencies from 300 kHz to 100 GHz.
103           Regulatory bodies around the world require that wireless device
104           be evaluated to meet the RF exposure limits set forth in the
105           governmental SAR regulations.
106
107 config ATH9K_LEGACY_RATE_CONTROL
108         bool "Atheros ath9k rate control"
109         depends on ATH9K
110         default n
111         ---help---
112           Say Y, if you want to use the ath9k specific rate control
113           module instead of minstrel_ht. Be warned that there are various
114           issues with the ath9k RC and minstrel is a more robust algorithm.
115           Note that even if this option is selected, "ath9k_rate_control"
116           has to be passed to mac80211 using the module parameter,
117           ieee80211_default_rc_algo.
118
119 config ATH9K_RFKILL
120         bool "Atheros ath9k rfkill support" if EXPERT
121         depends on ATH9K
122         depends on RFKILL=y || RFKILL=ATH9K
123         default y
124         help
125           Say Y to have ath9k poll the RF-Kill GPIO every couple of
126           seconds. Turn off to save power, but enable it if you have
127           a platform that can toggle the RF-Kill GPIO.
128
129 config ATH9K_HTC
130        tristate "Atheros HTC based wireless cards support"
131        depends on USB && MAC80211
132        select ATH9K_HW
133        select MAC80211_LEDS
134        select LEDS_CLASS
135        select NEW_LEDS
136        select ATH9K_COMMON
137        ---help---
138          Support for Atheros HTC based cards.
139          Chipsets supported: AR9271
140
141          For more information: http://wireless.kernel.org/en/users/Drivers/ath9k_htc
142
143          The built module will be ath9k_htc.
144
145 config ATH9K_HTC_DEBUGFS
146         bool "Atheros ath9k_htc debugging"
147         depends on ATH9K_HTC && DEBUG_FS
148         ---help---
149           Say Y, if you need access to ath9k_htc's statistics.