module-avb: aecp-aem: adding struct base_info. The structure provides

information about the controller that last accessed, the time when when
it actually accessed, and the expiring time if a timer has to be
implemented
This commit is contained in:
hackerman-kl 2025-11-30 12:11:56 +01:00 committed by Wim Taymans
parent 354006a699
commit 32ceb47937

View file

@ -77,7 +77,24 @@ struct aecp_aem_unsol_notification_state {
};
struct aecp_aem_base_info {
/** Originator of the control
* This is needed so the unsoolictied notification does not send back SUCCESS
* to the originator of of the unsolicited notification */
uint64_t controller_entity_id;
/**
* To avoid sending on every change for unsol notifications, only once a
* a second
* */
int64_t last_update;
/** timeout absolute time*/
int64_t expire_timeout;
};
struct aecp_aem_lock_state {
struct aecp_aem_base_info base_info;
/**
* the entity id that is locking this system
*/