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
Support for Intel-L1 Timer mode
[o-du/l2.git]
/
src
/
du_app
/
du_msg_hdl.c
diff --git
a/src/du_app/du_msg_hdl.c
b/src/du_app/du_msg_hdl.c
index
98e24a0
..
b1424da
100644
(file)
--- a/
src/du_app/du_msg_hdl.c
+++ b/
src/du_app/du_msg_hdl.c
@@
-40,6
+40,13
@@
#include "du_utils.h"
#include "du_cell_mgr.h"
#include "du_utils.h"
#include "du_cell_mgr.h"
+#ifdef O1_ENABLE
+
+#include "GlobalDefs.h"
+#include "AlarmInterface.h"
+
+#endif
+
uint8_t rlcDlCfg = 0;
uint8_t numRlcDlSaps = 0;
uint8_t rlcUlCfg = 0;
uint8_t rlcDlCfg = 0;
uint8_t numRlcDlSaps = 0;
uint8_t rlcUlCfg = 0;
@@
-1651,6
+1658,11
@@
uint8_t duHandleSlotInd(Pst *pst, SlotIndInfo *slotInfo)
{
DU_LOG("\nDU APP : 5G-NR Cell %d is UP", slotInfo->cellId);
cellCb->cellStatus = ACTIVATED;
{
DU_LOG("\nDU APP : 5G-NR Cell %d is UP", slotInfo->cellId);
cellCb->cellStatus = ACTIVATED;
+
+#ifdef O1_ENABLE
+ DU_LOG("\nDU APP : Raise cell UP alarm for cell id=%d", slotInfo->cellId);
+ raiseCellAlrm(CELL_UP_ALARM_ID, slotInfo->cellId);
+#endif
}
}
}
}
@@
-1661,8
+1673,7
@@
uint8_t duHandleSlotInd(Pst *pst, SlotIndInfo *slotInfo)
#endif
if((pst->selector == ODU_SELECTOR_LWLC) || (pst->selector == ODU_SELECTOR_TC))
#endif
if((pst->selector == ODU_SELECTOR_LWLC) || (pst->selector == ODU_SELECTOR_TC))
- DU_FREE_SHRABL_BUF(MAC_MEM_REGION, pst->pool, slotInfo, sizeof(SlotIndInfo));
-
+ DU_FREE_SHRABL_BUF(pst->region, pst->pool, slotInfo, sizeof(SlotIndInfo));
return ROK;
}
return ROK;
}
@@
-1786,6
+1797,11
@@
uint8_t duHandleStopInd(Pst *pst, MacCellStopInfo *cellStopId)
{
DU_LOG("\nDU APP : 5G-NR Cell %d is DOWN", cellStopId->cellId);
cellCb->cellStatus = DELETION_IN_PROGRESS;
{
DU_LOG("\nDU APP : 5G-NR Cell %d is DOWN", cellStopId->cellId);
cellCb->cellStatus = DELETION_IN_PROGRESS;
+
+#ifdef O1_ENABLE
+ DU_LOG("\nDU APP : Raise cell down alarm for cell id=%d", cellStopId->cellId);
+ raiseCellAlrm(CELL_DOWN_ALARM_ID, cellStopId->cellId);
+#endif
}
}
if((pst->selector == ODU_SELECTOR_LWLC) || (pst->selector == ODU_SELECTOR_TC))
}
}
if((pst->selector == ODU_SELECTOR_LWLC) || (pst->selector == ODU_SELECTOR_TC))