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));
* Functionality: Fill and send UE delete response to MAC
*
* @params[in] Inst inst, SchUeDelete *ueDelete, SchMacRsp result,
* Functionality: Fill and send UE delete response to MAC
*
* @params[in] Inst inst, SchUeDelete *ueDelete, SchMacRsp result,
-void SchSendUeDeleteRspToMac(Inst inst, SchUeDelete *ueDelete, SchMacRsp result, ErrorCause cause)
+void SchSendUeDeleteRspToMac(Inst inst, SchUeDelete *ueDelete, SchMacRsp result, CauseOfResult cause)
* ****************************************************************/
uint8_t SchProcUeDeleteReq(Pst *pst, SchUeDelete *ueDelete)
{
* ****************************************************************/
uint8_t SchProcUeDeleteReq(Pst *pst, SchUeDelete *ueDelete)
{
- uint8_t idx=0, ueId=0, ret=ROK;
- ErrorCause result;
- SchCellCb *cellCb = NULLP;
+ uint8_t idx=0, ueId=0, ret=ROK;
+ CauseOfResult cause;
+ SchCellCb *cellCb = NULLP;
if(cellCb->cellId != ueDelete->cellId)
{
DU_LOG("\nERROR --> SCH : SchProcUeDeleteReq(): cell Id is not available");
if(cellCb->cellId != ueDelete->cellId)
{
DU_LOG("\nERROR --> SCH : SchProcUeDeleteReq(): cell Id is not available");
- SchSendUeDeleteRspToMac(inst, ueDelete, RSP_OK, result);
+ SchSendUeDeleteRspToMac(inst, ueDelete, RSP_OK, cause);
- SchSendUeDeleteRspToMac(inst, ueDelete, RSP_NOK, result);
+ SchSendUeDeleteRspToMac(inst, ueDelete, RSP_NOK, cause);