Linux wireless drivers development
 help / color / mirror / Atom feed
From: "Lars Ericsson" <Lars_Ericsson@telia.com>
To: "'Stefano Brivio'" <stefano.brivio@polimi.it>
Cc: <johannes@sipsolutions.net>, <linux-wireless@vger.kernel.org>
Subject: RE: [PATCH 2/2] rc80211-pid: add sanity check
Date: Sun, 27 Jan 2008 14:53:00 +0100	[thread overview]
Message-ID: <007a01c860eb$ee8231b0$0b3ca8c0@gotws1589> (raw)
In-Reply-To: <20080127134252.776cebd6@morte>

Hi Stefano,

What happens is that the while (newidx != sta->txrate) will continue 
until the newidx reaches 33. Reason is that BIT(33) is the same as BIT(1) 
In the rate_supported() function.

New sta->txrate will be 33 which is far beyond the valid size (12 in my
case).
In my system that happens to be a 11g speed :o).

I have a trace if you are intresting. Its about 260K data but it show 
How it happens. I think you need trafik (ping) in order for the relulator 
to operate.

Regards
Lars


-----Original Message-----
From: Stefano Brivio [mailto:stefano.brivio@polimi.it] 
Sent: den 27 januari 2008 13:43
To: Lars
Cc: linux-wireless@vger.kernel.org
Subject: Re: [PATCH 2/2] rc80211-pid: add sanity check

On Sat, 26 Jan 2008 19:40:14 +0000 (UTC) Lars <Lars_Ericsson@telia.com>
wrote:

> Hi,
> 
> I have spent some time debugging this problem from a different angle.
> 
> If you use a 'b/g' STA connecting to a 'b' AP you will run into this 
> loop in a few seconds. What also happens is that the STA will try 
> using 'g' speeds. That was the way I located the problem.

Thank you. I couldn't really figure out how to reproduce the bug.

> In other words, I do not think a WARN_ON is good solution.

Please could you try my 1/2 patch? In the meanwhile, I'll try to use your
information for more debugging.


--
Ciao
Stefano


  parent reply	other threads:[~2008-01-27 15:02 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-26  3:05 [PATCH 2/2] rc80211-pid: add sanity check Stefano Brivio
2008-01-26  3:20 ` Larry Finger
2008-01-26 11:19 ` Michael Buesch
2008-01-26 19:40   ` Lars
2008-01-27 12:42     ` Stefano Brivio
2008-01-27 13:22       ` mac80211 refcounting bug was: " Stefano Brivio
2008-01-27 14:32         ` Stefano Brivio
2008-01-27 13:53       ` Lars Ericsson [this message]
2008-01-27 16:56 ` Larry Finger
2008-01-27 18:51   ` Stefano Brivio

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='007a01c860eb$ee8231b0$0b3ca8c0@gotws1589' \
    --to=lars_ericsson@telia.com \
    --cc=johannes@sipsolutions.net \
    --cc=linux-wireless@vger.kernel.org \
    --cc=stefano.brivio@polimi.it \
    /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