3f5f5653d7
This commit adds functionality to increase the sync and pdelay request intervals once gptp synchronization has been achieved. This is useful while running Automotive Profile where the network is usually static. Here, we are assuming that the gPTP synchronization is achieved whenever the last 'n' offsets calculated using the Sync messages are below a certain threshold. Both, the number of offsets to consider and the offset threshold are configurable. In order to support the interval update, a new clock servo state CLOCK_SERVO_STABLE has been added. The clock will transition to this state whenever the above condition is satisfied. When this transition occurs, the slave will send an "interval request" signaling message asking the master to change the sync interval. It will also update the pdelay request interval locally. Four new config options have been added to provide this functionality: - servo_offset_threshold: All the offset values being considered should be below this value. - servo_num_offset_values: number of previously received offset values to consider. - operLogSyncInterval: slave will ask the master to switch to this interval for sending sync messages when the offset stabilizes. - operLogPdelayReqInterval: the slave will set this interval for pdelay request messages when the offset stabilizes. Signed-off-by: Vedang Patel <vedang.patel@intel.com> |
||
---|---|---|
.. | ||
E2E-TC.cfg | ||
G.8265.1.cfg | ||
G.8275.1.cfg | ||
G.8275.2.cfg | ||
P2P-TC.cfg | ||
UNICAST-MASTER.cfg | ||
UNICAST-SLAVE.cfg | ||
automotive-master.cfg | ||
automotive-slave.cfg | ||
default.cfg | ||
gPTP.cfg | ||
snmpd.conf |