From: Javier Cardona Date: Sat, 31 Mar 2012 18:31:30 +0000 (-0700) Subject: mac80211_hwsim: Fill timestamp beacon at the time it is transmitted X-Git-Tag: v3.5-rc1~109^2~487^2^2~26 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f483ad25c397bc2b33542fe245ea99c22c8a750c;p=pandora-kernel.git mac80211_hwsim: Fill timestamp beacon at the time it is transmitted Generate more acurate tsf values in hwsim by setting the tsf value on trasmitted beacons immediately before they are moved to the rx path. Also, adjust the beacon timestamp to be the time at which the first byte of the timestamp is transmitted. With these changes the observed tsf offset between two hwsim/mesh peers is 0 (unless the offset is modified via debugfs) Signed-off-by: Javier Cardona Signed-off-by: John W. Linville --- Reading git-diff-tree failed