Atheros 5xxx debugging

configname: CONFIG_ATH5K_DEBUG

Linux Kernel Configuration
└─>Device Drivers
└─>Network device support
└─>Wireless LAN
└─>Atheros 5xxx debugging
In linux kernel since version 2.6.26 (release Date: 2008-07-13)  
Atheros 5xxx debugging messages.

Say Y, if and you will get debug options for ath5k.
To use this, you need to mount debugfs:

mount -t debugfs debug /sys/kernel/debug

You will get access to files under:
/sys/kernel/debug/ath5k/phy0/

To enable debug, pass the debug level to the debug module
parameter. For example:

modprobe ath5k debug=0x00000400