Go back –> ath6kl
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
When you see a message like this it means that firmware was able to boot:
ar6003 hw 2.1.1 sdio fw 22.214.171.124 api 3
For getting detailed information about booting enable the BOOT log level.
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)