Kconfig 1.92 KB
Newer Older
Kalle Valo's avatar
Kalle Valo committed
1
# SPDX-License-Identifier: ISC
2 3
config ATH5K
	tristate "Atheros 5xxx wireless cards support"
Sergey Ryazanov's avatar
Sergey Ryazanov committed
4
	depends on (PCI || ATH25) && MAC80211
5
	select ATH_COMMON
6 7 8
	select MAC80211_LEDS
	select LEDS_CLASS
	select NEW_LEDS
Sergey Ryazanov's avatar
Sergey Ryazanov committed
9 10
	select ATH5K_AHB if ATH25
	select ATH5K_PCI if !ATH25
11
	help
12 13 14 15 16 17 18 19 20 21 22 23
	  This module adds support for wireless adapters based on
	  Atheros 5xxx chipset.

	  Currently the following chip versions are supported:

	  MAC: AR5211 AR5212
	  PHY: RF5111/2111 RF5112/2112 RF5413/2413

	  This driver uses the kernel's mac80211 subsystem.

	  If you choose to build a module, it'll be called ath5k. Say M if
	  unsure.
24 25 26 27

config ATH5K_DEBUG
	bool "Atheros 5xxx debugging"
	depends on ATH5K
28
	help
29 30 31 32 33
	  Atheros 5xxx debugging messages.

	  Say Y, if and you will get debug options for ath5k.
	  To use this, you need to mount debugfs:

34
	  mount -t debugfs debug /sys/kernel/debug
35 36

	  You will get access to files under:
37
	  /sys/kernel/debug/ath5k/phy0/
38 39 40 41 42 43

	  To enable debug, pass the debug level to the debug module
	  parameter. For example:

	  modprobe ath5k debug=0x00000400

44 45 46 47
config ATH5K_TRACER
	bool "Atheros 5xxx tracer"
	depends on ATH5K
	depends on EVENT_TRACING
48
	help
49 50 51 52 53 54
	  Say Y here to enable tracepoints for the ath5k driver
	  using the kernel tracing infrastructure.  Select this
	  option if you are interested in debugging the driver.

	  If unsure, say N.

55 56
config ATH5K_AHB
	bool "Atheros 5xxx AHB bus support"
57
	depends on ATH25 && ATH5K
58
	help
59 60 61
	  This adds support for WiSoC type chipsets of the 5xxx Atheros
	  family.

Felix Fietkau's avatar
Felix Fietkau committed
62 63
config ATH5K_PCI
	bool "Atheros 5xxx PCI bus support"
Sergey Ryazanov's avatar
Sergey Ryazanov committed
64
	depends on (!ATH25 && PCI)
65
	help
Felix Fietkau's avatar
Felix Fietkau committed
66 67
	  This adds support for PCI type chipsets of the 5xxx Atheros
	  family.
68 69 70 71

config ATH5K_TEST_CHANNELS
	bool "Enables testing channels on ath5k"
	depends on ATH5K && CFG80211_CERTIFICATION_ONUS
72
	help
73 74 75
	  This enables non-standard IEEE 802.11 channels on ath5k, which
	  can be used for research purposes. This option should be disabled
	  unless doing research.