Skip to contentSkip to conversation

Debugging support

DISCUSSION Paul Stoaks 2 participants 2 messages Nov 15, 2012

lore
Share & tools
lore
#0 lore raw

Hi Folks,

I have another noob question for you. Can you point me to documentation for the protocol-level debugging facilities built into mac80211 (and/or drivers)? I see references to "debugfs" and some ath9k debugging features, some of which are enabled in the kernel configuration. What I'm particularly interested in at this point is any kind of protocol or management packet logging as well as mac80211 event logging. I have some ath9k hardware, but I also have Broadcom B43 devices that I'd like to monitor.

Thanks,
Paul

#1 lore raw
Quoted 10 lines · Paul Stoaks

Hi Folks,

I have another noob question for you. Can you point me to documentation for the protocol-level debugging facilities built into mac80211 (and/or drivers)? I see references to "debugfs" and some ath9k debugging features, some of which are enabled in the kernel configuration. What I'm particularly interested in at this point is any kind of protocol or management packet logging as well as mac80211 event logging. I have some ath9k hardware, but I also have Broadcom B43 devices that I'd like to monitor.

mac80211 has tracing:
http://wireless.kernel.org/en/developers/Documentation/mac80211/tracing

wpa_supplicant has tracing:
(Enable CONFIG_DEBUG_LINUX_TRACING in wpa_s).

Event monitoring in "iw" is useful too.

ath9k doesn't have tracing or packet-logging currently.

Sujith