10766789bSKalle Valo# SPDX-License-Identifier: ISC 2203c4805SLuis R. Rodriguezconfig ATH5K 3203c4805SLuis R. Rodriguez tristate "Atheros 5xxx wireless cards support" 4164a9748SSergey Ryazanov depends on (PCI || ATH25) && MAC80211 523c1d7f6SVladimir Kondratiev select ATH_COMMON 6203c4805SLuis R. Rodriguez select MAC80211_LEDS 7203c4805SLuis R. Rodriguez select LEDS_CLASS 8203c4805SLuis R. Rodriguez select NEW_LEDS 9164a9748SSergey Ryazanov select ATH5K_AHB if ATH25 10164a9748SSergey Ryazanov select ATH5K_PCI if !ATH25 11203c4805SLuis R. Rodriguez ---help--- 12203c4805SLuis R. Rodriguez This module adds support for wireless adapters based on 13203c4805SLuis R. Rodriguez Atheros 5xxx chipset. 14203c4805SLuis R. Rodriguez 15203c4805SLuis R. Rodriguez Currently the following chip versions are supported: 16203c4805SLuis R. Rodriguez 17203c4805SLuis R. Rodriguez MAC: AR5211 AR5212 18203c4805SLuis R. Rodriguez PHY: RF5111/2111 RF5112/2112 RF5413/2413 19203c4805SLuis R. Rodriguez 20203c4805SLuis R. Rodriguez This driver uses the kernel's mac80211 subsystem. 21203c4805SLuis R. Rodriguez 22203c4805SLuis R. Rodriguez If you choose to build a module, it'll be called ath5k. Say M if 23203c4805SLuis R. Rodriguez unsure. 24203c4805SLuis R. Rodriguez 25203c4805SLuis R. Rodriguezconfig ATH5K_DEBUG 26203c4805SLuis R. Rodriguez bool "Atheros 5xxx debugging" 27203c4805SLuis R. Rodriguez depends on ATH5K 28203c4805SLuis R. Rodriguez ---help--- 29203c4805SLuis R. Rodriguez Atheros 5xxx debugging messages. 30203c4805SLuis R. Rodriguez 31203c4805SLuis R. Rodriguez Say Y, if and you will get debug options for ath5k. 32203c4805SLuis R. Rodriguez To use this, you need to mount debugfs: 33203c4805SLuis R. Rodriguez 34156f5a78SGeunSik Lim mount -t debugfs debug /sys/kernel/debug 35203c4805SLuis R. Rodriguez 36203c4805SLuis R. Rodriguez You will get access to files under: 37156f5a78SGeunSik Lim /sys/kernel/debug/ath5k/phy0/ 38203c4805SLuis R. Rodriguez 39203c4805SLuis R. Rodriguez To enable debug, pass the debug level to the debug module 40203c4805SLuis R. Rodriguez parameter. For example: 41203c4805SLuis R. Rodriguez 42203c4805SLuis R. Rodriguez modprobe ath5k debug=0x00000400 43203c4805SLuis R. Rodriguez 440e472252SBob Copelandconfig ATH5K_TRACER 450e472252SBob Copeland bool "Atheros 5xxx tracer" 460e472252SBob Copeland depends on ATH5K 470e472252SBob Copeland depends on EVENT_TRACING 480e472252SBob Copeland ---help--- 490e472252SBob Copeland Say Y here to enable tracepoints for the ath5k driver 500e472252SBob Copeland using the kernel tracing infrastructure. Select this 510e472252SBob Copeland option if you are interested in debugging the driver. 520e472252SBob Copeland 530e472252SBob Copeland If unsure, say N. 540e472252SBob Copeland 550e5d3ab5SSergey Ryazanovconfig ATH5K_AHB 560e5d3ab5SSergey Ryazanov bool "Atheros 5xxx AHB bus support" 57*c98cdaefSKrzysztof Kozlowski depends on ATH25 && ATH5K 580e5d3ab5SSergey Ryazanov ---help--- 590e5d3ab5SSergey Ryazanov This adds support for WiSoC type chipsets of the 5xxx Atheros 600e5d3ab5SSergey Ryazanov family. 610e5d3ab5SSergey Ryazanov 62a0b907eeSFelix Fietkauconfig ATH5K_PCI 63a0b907eeSFelix Fietkau bool "Atheros 5xxx PCI bus support" 64164a9748SSergey Ryazanov depends on (!ATH25 && PCI) 65a0b907eeSFelix Fietkau ---help--- 66a0b907eeSFelix Fietkau This adds support for PCI type chipsets of the 5xxx Atheros 67a0b907eeSFelix Fietkau family. 682f8684ceSLuis R. Rodriguez 692f8684ceSLuis R. Rodriguezconfig ATH5K_TEST_CHANNELS 702f8684ceSLuis R. Rodriguez bool "Enables testing channels on ath5k" 712f8684ceSLuis R. Rodriguez depends on ATH5K && CFG80211_CERTIFICATION_ONUS 722f8684ceSLuis R. Rodriguez ---help--- 732f8684ceSLuis R. Rodriguez This enables non-standard IEEE 802.11 channels on ath5k, which 742f8684ceSLuis R. Rodriguez can be used for research purposes. This option should be disabled 752f8684ceSLuis R. Rodriguez unless doing research. 76