xref: /openbmc/linux/drivers/net/wireless/ath/ath5k/Kconfig (revision 762f99f4f3cb41a775b5157dd761217beba65873)
10766789bSKalle Valo# SPDX-License-Identifier: ISC
2203c4805SLuis R. Rodriguezconfig ATH5K
3203c4805SLuis R. Rodriguez	tristate "Atheros 5xxx wireless cards support"
4164a9748SSergey Ryazanov	depends on (PCI || ATH25) && MAC80211
523c1d7f6SVladimir Kondratiev	select ATH_COMMON
6*fb8c3a3cSArnd Bergmann	select MAC80211_LEDS if LEDS_CLASS=y || LEDS_CLASS=MAC80211
7164a9748SSergey Ryazanov	select ATH5K_AHB if ATH25
8164a9748SSergey Ryazanov	select ATH5K_PCI if !ATH25
9a7f7f624SMasahiro Yamada	help
10203c4805SLuis R. Rodriguez	  This module adds support for wireless adapters based on
11203c4805SLuis R. Rodriguez	  Atheros 5xxx chipset.
12203c4805SLuis R. Rodriguez
13203c4805SLuis R. Rodriguez	  Currently the following chip versions are supported:
14203c4805SLuis R. Rodriguez
15203c4805SLuis R. Rodriguez	  MAC: AR5211 AR5212
16203c4805SLuis R. Rodriguez	  PHY: RF5111/2111 RF5112/2112 RF5413/2413
17203c4805SLuis R. Rodriguez
18203c4805SLuis R. Rodriguez	  This driver uses the kernel's mac80211 subsystem.
19203c4805SLuis R. Rodriguez
20203c4805SLuis R. Rodriguez	  If you choose to build a module, it'll be called ath5k. Say M if
21203c4805SLuis R. Rodriguez	  unsure.
22203c4805SLuis R. Rodriguez
23203c4805SLuis R. Rodriguezconfig ATH5K_DEBUG
24203c4805SLuis R. Rodriguez	bool "Atheros 5xxx debugging"
25203c4805SLuis R. Rodriguez	depends on ATH5K
26a7f7f624SMasahiro Yamada	help
27203c4805SLuis R. Rodriguez	  Atheros 5xxx debugging messages.
28203c4805SLuis R. Rodriguez
29203c4805SLuis R. Rodriguez	  Say Y, if and you will get debug options for ath5k.
30203c4805SLuis R. Rodriguez	  To use this, you need to mount debugfs:
31203c4805SLuis R. Rodriguez
32156f5a78SGeunSik Lim	  mount -t debugfs debug /sys/kernel/debug
33203c4805SLuis R. Rodriguez
34203c4805SLuis R. Rodriguez	  You will get access to files under:
35156f5a78SGeunSik Lim	  /sys/kernel/debug/ath5k/phy0/
36203c4805SLuis R. Rodriguez
37203c4805SLuis R. Rodriguez	  To enable debug, pass the debug level to the debug module
38203c4805SLuis R. Rodriguez	  parameter. For example:
39203c4805SLuis R. Rodriguez
40203c4805SLuis R. Rodriguez	  modprobe ath5k debug=0x00000400
41203c4805SLuis R. Rodriguez
420e472252SBob Copelandconfig ATH5K_TRACER
430e472252SBob Copeland	bool "Atheros 5xxx tracer"
440e472252SBob Copeland	depends on ATH5K
450e472252SBob Copeland	depends on EVENT_TRACING
46a7f7f624SMasahiro Yamada	help
470e472252SBob Copeland	  Say Y here to enable tracepoints for the ath5k driver
480e472252SBob Copeland	  using the kernel tracing infrastructure.  Select this
490e472252SBob Copeland	  option if you are interested in debugging the driver.
500e472252SBob Copeland
510e472252SBob Copeland	  If unsure, say N.
520e472252SBob Copeland
530e5d3ab5SSergey Ryazanovconfig ATH5K_AHB
540e5d3ab5SSergey Ryazanov	bool "Atheros 5xxx AHB bus support"
55c98cdaefSKrzysztof Kozlowski	depends on ATH25 && ATH5K
56a7f7f624SMasahiro Yamada	help
570e5d3ab5SSergey Ryazanov	  This adds support for WiSoC type chipsets of the 5xxx Atheros
580e5d3ab5SSergey Ryazanov	  family.
590e5d3ab5SSergey Ryazanov
60a0b907eeSFelix Fietkauconfig ATH5K_PCI
61a0b907eeSFelix Fietkau	bool "Atheros 5xxx PCI bus support"
62164a9748SSergey Ryazanov	depends on (!ATH25 && PCI)
63a7f7f624SMasahiro Yamada	help
64a0b907eeSFelix Fietkau	  This adds support for PCI type chipsets of the 5xxx Atheros
65a0b907eeSFelix Fietkau	  family.
662f8684ceSLuis R. Rodriguez
672f8684ceSLuis R. Rodriguezconfig ATH5K_TEST_CHANNELS
682f8684ceSLuis R. Rodriguez	bool "Enables testing channels on ath5k"
692f8684ceSLuis R. Rodriguez	depends on ATH5K && CFG80211_CERTIFICATION_ONUS
70a7f7f624SMasahiro Yamada	help
712f8684ceSLuis R. Rodriguez	  This enables non-standard IEEE 802.11 channels on ath5k, which
722f8684ceSLuis R. Rodriguez	  can be used for research purposes. This option should be disabled
732f8684ceSLuis R. Rodriguez	  unless doing research.
74