ChangeLog ~~~~~~~~~ v6: Add new configuration options into default.cfg and man page Make pmc SET command ready for 2106 (Miroslav) Use SPDX tag for new file tz.h v5: Rename tztool to tz2alt Provide man page for tz2alt Fix year 2106 bug v4: Preserve all 48 bits of "next jump" (v3 review feedback from Erez Geva) Accept the full range for domainNumber (suggested by v.nosikov) v3: Initial RFC v2, v1: never published
The Power Profile specifies two new TLVs: 1. IEEE_C37_238 TLV - New configuration option to enable the TLV. - New configuration options for grandmasterID and default totalTimeInaccuracy. - New custom management message for changing totalTimeInaccuracy at run time. This message allows switching the TLV from the 2017 format into the 2011 format by specifying grandmasterTimeInaccuracy and networkTimeInaccuracy. 2. ALTERNATE_TIME_OFFSET_INDICATOR TLV - New custom management message for enabling the TLV and setting the TLV values. - New helper program that computes the values from the local time and the Linux time zone data base and then sends the values to ptp4l. This method assumes that the local Linux system time and the PHC clock are synchronized. Thanks, Richard Richard Cochran (11): Accept the full range for domainNumber. tlv: Encode and decode power profile TLVs. Introduce the power profile. Add a custom management message for power profile settings. tlv: Encode and decode alternate time offset indicator TLVs. Prepare clock based storage of up to four time zones. Add the ALTERNATE_TIME_OFFSET_PROPERTIES management message. Add the ALTERNATE_TIME_OFFSET_NAME management message. Implement the ALTERNATE_TIME_OFFSET_ENABLE management message. pmc: Convert internal helper function into global method. Introduce a time zone helper program. clock.c | 188 ++++++++++++++++++++-- clock.h | 8 + config.c | 17 +- configs/default.cfg | 5 + makefile | 7 +- pmc.c | 49 ++++++ pmc_common.c | 136 +++++++++++++++- pmc_common.h | 2 + port.c | 76 ++++++++- port_private.h | 3 + power_profile.h | 31 ++++ ptp4l.8 | 38 +++++ tlv.c | 146 +++++++++++++++++ tlv.h | 64 ++++++++ tz.h | 13 ++ tz2alt.8 | 126 +++++++++++++++ tz2alt.c | 379 ++++++++++++++++++++++++++++++++++++++++++++ util.h | 7 + 18 files changed, 1278 insertions(+), 17 deletions(-) create mode 100644 power_profile.h create mode 100644 tz.h create mode 100644 tz2alt.8 create mode 100644 tz2alt.c -- 2.30.2 _______________________________________________ Linuxptp-devel mailing list Linuxptp-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linuxptp-devel