]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: Update beacon's timing and DTIM count on every beacon
authorAlexander Bondar <alexander.bondar@intel.com>
Sun, 1 Mar 2015 07:10:00 +0000 (09:10 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 3 Mar 2015 14:56:06 +0000 (15:56 +0100)
commit05417ef669ec38d40dd839a1f4a1478811b6e6a5
tree6df50f49ffd720d3335e48d30d413deacf17c739
parent1a0d4e76333f52b7e07074b35790840672c60707
mac80211: Update beacon's timing and DTIM count on every beacon

Beacon's timestamp, device system time associated with this beacon and
DTIM count parameters are not updated in the associated vif context
if the latest beacon's content is identical to the previously received.
It make sense to update these changing parameters on every beacon so the
driver can get most updated values. This may be necessary, for example,
to avoid either beacons' drift effect or device time stamp overrun.
IMPORTANT: Three sync_* parameters - sync_ts, sync_device_ts and
sync_dtim_count would possibly be out of sync by the time the driver will
use them. The synchronized view is currently guaranteed only in certain
callbacks.

Signed-off-by: Alexander Bondar <alexander.bondar@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/net/mac80211.h
net/mac80211/mlme.c