X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2Fcu_stub%2Fcu_f1ap_msg_hdl.h;h=1d94ad988ea0914c566cced3cb0fb9d57d2098b3;hb=2193e4cf01012809495be026097e8d7eacb9f0ac;hp=c14e6869d04c937ad1a9b1ba9b7966bb46770e97;hpb=bda786455110d7444fc56a308a387968f14eb382;p=o-du%2Fl2.git diff --git a/src/cu_stub/cu_f1ap_msg_hdl.h b/src/cu_stub/cu_f1ap_msg_hdl.h index c14e6869d..1d94ad988 100644 --- a/src/cu_stub/cu_f1ap_msg_hdl.h +++ b/src/cu_stub/cu_f1ap_msg_hdl.h @@ -17,9 +17,6 @@ *******************************************************************************/ /* This file contains all F1AP message handler related functionality */ -#include -#include -#include #include #include "ProtocolExtensionField.h" #include "F1AP-PDU.h" @@ -29,28 +26,11 @@ #include "SRB-ToAddMod.h" #include "RRCSetup-IEs.h" #include "RRCSetup.h" - -#include "envopt.h" /* Environment options */ -#include "envdep.h" /* Environment dependent */ -#include "envind.h" /* Environment independent */ -#include "gen.h" /* General */ -#include "ssi.h" /* System services */ -#include "ss_queue.h" -#include "ss_task.h" -#include "ss_msg.h" - -#include "gen.x" /* General */ -#include "ssi.x" /* System services */ -#include "ss_queue.x" -#include "ss_task.x" -#include "ss_msg.x" - #include "du_log.h" #define ENCODE_FAIL -1 #define TRANS_ID 1 #define RRC_SIZE 1 -#define ENC_BUF_MAX_LEN 100 #define SUL_BAND_COUNT 0 #define UL_SRBID 1 #define DL_SRBID 0 @@ -60,24 +40,11 @@ #define CELL_INDEX 0 #define SRB1 1 -/* allocate and zero out a static buffer */ -#define CU_ALLOC(_datPtr, _size) \ -{ \ - S16 _ret; \ - _ret = SGetSBuf(CU_APP_MEM_REG, CU_POOL, \ - (Data **)&_datPtr, _size); \ - if(_ret == ROK) \ - cmMemset((U8*)_datPtr, 0, _size); \ - else \ - _datPtr = NULLP; \ -} - -/* free a static buffer */ -#define CU_FREE(_datPtr, _size) \ - if(_datPtr) \ - SPutSBuf(CU_APP_MEM_REG, CU_POOL, \ - (Data *)_datPtr, _size); - +#define CU_UE_F1AP_ID 0 +#define DU_UE_F1AP_ID 1 +#define SP_CELL_ID 2 +#define SERV_CELL_IDX 3 +#define CU_TO_DU_RRC_INF 4 typedef struct f1apDb {