X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2F5gnrmac%2Frg_lmm.c;h=69fad5b4c7393d0f876583d464a8a71cba3d999f;hb=bb267bb17ec2897af706e7307790d3b1e5b3ea8d;hp=a5fa5f07fbba93c3dabf3e75f99213db0aae514c;hpb=dfe84998d9dba8389ee232aa184bc3b5ae383db3;p=o-du%2Fl2.git diff --git a/src/5gnrmac/rg_lmm.c b/src/5gnrmac/rg_lmm.c index a5fa5f07f..69fad5b4c 100755 --- a/src/5gnrmac/rg_lmm.c +++ b/src/5gnrmac/rg_lmm.c @@ -103,7 +103,7 @@ static Void rgLMMFillCfmPst ARGS(( * * @details * - * Function : rgActvInit + * Function : macActvInit * * This function is supplied as one of parameters during MAC's * task registration. SSI will invoke this function once, after @@ -117,7 +117,7 @@ static Void rgLMMFillCfmPst ARGS(( * @return S16 * -# ROK **/ -S16 rgActvInit +uint8_t macActvInit ( Ent entity, /* entity */ Inst inst, /* instance */ @@ -169,15 +169,12 @@ Reason reason /* reason */ SAttachSRngBuf(SS_RNG_BUF_ULMAC_TO_ULRLC, SS_RBUF_ENT_ULRLC,SS_RNG_RX); #endif - /* Initialize Scheduler as well */ - schActvInit(ENTMAC, SCH_INST_START, DFLT_REGION, PWR_UP); - /* Initialize lower mac */ lwrMacLayerInit(region, 0); return ROK; -} /* rgActvInit */ +} /* macActvInit */ /** * @brief Layer Manager Configuration request handler. @@ -211,7 +208,7 @@ RgMngmt *cfg /* config structure */ - DU_LOG("\nINFO --> MAC : Received CfgReq for MAC layer, Entity = %d, Instance = %d", pst->srcEnt, pst->srcInst); + DU_LOG("\nINFO --> MAC : Received CfgReq for MAC layer, Entity = %d, Instance = %d", pst->srcEnt, pst->srcInst); RG_IS_INST_VALID(pst->dstInst); inst = pst->dstInst - RG_INST_START;