milan-avb: move teh descriptor FAM at the end of the structure to avoid overflow

This commit is contained in:
hackerman-kl 2026-04-26 13:03:10 +02:00 committed by Wim Taymans
parent 4d33f57325
commit 0bf4864d84
14 changed files with 126 additions and 204 deletions

View file

@ -92,8 +92,6 @@ struct aecp_aem_avb_interface_counters {
};
struct aecp_aem_avb_interface_state {
struct avb_aem_desc_avb_interface desc;
struct avb_msrp_attribute domain_attr;
struct avb_mvrp_attribute vlan_attr;
@ -113,7 +111,6 @@ struct aecp_aem_avb_interface_state {
* \brief the generic entity state common for all flavor of AVB
*/
struct aecp_aem_entity_state {
struct avb_aem_desc_entity desc;
struct aecp_aem_lock_state lock_state;
};
@ -160,12 +157,7 @@ struct stream_common {
struct avb_msrp_attribute tfstream_attr;
};
#define AVB_AEM_STREAM_DESC_EXTRA_SIZE 128
struct aecp_aem_stream_input_state {
struct avb_aem_desc_stream desc;
uint8_t desc_extra[AVB_AEM_STREAM_DESC_EXTRA_SIZE];
struct aecp_aem_stream_input_counters counters;
struct stream_common common;
struct avb_mvrp_attribute mvrp_attr;
@ -210,9 +202,6 @@ struct aecp_aem_stream_output_counters {
};
struct aecp_aem_stream_output_state {
struct avb_aem_desc_stream desc;
uint8_t desc_extra[AVB_AEM_STREAM_DESC_EXTRA_SIZE];
struct aecp_aem_stream_output_counters counters;
struct stream_common common;