xref: /linux/drivers/net/wireless/ath/ath9k/Kconfig (revision bb00b1f786efc4c38d8e1e3e0e1996a59277a90e)
17322fd19SLuis R. Rodriguezconfig ATH9K_HW
27322fd19SLuis R. Rodriguez	tristate
3db86f07eSLuis R. Rodriguezconfig ATH9K_COMMON
4db86f07eSLuis R. Rodriguez	tristate
59a6f7347SVladimir Kondratiev	select ATH_COMMON
629942bc1SZefir Kurtisiconfig ATH9K_DFS_DEBUGFS
729942bc1SZefir Kurtisi	def_bool y
829942bc1SZefir Kurtisi	depends on ATH9K_DEBUGFS && ATH9K_DFS_CERTIFIED
97322fd19SLuis R. Rodriguez
1070982b72SSujith Manoharanconfig ATH9K_BTCOEX_SUPPORT
1170982b72SSujith Manoharan	bool "Atheros bluetooth coexistence support"
1270982b72SSujith Manoharan	depends on (ATH9K || ATH9K_HTC)
1370982b72SSujith Manoharan	default y
1470982b72SSujith Manoharan	---help---
1570982b72SSujith Manoharan	  Say Y, if you want to use the ath9k/ath9k_htc radios together with
1670982b72SSujith Manoharan	  Bluetooth modules in the same system.
1770982b72SSujith Manoharan
18203c4805SLuis R. Rodriguezconfig ATH9K
19203c4805SLuis R. Rodriguez	tristate "Atheros 802.11n wireless cards support"
20a01ae5b3SGeert Uytterhoeven	depends on MAC80211 && HAS_DMA
217322fd19SLuis R. Rodriguez	select ATH9K_HW
22203c4805SLuis R. Rodriguez	select MAC80211_LEDS
23203c4805SLuis R. Rodriguez	select LEDS_CLASS
24203c4805SLuis R. Rodriguez	select NEW_LEDS
25db86f07eSLuis R. Rodriguez	select ATH9K_COMMON
26203c4805SLuis R. Rodriguez	---help---
27203c4805SLuis R. Rodriguez	  This module adds support for wireless adapters based on
282a219eb2SLuis R. Rodriguez	  Atheros IEEE 802.11n AR5008, AR9001 and AR9002 family
292a219eb2SLuis R. Rodriguez	  of chipsets. For a specific list of supported external
302a219eb2SLuis R. Rodriguez	  cards, laptops that already ship with these cards and
31278cee05SMasanari Iida	  APs that come with these cards refer to ath9k wiki
322a219eb2SLuis R. Rodriguez	  products page:
332a219eb2SLuis R. Rodriguez
342a219eb2SLuis R. Rodriguez	  http://wireless.kernel.org/en/users/Drivers/ath9k/products
35203c4805SLuis R. Rodriguez
36203c4805SLuis R. Rodriguez	  If you choose to build a module, it'll be called ath9k.
37203c4805SLuis R. Rodriguez
388e26a030SGabor Juhosconfig ATH9K_PCI
398e26a030SGabor Juhos	bool "Atheros ath9k PCI/PCIe bus support"
40fdacbcdaSDaniel Kuehn	default y
418e26a030SGabor Juhos	depends on ATH9K && PCI
428e26a030SGabor Juhos	---help---
438e26a030SGabor Juhos	  This option enables the PCI bus support in ath9k.
448e26a030SGabor Juhos
458e26a030SGabor Juhos	  Say Y, if you have a compatible PCI/PCIe wireless card.
468e26a030SGabor Juhos
478e26a030SGabor Juhosconfig ATH9K_AHB
488e26a030SGabor Juhos	bool "Atheros ath9k AHB bus support"
498e26a030SGabor Juhos	depends on ATH9K
508e26a030SGabor Juhos	default n
518e26a030SGabor Juhos	---help---
528e26a030SGabor Juhos	  This option enables the AHB bus support in ath9k.
538e26a030SGabor Juhos
548e26a030SGabor Juhos	  Say Y, if you have a SoC with a compatible built-in
558e26a030SGabor Juhos	  wireless MAC. Say N if unsure.
568e26a030SGabor Juhos
57a830df07SFelix Fietkauconfig ATH9K_DEBUGFS
58203c4805SLuis R. Rodriguez	bool "Atheros ath9k debugging"
59e5614a91SSujith Manoharan	depends on ATH9K && DEBUG_FS
6012e94327SSujith Manoharan	select MAC80211_DEBUGFS
61c672a3abSSven Eckelmann	select RELAY
62203c4805SLuis R. Rodriguez	---help---
63a830df07SFelix Fietkau	  Say Y, if you need access to ath9k's statistics for
64a830df07SFelix Fietkau	  interrupts, rate control, etc.
65203c4805SLuis R. Rodriguez
66a830df07SFelix Fietkau	  Also required for changing debug message flags at run time.
67203c4805SLuis R. Rodriguez
6829942bc1SZefir Kurtisiconfig ATH9K_DFS_CERTIFIED
6929942bc1SZefir Kurtisi	bool "Atheros DFS support for certified platforms"
7000267d59SLuis R. Rodriguez	depends on ATH9K && CFG80211_CERTIFICATION_ONUS
7129942bc1SZefir Kurtisi	default n
7229942bc1SZefir Kurtisi	---help---
7329942bc1SZefir Kurtisi	  This option enables DFS support for initiating radiation on
7429942bc1SZefir Kurtisi	  ath9k. There is no way to dynamically detect if a card was DFS
7529942bc1SZefir Kurtisi	  certified and as such this is left as a build time option. This
7629942bc1SZefir Kurtisi	  option should only be enabled by system integrators that can
7729942bc1SZefir Kurtisi	  guarantee that all the platforms that their kernel will run on
7829942bc1SZefir Kurtisi	  have obtained appropriate regulatory body certification for a
7929942bc1SZefir Kurtisi	  respective Atheros card by using ath9k on the target shipping
8029942bc1SZefir Kurtisi	  platforms.
8129942bc1SZefir Kurtisi
8229942bc1SZefir Kurtisi	  This is currently only a placeholder for future DFS support,
8329942bc1SZefir Kurtisi	  as DFS support requires more components that still need to be
8429942bc1SZefir Kurtisi	  developed. At this point enabling this option won't do anything
8529942bc1SZefir Kurtisi	  except increase code size.
8629942bc1SZefir Kurtisi
8789f927afSLuis R. Rodriguezconfig ATH9K_TX99
8889f927afSLuis R. Rodriguez	bool "Atheros ath9k TX99 testing support"
89ef6b19e4SSujith Manoharan	depends on ATH9K_DEBUGFS && CFG80211_CERTIFICATION_ONUS
9089f927afSLuis R. Rodriguez	default n
9189f927afSLuis R. Rodriguez	---help---
9289f927afSLuis R. Rodriguez	  Say N. This should only be enabled on systems undergoing
9389f927afSLuis R. Rodriguez	  certification testing and evaluation in a controlled environment.
9489f927afSLuis R. Rodriguez	  Enabling this will only enable TX99 support, all other modes of
9589f927afSLuis R. Rodriguez	  operation will be disabled.
9689f927afSLuis R. Rodriguez
9789f927afSLuis R. Rodriguez	  TX99 support enables Specific Absorption Rate (SAR) testing.
9889f927afSLuis R. Rodriguez	  SAR is the unit of measurement for the amount of radio frequency(RF)
9989f927afSLuis R. Rodriguez	  absorbed by the body when using a wireless device. The RF exposure
10089f927afSLuis R. Rodriguez	  limits used are expressed in the terms of SAR, which is a measure
10189f927afSLuis R. Rodriguez	  of the electric and magnetic field strength and power density for
10289f927afSLuis R. Rodriguez	  transmitters operating at frequencies from 300 kHz to 100 GHz.
10389f927afSLuis R. Rodriguez	  Regulatory bodies around the world require that wireless device
10489f927afSLuis R. Rodriguez	  be evaluated to meet the RF exposure limits set forth in the
10589f927afSLuis R. Rodriguez	  governmental SAR regulations.
10689f927afSLuis R. Rodriguez
107*bb00b1f7SSujith Manoharanconfig ATH9K_WOW
108*bb00b1f7SSujith Manoharan	bool "Wake on Wireless LAN support (EXPERIMENTAL)"
109*bb00b1f7SSujith Manoharan	depends on ATH9K && PM
110*bb00b1f7SSujith Manoharan	default n
111*bb00b1f7SSujith Manoharan	---help---
112*bb00b1f7SSujith Manoharan	  This option enables Wake on Wireless LAN support for certain cards.
113*bb00b1f7SSujith Manoharan	  Currently, AR9462 is supported.
114*bb00b1f7SSujith Manoharan
1155efac949SSujith Manoharanconfig ATH9K_LEGACY_RATE_CONTROL
1166e5c2b4eSFelix Fietkau	bool "Atheros ath9k rate control"
1176e5c2b4eSFelix Fietkau	depends on ATH9K
1185efac949SSujith Manoharan	default n
1196e5c2b4eSFelix Fietkau	---help---
1206e5c2b4eSFelix Fietkau	  Say Y, if you want to use the ath9k specific rate control
1215efac949SSujith Manoharan	  module instead of minstrel_ht. Be warned that there are various
1225efac949SSujith Manoharan	  issues with the ath9k RC and minstrel is a more robust algorithm.
1235efac949SSujith Manoharan	  Note that even if this option is selected, "ath9k_rate_control"
1245efac949SSujith Manoharan	  has to be passed to mac80211 using the module parameter,
1255efac949SSujith Manoharan	  ieee80211_default_rc_algo.
1266e5c2b4eSFelix Fietkau
12774e13060SJohannes Bergconfig ATH9K_RFKILL
12874e13060SJohannes Berg	bool "Atheros ath9k rfkill support" if EXPERT
12974e13060SJohannes Berg	depends on ATH9K
13074e13060SJohannes Berg	depends on RFKILL=y || RFKILL=ATH9K
13174e13060SJohannes Berg	default y
13274e13060SJohannes Berg	help
13374e13060SJohannes Berg	  Say Y to have ath9k poll the RF-Kill GPIO every couple of
13474e13060SJohannes Berg	  seconds. Turn off to save power, but enable it if you have
13574e13060SJohannes Berg	  a platform that can toggle the RF-Kill GPIO.
13674e13060SJohannes Berg
137fb9987d0SSujithconfig ATH9K_HTC
138fb9987d0SSujith       tristate "Atheros HTC based wireless cards support"
139fb9987d0SSujith       depends on USB && MAC80211
140fb9987d0SSujith       select ATH9K_HW
141fb9987d0SSujith       select MAC80211_LEDS
142fb9987d0SSujith       select LEDS_CLASS
143fb9987d0SSujith       select NEW_LEDS
144fb9987d0SSujith       select ATH9K_COMMON
145fb9987d0SSujith       ---help---
146fb9987d0SSujith	 Support for Atheros HTC based cards.
147fb9987d0SSujith	 Chipsets supported: AR9271
148fb9987d0SSujith
149fb9987d0SSujith	 For more information: http://wireless.kernel.org/en/users/Drivers/ath9k_htc
150fb9987d0SSujith
151fb9987d0SSujith	 The built module will be ath9k_htc.
152fb9987d0SSujith
153fb9987d0SSujithconfig ATH9K_HTC_DEBUGFS
154fb9987d0SSujith	bool "Atheros ath9k_htc debugging"
155fb9987d0SSujith	depends on ATH9K_HTC && DEBUG_FS
156fb9987d0SSujith	---help---
157fb9987d0SSujith	  Say Y, if you need access to ath9k_htc's statistics.
158