milan-avb: gptp: send PTP management with majorSdoId=1 for gPTP profile

This commit is contained in:
hackerman-kl 2026-04-29 07:45:33 +02:00
parent 1b81dbab85
commit fc08d2444a
2 changed files with 4 additions and 1 deletions

View file

@ -16,6 +16,9 @@ extern "C" {
#endif
#define PTP_MESSAGE_TYPE_MANAGEMENT 0x0d
#define PTP_MAJOR_SDO_ID_GPTP (0x1u << 4)
#define PTP_GPTP_MANAGEMENT_TYPE \
(PTP_MAJOR_SDO_ID_GPTP | PTP_MESSAGE_TYPE_MANAGEMENT)
#define PTP_VERSION_1588_2008_2_1 0x12
#define PTP_DEFAULT_LOG_MESSAGE_INTERVAL 127
#define PTP_MGMT_ACTION_GET 0