]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: decrease execution of the associated timer
authorKalle Valo <kalle.valo@nokia.com>
Sun, 22 Mar 2009 19:57:06 +0000 (21:57 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Sat, 28 Mar 2009 00:13:12 +0000 (20:13 -0400)
commit687833a8e6ba56ed5e45ec3c5f355caf871637ec
tree3bde85689909d3185622ccafe16f55fe4469a6ce
parentbcc763af94949b523f49b657b5375d8dfb975649
mac80211: decrease execution of the associated timer

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: Kalle Valo <kalle.valo@nokia.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/ieee80211_i.h
net/mac80211/mlme.c
net/mac80211/rx.c