MacSchRachIndFunc macSchRachIndOpts[]=
{
packMacSchRachInd,
- macSchRachInd,
+ MacSchRachInd,
packMacSchRachInd
};
pduIdx = 0;
preambleIdx = 0;
- rachIndInfo.cellId = rachInd->rachPdu[pduIdx].pci;
- /* TODO : A.ocate unique crnti for each ue */
- rachIndInfo.crnti = 100;
+ rachIndInfo.cellId = rachInd->cellId;
rachIndInfo.timingInfo.sfn = rachInd->timingInfo.sfn;
rachIndInfo.timingInfo.slot = rachInd->timingInfo.slot;
rachIndInfo.slotIdx = rachInd->rachPdu[pduIdx].slotIdx;
rachInd->rachPdu[pduIdx].preamInfo[preambleIdx].timingAdv;
/* storing the value in macRaCb */
- createMacRaCb(rachIndInfo.cellId, rachIndInfo.crnti);
+ createMacRaCb(&rachIndInfo);
return(sendRachIndMacToSch(&rachIndInfo));
}