162306a36Sopenharmony_ci# SPDX-License-Identifier: ISC 262306a36Sopenharmony_ciconfig ATH5K 362306a36Sopenharmony_ci tristate "Atheros 5xxx wireless cards support" 462306a36Sopenharmony_ci depends on (PCI || ATH25) && MAC80211 562306a36Sopenharmony_ci select ATH_COMMON 662306a36Sopenharmony_ci select MAC80211_LEDS if LEDS_CLASS=y || LEDS_CLASS=MAC80211 762306a36Sopenharmony_ci select ATH5K_AHB if ATH25 862306a36Sopenharmony_ci select ATH5K_PCI if !ATH25 962306a36Sopenharmony_ci help 1062306a36Sopenharmony_ci This module adds support for wireless adapters based on 1162306a36Sopenharmony_ci Atheros 5xxx chipset. 1262306a36Sopenharmony_ci 1362306a36Sopenharmony_ci Currently the following chip versions are supported: 1462306a36Sopenharmony_ci 1562306a36Sopenharmony_ci MAC: AR5211 AR5212 1662306a36Sopenharmony_ci PHY: RF5111/2111 RF5112/2112 RF5413/2413 1762306a36Sopenharmony_ci 1862306a36Sopenharmony_ci This driver uses the kernel's mac80211 subsystem. 1962306a36Sopenharmony_ci 2062306a36Sopenharmony_ci If you choose to build a module, it'll be called ath5k. Say M if 2162306a36Sopenharmony_ci unsure. 2262306a36Sopenharmony_ci 2362306a36Sopenharmony_ciconfig ATH5K_DEBUG 2462306a36Sopenharmony_ci bool "Atheros 5xxx debugging" 2562306a36Sopenharmony_ci depends on ATH5K 2662306a36Sopenharmony_ci help 2762306a36Sopenharmony_ci Atheros 5xxx debugging messages. 2862306a36Sopenharmony_ci 2962306a36Sopenharmony_ci Say Y, if and you will get debug options for ath5k. 3062306a36Sopenharmony_ci To use this, you need to mount debugfs: 3162306a36Sopenharmony_ci 3262306a36Sopenharmony_ci mount -t debugfs debug /sys/kernel/debug 3362306a36Sopenharmony_ci 3462306a36Sopenharmony_ci You will get access to files under: 3562306a36Sopenharmony_ci /sys/kernel/debug/ath5k/phy0/ 3662306a36Sopenharmony_ci 3762306a36Sopenharmony_ci To enable debug, pass the debug level to the debug module 3862306a36Sopenharmony_ci parameter. For example: 3962306a36Sopenharmony_ci 4062306a36Sopenharmony_ci modprobe ath5k debug=0x00000400 4162306a36Sopenharmony_ci 4262306a36Sopenharmony_ciconfig ATH5K_TRACER 4362306a36Sopenharmony_ci bool "Atheros 5xxx tracer" 4462306a36Sopenharmony_ci depends on ATH5K 4562306a36Sopenharmony_ci depends on EVENT_TRACING 4662306a36Sopenharmony_ci help 4762306a36Sopenharmony_ci Say Y here to enable tracepoints for the ath5k driver 4862306a36Sopenharmony_ci using the kernel tracing infrastructure. Select this 4962306a36Sopenharmony_ci option if you are interested in debugging the driver. 5062306a36Sopenharmony_ci 5162306a36Sopenharmony_ci If unsure, say N. 5262306a36Sopenharmony_ci 5362306a36Sopenharmony_ciconfig ATH5K_AHB 5462306a36Sopenharmony_ci bool "Atheros 5xxx AHB bus support" 5562306a36Sopenharmony_ci depends on ATH25 && ATH5K 5662306a36Sopenharmony_ci help 5762306a36Sopenharmony_ci This adds support for WiSoC type chipsets of the 5xxx Atheros 5862306a36Sopenharmony_ci family. 5962306a36Sopenharmony_ci 6062306a36Sopenharmony_ciconfig ATH5K_PCI 6162306a36Sopenharmony_ci bool "Atheros 5xxx PCI bus support" 6262306a36Sopenharmony_ci depends on (!ATH25 && PCI) 6362306a36Sopenharmony_ci help 6462306a36Sopenharmony_ci This adds support for PCI type chipsets of the 5xxx Atheros 6562306a36Sopenharmony_ci family. 6662306a36Sopenharmony_ci 6762306a36Sopenharmony_ciconfig ATH5K_TEST_CHANNELS 6862306a36Sopenharmony_ci bool "Enables testing channels on ath5k" 6962306a36Sopenharmony_ci depends on ATH5K && CFG80211_CERTIFICATION_ONUS 7062306a36Sopenharmony_ci help 7162306a36Sopenharmony_ci This enables non-standard IEEE 802.11 channels on ath5k, which 7262306a36Sopenharmony_ci can be used for research purposes. This option should be disabled 7362306a36Sopenharmony_ci unless doing research. 74