mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-01-26 06:07:53 +00:00
milan-avb: add default AVB AECP MTU
This commit is contained in:
parent
1da30b545a
commit
8912090c4d
@ -1,5 +1,6 @@
|
||||
/* AVB support */
|
||||
/* SPDX-FileCopyrightText: Copyright © 2022 Wim Taymans */
|
||||
/* SPDX-FileCopyrightText: Copyright © 2027 Alexandre Malki <alexandre.malki@kebag-logic.com> */
|
||||
/* SPDX-License-Identifier: MIT */
|
||||
|
||||
#ifndef AVB_AEM_H
|
||||
@ -238,6 +239,8 @@ struct avb_packet_aecp_aem {
|
||||
uint8_t payload[0];
|
||||
} __attribute__ ((__packed__));
|
||||
|
||||
#define AVB_PACKET_MILAN_DEFAULT_MTU (1500)
|
||||
|
||||
#define AVB_PACKET_CONTROL_DATA_OFFSET (12U)
|
||||
|
||||
#define AVB_PACKET_AEM_SET_COMMAND_TYPE(p,v) ((p)->cmd1 = ((v) >> 8),(p)->cmd2 = (v))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user