]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: introduce beacon-only timing data
authorJohannes Berg <johannes.berg@intel.com>
Tue, 5 Feb 2013 16:48:40 +0000 (17:48 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 11 Feb 2013 17:45:00 +0000 (18:45 +0100)
commitc48370e7b89b9721f09caa2e562bd407773904ad
tree221694dde4f30fa8f71182a427d34dd709b2821a
parentd8238164f15b129a4e50ef3231145823fdb40722
mac80211: introduce beacon-only timing data

In order to be able to predict the next DTIM TBTT
in the driver, add the ability to use timing data
from beacons only with the new hardware flag
IEEE80211_HW_TIMING_BEACON_ONLY and the BSS info
value sync_dtim_count which is only valid if the
timing data came from a beacon. The data can only
come from a beacon, and if no beacon was received
before association it is updated later together
with the DTIM count notification.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/net/mac80211.h
net/mac80211/ieee80211_i.h
net/mac80211/mlme.c
net/mac80211/scan.c
net/mac80211/trace.h