From e7c7b5058d0e1bd8570c8897e626a140a9507dfe Mon Sep 17 00:00:00 2001 From: hackerman-kl Date: Sun, 30 Nov 2025 12:29:06 +0100 Subject: [PATCH] module-avb: milan: aecp-aem: introducing entity_lock response helper --- .../module-avb/aecp-aem-cmds-resps/cmd-resp-helpers.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/modules/module-avb/aecp-aem-cmds-resps/cmd-resp-helpers.h b/src/modules/module-avb/aecp-aem-cmds-resps/cmd-resp-helpers.h index abe32893e..1b53eb575 100644 --- a/src/modules/module-avb/aecp-aem-cmds-resps/cmd-resp-helpers.h +++ b/src/modules/module-avb/aecp-aem-cmds-resps/cmd-resp-helpers.h @@ -28,6 +28,11 @@ static inline int reply_status(struct aecp *aecp, int status, const void *m, int return avb_server_send_packet(server, h->src, AVB_TSN_ETH, buf, len); } +static inline int reply_entity_locked(struct aecp *aecp, const void *m, int len) +{ + return reply_status(aecp, AVB_AECP_AEM_STATUS_ENTITY_LOCKED, m, len); +} + static inline int reply_not_implemented(struct aecp *aecp, const void *m, int len) { pw_log_warn("reply not implementing");