diff options
author | Seth Forshee <seth.forshee@canonical.com> | 2012-11-15 18:08:11 +0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-11-20 23:08:06 +0400 |
commit | 0c9a0a1dd145a3078ff50c50b2d20de6b46f5e62 (patch) | |
tree | 25f83ec30565de5338f9c117dd9f7d232eb12eff /drivers/net/wireless/brcm80211/brcmsmac/dma.c | |
parent | e3c0d8a6f67f2ee22476e0ceb0ad22945840a5af (diff) | |
download | linux-0c9a0a1dd145a3078ff50c50b2d20de6b46f5e62.tar.xz |
brcmsmac: Add tracepoint for AMPDU session information
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>
Diffstat (limited to 'drivers/net/wireless/brcm80211/brcmsmac/dma.c')
-rw-r--r-- | drivers/net/wireless/brcm80211/brcmsmac/dma.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/net/wireless/brcm80211/brcmsmac/dma.c b/drivers/net/wireless/brcm80211/brcmsmac/dma.c index ba3344310f07..0f44bd9dce3f 100644 --- a/drivers/net/wireless/brcm80211/brcmsmac/dma.c +++ b/drivers/net/wireless/brcm80211/brcmsmac/dma.c @@ -29,6 +29,7 @@ #include "scb.h" #include "ampdu.h" #include "debug.h" +#include "brcms_trace_events.h" /* * dma register field offset calculation @@ -1311,6 +1312,13 @@ static void ampdu_finalize(struct dma_info *di) struct brcms_ampdu_session *session = &di->ampdu_session; struct sk_buff *p; + trace_brcms_ampdu_session(&session->wlc->hw->d11core->dev, + session->max_ampdu_len, + session->max_ampdu_frames, + session->ampdu_len, + skb_queue_len(&session->skb_list), + session->dma_len); + if (WARN_ON(skb_queue_empty(&session->skb_list))) return; |