+ /* check for RAR */
+ if(cell->dlAlloc[slot]->rarPres == true)
+ {
+ dlAlloc.isRarPres = true;
+ /* RAR info is copied, this was earlier filled in schProcessRachInd */
+ memcpy(&rarAlloc->rarInfo, &cell->dlAlloc[slot]->rarInfo, sizeof(RarInfo));
+
+ /* pdcch and pdsch data is filled */
+ schFillRar(rarAlloc,
+ cell->dlAlloc[slot]->rarInfo.raRnti,
+ cell->cellCfg.phyCellId,
+ cell->cellCfg.ssbSchCfg.ssbOffsetPointA);
+
+ cell->dlAlloc[slot]->rarPres = false;
+ }
+
+ /* send msg to MAC */
+ ret = sendDlAllocToMac(&dlAlloc, schInst);