Re: mac80211 breaks suspend to disk

Johannes Berg
2009-11-18T21:21:32Z

[-- Attachment #1: Type: text/plain, Size: 836 bytes --]

On Wed, 2009-11-18 at 23:19 +0200, Maxim Levitsky wrote:

> > Then again, we drop RX frames while local->suspended is true, and I
> > guess we don't really care about missing a few more frames when we're
> > just waking up, so it should be OK to keep suspended == true while doing
> > the startup.
> >
> > EXCEPT drivers are going to start using ieee80211_queue_work() already
> > then from the callbacks, which we must allow.
> >
> > So ... maybe this?
>
>
> This will likely fix this problem.
> I will run my suspend/resume loop for a while and let you know if it
> works.

Thanks. I'll take another look at the code to see if there's another
code path that could now end in warnings, but I don't think so.

I suppose you could reduce your AP's beacon interval to make it more
likely to trigger.

johannes

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 801 bytes --]