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