macPdcchCfg.searchSpcToAddModList[idx].searchSpaceId;
schPdcchCfg->searchSpcToAddModList[idx].cRSetId = \
macPdcchCfg.searchSpcToAddModList[idx].cRSetId;
- schPdcchCfg->searchSpcToAddModList[idx].mSlotPeriodicityAndOffset = \
- macPdcchCfg.searchSpcToAddModList[idx].mSlotPeriodicityAndOffset;
+ schPdcchCfg->searchSpcToAddModList[idx].mSlotPeriodicityAndOffset.mSlotPeriodicity = \
+ macPdcchCfg.searchSpcToAddModList[idx].mSlotPeriodicityAndOffset.mSlotPeriodicity;
+ schPdcchCfg->searchSpcToAddModList[idx].mSlotPeriodicityAndOffset.mSlotOffset =
+ macPdcchCfg.searchSpcToAddModList[idx].mSlotPeriodicityAndOffset.mSlotOffset;
memcpy(&schPdcchCfg->searchSpcToAddModList[idx].mSymbolsWithinSlot,
&macPdcchCfg.searchSpcToAddModList[idx].mSymbolsWithinSlot, \
MONITORING_SYMB_WITHIN_SLOT_SIZE);
uint8_t ret = ROK;
schUeCfg->cellId = ueCfg->cellId;
- schUeCfg->ueId = ueCfg->ueId;
schUeCfg->crnti = ueCfg->crnti;
/* Copy MAC cell group config */
if(ueCfg->macCellGrpCfgPres == true)
uint8_t ret = ROK;
schUeRecfg->cellId = ueRecfg->cellId;
- schUeRecfg->ueId = ueRecfg->ueId;
schUeRecfg->crnti = ueRecfg->crnti;
schUeRecfg->dataTransmissionInfo = ueRecfg->transmissionAction;
/* Copy MAC cell group config */
/* Filling UE Config response */
memset(cfgRsp, 0, sizeof(MacUeCreateRsp));
cfgRsp->cellId = schCfgRsp->cellId;
- cfgRsp->ueId = schCfgRsp->ueId;
+ GET_UE_ID(schCfgRsp->crnti, cfgRsp->ueId);
cfgRsp->result = result;
/* Fill Post structure and send UE Create response*/
/* Filling UE Config response */
memset(recfgRsp, 0, sizeof(MacUeRecfgRsp));
recfgRsp->cellId = schCfgRsp->cellId;
- recfgRsp->ueId = schCfgRsp->ueId;
+ GET_UE_ID(schCfgRsp->crnti, recfgRsp->ueId);
recfgRsp->result = result;
/* Fill Post structure and send UE Create response*/
{
uint8_t result = MAC_DU_APP_RSP_NOK;
uint8_t ret = ROK;
- uint16_t cellIdx;
+ uint16_t cellIdx = 0, ueId = 0;
MacUeCreateReq *ueCfg = NULLP;
#ifdef CALL_FLOW_DEBUG_LOG
#endif
GET_CELL_IDX(schCfgRsp->cellId, cellIdx);
- ueCfg = getMacUeCfg(cellIdx, schCfgRsp->ueId);
+ GET_UE_ID(schCfgRsp->crnti, ueId);
+ ueCfg = getMacUeCfg(cellIdx, ueId);
if(ueCfg == NULLP)
{
DU_LOG("\nERROR --> MAC : Failed to find the Mac Ue Cfg for event [%d] in MacProcSchUeCfgRsp()", pst->event);
{
uint8_t result = MAC_DU_APP_RSP_NOK;
uint8_t ret = ROK;
- uint16_t cellIdx;
+ uint16_t cellIdx = 0, ueId = 0;
MacUeRecfg *ueRecfg = NULLP;
#ifdef CALL_FLOW_DEBUG_LOG
#endif
GET_CELL_IDX(schRecfgRsp->cellId, cellIdx);
- ueRecfg = getMacUeRecfg(cellIdx, schRecfgRsp->ueId);
+ GET_UE_ID(schRecfgRsp->crnti, ueId);
+ ueRecfg = getMacUeRecfg(cellIdx, ueId);
if(ueRecfg == NULLP)
{
DU_LOG("\nERROR --> MAC : Failed to find the Mac Ue Cfg for event [%d] in MacProcSchUeCfgRsp()", pst->event);