UE CB creation at MAC and SCH [Issue-ID: ODUHIGH-177]
[o-du/l2.git] / src / 5gnrrlc / kw_lmm.c
index 0e49763..a0a996d 100755 (executable)
@@ -47,18 +47,7 @@ static int RLOG_FILE_ID=197;
 
 \f
 /* 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 */