JIRA ID = ODUHIGH-334 Implementation of DLRRC message for RRC RELEASE
[o-du/l2.git] / src / 5gnrrlc / rlc_utils.h
index 0eb9b78..5d15d17 100755 (executable)
@@ -421,10 +421,11 @@ extern "C" {
 #define RLC_MAX_UM_TMR                  1
 #define RLC_MAX_AM_TMR                  3
 #define RLC_MAX_THPT_TMR                1
+#define RLC_MAX_UE_TMR                  1
 
 /* Timer events */
 #define EVENT_RLC_UMUL_REASSEMBLE_TMR     1
-#define EVENT_RLC_AMUL_REASSEMBLE_TMR          2
+#define EVENT_RLC_AMUL_REASSEMBLE_TMR     2
 #define EVENT_RLC_AMUL_STA_PROH_TMR       3
 #define EVENT_RLC_AMDL_POLL_RETX_TMR      4
 #define EVENT_RLC_WAIT_BNDCFM             5
@@ -433,6 +434,10 @@ extern "C" {
 #define EVENT_RLC_L2_TMR                  6
 #endif /* LTE_L2_MEAS */
 #define EVENT_RLC_THROUGHPUT_TMR          7
+#define EVENT_RLC_UE_DELETE_TMR           8
+
+/* Wait time for RLC Timers */
+#define RLC_UE_DELETE_WAIT_TIME           1 /*in milliseconds */
 
 /*******************************************************************************
  *                              DBM Defines 
@@ -1672,7 +1677,7 @@ typedef struct rlcUlCb
 
 typedef struct rlcThptPerUe
 {
-   uint16_t ueIdx;
+   uint16_t ueId;
    uint64_t dataVol;
 }RlcThptPerUe;
 
@@ -1738,6 +1743,10 @@ void rlcStopTmr  ARGS((RlcCb *gCb, PTR cb, uint8_t tmrType));
 
 bool rlcChkTmr ARGS((RlcCb *gCb,PTR cb, S16 tmrEvnt));
 
+void rlcThptTmrExpiry(PTR cb);
+
+uint8_t  rlcUeDeleteTmrExpiry(PTR cb);
+
 #ifdef LTE_L2_MEAS
 Void rlcLmmSendAlarm ARGS (( RlcCb *gCb,
                                    uint16_t category,