X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2Fdu_app%2Fdu_e2ap_mgr.h;h=c6a6d67aaab3ce6c13023ef6c414e929f6de03bb;hb=cff10ba79a0f18dcf3aa6675a11b56e8d7ffb6b8;hp=9259ae84490b946e85d887cedab009822c0d4fb3;hpb=f73456bd55152c329601f8286ae67fe9875025bc;p=o-du%2Fl2.git diff --git a/src/du_app/du_e2ap_mgr.h b/src/du_app/du_e2ap_mgr.h index 9259ae844..c6a6d67aa 100644 --- a/src/du_app/du_e2ap_mgr.h +++ b/src/du_app/du_e2ap_mgr.h @@ -44,7 +44,6 @@ #define REPORT_STYLE_NAME "E2 Node Measurement" #define REPORT_STYLE_TYPE 1 #define REPORT_ACTION_FORMAT_TYPE 1 -#define NUM_OF_MEASUREMENT_INFO_SUPPORTED 2 #define MEASUREMENT_TYPE_NAME (char*[]) {"RRU.PrbTotDl", "RRU.PrbTotUl"} #define RIC_INDICATION_HEADER_FORMAT 1 #define RIC_INDICATION_MESSAGE_FORMAT 1 @@ -171,9 +170,9 @@ typedef struct typedef struct e2Transcation { - uint8_t transIdCounter; - E2TransInfo onGoingTransaction[MAX_NUM_TRANSACTION]; - /* Any new parameter for transaction handling can be added here in future */ + uint8_t transIdCounter; /* counting the total number of DU initiated transaction */ + E2TransInfo e2InitTransaction[MAX_NUM_TRANSACTION]; /* Storing DU-initiated transactions information */ + E2TransInfo ricInitTransaction[MAX_NUM_TRANSACTION]; /* Storing RIC-initiated transactions information */ }E2Transaction; typedef struct e2Timer @@ -393,6 +392,22 @@ typedef struct E2TimersInfo e2TimersInfo; }E2apDb; +typedef struct +{ + uint16_t id; + uint16_t revisionCounter; +}RanFuncInfo; + +typedef struct +{ + uint8_t addCount; + uint8_t addArr[MAX_RAN_FUNCTION]; + uint8_t modCount; + uint8_t modArr[MAX_RAN_FUNCTION]; + uint8_t delCount; + RanFuncInfo delArr[MAX_RAN_FUNCTION]; +}E2TmpRanFunList; + uint8_t assignTransactionId(); uint8_t ResetE2Request(E2ProcedureDirection dir, E2CauseType type, E2Cause cause); uint8_t SendE2APMsg(Region region, Pool pool, char *encBuf, int encBufSize);