Re: some wireless suspend thoughts

Kalle Valo
2009-05-18T19:00:09Z

Johannes Berg <johannes@sipsolutions.net> writes:

> * kick pci driver suspend/resume out of ath9k and keep the device in
> low power while unused
> * make mac80211 send nullfunc for suspend/resume
> * make cfg80211 always call suspend/resume
>
> This is quite hackish. It works for me, but my AP disassocs me anyway
> because it probes every 5 seconds and if you don't respond ... however,
> due to the nullfunc at resume time we notice very very quickly since it
> sends a deauth as a response to that.

To me trying to maintain association during suspend sounds wrong. What
do we gain from that?

In my opinion it's better to disassociate during suspend and let user
space reassociate during resume. That way no need to do any special
hacks and functionality is the same with all APs.

I'm sure I'm missing a lot here, but this is my first impression.

--
Kalle Valo