treewide: Add SPDX license identifier - Makefile/Kconfig
[linux-2.6-block.git] / drivers / net / wireless / ath / ath5k / Kconfig
CommitLineData
ec8f24b7 1# SPDX-License-Identifier: GPL-2.0-only
e9ddc0f2
LR
2config ATH5K
3 tristate "Atheros 5xxx wireless cards support"
164a9748 4 depends on (PCI || ATH25) && MAC80211
23c1d7f6 5 select ATH_COMMON
3a078876
BC
6 select MAC80211_LEDS
7 select LEDS_CLASS
8 select NEW_LEDS
164a9748
SR
9 select ATH5K_AHB if ATH25
10 select ATH5K_PCI if !ATH25
e9ddc0f2
LR
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.
b446197c
LR
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
156f5a78 34 mount -t debugfs debug /sys/kernel/debug
b446197c
LR
35
36 You will get access to files under:
156f5a78 37 /sys/kernel/debug/ath5k/phy0/
b446197c
LR
38
39 To enable debug, pass the debug level to the debug module
40 parameter. For example:
41
42 modprobe ath5k debug=0x00000400
43
0e472252
BC
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
0e5d3ab5
SR
55config ATH5K_AHB
56 bool "Atheros 5xxx AHB bus support"
164a9748 57 depends on ATH25
0e5d3ab5
SR
58 ---help---
59 This adds support for WiSoC type chipsets of the 5xxx Atheros
60 family.
61
a0b907ee
FF
62config ATH5K_PCI
63 bool "Atheros 5xxx PCI bus support"
164a9748 64 depends on (!ATH25 && PCI)
a0b907ee
FF
65 ---help---
66 This adds support for PCI type chipsets of the 5xxx Atheros
67 family.
2f8684ce
LR
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.