From: Jouni Malinen <j@w1.fi>
To: Igor Perminov <igor.perminov@inbox.ru>
Cc: "John W. Linville" <linville@tuxdriver.com>,
Johannes Berg <johannes@sipsolutions.net>,
linux-wireless@vger.kernel.org
Subject: Re: [PATCH v2] mac80211: Fix [re]association power saving issue on AP side
Date: Sat, 26 Sep 2009 21:34:46 +0300 [thread overview]
Message-ID: <20090926183446.GA10898@jm.kir.nu> (raw)
In-Reply-To: <1253564744.4477.18.camel@sunlight>
On Tue, Sep 22, 2009 at 12:25:44AM +0400, Igor Perminov wrote:
> At the step 4 the AP "remembers" the STA and considers it is still in
> the PS state, so the AP buffers frames, which it has to send to the STA.
> But the STA isn't actually in the PS state and so it neither checks
> TIM bits nor reports to the AP that it isn't power saving.
> Because of that authentication/[re]association fails.
>
> To fix authentication/[re]association stage of this issue, Auth, Assoc
> Resp and Reassoc Resp frames are transmitted disregarding of STA's power
> saving state.
That looks fine to me and should be applied.
> N.B. This patch doesn't fix further data frame exchange after
> authentication/[re]association. A patch in hostapd is required to fix
> that.
Git snapshot of hostapd is now removing the STA entry (if one exists)
when processing reassociation. The combination of these two changes
allows the reassociation back to the same AP to be completed even if the
STA was in PS mode.
--
Jouni Malinen PGP id EFC895FA
next prev parent reply other threads:[~2009-09-26 18:34 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-09-21 20:25 [PATCH v2] mac80211: Fix [re]association power saving issue on AP side Igor Perminov
2009-09-21 23:36 ` Johannes Berg
2009-09-26 18:34 ` Jouni Malinen [this message]
2009-09-27 13:07 ` Johannes Berg
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=20090926183446.GA10898@jm.kir.nu \
--to=j@w1.fi \
--cc=igor.perminov@inbox.ru \
--cc=johannes@sipsolutions.net \
--cc=linux-wireless@vger.kernel.org \
--cc=linville@tuxdriver.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;
as well as URLs for NNTP newsgroup(s).