All of lore.kernel.org
 help / color / mirror / Atom feed
From: Michael Buesch <mb@bu3sch.de>
To: Mattias Nissler <mattias.nissler@gmx.de>
Cc: linux-wireless@vger.kernel.org, rt2400-devel@lists.sourceforge.net
Subject: Re: suspend/resume support in mac80211
Date: Sun, 5 Aug 2007 23:44:12 +0200	[thread overview]
Message-ID: <200708052344.12673.mb@bu3sch.de> (raw)
In-Reply-To: <1186343417.8459.23.camel@localhost>

On Sunday 05 August 2007, Mattias Nissler wrote:
> Hi,
> 
> we have recently been struggling with getting suspend/resume working in
> rt2x00. A few questions:

There is no suspend/resume support in mac80211.

> 1. What is the recommended scheme for implementing suspend/resume with
> mac80211? Some drivers (p54, iwlwifi) call ieee80211_stop_queues().

Calling stop_queues() from outside of the TX handler may deadlock.
That is a bug in mac80211. I don't think it has been fixed, yet.

> 2. Are there any mac80211 drivers that suspend/resume properly? Also
> when associated?
> 
> 3. Shouldn't mac80211 be made suspend/resume-aware (AFAIK it is not), so
> we can do things like disassociating during suspend and reassociating
> when resuming? I'd like something in the spirit of
> netif_device_detach()/netif_device_attach(). Comments?

I think we should have a API call to mac80211 that suspends the stack
(saves the state etc..) and a call the resumes (reassociates, re-handshakes...).
But that's probably not that easy to implement, as parts of this
does happen in userspace.

  reply	other threads:[~2007-08-05 21:44 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-05 19:50 suspend/resume support in mac80211 Mattias Nissler
2007-08-05 21:44 ` Michael Buesch [this message]
2007-08-05 23:09   ` [Rt2400-devel] " Peter Stuge
2007-08-06  9:17   ` 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=200708052344.12673.mb@bu3sch.de \
    --to=mb@bu3sch.de \
    --cc=linux-wireless@vger.kernel.org \
    --cc=mattias.nissler@gmx.de \
    --cc=rt2400-devel@lists.sourceforge.net \
    /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.