X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2F5gnrrlc%2Fkw_ul.x;h=7367ee83375f9529003644c3c3e69b02bd94c190;hb=069f38324ca51afc183962404383802ae8a5553c;hp=2e1484a437b364fbc2855ba36b150f2be4933b61;hpb=2193e4cf01012809495be026097e8d7eacb9f0ac;p=o-du%2Fl2.git diff --git a/src/5gnrrlc/kw_ul.x b/src/5gnrrlc/kw_ul.x index 2e1484a43..7367ee833 100755 --- a/src/5gnrrlc/kw_ul.x +++ b/src/5gnrrlc/kw_ul.x @@ -18,12 +18,12 @@ /********************************************************************20** - Name: LTE RLC file for uplink and non real time tasks + Name: NR RLC file for uplink and non real time tasks Type: C include file Desc: This file contains all the data structures and - prototypes for LTE RLC in the uplink. + prototypes for RLC in the uplink. File: kw_ul.x @@ -42,8 +42,26 @@ extern "C" { typedef struct rlcUlUeCb RlcUlUeCb; -/** @defgroup um_uplink UM Uplink Module +/** + * @brief Structure to hold a RLC UM PDU segment + * + * @details + * - lstEnt : This is required for the linked list in which the segments + * are stored + * - seg : Holds the segment data + * - segSz : The length of the segment in bytes + * - soEnd : SOEnd + * - umHdr : The UM Header for the PDU segment + * */ +typedef struct rlcUmSeg +{ + CmLList lstEnt; /*!< List entry for PDU segment */ + Buffer *seg; /*!< PDU segment */ + MsgLen segSz; /*!< Buffer Size */ + uint16_t soEnd; /*!< Segment Offset End */ + RlcUmHdr umHdr; /*!*/ #endif /* LTE_L2_MEAS */ CmLteRlcId rlcId; /**< RLC Identifier */ RlcLchInfo lch; /**< Logical Channel Info */ CmLteRlcMode mode; /**< Entity Mode */ - U8 dir; /**< Direction for UL/DL */ + uint8_t dir; /**< Direction for UL/DL */ Inst inst; /**< Tapa where Rb created Instance id */ SpId k1wuSapId; /**< KWU sap Id, to get the KwuSapCb */ SpId udxSapId; /**< KWU sap Id, to get the KwuSapCb */ - U32 transId; /**< Transaction Id for RLC */ + uint32_t transId; /**< Transaction Id for RLC */ union { RlcUmUl umUl; /**< UM mode Ul elements */ @@ -291,8 +319,8 @@ struct rlcUlUeCb RlcUlLch lCh[RLC_MAX_LCH_PER_UE]; /**< Logical channels of an UE*/ /* kw005.201 added support for L2 Measurement */ #ifdef LTE_L2_MEAS - U32 firstPacketTTI; /*!< is first packet of the burst */ - U16 numActRb[LKW_MAX_QCI]; /**< number of RBs Active */ + uint32_t firstPacketTTI; /*!< is first packet of the burst */ + uint16_t numActRb[LKW_MAX_QCI]; /**< number of RBs Active */ Bool isUlBurstActive; /*!