X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2F5gnrrlc%2Fkw.x;fp=src%2F5gnrrlc%2Fkw.x;h=7e378b438aa5cc63ce804821e25309704c92fb17;hb=069f38324ca51afc183962404383802ae8a5553c;hp=b9ef809b0fe4ae09dcd4872e2c1da076fb08fe47;hpb=5007af25423493fbc002e30d847aa05d44bc180e;p=o-du%2Fl2.git diff --git a/src/5gnrrlc/kw.x b/src/5gnrrlc/kw.x index b9ef809b0..7e378b438 100755 --- a/src/5gnrrlc/kw.x +++ b/src/5gnrrlc/kw.x @@ -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 */