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