]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit430f465e88bd764d4011d3c7dc692c3a4a85242f
treeef7122cf0abbf407db9c0c0ce4eb9dd03b94e16b
parent5c62f9314294c3886d54915c1f5b21de9785a112
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