X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2F5gnrrlc%2Fmac_stub.c;h=94503ba78c8171945f4234ec5d8a1b4c22641942;hb=refs%2Fchanges%2F77%2F4377%2F11;hp=bd0e1dfa8ea97aaf241551eccec48077d2aa9964;hpb=be7e4e372cc1d6f12f7af9c6b6d09a7ecedca58c;p=o-du%2Fl2.git diff --git a/src/5gnrrlc/mac_stub.c b/src/5gnrrlc/mac_stub.c index bd0e1dfa8..94503ba78 100644 --- a/src/5gnrrlc/mac_stub.c +++ b/src/5gnrrlc/mac_stub.c @@ -17,7 +17,7 @@ *******************************************************************************/ #ifdef EGTP_TEST - +#include "common_def.h" #include "mac_stub.h" uint8_t rlcDatSn = 0; @@ -26,13 +26,13 @@ uint64_t ulDatNum = 0; PUBLIC S16 macStubBOStatus(Pst *pst, SpId spId, RlcMacBOStatus *boSta) { Pst rspPst; - RlcMacSchedRep *schRep; + RlcMacSchedRepInfo *schRep; - DU_LOG("\nMAC_STUB : Received BO status from RLC"); + DU_LOG("\nMAC : Received BO status from RLC"); // SGetSBuf(pst->region, pst->pool, (Data **)&rspPst, sizeof(Pst)); - rspPst.selector = RGU_SEL_TC; + rspPst.selector = ODU_SELECTOR_TC; rspPst.srcEnt = pst->dstEnt; rspPst.dstEnt = pst->srcEnt; rspPst.dstInst = pst->srcInst; @@ -42,7 +42,7 @@ PUBLIC S16 macStubBOStatus(Pst *pst, SpId spId, RlcMacBOStatus *boSta) rspPst.pool = pst->pool; /* Filling Scheduling Report */ - KW_SHRABL_STATIC_BUF_ALLOC(pst->region, pst->pool, schRep, sizeof(RlcMacSchedRep)); + KW_SHRABL_STATIC_BUF_ALLOC(pst->region, pst->pool, schRep, sizeof(RlcMacSchedRepInfo)); schRep->cellId = boSta->cellId; schRep->rnti = boSta->rnti; @@ -51,7 +51,7 @@ PUBLIC S16 macStubBOStatus(Pst *pst, SpId spId, RlcMacBOStatus *boSta) schRep->lchSta[0].lchStaInd.lcId = boSta->lcId; schRep->lchSta[0].lchStaInd.totBufSize = boSta->bo + 5; /* Extra buffer space including RLC and MAC Header size */ - DU_LOG("\nMAC_STUB : Sending scheduling report to RLC"); + DU_LOG("\nMAC : Sending scheduling report to RLC"); RlcMacProcSchedRep(&rspPst, 1, schRep); @@ -89,7 +89,7 @@ PUBLIC S16 macStubSendDlData(Pst *pst, SpId spId, RlcMacData *dlData) ulData->pduInfo[0].pduBuf = mBuf; /* Fill response post */ - rspPst.selector = RGU_SEL_TC; + rspPst.selector = ODU_SELECTOR_TC; rspPst.srcEnt = pst->dstEnt; rspPst.dstEnt = pst->srcEnt; rspPst.dstInst = pst->srcInst;