2012-11-15 17:20:40

by Paul Stoaks

[permalink] [raw]
Subject: Debugging support

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




2012-11-15 17:37:43

by Sujith Manoharan

[permalink] [raw]
Subject: Re: Debugging support

Paul Stoaks wrote:
> 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