X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2Fdu_app%2Fdu_e2ap_mgr.h;h=fc3652494a69ba9ff9663358671b48f03f48575a;hb=cdf2274ce07f8a5e066f1a49e92db156f1a92c66;hp=9fea513c7a6eceee2ee283aed8ab401337b65dc6;hpb=a50cee433ee06d6a8a4215c274432ab4ad8fdb26;p=o-du%2Fl2.git diff --git a/src/du_app/du_e2ap_mgr.h b/src/du_app/du_e2ap_mgr.h index 9fea513c7..fc3652494 100644 --- a/src/du_app/du_e2ap_mgr.h +++ b/src/du_app/du_e2ap_mgr.h @@ -19,6 +19,8 @@ /* This file contains all E2AP message handler related functionality */ #define MAX_NUM_TRANSACTION 256 /* As per, O-RAN WG3 E2AP v3.0, section 9.2.33 */ +#define MAX_E2_SETUP_TMR 1 +#define EVENT_E2_SETUP_TMR 1 typedef enum { @@ -106,18 +108,32 @@ typedef struct uint8_t procedureCode; }E2TransInfo; +typedef struct e2Transcation +{ + uint8_t transIdCounter; + E2TransInfo onGoingTransaction[MAX_NUM_TRANSACTION]; + /* Any new parameter for transaction handling can be added here in future */ +}E2Transcation; + +typedef struct e2Timer +{ + CmTimer e2SetupTimer; + /* More timers can be added to this structure in future */ +}E2Timer; + typedef struct e2apDb { - uint16_t ricId; - uint8_t transIdCounter; - E2TransInfo onGoingTransaction[MAX_NUM_TRANSACTION]; - uint8_t *plmn; - uint32_t ricReqId; - uint32_t ricInstanceId; - uint32_t ranFuncId; - uint8_t *ricEventTrigger; - uint32_t ricActionId; - uint32_t ricActionType; + uint16_t ricId; + E2Transcation e2TransInfo; + uint8_t *plmn; + uint32_t ricReqId; + uint32_t ricInstanceId; + uint32_t ranFuncId; + uint8_t *ricEventTrigger; + uint32_t ricActionId; + uint32_t ricActionType; + E2Timer e2Timers; + uint8_t e2SetupTimerInterval; }E2apDb; uint8_t assignTransactionId();