diff options
author | Javier Cardona <javier@cozybit.com> | 2012-03-31 11:31:30 -0700 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-04-10 15:20:29 -0400 |
commit | f483ad25c397bc2b33542fe245ea99c22c8a750c (patch) | |
tree | 135e297b21667ec5d240380fb78e17e2037db940 /net/mac80211/mesh_plink.c | |
parent | 88c868c43ba38ac3bab07bab4c45b4bc44c94357 (diff) |
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 <javier@cozybit.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/mesh_plink.c')
0 files changed, 0 insertions, 0 deletions