Morten Flå
2017-05-12 07:03:51 UTC
Hi,
I'm currently testing a PTP Grandmaster clock that has the ability to
send out Organization Extension TLVs. However, it seems like ptp4l
treats these messages as a normal management message. The result of
this is that ptp4l evaluates the organizationId field as the
managementId, as they are located at the same byte offset.
It seems to me that both the clock_manage and the port_manage function
should be aware of this TLV type, and disregard the content if the
organizationId or organizationSubType is not recognized as per
14.3.2.3 in 1588-2008.
Currently the behavior is that ptp4l sends out an Management Error
Message (NO_SUCH_ID), but of course the parsing result is "random"
based on the OUI.
Regards,
Morten
I'm currently testing a PTP Grandmaster clock that has the ability to
send out Organization Extension TLVs. However, it seems like ptp4l
treats these messages as a normal management message. The result of
this is that ptp4l evaluates the organizationId field as the
managementId, as they are located at the same byte offset.
It seems to me that both the clock_manage and the port_manage function
should be aware of this TLV type, and disregard the content if the
organizationId or organizationSubType is not recognized as per
14.3.2.3 in 1588-2008.
Currently the behavior is that ptp4l sends out an Management Error
Message (NO_SUCH_ID), but of course the parsing result is "random"
based on the OUI.
Regards,
Morten