xref: /linux/drivers/net/wireless/ath/ath5k/Kconfig (revision daa2be74b1b2302004945b2a5e32424e177cc7da)
1# SPDX-License-Identifier: ISC
2config ATH5K
3	tristate "Atheros 5xxx wireless cards support"
4	depends on (PCI || ATH25) && MAC80211
5	select ATH_COMMON
6	select MAC80211_LEDS if LEDS_CLASS=y || LEDS_CLASS=MAC80211
7	select ATH5K_AHB if ATH25
8	select ATH5K_PCI if !ATH25
9	help
10	  This module adds support for wireless adapters based on
11	  Atheros 5xxx chipset.
12
13	  Currently the following chip versions are supported:
14
15	  MAC: AR5211 AR5212
16	  PHY: RF5111/2111 RF5112/2112 RF5413/2413
17
18	  This driver uses the kernel's mac80211 subsystem.
19
20	  If you choose to build a module, it'll be called ath5k. Say M if
21	  unsure.
22
23config ATH5K_DEBUG
24	bool "Atheros 5xxx debugging"
25	depends on ATH5K
26	help
27	  Atheros 5xxx debugging messages.
28
29	  Say Y, if and you will get debug options for ath5k.
30	  To use this, you need to mount debugfs:
31
32	  mount -t debugfs debug /sys/kernel/debug
33
34	  You will get access to files under:
35	  /sys/kernel/debug/ath5k/phy0/
36
37	  To enable debug, pass the debug level to the debug module
38	  parameter. For example:
39
40	  modprobe ath5k debug=0x00000400
41
42config ATH5K_TRACER
43	bool "Atheros 5xxx tracer"
44	depends on ATH5K
45	depends on EVENT_TRACING
46	help
47	  Say Y here to enable tracepoints for the ath5k driver
48	  using the kernel tracing infrastructure.  Select this
49	  option if you are interested in debugging the driver.
50
51	  If unsure, say N.
52
53config ATH5K_AHB
54	bool "Atheros 5xxx AHB bus support"
55	depends on ATH25 && ATH5K
56	help
57	  This adds support for WiSoC type chipsets of the 5xxx Atheros
58	  family.
59
60config ATH5K_PCI
61	bool "Atheros 5xxx PCI bus support"
62	depends on (!ATH25 && PCI)
63	help
64	  This adds support for PCI type chipsets of the 5xxx Atheros
65	  family.
66
67config ATH5K_TEST_CHANNELS
68	bool "Enables testing channels on ath5k"
69	depends on ATH5K && CFG80211_CERTIFICATION_ONUS
70	help
71	  This enables non-standard IEEE 802.11 channels on ath5k, which
72	  can be used for research purposes. This option should be disabled
73	  unless doing research.
74