• Kalle Valo's avatar
    mac80211: decrease execution of the associated timer · 3cf335d5
    Kalle Valo authored
    Currently the timer is triggering every two seconds
    (IEEE80211_MONITORING_INTERVAL). Decrease the timer to only trigger during
    data idle periods to avoid waking up CPU unnecessary. The timer will
    still trigger during idle periods, that needs to be fixed later.
    
    There's also a functional change that probe requests are sent only when the
    data path is idle, earlier they were sent also while there was activity
    on the data path.
    
    This is also preparation for the beacon filtering support. Thanks to
    Johannes Berg for the idea.
    Signed-off-by: default avatarKalle Valo <kalle.valo@nokia.com>
    Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
    3cf335d5
ieee80211_i.h 32.8 KB