ptp: Add median based pre-filtering of delays
authorSebastian Dröge <sebastian@centricular.com>
Wed, 3 Jun 2015 09:04:48 +0000 (11:04 +0200)
committerSebastian Dröge <sebastian@centricular.com>
Wed, 3 Jun 2015 11:55:39 +0000 (13:55 +0200)
commitac2eb6e23e2ac15de382e26ada5ec57e8bcf9f06
treefef5153734d18623d2cd470911b69d7114c24b32
parent02ba5b20c713bf41da9c0ffa9649a1c01e732c4c
ptp: Add median based pre-filtering of delays

If the delay measurement is too far away from the median of the window of last
delay measurements, we discard it. This increases accuracy on wifi a lot.

https://bugzilla.gnome.org/show_bug.cgi?id=749391
libs/gst/net/gstptpclock.c