X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2F5gnrrlc%2Fkw_ul.x;h=f2e4e731a07e0ba40b9ba0629f8e17892ca7a5f0;hb=d75d1b078091768f45b83f2a745a25917e03b39d;hp=4474eb22db3e0e34a34bc4d1d5d637eb74db24a7;hpb=0a26c487f1b6bbb5217e47b15fa8273b2e749283;p=o-du%2Fl2.git diff --git a/src/5gnrrlc/kw_ul.x b/src/5gnrrlc/kw_ul.x index 4474eb22d..f2e4e731a 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 +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; /*!