Code Review
/
o-du
/
l2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Merge "Cell down alarm notification [Issue-Id: ODUHIGH-430]"
[o-du/l2.git]
/
src
/
du_app
/
du_cell_mgr.c
diff --git
a/src/du_app/du_cell_mgr.c
b/src/du_app/du_cell_mgr.c
index
4762d65
..
6182d6a
100644
(file)
--- a/
src/du_app/du_cell_mgr.c
+++ b/
src/du_app/du_cell_mgr.c
@@
-192,7
+192,7
@@
uint8_t duGetCellCb(uint16_t cellId, DuCellCb **cellCb)
*
* @params[in] DuCellCb *cellCb
*
*
* @params[in] DuCellCb *cellCb
*
-* @return
void
+* @return
ROK/RFAILURE (uint8_t return)
*
*
******************************************************************************/
*
*
******************************************************************************/
@@
-212,7
+212,7
@@
uint8_t checkPagingRecord(DuCellCb *cellCb)
/*No Page is present for pf thus exiting*/
return ROK;
}
/*No Page is present for pf thus exiting*/
return ROK;
}
-
+
do
{
pagInfo = handlePageInfoLL(pf, NULLD, &(pagInfoLLFromPF->pagInfoList), TRAVERSE_ALL);
do
{
pagInfo = handlePageInfoLL(pf, NULLD, &(pagInfoLLFromPF->pagInfoList), TRAVERSE_ALL);
@@
-225,6
+225,10
@@
uint8_t checkPagingRecord(DuCellCb *cellCb)
}
handlePageInfoLL(pf, pagInfo->i_s, &(pagInfoLLFromPF->pagInfoList), DELETE);
}
}
handlePageInfoLL(pf, pagInfo->i_s, &(pagInfoLLFromPF->pagInfoList), DELETE);
}
+ if(pagInfoLLFromPF->pagInfoList.first == NULLP)
+ {
+ break;
+ }
}while(pagInfo != NULLP);
cmHashListDelete(&(cellCb->pagingInfoMap), (PTR)pagInfoLLFromPF);
}while(pagInfo != NULLP);
cmHashListDelete(&(cellCb->pagingInfoMap), (PTR)pagInfoLLFromPF);
@@
-258,7
+262,6
@@
uint8_t sendDlPcchIndToMac(MacPcchInd *pcchInd)
/* Fill Pst */
FILL_PST_DUAPP_TO_MAC(pst, EVENT_MAC_DL_PCCH_IND);
/* Fill Pst */
FILL_PST_DUAPP_TO_MAC(pst, EVENT_MAC_DL_PCCH_IND);
- DU_LOG("\nDEBUG --> DU_APP: Sending DL PCCH indication to MAC for cellId[%d]", pcchInd->cellId);
ret = (*packMacDlPcchIndOpts[pst.selector])(&pst, pcchInd);
if(ret == RFAILED)
{
ret = (*packMacDlPcchIndOpts[pst.selector])(&pst, pcchInd);
if(ret == RFAILED)
{
@@
-267,7
+270,7
@@
uint8_t sendDlPcchIndToMac(MacPcchInd *pcchInd)
}
else
{
}
else
{
- DU_LOG("\nERROR --> DU
_
APP: sendDlPcchIndToMac(): Received pcchInd is NULLP");
+ DU_LOG("\nERROR --> DU
APP: sendDlPcchIndToMac(): Received pcchInd is NULLP");
ret = RFAILED;
}
return ret;
ret = RFAILED;
}
return ret;
@@
-866,7
+869,7
@@
uint8_t insertPagingRecord(DuCellCb* cellCb, DuPagingMsg *rcvdF1apPagingParam, u
#if 0
printPageList(&(cellCb->pagingInfoMap));
#endif
#if 0
printPageList(&(cellCb->pagingInfoMap));
#endif
-
+
return ROK;
return ROK;
@@
-1007,7
+1010,6
@@
uint8_t calcAndFillPagingInfoInCellCb(DuCellCb* cellCb, DuPagingMsg *rcvdF1apPag
rcvdF1apPagingParam->pagingFrame = (sfn % MAX_SFN);
rcvdF1apPagingParam->i_s = ((uint32_t)(floor(rcvdF1apPagingParam->pagUeId / N)) % ns);
rcvdF1apPagingParam->pagingFrame = (sfn % MAX_SFN);
rcvdF1apPagingParam->i_s = ((uint32_t)(floor(rcvdF1apPagingParam->pagUeId / N)) % ns);
- DU_LOG("\nINFO --> DU APP : Successfully filled paging parameter in DuCellCb");
memcpy(&cellCb->tmpPagingInfoOfUe, rcvdF1apPagingParam, sizeof(DuPagingMsg));
}
else
memcpy(&cellCb->tmpPagingInfoOfUe, rcvdF1apPagingParam, sizeof(DuPagingMsg));
}
else