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)
commitef429dadf33feeb150098dbe84ccaa877e3261f6
tree221694dde4f30fa8f71182a427d34dd709b2821a
parent8cef2c9df88fdd13f518e6607de9d664b31f26cc
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