All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Arend van Spriel" <arend@broadcom.com>
To: "Guilherme M. Schroeder" <guialemas@gmail.com>
Cc: "linux-wireless@vger.kernel.org" <linux-wireless@vger.kernel.org>
Subject: Re: bcm43224 and brcmsmac - lost connection from time to time
Date: Thu, 23 Feb 2012 14:16:21 +0100	[thread overview]
Message-ID: <4F463C25.8030302@broadcom.com> (raw)
In-Reply-To: <CAM7_POUyyiaWk6g2tVQv4MezqO04HrFKRZfwuzRW-COB3BOYHQ@mail.gmail.com>

On 02/23/2012 06:02 AM, Guilherme M. Schroeder wrote:
> On Thu, Feb 23, 2012 at 2:46 AM, Guilherme M. Schroeder
> <guialemas@gmail.com>  wrote:
>> Hi,
>>
>> I'm using Linux 3.2.7 and brcmsmac with BCM43224 (MacBookAir4,2).
>> I have a Time Capsule Dual Band AP (single SSID providing both bands).
>>
>> While using it, sometimes i lost connection with it and on dmesg
>> (attached) i just see this:
>>
>> [14122.660359] ieee80211 phy0: brcms_c_prec_enq_head: No where to go, prec == 4
>> [14122.660405] ieee80211 phy0: brcms_c_prec_enq_head: No where to go, prec == 4
>> [14122.660456] ieee80211 phy0: brcms_c_prec_enq_head: No where to go, prec == 4
>> [14122.660501] ieee80211 phy0: brcms_c_prec_enq_head: No where to go, prec == 4
>>
>> If you look at the log, you will see a lot of BA timeouts and
>> reassociations with the AP.
>> Some other strange messages too.
>>
>> I'm not too far from the router (but have some walls), here is what i
>> get almost all the time:
>>
>> wlan0     IEEE 802.11abgn  ESSID:"cala boca jow"
>>           Mode:Managed  Frequency:2.412 GHz  Access Point: 90:84:0D:D7:28:51
>>           Bit Rate=57.8 Mb/s   Tx-Power=19 dBm
>>           Retry  long limit:7   RTS thr:off   Fragment thr:off
>>           Power Management:off
>>           Link Quality=34/70  Signal level=-76 dBm
>>           Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
>>           Tx excessive retries:1  Invalid misc:90   Missed beacon:0
>>
>> And latency:
>>
>> --- 192.168.0.1 ping statistics ---
>> 20 packets transmitted, 20 received, 0% packet loss, time 19022ms
>> rtt min/avg/max/mdev = 0.750/4.346/30.749/7.148 ms
>>
>> When i lost connection, i can't ping the router, but i still have
>> signal and i'm still connected in it.
>> I need to turn wifi off and on to continue working.
>>
>> Do you now anything that can help avoiding this?
>> If some debug is needed, let me know (i like doing this stuff).
>>
>> I really want to use brcmsmac as wl blob doesn't work nice (besides PM).
>>
>> BTW, do you have plans when PM will be developed for this driver?
>>
>> Thanks.
>
> Hmm, one thing that i noticed:
>
> [16101.221548] wlan0: authenticate with 90:84:0d:d7:28:51 (try 1)
> [16101.223232] wlan0: authenticated
>
> [14380.923563] wlan0: authenticate with 90:84:0d:d7:28:52 (try 1)
> [14381.122993] wlan0: authenticate with 90:84:0d:d7:28:52 (try 2)
> [14381.123583] wlan0: authenticated
>
> Maybe the driver is getting lost because of the Dual Band router using
> the same SSID?
> I think that one of this MACs is 2.4GHz and other is 5GHz, but i'm not sure.
>
> I also noticed this commit:
>
> http://git.kernel.org/?p=linux/kernel/git/linville/wireless-next.git;a=commitdiff;h=5e379203c7788b7af01150bfadbc74d2797a2ef4
>
> Maybe it could help with the stack trace problem that i get
> (brcms_c_wait_for_tx_completion).
>
> I'm compiling wireless-next right now and see what happens.
>

That patch should certainly improve things. With A-MPDU retrying 
endlessly on 2.4 BSS, I can imagine mac80211 trying the other BSS with 
the same ESSID, ie. the 5G one.

Gr. AvS


           reply	other threads:[~2012-02-23 13:16 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <CAM7_POUyyiaWk6g2tVQv4MezqO04HrFKRZfwuzRW-COB3BOYHQ@mail.gmail.com>]

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=4F463C25.8030302@broadcom.com \
    --to=arend@broadcom.com \
    --cc=guialemas@gmail.com \
    --cc=linux-wireless@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 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.