X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=src%2F5gnrsch%2Fsch.c;h=cd1e8552f4e679e6298fa2c94d9626305da93757;hb=1616921700a3c7541f1df6dd2678f9ee4d8e933b;hp=9bfe6a3e416cffd3e1334458b8e78a70e84590f9;hpb=694adde1a08c393a8443fd5bbd4f036f5cf85403;p=o-du%2Fl2.git diff --git a/src/5gnrsch/sch.c b/src/5gnrsch/sch.c index 9bfe6a3e4..cd1e8552f 100644 --- a/src/5gnrsch/sch.c +++ b/src/5gnrsch/sch.c @@ -463,7 +463,7 @@ void fillSchSib1Cfg(Inst schInst, SchSib1Cfg *sib1SchCfg, uint16_t pci, \ sib1SchCfg->n0 = slotIndex; /* calculate the PRBs */ - schAllocFreqDomRscType0(((offsetPointA-offset)/6), (numRbs/6), FreqDomainResource); + freqDomRscAllocType0(((offsetPointA-offset)/6), (numRbs/6), FreqDomainResource); /* fill BWP */ bwp->freqAlloc.numPrb = MAX_NUM_RB; /* whole of BW */ @@ -682,7 +682,7 @@ uint8_t MacSchDlRlcBoInfo(Pst *pst, DlRlcBoInfo *dlBoInfo) (lcId >= MIN_DRB_LCID && lcId <= MAX_DRB_LCID)) { SET_ONE_BIT(ueIdx, cell->boIndBitMap); - ueCb->dlLcCtxt[lcId].bo = dlBoInfo->dataVolume; + ueCb->dlInfo.dlLcCtxt[lcId].bo = dlBoInfo->dataVolume; } else if(lcId != SRB0_LCID) {