On Thu, 2010-01-21 at 07:51 -0800, wey-yi.w.guy@xxxxxxxxx wrote: > From: Wey-Yi Guy <wey-yi.w.guy@xxxxxxxxx> > > In current implementation, mac80211 send dtim_period update to driver during > association, but if no NetworkManager or similar application perform scan > operation, plus tim_ie is not part of probe response; mac80211 will not get > beacon with dtim information later, then mac80211 will not pass the > information to driver for update. Good catch. > Call ieee80211_hw_config() with IEEE80211_CONF_CHANGE_PS flag set to > allow driver make correct dtim adjustment if dtim_period change detected. I don't think this is the right place or the right thing to do though, this seems like an implementation detail from iwlwifi -- it only (and maybe only it) uses the DTIM interval for power saving. However, the internal power saving stuff from mac80211 should also be recalculated if this happens, and then we can probably call it a PS change? johannes
Attachment:
signature.asc
Description: This is a digitally signed message part