*******************************************************************************/
#ifdef EGTP_TEST
-
+#include "common_def.h"
#include "mac_stub.h"
uint8_t rlcDatSn = 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;
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;
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);
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;