]> git.karo-electronics.de Git - linux-beck.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)
commitcdf4352f5c59ee5599579ea3bfa4d8972c3f72f1
tree4da0209dd5517e49053f067b40b50c75dd366a21
parent5211fa2c483dc85134e46a17a72210dc41a0802d
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