X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2F5gnrrlc%2Fkw_lmm.c;h=a0a996d289a49986863944d465a48404c24ac971;hb=refs%2Fchanges%2F77%2F4377%2F11;hp=0e497634548795c2bf569e33c66f79491500b104;hpb=d349ae65e1495488772f87e5cfa1ae71d9eab075;p=o-du%2Fl2.git diff --git a/src/5gnrrlc/kw_lmm.c b/src/5gnrrlc/kw_lmm.c index 0e4976345..a0a996d28 100755 --- a/src/5gnrrlc/kw_lmm.c +++ b/src/5gnrrlc/kw_lmm.c @@ -47,18 +47,7 @@ static int RLOG_FILE_ID=197; /* header (.h) include files */ -#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 "cm5.h" /* common timer defines */ -#include "cm_tkns.h" /* common tokens defines */ -#include "cm_mblk.h" /* common memory allocation library defines */ -#include "cm_llist.h" /* common link list defines */ -#include "cm_hash.h" /* common hash list defines */ -#include "cm_lte.h" /* common LTE defines */ +#include "common_def.h" #include "lkw.h" /* LKW defines */ #include "ckw.h" /* CKW defines */ #include "kwu.h" /* KWU defines */ @@ -72,16 +61,6 @@ static int RLOG_FILE_ID=197; #include "kw_udx.h" /* extern (.x) include files */ -#include "gen.x" /* general */ -#include "ssi.x" /* system services */ - -#include "cm5.x" /* common timer library */ -#include "cm_tkns.x" /* common tokens */ -#include "cm_mblk.x" /* common memory allocation */ -#include "cm_llist.x" /* common link list */ -#include "cm_hash.x" /* common hash list */ -#include "cm_lte.x" /* common LTE includes */ -#include "cm_lib.x" /* common memory allocation library */ #include "lkw.x" /* LKW */ #include "ckw.x" /* CKW */ #include "kwu.x" /* KWU */ @@ -280,6 +259,7 @@ KwGenCfg *cfg; RLOG0(L_FATAL,"RLC DL Initialization failed"); RETVALUE(LCM_REASON_MEM_NOAVAIL); } +#if 0 /* Register the timer */ /*Pradeep: changing the SRegTmrMt() to SRegTmr()*/ if(SRegTmrMt(gCb->init.ent, gCb->init.inst, (U16)cfg->timeRes, @@ -292,7 +272,7 @@ KwGenCfg *cfg; RETVALUE(LCM_REASON_REGTMR_FAIL); } - +#endif /* initializations for background processing of freeing memory */ kwUtlInitToBeFreed(gCb, &(gCb->u.dlCb->toBeFreed)); kwUtlInitializeSelfPst(gCb); @@ -383,7 +363,7 @@ KwGenCfg *cfg; } /* Register the timer */ - +#if 0 if(SRegTmrMt(gCb->init.ent, gCb->init.inst, (U16)cfg->timeRes, kwActvTmr) != ROK) { @@ -394,6 +374,7 @@ KwGenCfg *cfg; RETVALUE(LCM_REASON_REGTMR_FAIL); } +#endif #ifdef LTE_L2_MEAS kwUtlL2MeasUlInit(gCb); #endif @@ -2621,9 +2602,7 @@ Inst inst; RETVALUE (RFAILED); } gCb = KW_GET_KWCB(inst); -#if 0 cmPrcTmr(&(gCb->kwTqCp), gCb->kwTq, (PFV) kwTmrExpiry); -#endif RETVALUE(ROK); } /* end of kwActvTmr */