]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: mesh: decrease max drift
authorPedersen, Thomas <twp@qca.qualcomm.com>
Wed, 28 Sep 2016 23:56:31 +0000 (16:56 -0700)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 30 Sep 2016 11:47:00 +0000 (13:47 +0200)
commit21398563f343fd6a00d8ad46ebbf9b399e9f1901
tree168abbc0ee7cf2b62be1aea7ae93f42b31f906dc
parent8145cecd66ac85555982d859ecdfb8b05e6db17e
mac80211: mesh: decrease max drift

The old value was 30ms, which means mesh sync will treat
any value below as merely TSF drift. This isn't really
reasonable (typical drift is < 10us/s) since people
probably want to adjust TSF in smaller increments (for ie.
beacon collision avoidance) without mesh sync fighting
back.

Change max drift adjustment to 0.8ms, so manual TSF
adjustments can be made in 1ms increments, with some
margin.

Signed-off-by: Thomas Pedersen <twp@qca.qualcomm.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/mesh_sync.c