Miroslav Lichvar
0c4968ec51
Track reachability in sources module
...
Add new flag to source struct to indicate when source is selectable
(packets with good headers are received) and use a reachability
register for last 8 samples instead of the reachable flag. Source
drivers now provide only reachability updates.
2010-12-17 13:22:29 +01:00
Miroslav Lichvar
e98080b8bb
Use only 3 chars from refclock driver name in default refid
2010-11-30 18:18:28 +01:00
Miroslav Lichvar
f924862e89
Add prefer and noselect options
2010-08-25 18:32:40 +02:00
Miroslav Lichvar
3a222336d7
Fix reloading sample histories with refclocks
2010-08-25 18:10:35 +02:00
Miroslav Lichvar
40d82675bd
Make use of UTI_AdjustTimeval in slew handlers
2010-05-07 18:52:05 +02:00
Miroslav Lichvar
14d2576924
Remove absolute frequency from handler parameters
...
None of the current handlers really need it and with temperature
compensation enabled it would be necessary to undo the compensation
before passing it to the handlers.
2010-04-27 14:35:27 +02:00
Miroslav Lichvar
e78e65ef22
Refactor file logging
2010-04-13 15:16:41 +02:00
Miroslav Lichvar
5fb5551c36
Add refclock precision
2010-03-02 14:23:54 +01:00
Miroslav Lichvar
b9b0326d15
Reduce noise in refclock sample dispersions
...
Use the estimated dispersion only if it's higher than long-term average.
This should improve performance with short polling intervals.
2010-03-02 14:23:50 +01:00
Miroslav Lichvar
97f2f16fd6
Log also filtered samples
2010-03-02 13:19:33 +01:00
Miroslav Lichvar
fc1514db04
Adjust refclock filter parameters
...
Drop only about 40 percent of samples, change default length to 64,
require at least 4 samples between polls (or full filter for lengths
below 4).
2010-03-02 13:19:33 +01:00
Miroslav Lichvar
7fb0598b50
Make linear fit in refclock dispersion calculation
...
This should improve reaction to sudden temperature changes with
very precise refclocks and/or long polling intervals.
2010-03-02 13:19:02 +01:00
Miroslav Lichvar
0f70959d8e
Add dispersion notification handlers
2010-02-16 18:51:37 +01:00
Miroslav Lichvar
8cb6fcad7e
Include offset correction error in dispersion
2010-02-16 18:38:46 +01:00
Miroslav Lichvar
20d898d182
Prepare for handling offset correction error
2010-02-16 17:46:42 +01:00
Miroslav Lichvar
441e42c276
Fix stratum with locked PPS refclock and local stratum
2010-02-16 17:46:42 +01:00
Miroslav Lichvar
a0e1154bfb
Add common refclock driver option parsing
2010-01-28 10:10:16 +01:00
Miroslav Lichvar
e261278a5c
Add lock option for PPS refclocks
2010-01-28 10:10:13 +01:00
Miroslav Lichvar
19651dc767
Flush filter when PPS refclock lost sync
2009-11-30 17:03:04 +01:00
Miroslav Lichvar
e63c51c6c0
Mark SOCK driver as PPS capable
2009-11-30 16:54:04 +01:00
Miroslav Lichvar
7c53aca486
Add refclocks log
2009-11-30 16:54:00 +01:00
Miroslav Lichvar
a822bcfd67
Validate sample times received in refclock
2009-11-03 16:40:12 +01:00
Miroslav Lichvar
8e23110aec
Update COPYING and FSF address
2009-10-28 17:53:33 +01:00
Miroslav Lichvar
f7e08d0c30
Update copyrights
2009-10-28 17:53:10 +01:00
Miroslav Lichvar
b4069a4c3b
Add PPS API refclock driver
2009-10-28 12:40:39 +01:00
Miroslav Lichvar
8cd9e68246
Make default refclock refid from number of the source
...
It should avoid having two or more refclocks with the same refid.
2009-10-27 14:04:59 +01:00
Miroslav Lichvar
5b4e07d658
Add refclock option for delay
...
This is useful when refclocks don't agree on time, increasing the
delay will widen the interval used in the source selection algorithm.
2009-10-27 14:02:16 +01:00
Miroslav Lichvar
8265ff2890
Add IPv6 support
2009-10-13 14:44:33 +02:00
Miroslav Lichvar
3a9e13445f
Add SOCK refclock driver
...
This adds a support for receiving samples over unix domain socket.
It's a better alternative to the SHM refclock, the resolution is not
limited to microseconds and it doesn't require polling.
2009-08-19 15:39:06 +02:00
Miroslav Lichvar
67c0f1c08c
Switch refclock driver parameter to string
2009-08-19 15:29:52 +02:00
Miroslav Lichvar
735811b2b9
Add median filter for refclocks
2009-07-01 15:55:56 +02:00
Miroslav Lichvar
75330fdff5
Add SHM refclock driver
2009-05-05 23:06:04 +02:00
Miroslav Lichvar
ac30bb06ef
Add support for reference clocks
2009-05-05 23:05:59 +02:00