From: Arend van Spriel <arend@broadcom.com>
To: Michael Tokarev <mjt@tls.msk.ru>
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: Mon, 15 Sep 2014 10:03:27 +0200 [thread overview]
Message-ID: <54169D4F.2090607@broadcom.com> (raw)
In-Reply-To: <53FDF8EB.4050905@broadcom.com>
On 27-08-14 17:27, Arend van Spriel wrote:
> On 08/27/14 12:02, Michael Tokarev wrote:
>> 27.08.2014 01:37, Arend van Spriel wrote:
>>> On 08/26/14 18:15, Michael Tokarev wrote:
>> []
>>> Well, sorry about that. I did see the other messages fly by and
>>> noticed you were using the wl driver so assumed you were fine with that.
>>
>> That's past already. I had several issues with wl driver,
>> and current issue is that even the latest (Aug-2014) version
>> of wl driver doesn't work with current kernel. So I can't
>> really even compare wl and brcmsmac, -- in kernels< 3.16
>> brcmsmac does not work, but wl can't be compiled for 3.16,
>> and using different kernels for comparison is a bit wrong
>> because there may be differences in other areas.
>>
>>> Admittedly the brcmsmac got very little attention as all our
>>> resources were put on brcmfmac.
>>
>> That happens. :)
>>
>> []
>>> Ok. Let's put frustration aside and make an effort. So could you make
>>> a trace using trace-cmd utility. The log can get quite big. The
>>> brcmsmac driver needs to be built with CONFIG_BRCM_TRACING enabled.
>>> Please execute the following commands (assuming you use ubuntu with
>>> network-manager):
>>>
>>> $ sudo stop network-manager
>>> $ sudo insmod brcmfmac.ko
>>> $ sudo trace-cmd record -e brcmsmac:*
>>>
>>> In another terminal:
>>>
>>> $ sudo start network-manager
>>>
>>> The trace-cmd must be stopped using ctrl-c.
>>
>> Okay. This turned out to be not so simple.
>>
>> My initial attempt indicated that brcmsmac in 3.16 does
>> not work at all. This isn't actually true - subsequent
>> attempts shows that it works. I was ready to conclude
>> the problem is fixed (after transferring several gigs
>> of data over wifi, with tracing enabled or disabled,
>> after fresh boot or after reboot from wl-enabled kernel,
>> etc - it all worked.
>>
>> Until I hit the same stall as I described initially, the
>> same which happened numerous times with kernel 3.12 ($subj).
>>
>> After several mins of transferring it stalled. But this
>> time (unlike with 3.12), it continued after about 30 secs.
>
> A kernel log (so no trace) of stalling interface might be useful so if
> you can provide that and put a marker in there where you believe it
> stalled that would be great.
Hi Michael,
Did you have any opportunity to create a log file. Got a question from
someone else who got bad bcm4313 behaviour after a certain upgrade. Did
you have the same experience?
Regards,
Arend
>> So, while my initial test of 3.16 indicated the prob is still
>> here, at the same (or even worse) state, I can't really
>> reproduce it, at least in a reliable way. There's something
>> wrong still, but at least current version is significantly
>> more useful than before (in a hope it wont stall at the
>> very wrong moment exactly ;).
>>
>> There's one more difference between brcmsmac and wl -- with
>> wl, I see significantly better speed, -- it is about 5MB/sec,
>> while with brcmsmac it jumps between 2.0..4.5MB/sec (with
>> 58..65Mbps connection rate in both cases). Here's a typical
>> iwconfig output for brcmsmac version:
>>
>> wlan0 IEEE 802.11bgn ESSID:"mjt"
>> Mode:Managed Frequency:2.412 GHz Access Point:
>> 64:70:02:29:D9:30
>> Bit Rate=65 Mb/s Tx-Power=19 dBm
>> Retry short limit:7 RTS thr:off Fragment thr:off
>> Power Management:off
>> Link Quality=58/70 Signal level=-61 dBm
>> Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
>> Tx excessive retries:56355 Invalid misc:472 Missed beacon:0
>>
>> I'll keep trying/testing various cases, in attempt to
>> understand what's going on. For now, I can't provide the
>> requested traces (it wont be very useful, I guess).
>>
>> BTW, are there other things not implemented in brcmsmac?
>> I see the module reminds about power management, what
>> does it mean? Anything else missing?
>
> Well, the wireless twiki has that info [1]. Regarding features the
> important ones that I know are still not there are 40MHz support, and
> power-save. The bcm4313 does not support 40MHz. Community contributions
> added ibss, and ap mode. For P2P and TDLS probably some changes would be
> needed although most of the legwork is done in mac80211.
>
> Regards,
> Arend
>
> [1]
> http://wireless.kernel.org/en/users/Drivers/brcm80211#To_be_done_for_softmac_driver
>
>
>> Thank you!
>>
>> /mjt
>
next prev parent reply other threads:[~2014-09-15 8:03 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 [this message]
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
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=54169D4F.2090607@broadcom.com \
--to=arend@broadcom.com \
--cc=brcm80211-dev-list@broadcom.com \
--cc=linux-wireless@vger.kernel.org \
--cc=mjt@tls.msk.ru \
--cc=netdev@vger.kernel.org \
/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).