On Thu, May 14, 2009 at 9:48 PM, Luis R. Rodriguez <lrodriguez@xxxxxxxxxxx> wrote: > We forgot to clear items which stuffed things into the our > station's workqueues. In particular we forgot to deal with > the dynamic_ps_timer, ifmgd->timer, ifmgd->chswitch_timer. > > While at it we go ahead and add a warning in ieee80211_sta_work() > if its run while the suspend->resume cycle is in effect. This > should not happen and if it does it would indicate there is > a bug lurking in either mac80211 or mac80211 drivers. > > With this now wpa_supplicant doesn't blink when I go to suspend > and resume where as before there where issues with any of the items > in the workqueue running during the suspend->resume cycle. This > caused a lot of incorrect assumptions and would at times bring > back the device in incoherent, but mostly recoverable, states. > > Signed-off-by: Luis R. Rodriguez <lrodriguez@xxxxxxxxxxx> Please hold on this -- with ath9k with legacy APs I get crap throughput after pm-suspend if it disassociates. Even worse, with 11n APs if it disassociates I get a crash. I haven't seen the oops yet... This is with ath9k PS patches as well but also with the mac80211 debugfs patches pending, HT pending patches (debugfs and HT paches should have no effect), and the WoW patches (these should have not have an effect) Luis -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html