X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2Fric_stub%2Fric_e2ap_msg_hdl.h;h=e370ed6c039cf70c714d9a031938543c1c511205;hb=c35b0ec59aa6469d563405a418145a8a4564fc70;hp=a7b7850fdf3bc887f9c2f22027dccf9c5097eaab;hpb=3f340f5742e5c7c92b8541479ee7f2d670200cfb;p=o-du%2Fl2.git diff --git a/src/ric_stub/ric_e2ap_msg_hdl.h b/src/ric_stub/ric_e2ap_msg_hdl.h index a7b7850fd..e370ed6c0 100644 --- a/src/ric_stub/ric_e2ap_msg_hdl.h +++ b/src/ric_stub/ric_e2ap_msg_hdl.h @@ -22,19 +22,20 @@ #define TRANS_ID 1 #define RRC_SIZE 1 #define ENC_BUF_MAX_LEN 100 -#define SUL_BAND_COUNT 0 +#define SUL_BAND_COUNT 0 #define UL_SRBID 1 #define DL_SRBID 0 #define DU_ID 1 -#define RIC_ID 1 +#define RIC_ID 1 #define CRNTI 17017 #define CELL_INDEX 0 - +#define RIC_STYLE_TYPE 1 +#define RIC_ACTION_GRANULARITY_PERIOD 100 /* allocate and zero out a static buffer */ #define RIC_ALLOC(_datPtr, _size) \ { \ - S16 _ret; \ + uint8_t _ret; \ _ret = SGetSBuf(RIC_APP_MEM_REG, RIC_POOL, \ (Data **)&_datPtr, _size); \ if(_ret == ROK) \ @@ -51,10 +52,12 @@ -void E2APMsgHdlr(Buffer *mBuf); -S16 BuildAndSendE2SetupReq(); -S16 SendE2APMsg(Region , Pool ); +void E2APMsgHdlr(uint32_t *duId, Buffer *mBuf); +uint8_t BuildAndSendE2SetupRsp(DuDb *duDb, uint8_t transId); +uint8_t BuildAndSendRicSubscriptionReq(DuDb *duDb); +uint8_t SendE2APMsg(Region region, Pool pool, uint32_t duId); +uint8_t BuildAndSendRicServiceQuery(DuDb *duDb); /********************************************************************** End of file **********************************************************************/