commit | 45034bfb8c9ecc62db40b438bea7fe728ac8facf | [log] [tgz] |
---|---|---|
author | Thomas Pedersen <thomas@cozybit.com> | Wed Jan 02 14:55:16 2013 -0800 |
committer | Johannes Berg <johannes.berg@intel.com> | Fri Jan 04 13:52:50 2013 +0100 |
tree | 493e034209fe4e152942f1613f67e8f57b5f4127 | |
parent | 75ea719cb4773b05cc48e741feb4e267522b9656 [diff] |
mac80211_hwsim: fix tsf adjustment Make hwsim TSF offset adjustments cumulative and relative to the fake PHY TSF. Now adding 1000us, then adding -1000us doesn't result in a tsf_offset of -1000. Also the beacon timestamp can now correctly be expressed as (tsf + data->tsf_offset), which will be done in a later patch. Signed-off-by: Thomas Pedersen <thomas@cozybit.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>