]> git.baikalelectronics.ru Git - kernel.git/commit
brcmsmac: Improve tx trace and debug support
authorSeth Forshee <seth.forshee@canonical.com>
Thu, 15 Nov 2012 14:08:09 +0000 (08:08 -0600)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 20 Nov 2012 19:07:38 +0000 (14:07 -0500)
commitb1efdeda811acdf72d1ef3403304e760c8e1ad6e
tree4da0209dd5517e49053f067b40b50c75dd366a21
parent2b66de32b90544ae0de8a1b1ab0efdf7e225f5ae
brcmsmac: Improve tx trace and debug support

Add the brcmsmac_tx trace system for tx debugging. Existing code to dump
tx status and descriptors are converted to using tracepoints, allowing
for more efficient collection and post-processing of this data. These
tracepoints are placed to collect data for all tx frames instead of only
on errors. Logging of tx errors is also improved.

Acked-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
Tested-by: Daniel Wagner <wagi@monom.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/brcm80211/brcmsmac/ampdu.c
drivers/net/wireless/brcm80211/brcmsmac/brcms_trace_events.h
drivers/net/wireless/brcm80211/brcmsmac/main.c
drivers/net/wireless/brcm80211/brcmsmac/main.h