Search Linux Wireless

Re: [PATCH 1/1] mac80211: tell driver when dtim change detected

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Johannes,

Agree, only iwlwifi use the dtim information now, but not sure it will
be always true. Yes, we should recalculate the internal power save when
it happen, I will make the changes and re-submit

On Thu, 2010-01-21 at 08:32 -0800, Johannes Berg wrote:
> 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

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

[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux