X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2Fcu_stub%2Fcu_stub.h;h=efb800ff341862ee527d97b5ffda5e2c31788b41;hb=5ee6434a20d24ba252f8a8e067cf9bec3e6ff0cf;hp=806356164baa8941b6191d5444e57758dea416fe;hpb=6eda577056855df28788aef28ee0a29c9128d1f5;p=o-du%2Fl2.git diff --git a/src/cu_stub/cu_stub.h b/src/cu_stub/cu_stub.h index 806356164..efb800ff3 100644 --- a/src/cu_stub/cu_stub.h +++ b/src/cu_stub/cu_stub.h @@ -84,10 +84,26 @@ typedef struct cuCfgParams Plmn plmn; EgtpParams egtpParams; RrcVersion rrcVersion; - uint8_t numSnssaiSupported; - Snssai *snssaiList[MAX_NUM_OF_SLICE]; }CuCfgParams; -CuCfgParams cuCfgParams; //global variable to hold all configs + +typedef struct duDb +{ + uint32_t duId; + char duName[CU_DU_NAME_LEN_MAX]; + //Cell Info + //UE Info within each Cell +}DuDb; + +typedef struct cuGlobalCb +{ + CuCfgParams cuCfgParams; + uint8_t numSnssaiSupported; + Snssai *snssaiList[MAX_NUM_OF_SLICE]; + uint8_t numDu; + DuDb duInfo[MAX_DU_SUPPORTED]; +}CuGlobalCb; + +CuGlobalCb cuCb; void readCuCfg(); void cuAppInmsgHdlr(Buffer *mBuf);