From: Johannes Berg <johannes@sipsolutions.net>
To: Sujith <Sujith.Manoharan@atheros.com>
Cc: "linville@tuxdriver.com" <linville@tuxdriver.com>,
"linux-wireless@vger.kernel.org" <linux-wireless@vger.kernel.org>,
Jouni Malinen <Jouni.Malinen@Atheros.com>,
"me@bobcopeland.com" <me@bobcopeland.com>
Subject: Re: [PATCH v2] mac80211: Tear down aggregation sessions for suspend/resume
Date: Mon, 16 Mar 2009 11:53:22 +0100 [thread overview]
Message-ID: <1237200802.27769.17.camel@johannes.local> (raw)
In-Reply-To: <18878.11082.119745.2048@gargle.gargle.HOWL>
[-- Attachment #1: Type: text/plain, Size: 1171 bytes --]
On Mon, 2009-03-16 at 16:04 +0530, Sujith wrote:
> Johannes Berg wrote:
> > On Mon, 2009-03-16 at 15:20 +0530, Sujith wrote:
> > > When the driver has been notified with a STA_REMOVE, it tears down
> > > the internal ADDBA state. On resume, trying to initiate aggregation would
> > > fail because mac80211 has not cleared the operational state for that <TID,STA>.
> > > This can be fixed by tearing down the existing sessions on a suspend.
> > >
> > > Also, the driver can initiate a new BA session when suspend is in progress.
> > > This is fixed by marking the station as being in suspend state and
> > > denying ADDBA requests for such STAs.
> > >
> > > Signed-off-by: Sujith <Sujith.Manoharan@atheros.com>
> >
> > Looks good to me, thanks. Should we really set a per-station flag
> > though? It seems a "local->suspended" would be sufficient and much
> > cheaper?
>
> I did consider it, but then was unsure of the locking required.
> If that can be clarified, I will change this to be a ieee80211_local variable.
Good catch, that does seem a little complicated. This way is good
anyway, so let's stick to it, at least for now.
johannes
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
next prev parent reply other threads:[~2009-03-16 10:53 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-16 9:50 [PATCH v2] mac80211: Tear down aggregation sessions for suspend/resume Sujith
2009-03-16 10:11 ` Johannes Berg
2009-03-16 10:34 ` Sujith
2009-03-16 10:53 ` Johannes Berg [this message]
2009-03-16 14:18 ` Sujith
-- strict thread matches above, loose matches on Subject: below --
2009-03-16 10:05 Sujith
2009-03-16 14:02 ` Johannes Berg
2009-03-16 18:20 ` Sujith
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=1237200802.27769.17.camel@johannes.local \
--to=johannes@sipsolutions.net \
--cc=Jouni.Malinen@Atheros.com \
--cc=Sujith.Manoharan@atheros.com \
--cc=linux-wireless@vger.kernel.org \
--cc=linville@tuxdriver.com \
--cc=me@bobcopeland.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 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.