DL throughput calculation for UM [Issue-ID: ODUHIGH-319]
[o-du/l2.git] / src / 5gnrrlc / kw.x
index 7c6f62b..1c7feae 100755 (executable)
@@ -578,6 +578,23 @@ typedef struct rlcUlCb
 #endif /* LTE_L2_MEAS */
 }RlcUlCb;
 
+typedef struct rlcThptPerUe
+{
+   uint16_t ueIdx;
+   uint64_t dataVol;
+}RlcThptPerUe;
+
+/**
+ * @brief  Structure to hold information about throughput at  RLC
+ * 
+ */
+typedef struct rlcThpt
+{
+   Inst          inst;                      /* RLC instance */
+   CmTimer       thptTmr;                   /* Throughput Timer */
+   uint8_t       numActvUe;                 /* Number of Active UEs */
+   RlcThptPerUe  thptPerUe[MAX_NUM_UE];     /* Throughput calculated per UE */
+}RlcThpt;
 
 /** 
  * @brief  Structure to hold an information about a RLC instance
@@ -609,6 +626,7 @@ typedef struct rlcCb
       RlcDlCb   *dlCb;   /*!< Dl Control Block */
    } u;
    uint8_t    dlSduId;   /*!< Downlink SDU ID */
+   RlcThpt    rlcThpt;   /*!< Throughput at RLC*/
 }RlcCb;
 
 RlcCb *rlcCb[MAX_RLC_INSTANCES];   /*!< RLC global control block */