Update holdover threshold to 4 hours
The verified holdover time for Columbiaville NICs is 4 hours, as per the device user documentation. Updating the ptp plugin accordingly so that upon GNSS signal loss, the ptp clockClass will be set to 7 (holdover) for 4 hours before transitioning to 140 (freerun). This corrects an issue where ptp endpoints were receiving freerun notifications after 1 hour instead of the expected 4 hours. Test plan: PASS: Verfied ptp plugin operation and 4 hour holdover time on AIO-SX Closes-bug: 1995011 Signed-off-by: Cole Walker <cole.walker@windriver.com> Change-Id: Ie17419b8cfe48550a1bd01e3902fc38d5b61decd
This commit is contained in:
@@ -196,7 +196,9 @@ CLOCK_CLASS_140 = '140' # T-GM in holdover, out of holdover specification
|
|||||||
CLOCK_CLASS_248 = '248' # T-GM in free-run mode
|
CLOCK_CLASS_248 = '248' # T-GM in free-run mode
|
||||||
|
|
||||||
# Time interval for holdover within spec (seconds)
|
# Time interval for holdover within spec (seconds)
|
||||||
HOLDOVER_THRESHOLD = 3600
|
# Holdover threshold is set to 4 hours to match the supported holdover time
|
||||||
|
# for Columbiaville NICs
|
||||||
|
HOLDOVER_THRESHOLD = 14400
|
||||||
|
|
||||||
# Leap second in nanoseconds
|
# Leap second in nanoseconds
|
||||||
LEAP_SECOND = float(37000000000)
|
LEAP_SECOND = float(37000000000)
|
||||||
|
|||||||
Reference in New Issue
Block a user