Linux wireless drivers development
 help / color / mirror / Atom feed
From: "Tomas Winkler" <tomasw@gmail.com>
To: "Johannes Berg" <johannes@sipsolutions.net>
Cc: linux-wireless <linux-wireless@vger.kernel.org>,
	"Ron Rindjunksi" <ron.rindjunski@intel.com>
Subject: Re: iwlwifi workaround for mac80211 sequence number bug
Date: Thu, 10 Jul 2008 01:45:13 +0300	[thread overview]
Message-ID: <1ba2fa240807091545r37c6cff2l109bc24fa416b0a0@mail.gmail.com> (raw)
In-Reply-To: <1215642292.3246.79.camel@johannes.berg>

On Thu, Jul 10, 2008 at 1:24 AM, Johannes Berg
<johannes@sipsolutions.net> wrote:
> On Thu, 2008-07-10 at 01:17 +0300, Tomas Winkler wrote:
>
>> This is not a bug in mac.
>> The sequence number can be committed only if the packet is not dropped
>> somewhere in the driver. See lower in the function.. There are plenty
>> of  places on the TX path when packet can be dropped this it's last
>> station.  There is no reason to pushing this into mac
>
> I don't see it that way. In fact, in the code I'm looking at, there is
> nothing that drops the frame before committing the sequence number
> change after assigning it.
>
> And all the cases where it drops the frame _before_ the piece of code I
> quoted don't actually matter, the first bunch of those are bugs and the
> not associated one is strange but most likely doesn't matter either (if
> we're not associated sequence numbers don't matter), and the
> "destination STA entry not found" one doesn't matter either since that
> means there's some disconnect/bug between iwlwifi and mac80211 since
> they should synchronise via sta_notify().

Unfortunately sta_notify still does nothing in iwlwifi, need some more
work on this.
I've eliminated most dropping places over the time if you look in the
history it wasn't like that before and not all of the parts of the
code develops in the same speed.
Anyhow it doesn't matter for the packet that was dropped but it matter
for the packet that will come.  I think that advancing sequence number
should be low as possible. I'm not sure about other drivers' drop
points.

> Which particular item do you see as problematic?
Most problem at the time was found a good place for it in the mac80211.

Tomas

      reply	other threads:[~2008-07-09 22:45 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-09 22:11 iwlwifi workaround for mac80211 sequence number bug Johannes Berg
2008-07-09 22:17 ` Tomas Winkler
2008-07-09 22:24   ` Johannes Berg
2008-07-09 22:45     ` Tomas Winkler [this message]

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=1ba2fa240807091545r37c6cff2l109bc24fa416b0a0@mail.gmail.com \
    --to=tomasw@gmail.com \
    --cc=johannes@sipsolutions.net \
    --cc=linux-wireless@vger.kernel.org \
    --cc=ron.rindjunski@intel.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