X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2F5gnrrlc%2Fkw_ul.x;h=daed3ed2d449e766a2dd29e5db3dffb4712935fb;hb=refs%2Fchanges%2F91%2F5391%2F11;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..daed3ed2d 100755 --- a/src/5gnrrlc/kw_ul.x +++ b/src/5gnrrlc/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 +318,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; /*!