X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=src%2F5gnrmac%2Frg_lim.c;fp=src%2F5gnrmac%2Frg_lim.c;h=ecfb9516bd5453b0cc7ccb2fdca14a00d631d9bb;hb=d2d9dcbd92e8f1be15dd5891aaf9ada9bc071e1a;hp=38620fe6a2d2a63d77e5d3cacbdee47c85ffaf00;hpb=3360eb21f592bfe7249f501fa59ef8739b8589c2;p=o-du%2Fl2.git diff --git a/src/5gnrmac/rg_lim.c b/src/5gnrmac/rg_lim.c index 38620fe6a..ecfb9516b 100755 --- a/src/5gnrmac/rg_lim.c +++ b/src/5gnrmac/rg_lim.c @@ -75,8 +75,8 @@ static int RLOG_MODULE_ID=4096; #include "du_app_mac_inf.h" #include "rg.x" /* typedefs for MAC */ -#include "mac_sch_interface.h" #include "mac_upr_inf_api.h" +#include "mac.h" /* local externs */ #ifdef UNUSED_FUNC @@ -601,6 +601,14 @@ TfuDelDatReqInfo *delDatReq; } /* rgLIMTfuDatReq*/ #endif /*L2_OPTMZ */ +void fapiMacConfigRsp() +{ + /* TODO : Processing of conig response from PHY */ + + /* Send cell config cfm to DU APP */ + MacSendCellCfgCfm(RSP_OK); +} + /** * @brief Transmission time interval indication from PHY. * @@ -664,12 +672,16 @@ int sendSlotIndMacToDuApp(SlotIndInfo *slotInd) return RFAILED; } + slotInfo->cellId = macCb.macCell->cellId; + slotInfo->sfn = slotInd->sfn; + slotInfo->slot = slotInd->slot; + /* Fill Pst */ pst.selector = DU_MAC_LWLC; pst.srcEnt = ENTRG; pst.dstEnt = ENTDUAPP; pst.dstInst = 0; - pst.srcInst = 0; + pst.srcInst = macCb.macInst; pst.dstProcId = rgCb[pst.srcInst].rgInit.procId; pst.srcProcId = rgCb[pst.srcInst].rgInit.procId; pst.region = MAC_MEM_REGION;