netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Michael Tokarev <mjt@tls.msk.ru>
To: Arend van Spriel <arend@broadcom.com>,
	Seth Forshee <seth.forshee@canonical.com>
Cc: brcm80211-dev-list@broadcom.com, linux-wireless@vger.kernel.org,
	netdev@vger.kernel.org
Subject: Re: BCM4313 & brcmsmac & 3.12: only semi-working?
Date: Tue, 23 Sep 2014 18:25:02 +0400	[thread overview]
Message-ID: <542182BE.2000606@msgid.tls.msk.ru> (raw)
In-Reply-To: <54217AA5.2060803@broadcom.com>

23.09.2014 17:50, Arend van Spriel wrote:
> On 09/23/14 15:44, Seth Forshee wrote:
[]
>> Well, there are a few different trace events defined for brcmsmac. This
>> would enable the full set:
>>
>>   $ trace-cmd record -e brcmsmac -e brcmsmac_tx -e brcmsmac_msg
>>
>> It's been quite some time since I used them, but I think brcmsmac_tx is
>> quite noisy so you may only want to enable that if you already suspect a
>> tx problem. I always find it useful to enable the mac80211 and
>> mac80211_msg events too when debugging wireless, and I often enable
>> cfg80211 events as well (none of these are especially verbose).
> 
> Ah, I read back the email from Sep 21 and it says:
> 
> trace-cmd record brcmsmac:* &
> 
> I am surprised the capture contains something as -e is missing. Good to know there are different tracers for the driver.
> 
>> Of course all of this depends on having the right config options
>> selected. Looks like the relevant options are CONFIG_BRCM_TRACING and
>> CONFIG_MAC80211_MESSAGE_TRACING.

So, what should I enable?  I guess there's a suspection of tx path
problem (since according to tcpdump, the other side sends packets
our way, but our side does not receive them), so -e brcmsmac_tx
shold be okay to enable (and should be easy to filter out if
needed, too, I guess).  And using -e, now too, like this:

 trace-cmd record -e brcmsmac -e brcmsmac_tx -e brcmsmac_msg -e mac80211 -e mac80211 -e cfg80211

http://www.corpit.ru/mjt/tmp/brcmsmac-4313-trace-201409232.dat.gz is
the result from the following:

 modprobe brcmsmac (networkmanager is running)
 trace-cmd as above &
 wget http://ip-add-ress/random-file -O /dev/null

I waited for wget to stall (it d'loaded 240Kb) and hit
Ctrl+C.

The trace file isn't really that huge.

Thank you!

/mjt

  reply	other threads:[~2014-09-23 14:25 UTC|newest]

Thread overview: 52+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <52BDE9DC.5040206@msgid.tls.msk.ru>
     [not found] ` <52BE9CF9.7030305@broadcom.com>
     [not found]   ` <52BEC2F6.7010505@msgid.tls.msk.ru>
     [not found]     ` <52D4FC8B.6090301@msgid.tls.msk.ru>
     [not found]       ` <52F925A9.1030707@msgid.tls.msk.ru>
     [not found]         ` <53526124.6050407@msgid.tls.msk.ru>
2014-08-26  5:13           ` BCM4313 & brcmsmac & 3.12: only semi-working? Michael Tokarev
     [not found]             ` <53FC1789.6020407-Gdu+ltImwkhes2APU0mLOQ@public.gmane.org>
2014-08-26 14:56               ` Arend van Spriel
2014-08-26 16:15                 ` Michael Tokarev
2014-08-26 21:37                   ` Arend van Spriel
2014-08-27 10:02                     ` Michael Tokarev
2014-08-27 15:27                       ` Arend van Spriel
2014-09-15  8:03                         ` Arend van Spriel
2014-09-21 15:30                           ` Michael Tokarev
2014-09-23 10:04                             ` Michael Tokarev
2014-09-23 12:47                               ` Arend van Spriel
     [not found]                                 ` <54216BF1.3060500-dY08KVG/lbpWk0Htik3J/w@public.gmane.org>
2014-09-23 13:44                                   ` Seth Forshee
2014-09-23 13:50                                     ` Arend van Spriel
2014-09-23 14:25                                       ` Michael Tokarev [this message]
2014-09-23 14:28                                         ` Michael Tokarev
2014-09-23 14:31                                           ` Seth Forshee
2014-09-23 16:02                                             ` Michael Tokarev
2014-09-23 17:35                                               ` Arend van Spriel
2014-09-23 18:10                                                 ` Michael Tokarev
     [not found]                                                   ` <5421B78E.4050908-Gdu+ltImwkhes2APU0mLOQ@public.gmane.org>
2014-09-24 13:28                                                     ` Arend van Spriel
     [not found]                                                       ` <5422C6E0.3080002-dY08KVG/lbpWk0Htik3J/w@public.gmane.org>
2014-09-24 14:51                                                         ` Michael Tokarev
2014-09-26 14:26                                                           ` Michael Tokarev
2014-09-26 14:42                                                             ` Arend van Spriel
     [not found]                                                               ` <54257B69.3070607-dY08KVG/lbpWk0Htik3J/w@public.gmane.org>
2014-09-26 15:20                                                                 ` Michael Tokarev
2014-09-29 13:44                                                                   ` Arend van Spriel
2014-09-29 19:40                                                                     ` Maximilian Engelhardt
2014-09-30 10:06                                                                       ` Arend van Spriel
2014-10-08 22:19                                                                         ` Maximilian Engelhardt
2014-10-09  7:52                                                                           ` Arend van Spriel
2014-10-09  8:21                                                                             ` Rafał Miłecki
2014-11-17 22:36                                                                               ` Maximilian Engelhardt
2014-11-19  9:04                                                                                 ` Michael Tokarev
2014-11-19 17:54                                                                                   ` Arend van Spriel
2014-11-19 19:58                                                                                     ` Michael Tokarev
2014-11-19 21:00                                                                                       ` Michael Tokarev
2014-11-23  9:43                                                                                         ` Arend van Spriel
2014-11-26  9:52                                                                                           ` Michael Tokarev
     [not found]                                                                                             ` <5475A2DC.80502-Gdu+ltImwkhes2APU0mLOQ@public.gmane.org>
2014-11-30 12:04                                                                                               ` Arend van Spriel
     [not found]                                                                                                 ` <547B07CF.90501-dY08KVG/lbpWk0Htik3J/w@public.gmane.org>
2014-12-02 21:40                                                                                                   ` Michael Tokarev
2014-12-03 12:43                                                                                                     ` Arend van Spriel
2014-12-16 16:51                                                                                                       ` Arend van Spriel
     [not found]                                                                                                         ` <549062FE.2000808-dY08KVG/lbpWk0Htik3J/w@public.gmane.org>
2014-12-21  9:58                                                                                                           ` Michael Tokarev
     [not found]                                                                                                             ` <549699D9.2060106-Gdu+ltImwkhes2APU0mLOQ@public.gmane.org>
2014-12-21 10:12                                                                                                               ` Arend van Spriel
     [not found]                                                                                                                 ` <54969D18.3060000-dY08KVG/lbpWk0Htik3J/w@public.gmane.org>
2014-12-21 14:08                                                                                                                   ` Maximilian Engelhardt
2014-12-21 14:13                                                                                                                     ` Arend van Spriel
2014-12-21 14:24                                                                                                                       ` Maximilian Engelhardt
2014-12-21 15:03                                                                                                                         ` Arend van Spriel
2014-12-21 17:34                                                                                                                           ` Maximilian Engelhardt
2015-03-09 20:54                                                                                                                             ` Daniel Glöckner
2015-03-10 21:27                                                                                                                               ` Arend van Spriel
2014-12-01 22:06                                                                                             ` Maximilian Engelhardt
2014-11-19 13:46                                                                                 ` Arend van Spriel
     [not found]                                                                                   ` <546C9F2B.8090104-dY08KVG/lbpWk0Htik3J/w@public.gmane.org>
2014-11-19 13:49                                                                                     ` Arend van Spriel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=542182BE.2000606@msgid.tls.msk.ru \
    --to=mjt@tls.msk.ru \
    --cc=arend@broadcom.com \
    --cc=brcm80211-dev-list@broadcom.com \
    --cc=linux-wireless@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=seth.forshee@canonical.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).