X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2Fdu_app%2Fdu_f1ap_msg_hdl.c;h=a375dbc7935dcccbb56d760a70428c43e466335a;hb=04ac036d193d4f4807cfaae96ce74dfd1c3e7966;hp=5c907be92cc17962f3d76aa76dca4634b9d6c4df;hpb=b5a77f556b20a2acd7d653367fdcac030461f85b;p=o-du%2Fl2.git diff --git a/src/du_app/du_f1ap_msg_hdl.c b/src/du_app/du_f1ap_msg_hdl.c index 5c907be92..a375dbc79 100644 --- a/src/du_app/du_f1ap_msg_hdl.c +++ b/src/du_app/du_f1ap_msg_hdl.c @@ -15419,7 +15419,7 @@ void freeAperDecodePagingMsg(Paging_t *paging) uint8_t procPagingMsg(F1AP_PDU_t *f1apMsg) { uint8_t ieIdx = 0, cellListIdx = 0; - uint16_t cellId = 0, cellIdx = 0; + uint16_t cellId = 0; Paging_t *paging = NULLP; PagingCell_list_t *pagingCelllist = NULLP; PagingCell_ItemIEs_t *pagingCellItemIes = NULLP; @@ -15448,7 +15448,7 @@ uint8_t procPagingMsg(F1AP_PDU_t *f1apMsg) case ProtocolIE_ID_id_UEIdentityIndexValue: { bitStringToInt(&paging->protocolIEs.list.array[ieIdx]->value.choice.UEIdentityIndexValue.choice.indexLength10,\ - &tmpPagingParam->ueId); + &tmpPagingParam->pagUeId); break; } @@ -15504,19 +15504,9 @@ uint8_t procPagingMsg(F1AP_PDU_t *f1apMsg) pagingCellItemIes = (PagingCell_ItemIEs_t *)pagingCelllist->list.array[cellListIdx]; pagingCellItem = &pagingCellItemIes->value.choice.PagingCell_Item; bitStringToInt(&pagingCellItem->nRCGI.nRCellIdentity, &cellId); - GET_CELL_IDX(cellId, cellIdx); - if(duCb.actvCellLst[cellIdx]) + if(processPagingMsg(cellId, tmpPagingParam) != ROK) { - /* fill Ue Paging information*/ - if(FillPagingInfoInCellCb(duCb.actvCellLst[cellIdx], tmpPagingParam)!= ROK) - { - DU_LOG("\nERROR --> DU APP : CellCb:%d not present to fill UE Paging Information",cellIdx); - continue; - } - } - else - { - DU_LOG("\nERROR --> F1AP : CellId:%d Not in Activelist",cellId); + DU_LOG("\nERROR --> DU APP : Paging Processing Failed at CellId:%d",cellId); continue; } }