mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-04-29 06:46:38 -04:00
milan-avb: introducing GET_AS_PATH and GET/SET_MAX_TRANSIT
This commit is contained in:
parent
197bab7931
commit
de17f14da4
3 changed files with 46 additions and 0 deletions
|
|
@ -814,6 +814,8 @@ if build_module_avb
|
|||
'module-avb/aecp-aem-cmds-resps/cmd-get-set-stream-info.c',
|
||||
'module-avb/aecp-aem-cmds-resps/cmd-start-stop-streaming.c',
|
||||
'module-avb/aecp-aem-cmds-resps/cmd-get-counters.c',
|
||||
'module-avb/aecp-aem-cmds-resps/cmd-get-as-path.c',
|
||||
'module-avb/aecp-aem-cmds-resps/cmd-get-set-max-transit-time.c',
|
||||
'module-avb/aecp-aem-cmds-resps/reply-unsol-helpers.c',
|
||||
'module-avb/es-builder.c',
|
||||
'module-avb/avdecc.c',
|
||||
|
|
|
|||
|
|
@ -0,0 +1,30 @@
|
|||
/* SPDX-License-Identifier: MIT */
|
||||
|
||||
#include <pipewire/pipewire.h>
|
||||
|
||||
#include "../aecp.h"
|
||||
#include "../aecp-aem.h"
|
||||
|
||||
#include "cmd-get-set-max-transit-time.h"
|
||||
#include "cmd-resp-helpers.h"
|
||||
|
||||
/* IEEE 1722.1-2021 Section 7.4.39 GET/SET_MAX_TRANSIT_TIME — talker side
|
||||
* presentation-time-offset query/set. Stubbed as NOT_IMPLEMENTED for now;
|
||||
* the descriptor's max_transit_time_ns field, the MSRP accumulated_latency
|
||||
* floor, and the stream->mtt propagation hook are already in place
|
||||
* (aecp-aem-state.h, es-builder.c, stream.c) so flipping this on later is
|
||||
* just replacing these two bodies. */
|
||||
|
||||
int handle_cmd_get_max_transit_time_milan_v12(struct aecp *aecp, int64_t now,
|
||||
const void *m, int len)
|
||||
{
|
||||
(void)now;
|
||||
return reply_not_implemented(aecp, m, len);
|
||||
}
|
||||
|
||||
int handle_cmd_set_max_transit_time_milan_v12(struct aecp *aecp, int64_t now,
|
||||
const void *m, int len)
|
||||
{
|
||||
(void)now;
|
||||
return reply_not_implemented(aecp, m, len);
|
||||
}
|
||||
|
|
@ -0,0 +1,14 @@
|
|||
/* SPDX-License-Identifier: MIT */
|
||||
|
||||
#ifndef __AVB_AECP_AEM_CMD_GET_SET_MAX_TRANSIT_TIME_H__
|
||||
#define __AVB_AECP_AEM_CMD_GET_SET_MAX_TRANSIT_TIME_H__
|
||||
|
||||
#include "../aecp.h"
|
||||
|
||||
int handle_cmd_get_max_transit_time_milan_v12(struct aecp *aecp, int64_t now,
|
||||
const void *m, int len);
|
||||
|
||||
int handle_cmd_set_max_transit_time_milan_v12(struct aecp *aecp, int64_t now,
|
||||
const void *m, int len);
|
||||
|
||||
#endif /* __AVB_AECP_AEM_CMD_GET_SET_MAX_TRANSIT_TIME_H__ */
|
||||
Loading…
Add table
Add a link
Reference in a new issue