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