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=e197f61d2b4298acb6aafe5cc011199227bd7b4d;hpb=5625a52ad68f6ad93684e68bbbdbaef0d462cf9a;p=o-du%2Fl2.git diff --git a/src/5gnrrlc/kw_ul.x b/src/5gnrrlc/kw_ul.x index e197f61d2..daed3ed2d 100755 --- a/src/5gnrrlc/kw_ul.x +++ b/src/5gnrrlc/kw_ul.x @@ -40,10 +40,28 @@ extern "C" { #endif /* __cplusplus */ -typedef struct kwUlUeCb KwUlUeCb; +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 */ - KwLchInfo lch; /**< Logical Channel Info */ + 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 kwuSapId; /**< KWU sap Id, to get the KwuSapCb */ + 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 { - KwUmUl umUl; /**< UM mode Ul elements */ - KwAmUl amUl; /**< AM mode uplink elements */ + RlcUmUl umUl; /**< UM mode Ul elements */ + RlcAmUl amUl; /**< AM mode uplink elements */ }m; /**< RLC mode specific Info */ -}KwUlRbCb; +}RlcUlRbCb; /** * @brief Structure to hold mapping between logical channel and Radio Bearer @@ -245,10 +272,10 @@ typedef struct _kwUlRbCb * @details * - ulRbCb : Pointer to the uplink Radio Bearer */ -typedef struct kwUlLch +typedef struct rlcUlLch { - KwUlRbCb *ulRbCb; /**< Pointer to Uplink RbCb */ -}KwUlLch; + RlcUlRbCb *ulRbCb; /**< Pointer to Uplink RbCb */ +}RlcUlLch; /** * @brief Structure to hold uplink information about the Cells @@ -261,14 +288,14 @@ typedef struct kwUlLch * - lCh : Logical Channels in the cell * - selfPstUl : Pst structure for sending messages to self */ -typedef struct kwUlCellCb +typedef struct rlcUlCellCb { CmHashListEnt cellHlEnt; /**< Hash list entry for CellCb */ CmLteCellId cellId; /**< Cell Id */ - KwUlRbCb *rbCb[KW_MAX_RB_PER_CELL]; /**< RbCbs within a Cell */ - KwUlLch lCh[KW_MAX_LCH_PER_CELL]; /**< Logical channels in a cell */ + RlcUlRbCb *rbCb[RLC_MAX_RB_PER_CELL]; /**< RbCbs within a Cell */ + RlcUlLch lCh[RLC_MAX_LCH_PER_CELL]; /**< Logical channels in a cell */ Pst selfPstUl; -}KwUlCellCb; +}RlcUlCellCb; /** * @brief Structure to hold uplink information about the UEs @@ -281,18 +308,18 @@ typedef struct kwUlCellCb * - drbCb : Data Radio Bearers configured for the UE * - lCh : Logical Channels in the UE */ -struct kwUlUeCb +struct rlcUlUeCb { CmHashListEnt ueHlEnt; /**< Hash list entry for UeCb */ CmLteRnti ueId; /*!< UE Id */ CmLteCellId cellId; /*!< Cell Id */ - KwUlRbCb *srbCb[KW_MAX_SRB_PER_UE]; /**< SRB RbCbs within an UE */ - KwUlRbCb *drbCb[KW_MAX_DRB_PER_UE]; /**< DRB RbCbs within an UE */ - KwUlLch lCh[KW_MAX_LCH_PER_UE]; /**< Logical channels of an UE*/ + RlcUlRbCb *srbCb[RLC_MAX_SRB_PER_UE]; /**< SRB RbCbs within an UE */ + RlcUlRbCb *drbCb[RLC_MAX_DRB_PER_UE]; /**< DRB RbCbs within an UE */ + 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; /*!