3a078876ca
This change cleans up the ath5k LED code and converts it to use the standard LED device class along with the rx/tx LED triggers provided by mac80211. Signed-off-by: Bob Copeland <me@bobcopeland.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
40 lines
987 B
Text
40 lines
987 B
Text
config ATH5K
|
|
tristate "Atheros 5xxx wireless cards support"
|
|
depends on PCI && MAC80211 && WLAN_80211 && EXPERIMENTAL
|
|
select MAC80211_LEDS
|
|
select LEDS_CLASS
|
|
select NEW_LEDS
|
|
---help---
|
|
This module adds support for wireless adapters based on
|
|
Atheros 5xxx chipset.
|
|
|
|
Currently the following chip versions are supported:
|
|
|
|
MAC: AR5211 AR5212
|
|
PHY: RF5111/2111 RF5112/2112 RF5413/2413
|
|
|
|
This driver uses the kernel's mac80211 subsystem.
|
|
|
|
If you choose to build a module, it'll be called ath5k. Say M if
|
|
unsure.
|
|
|
|
config ATH5K_DEBUG
|
|
bool "Atheros 5xxx debugging"
|
|
depends on ATH5K
|
|
---help---
|
|
Atheros 5xxx debugging messages.
|
|
|
|
Say Y, if and you will get debug options for ath5k.
|
|
To use this, you need to mount debugfs:
|
|
|
|
mkdir /debug/
|
|
mount -t debugfs debug /debug/
|
|
|
|
You will get access to files under:
|
|
/debug/ath5k/phy0/
|
|
|
|
To enable debug, pass the debug level to the debug module
|
|
parameter. For example:
|
|
|
|
modprobe ath5k debug=0x00000400
|
|
|