Skip to content
  • Johannes Berg's avatar
    mac80211: calculate maximum sleep interval · 04fe2037
    Johannes Berg authored
    
    
    The maximum sleep interval, for powersave purposes, is
    determined by the DTIM period (it may not be larger)
    and the required networking latency (it must be small
    enough to fulfil those constraints).
    
    This makes mac80211 calculate the maximum sleep interval
    based on those constraints, and pass it to the driver.
    Then the driver should instruct the device to sleep at
    most that long.
    
    Note that the device is responsible for aligning the
    maximum sleep interval between DTIMs, we make sure it's
    not longer but it needs to make sure it's between them.
    
    Also, group some powersave documentation together and
    make it more explicit that we support managed mode only,
    and no IBSS powersaving (yet).
    
    Signed-off-by: default avatarJohannes Berg <johannes@sipsolutions.net>
    Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
    04fe2037