X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2Fdu_app%2Fdu_ue_mgr.c;h=96a496ffed3a09b1b9fd6cf429d923a0dec361bf;hb=84670fed17a640ca68c199055b740c41f04c9f4d;hp=7a55d58d9d42a0f4aed989c7090ed05c6b5b941b;hpb=16c5580481ed94b84e92d0a22874cf476debf17e;p=o-du%2Fl2.git diff --git a/src/du_app/du_ue_mgr.c b/src/du_app/du_ue_mgr.c index 7a55d58d9..96a496ffe 100644 --- a/src/du_app/du_ue_mgr.c +++ b/src/du_app/du_ue_mgr.c @@ -1223,12 +1223,19 @@ uint8_t fillMacUeCfg(uint16_t cellId, uint8_t gnbDuUef1apId, uint16_t crnti, DuU } else { + if(ueCfgDb->dataTransmissionAction == STOP_TRANSMISSION) + { + macUeCfg->transmissionAction = ueCfgDb->dataTransmissionAction; + return ROK; + } + /* Fetching MacDb from DuUeCb. * In case of UE hand-in, UE context is created before RRC setup. Hence * crnti is not known yet. Thus, passing crnti=0 to this function. * In such a case actvCellLst doesnt yet have any entry for this UE. So * duMacDb will be NULL. */ + if(crnti != 0) { GET_CELL_IDX(cellId, cellIdx); @@ -1241,7 +1248,7 @@ uint8_t fillMacUeCfg(uint16_t cellId, uint8_t gnbDuUef1apId, uint16_t crnti, DuU } duMacDb->macUeCfgState = UE_CFG_INPROGRESS; } - + if(ueCfgDb->cellGrpCfg) { ret = procUeReCfgCellInfo(macUeCfg, duMacDb, ueCfgDb->cellGrpCfg); @@ -1671,6 +1678,7 @@ uint8_t fillRlcUeCfg(uint16_t cellId, uint8_t ueId, DuUeCfg *ueCfgDb, RlcUeCfg * /*Filling RlcUeCfg */ rlcUeCfg->cellId = cellId; rlcUeCfg->ueId = ueId; + for(dbIdx = 0; (dbIdx < ueCfgDb->numRlcLcs && ret == ROK); dbIdx++) { ret = fillDefaultRlcModeCfg(ueCfgDb->rlcLcCfg[dbIdx].rlcMode, &ueCfgDb->rlcLcCfg[dbIdx]);