All of lore.kernel.org
 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: 78+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-27 20:58 BCM4313 & brcmsmac & 3.12: only semi-working? Michael Tokarev
2013-12-28  9:42 ` Arend van Spriel
2013-12-28 12:24   ` Michael Tokarev
2014-01-14  8:59     ` Michael Tokarev
2014-01-14  9:30       ` Nikita N.
2014-02-10 19:16       ` Michael Tokarev
2014-04-19 11:42         ` Michael Tokarev
2014-08-26  5:13           ` Michael Tokarev
2014-08-26 14:56             ` Arend van Spriel
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
2014-09-23 13:44                               ` Seth Forshee
2014-09-23 13:44                                 ` Seth Forshee
2014-09-23 13:50                                 ` Arend van Spriel
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 16:02                                           ` Michael Tokarev
2014-09-23 17:35                                           ` Arend van Spriel
2014-09-23 18:10                                             ` Michael Tokarev
2014-09-24 13:28                                               ` Arend van Spriel
2014-09-24 13:28                                                 ` Arend van Spriel
2014-09-24 14:51                                                 ` Michael Tokarev
2014-09-24 14:51                                                   ` Michael Tokarev
2014-09-26 14:26                                                   ` Michael Tokarev
2014-09-26 14:42                                                     ` Arend van Spriel
2014-09-26 15:20                                                       ` Michael Tokarev
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
2014-11-30 12:04                                                                                   ` Arend van Spriel
2014-11-30 12:04                                                                                     ` Arend van Spriel
2014-12-02 21:40                                                                                     ` Michael Tokarev
2014-12-02 21:40                                                                                       ` Michael Tokarev
2014-12-03 12:43                                                                                       ` Arend van Spriel
2014-12-16 16:51                                                                                         ` Arend van Spriel
2014-12-21  9:58                                                                                           ` Michael Tokarev
2014-12-21  9:58                                                                                             ` Michael Tokarev
2014-12-21 10:12                                                                                             ` Arend van Spriel
2014-12-21 10:12                                                                                               ` Arend van Spriel
2014-12-21 10:27                                                                                               ` Michael Tokarev
2014-12-21 11:38                                                                                                 ` Arend van Spriel
2014-12-21 14:08                                                                                               ` Maximilian Engelhardt
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-09 20:54                                                                                                           ` Daniel Glöckner
2015-03-10 21:27                                                                                                           ` Arend van Spriel
2016-03-14 16:41                                                                                                             ` Daniel Glöckner
     [not found]                                                                                           ` <54969A46.8000807@msgid.tls.msk.ru>
2014-12-21 10:17                                                                                             ` Arend van Spriel
2014-12-01 22:06                                                                                   ` Maximilian Engelhardt
2014-11-19 13:46                                                                       ` Arend van Spriel
2014-11-19 13:49                                                                         ` Arend van Spriel
2014-11-19 13:49                                                                           ` Arend van Spriel
2020-08-24  3:44 Sébastien Le Preste De Vauban

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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.