mac80211: Take into account TSF adjustment latency in Toffset setpoint
authorJavier Cardona <javier@cozybit.com>
Thu, 12 Apr 2012 21:32:23 +0000 (14:32 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 16 Apr 2012 18:19:29 +0000 (14:19 -0400)
commitec14bcd20f5139a3dc42cfc34cdcebcbdc062c00
treeef7122cf0abbf407db9c0c0ce4eb9dd03b94e16b
parenta802a6eba13282ddd5718f8db9d476e42e84e2ba
mac80211: Take into account TSF adjustment latency in Toffset setpoint

When testing mesh synchronization we observed a global TSF slowdown that
was dependent on the number of synchronized mesh stations.  This seems
to be caused by the TSF adjustment (read/write) latency.

Adding a small margin to the Toffset setpoint solved the problem.

Signed-off-by: Shinichi Hotori <hotorinn@gmail.com>
Signed-off-by: Yu Niiro <yu.niiro@gmail.com>
Signed-off-by: Javier Cardona <javier@cozybit.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/mesh_sync.c