netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Suspending 802.11 drivers
@ 2006-06-15 19:58 Michael Buesch
  2006-06-15 20:14 ` Ivo van Doorn
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Michael Buesch @ 2006-06-15 19:58 UTC (permalink / raw)
  To: Jiri Benc; +Cc: John W. Linville, netdev, bcm43xx-dev

Hi,

I am currently thinking about the best way to correctly
implement PM suspending for wireless drivers.
Currently, the 802.11 stack is not suspend aware (if I talk
about "stack" here, I mostly mean devicescape).
For example, if we suspend the bcm43xx driver, we don't
notify the stack before doing so. That's a bug.

I would say, we should have two functions, which are called
from the driver suspend and resume callbacks.
Let's call them
ieee80211_suspend() and ieee80211_resume() for now.
The suspend would save all status information, for example
to which AP we are associated and so on. After that it would
cleanly disassociate from the AP and do other cleanups which
are needed.
The resume function would try to re-esablish the connection.
Of course, that will not always be possible (the notebook
owner traveled around half the world between suspend and
resume ;) ). But that does not matter. We simply return silently
without a new association (Do a new scan, or whatever).

Are such functions generally desireable?

-- 
Greetings Michael.

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2006-06-22 10:56 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-15 19:58 Suspending 802.11 drivers Michael Buesch
2006-06-15 20:14 ` Ivo van Doorn
     [not found] ` <200606152213.01631.florian@alphacore.net>
2006-06-15 20:42   ` Michael Buesch
2006-06-16 18:36 ` Stefan Rompf
2006-06-21  9:42   ` Stefan Rompf
2006-06-21 15:08   ` Luis R. Rodriguez
2006-06-21 20:41     ` Michael Buesch
2006-06-22  5:15       ` Luis R. Rodriguez
2006-06-21 22:07     ` Stefan Rompf
2006-06-22 10:56       ` Luis R. Rodriguez

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).