• Johannes Berg's avatar
    iwlagn: update beacon smarter · 3bde2b68
    Johannes Berg authored
    Updating the beacon every time right after one was
    transmitted is pointless, most of the time we might
    not even have to update it. We will update it every
    time it changes, which includes from set_tim(), a
    callback iwlwifi didn't implement so far.
    
    This also reduces latency for clients, previously
    we would update the beacon right after the previous
    one was transmitted, and then a TIM change would
    only take effect after that again -- updating the
    beacon right after the TIM changes makes the TIM
    change go out to the air faster.
    Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
    Signed-off-by: default avatarWey-Yi Guy <wey-yi.w.guy@intel.com>
    Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
    3bde2b68
iwl-agn.c 96.3 KB