[Linuxptp-devel] [PATCH v2 0/7] Adding support for Automotive Profile
PTP IEEE 1588 stack for Linux
Brought to you by:
rcochran
From: Vedang P. <ved...@in...> - 2018-09-26 21:58:05
|
Changes in v2: ~~~~~~~~~~~ Following are the major changes in this patchset: - Do not use PS_LISTENING as a transitiory state. - Explicitly clear out the timer when inhibit_announce is set. - Expose asCapable as a config option. When the value is ‘true’, asCapable will be unconditionally set to true. - Add step_threshold in the example configuration for slave to reduce the time to get in sync with master after time jump. More information of intention of this and future series at: https://sourceforge.net/p/linuxptp/mailman/message/36369408/ Thanks, Vedang Patel Vedang Patel (7): port: Add condition to check fc. clock: Add NULL check for best clock in clock_update_slave() port: Add configurable option to set asCapable. Add BMCA config option. Add inhibit_announce config option. Add ignore_source_id config option. Add example configuration for Automotive Profile. as_capable.h | 45 ++++++++++++++++++ bmc.c | 11 +++++ clock.c | 7 ++- config.c | 17 +++++++ configs/automotive-master.cfg | 28 +++++++++++ configs/automotive-slave.cfg | 33 +++++++++++++ configs/default.cfg | 4 ++ designated_fsm.c | 107 ++++++++++++++++++++++++++++++++++++++++++ designated_fsm.h | 43 +++++++++++++++++ fsm.h | 5 ++ makefile | 11 +++-- port.c | 94 ++++++++++++++++++++++++++++++------- port.h | 8 ++++ port_private.h | 6 ++- ptp4l.8 | 37 +++++++++++++-- 15 files changed, 429 insertions(+), 27 deletions(-) create mode 100644 as_capable.h create mode 100644 configs/automotive-master.cfg create mode 100644 configs/automotive-slave.cfg create mode 100644 designated_fsm.c create mode 100644 designated_fsm.h -- 2.7.3 |