NOTE: this page is for archival only, see the note at the end of the page.

ath6kl debugging


Use debug_mask module parameter to enable debug logs. For example, to enable all possible log levels do:

modprobe ath6kl_sdio.ko debug_mask=0xffffffff

The log messages printed using the standard kernel log facilies, for example you can use dmesg or syslog to access them.

The log levels are defined in debug.h.

Some useful debug_mask values:


boot, suspend, wmi


irq, wmi, sdio, boot


ath6kl also has a debugfs interface for debugging driver and firmware state. The debugfs directory is in ieee80211/phy*/ath6kl/ under the debugfs root directory, which is distribution dependent (usually /sys/kernel/debug/ and needs to be mounted separately).

Few important files:

various firmware statistics
latest firmware debug logs, use cp to copy the logs to a file
HTC endpoint statistics
list of possible roaming candidates
dump of firmware registers (slow)

This is a static dump of the old wiki, taken after locking it in January 2015. The new wiki is at
versions of this page: last, v6, v5, v4, v3, v2, v1