schInitDrxHarqCb(&ueCb->ulHqEnt.procs[idx].ulDrxHarqCb);
}
/* convert all the drx configuration recived in ms/subms into number of slots and store into the drxUeCb */
schInitDrxHarqCb(&ueCb->ulHqEnt.procs[idx].ulDrxHarqCb);
}
/* convert all the drx configuration recived in ms/subms into number of slots and store into the drxUeCb */
/* Calculate the onduration timer and short cycle timer (if shortcycle configuration is present) as soon as we
* recived ueCfg request */
schAddUeInOndurationList(ueCb->cellCb, ueCb, 0);
/* Calculate the onduration timer and short cycle timer (if shortcycle configuration is present) as soon as we
* recived ueCfg request */
schAddUeInOndurationList(ueCb->cellCb, ueCb, 0);
{
/* convert all the drx configuration recived in ms/subms into number
* of slots and store into the drxUeCb */
{
/* convert all the drx configuration recived in ms/subms into number
* of slots and store into the drxUeCb */
/* Recalculate/Restart timer based on their presence */
schDrxUeReCfgTimer(ueCb->cellCb, ueCb);
/* Recalculate/Restart timer based on their presence */
schDrxUeReCfgTimer(ueCb->cellCb, ueCb);
ueCb->ueCfg.dataTransmissionAction = ueRecfg->dataTransmissionInfo;
if(ueRecfg->macCellGrpRecfgPres == true)
{
ueCb->ueCfg.dataTransmissionAction = ueRecfg->dataTransmissionInfo;
if(ueRecfg->macCellGrpRecfgPres == true)
{
schInitDrxHarqCb(&ueCb->ulHqEnt.procs[idx].ulDrxHarqCb);
}
/* convert all the drx configuration recived in ms/subms into number of slots and store into the drxUeCb */
schInitDrxHarqCb(&ueCb->ulHqEnt.procs[idx].ulDrxHarqCb);
}
/* convert all the drx configuration recived in ms/subms into number of slots and store into the drxUeCb */
/* Calculate the onduration timer and short cycle timer (if shortcycle configuration is present) as soon as we
* recived ueCfg request */
schAddUeInOndurationList(ueCb->cellCb, ueCb, 0);
/* Calculate the onduration timer and short cycle timer (if shortcycle configuration is present) as soon as we
* recived ueCfg request */
schAddUeInOndurationList(ueCb->cellCb, ueCb, 0);
{
/* convert all the drx configuration recived in ms/subms into number
* of slots and store into the drxUeCb */
{
/* convert all the drx configuration recived in ms/subms into number
* of slots and store into the drxUeCb */
/* Recalculate/Restart timer based on their presence */
schDrxUeReCfgTimer(ueCb->cellCb, ueCb);
/* Recalculate/Restart timer based on their presence */
schDrxUeReCfgTimer(ueCb->cellCb, ueCb);
uint8_t SchAddUeConfigReq(Pst *pst, SchUeCfgReq *ueCfg)
{
uint8_t lcIdx = 0, ret = ROK, idx = 0;
uint8_t SchAddUeConfigReq(Pst *pst, SchUeCfgReq *ueCfg)
{
uint8_t lcIdx = 0, ret = ROK, idx = 0;
/* Fill received Ue Configuration in UeCb */
memset(ueCb, 0, sizeof(SchUeCb));
/* Fill received Ue Configuration in UeCb */
memset(ueCb, 0, sizeof(SchUeCb));
- schUlHqEntInit(cellCb, &cellCb->ueCb[ueCfg->ueId-1]);
- schDlHqEntInit(cellCb, &cellCb->ueCb[ueCfg->ueId-1]);
+ schUlHqEntInit(cellCb, &cellCb->ueCb[ueCb->ueId-1]);
+ schDlHqEntInit(cellCb, &cellCb->ueCb[ueCb->ueId-1]);
SCH_ALLOC(ueCb->hqDlmap, sizeof(SchHqDlMap*)*(ueCb->cellCb->numSlots));
SCH_ALLOC(ueCb->hqUlmap, sizeof(SchHqUlMap*)*(ueCb->cellCb->numSlots));
SCH_ALLOC(ueCb->hqDlmap, sizeof(SchHqDlMap*)*(ueCb->cellCb->numSlots));
SCH_ALLOC(ueCb->hqUlmap, sizeof(SchHqUlMap*)*(ueCb->cellCb->numSlots));