milan-avb: ensure the pw streams match the milan AVB stream format and derives correct strides,

also fix crash in entity parser when not available
This commit is contained in:
hackerman-kl 2026-06-09 09:44:57 +00:00 committed by Alexandre Malki
parent 25203c5293
commit 7262d0f34c
3 changed files with 129 additions and 64 deletions

View file

@ -339,7 +339,8 @@ static void init_descriptor_milan_v12(struct server *server)
/**************************************************************************************/
/* IEEE 1722.1-2021, Sec. 7.2.1 - ENTITY Descriptor */
/* Milan v1.2, Sec. 5.3.3.1 */
struct avb_entity_config entity_conf = conf_load_entity(server->impl->props);
struct avb_entity_config entity_conf;
conf_load_entity(server->impl->props, &entity_conf);
struct avb_aem_desc_entity entity = {
.entity_id = htobe64(server->entity_id),