Loading...
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.
1config ATH5K
2 tristate "Atheros 5xxx wireless cards support"
3 depends on (PCI || ATHEROS_AR231X) && MAC80211
4 select ATH_COMMON
5 select MAC80211_LEDS
6 select LEDS_CLASS
7 select NEW_LEDS
8 select AVERAGE
9 select ATH5K_AHB if (ATHEROS_AR231X && !PCI)
10 select ATH5K_PCI if (!ATHEROS_AR231X && PCI)
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 (ATHEROS_AR231X && !PCI)
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 (!ATHEROS_AR231X && 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.