mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-05-03 06:47:04 -04:00
milan-avb: gptp: query PATH_TRACE_LIST and store Announce path trace
This commit is contained in:
parent
55bb0b6a6a
commit
e02a4854de
2 changed files with 77 additions and 3 deletions
|
|
@ -28,6 +28,8 @@ extern "C" {
|
|||
#define PTP_MGMT_ID_CURRENT_DATA_SET 0x2001
|
||||
#define PTP_MGMT_ID_PARENT_DATA_SET 0x2002
|
||||
#define PTP_MGMT_ID_PORT_DATA_SET 0x2004
|
||||
#define PTP_MGMT_ID_PATH_TRACE_LIST 0x401C
|
||||
#define PTP_AS_PATH_MAX_ENTRIES 16
|
||||
|
||||
/**************************************************************************************/
|
||||
/* IEEE 1588-2019, Sec. 15.4.1 PTP management message format - Common Fields */
|
||||
|
|
@ -120,6 +122,9 @@ bool avb_gptp_get_clock_id(const struct avb_gptp *gptp, uint64_t *clock_id_be);
|
|||
bool avb_gptp_get_grandmaster_id(const struct avb_gptp *gptp, uint64_t *gm_id_be);
|
||||
bool avb_gptp_is_grandmaster(const struct avb_gptp *gptp);
|
||||
|
||||
uint16_t avb_gptp_get_path_trace(const struct avb_gptp *gptp,
|
||||
uint64_t *path_be, uint16_t max_entries);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue