X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2F5gnrsch%2Frg_sch_sc1.x;h=30f22cfc2506e19ee782c84835748543db069718;hb=051044374d0ed16423e2ef98c70395fde934f0ce;hp=f60ab1029f3020e579e74cd3812de400c72e13db;hpb=3235ecfc7414aa0b72d0ad50db63ae8b5626045b;p=o-du%2Fl2.git diff --git a/src/5gnrsch/rg_sch_sc1.x b/src/5gnrsch/rg_sch_sc1.x index f60ab1029..30f22cfc2 100755 --- a/src/5gnrsch/rg_sch_sc1.x +++ b/src/5gnrsch/rg_sch_sc1.x @@ -74,7 +74,7 @@ typedef struct rgSc1UlUe CmLList txLnk; /* Lnk to one of Transmission Queues */ CmLList contResLnk; /* Lnk to one of Cont Res Queue */ Bool srRcvd; /* TRUE if SR reported is yet to be satisfied */ - U8 qId; /* Id of the Tx Q to which this UE belongs */ + uint8_t qId; /* Id of the Tx Q to which this UE belongs */ } RgSchSc1UlUe; /** @@ -85,14 +85,14 @@ typedef struct rgSc1DlUe { CmLList prioLnk; /*!< To link UE into priority queues */ CmLListCp gbrSvcs; /*!< List of GBR services */ - U8 prio; /*!< Current priority of UE for DL */ + uint8_t prio; /*!< Current priority of UE for DL */ CmLListCp ambrLst; /*!< To maintain services per priority for a UE */ RgSchDlLcCb *ambrSvc;/*!< Points to the current AMBR service */ - U32 ambr; /*!< UE's Remaining AMBR */ - U32 effAmbr; /*!< min(svc->bo, ambr)*/ + uint32_t ambr; /*!< UE's Remaining AMBR */ + uint32_t effAmbr; /*!< min(svc->bo, ambr)*/ CmLListCp schdSvcs; /*!< List of services for which allocation requested */ - U8 taReqBytes;/*!< Set to the Number of bytes Requested for TA + uint8_t taReqBytes;/*!< Set to the Number of bytes Requested for TA allocation */ CmLListCp retxHqProcs; /*!< List of RETX Hq Procs in suspension */ CmLListCp lcsWithData; /*!< List of services with non-zero effBo */ @@ -104,8 +104,8 @@ typedef struct rgSc1DlUe */ typedef struct rgSc1DlHqProc { CmLList retxLnkUe; /*!< To link retransmitting HARQ processes in ue */ - U8 cqi; /*!< CQI at which the allocation was made */ - U8 prio; /*!< Priority of the allocation */ + uint8_t cqi; /*!< CQI at which the allocation was made */ + uint8_t prio; /*!< Priority of the allocation */ }RgSchSc1DlHqProc; /** @@ -113,248 +113,248 @@ typedef struct rgSc1DlHqProc { * Downlink service information for SC1 scheduler per UE. */ typedef struct rgSc1DlSvc { - U32 gbr; /*!< Pending GBR to be satisfied */ - U32 mbr; /*!< Pending MBR to be satisfied */ - U32 bo; /*!< BO yet to be satisfied */ - U32 effGbr; /*!< GBR/BO, lower of the two */ - U32 effMbr; /*!< MBR/BO, lower of the two */ + uint32_t gbr; /*!< Pending GBR to be satisfied */ + uint32_t mbr; /*!< Pending MBR to be satisfied */ + uint32_t bo; /*!< BO yet to be satisfied */ + uint32_t effGbr; /*!< GBR/BO, lower of the two */ + uint32_t effMbr; /*!< MBR/BO, lower of the two */ CmLList gbrLnk; /*!< used to maintain svcs to be refreshed */ CmLList prioLnk; /*!< Used to queue up services on UE */ CmLList schdSvcLnk; /*!< Used to queue up services on UE * scheduled svcs list */ - U32 reqBytes; /*!< Set to number of bytes Req for Allocation */ - U16 hdrEstimate; /*!< RLC Hdr est computed during SVC allocn */ + uint32_t reqBytes; /*!< Set to number of bytes Req for Allocation */ + uint16_t hdrEstimate; /*!< RLC Hdr est computed during SVC allocn */ CmLList lcWithDataLnk;/*!< Used to maintain svc in ue's * lcsWithData List */ } RgSchSc1DlSvc; -EXTERN Void rgSCHSc1DlLcRmv ARGS(( +Void rgSCHSc1DlLcRmv ARGS(( RgSchCellCb *cell, RgSchUeCb *ue, RgSchDlLcCb *svc )); -EXTERN Void rgSCHSc1DlLcBoUpd ARGS(( +Void rgSCHSc1DlLcBoUpd ARGS(( RgSchCellCb *cell, RgSchUeCb *ue, RgSchDlLcCb *svc )); -EXTERN Void rgSCHSc1DlProcAddToCellRetx ARGS(( +Void rgSCHSc1DlProcAddToCellRetx ARGS(( RgSchCellCb *cell, RgSchDlHqProcCb *hqP )); -EXTERN Void rgSCHSc1DlAllocFnlz ARGS(( +Void rgSCHSc1DlAllocFnlz ARGS(( RgSchCellCb *cell, RgSchCmnDlRbAllocInfo *allocInfo )); -EXTERN Void rgSCHSc1UlAllocFnlz ARGS(( +Void rgSCHSc1UlAllocFnlz ARGS(( RgSchCellCb *cell, RgSchCmnUlRbAllocInfo *allocInfo )); -EXTERN Void rgSCHSc1UlCqiInd ARGS(( +Void rgSCHSc1UlCqiInd ARGS(( RgSchCellCb *cell, RgSchUeCb *ue, TfuUlCqiRpt *ulCqiInfo )); -EXTERN S16 rgSCHSc1UlLcgUpd ARGS(( +S16 rgSCHSc1UlLcgUpd ARGS(( RgSchCellCb *cell, RgSchUeCb *ue, RgInfUeDatInd *datInd )); -EXTERN Void rgSCHSc1DlCqiInd ARGS(( +Void rgSCHSc1DlCqiInd ARGS(( RgSchCellCb *cell, RgSchUeCb *ue, Bool isPucchInfo, Void *dlCqi )); -EXTERN Void rgSCHSc1UlUeRefresh ARGS(( +Void rgSCHSc1UlUeRefresh ARGS(( RgSchCellCb *cell, RgSchUeCb *ue )); -EXTERN Void rgSCHSc1UlUeReset ARGS(( +Void rgSCHSc1UlUeReset ARGS(( RgSchCellCb *cell, RgSchUeCb *ue )); -EXTERN Void rgSCHSc1DlUeRefresh ARGS(( +Void rgSCHSc1DlUeRefresh ARGS(( RgSchCellCb *cell, RgSchUeCb *ue )); -EXTERN Void rgSCHSc1DlHndlInActUes ARGS(( +Void rgSCHSc1DlHndlInActUes ARGS(( RgSchCellCb *cell, CmLListCp *inactvLst )); -EXTERN Void rgSCHSc1UlHndlInActUes ARGS(( +Void rgSCHSc1UlHndlInActUes ARGS(( RgSchCellCb *cell, CmLListCp *inactvLst )); -EXTERN Void rgSCHSc1UlActvtUe ARGS(( +Void rgSCHSc1UlActvtUe ARGS(( RgSchCellCb *cell, RgSchUeCb *ue )); -EXTERN Void rgSCHSc1DlActvtUe ARGS(( +Void rgSCHSc1DlActvtUe ARGS(( RgSchCellCb *cell, RgSchUeCb *ue )); -EXTERN Void rgSCHSc1DlInit ARGS(( +Void rgSCHSc1DlInit ARGS(( RgDlSchdApis *apis )); -EXTERN Void rgSCHSc1UlInit ARGS(( +Void rgSCHSc1UlInit ARGS(( RgUlSchdApis *apis )); -EXTERN S16 rgSCHSc1RgrUlCellCfg ARGS(( +S16 rgSCHSc1RgrUlCellCfg ARGS(( RgSchCellCb *cell, RgrCellCfg *cellCfg, RgSchErrInfo *err )); -EXTERN S16 rgSCHSc1RgrDlCellCfg ARGS(( +S16 rgSCHSc1RgrDlCellCfg ARGS(( RgSchCellCb *cell, RgrCellCfg *cellCfg, RgSchErrInfo *err )); -EXTERN Void rgSCHSc1UlCellDel ARGS(( +Void rgSCHSc1UlCellDel ARGS(( RgSchCellCb *cell )); -EXTERN Void rgSCHSc1DlCellDel ARGS(( +Void rgSCHSc1DlCellDel ARGS(( RgSchCellCb *cell )); -EXTERN S16 rgSCHSc1RgrUlUeCfg ARGS(( +S16 rgSCHSc1RgrUlUeCfg ARGS(( RgSchCellCb *cell, RgSchUeCb *ue, RgrUeCfg *ueCfg, RgSchErrInfo *err )); -EXTERN S16 rgSCHSc1RgrDlUeCfg ARGS(( +S16 rgSCHSc1RgrDlUeCfg ARGS(( RgSchCellCb *cell, RgSchUeCb *ue, RgrUeCfg *ueCfg, RgSchErrInfo *err )); -EXTERN S16 rgSCHSc1RgrUlUeRecfg ARGS(( +S16 rgSCHSc1RgrUlUeRecfg ARGS(( RgSchCellCb *cell, RgSchUeCb *ue, RgrUeRecfg *ueRecfg, RgSchErrInfo *err )); -EXTERN S16 rgSCHSc1RgrDlUeRecfg ARGS(( +S16 rgSCHSc1RgrDlUeRecfg ARGS(( RgSchCellCb *cell, RgSchUeCb *ue, RgrUeRecfg *ueRecfg, RgSchErrInfo *err )); -EXTERN Void rgSCHSc1UlUeDel ARGS(( +Void rgSCHSc1UlUeDel ARGS(( RgSchCellCb *cell, RgSchUeCb *ue )); -EXTERN Void rgSCHSc1DlUeDel ARGS(( +Void rgSCHSc1DlUeDel ARGS(( RgSchCellCb *cell, RgSchUeCb *ue )); -EXTERN S16 rgSCHSc1RgrLcCfg ARGS(( +S16 rgSCHSc1RgrLcCfg ARGS(( RgSchCellCb *cell, RgSchUeCb *ue, RgSchDlLcCb *dlLc, RgrLchCfg *lcCfg, RgSchErrInfo *err )); -EXTERN S16 rgSCHSc1RgrLcgCfg ARGS(( +S16 rgSCHSc1RgrLcgCfg ARGS(( RgSchCellCb *cell, RgSchUeCb *ue, RgSchLcgCb *lcg, RgrLcgCfg *lcgCfg, RgSchErrInfo *err )); -EXTERN S16 rgSCHSc1RgrLcRecfg ARGS(( +S16 rgSCHSc1RgrLcRecfg ARGS(( RgSchCellCb *cell, RgSchUeCb *ue, RgSchDlLcCb *dlLc, RgrLchRecfg *lcRecfg, RgSchErrInfo *err )); -EXTERN S16 rgSCHSc1RgrLcgRecfg ARGS(( +S16 rgSCHSc1RgrLcgRecfg ARGS(( RgSchCellCb *cell, RgSchUeCb *ue, RgSchLcgCb *lcg, RgrLcgRecfg *reCfg, RgSchErrInfo *err )); -EXTERN Void rgSCHSc1LcgDel ARGS(( +Void rgSCHSc1LcgDel ARGS(( RgSchCellCb *cell, RgSchUeCb *ue, RgSchLcgCb *lcg )); -EXTERN Void rgSCHSc1UpdBsrShort ARGS(( +Void rgSCHSc1UpdBsrShort ARGS(( RgSchCellCb *cell, RgSchUeCb *ue, RgSchLcgCb *lcg, -U8 bsr +uint8_t bsr )); -EXTERN Void rgSCHSc1UpdBsrTrunc ARGS(( +Void rgSCHSc1UpdBsrTrunc ARGS(( RgSchCellCb *cell, RgSchUeCb *ue, RgSchLcgCb *lcg, -U8 bsr +uint8_t bsr )); -EXTERN Void rgSCHSc1UpdBsrLong ARGS(( +Void rgSCHSc1UpdBsrLong ARGS(( RgSchCellCb *cell, RgSchUeCb *ue, -U8 bsArr[] +uint8_t bsArr[] )); -EXTERN Void rgSCHSc1ContResUlGrant ARGS(( +Void rgSCHSc1ContResUlGrant ARGS(( RgSchCellCb *cell, RgSchUeCb *ue )); -EXTERN Void rgSCHSc1SrRcvd ARGS(( +Void rgSCHSc1SrRcvd ARGS(( RgSchCellCb *cell, RgSchUeCb *ue )); -EXTERN Void rgSCHSc1UlSched ARGS(( +Void rgSCHSc1UlSched ARGS(( RgSchCellCb *cell, RgSchCmnUlRbAllocInfo *allocInfo )); -EXTERN Void rgSCHSc1DlSched ARGS(( +Void rgSCHSc1DlSched ARGS(( RgSchCellCb *cell, RgSchCmnDlRbAllocInfo *allocInfo )); -EXTERN S16 rgSCHSc1RgrUlCellRecfg ARGS(( +S16 rgSCHSc1RgrUlCellRecfg ARGS(( RgSchCellCb *cell, RgrCellRecfg *recfg, RgSchErrInfo *err )); -EXTERN Void rgSCHSc1DlUeReset ARGS(( +Void rgSCHSc1DlUeReset ARGS(( RgSchCellCb *cell, RgSchUeCb *ue )); -EXTERN S16 rgSCHSc1DlUeHqEntInit ARGS(( +S16 rgSCHSc1DlUeHqEntInit ARGS(( RgSchCellCb *cell, RgSchDlHqEnt *hqEnt )); -EXTERN S16 rgSCHSc1DlUeHqEntDeInit ARGS(( +S16 rgSCHSc1DlUeHqEntDeInit ARGS(( RgSchCellCb *cell, RgSchDlHqEnt *hqE )); -EXTERN S16 rgSCHSc1UlLchCfg ARGS(( +S16 rgSCHSc1UlLchCfg ARGS(( RgSchCellCb *cell, RgSchUeCb *ue, RgrLchCfg *cfg, RgSchErrInfo *err )); -EXTERN S16 rgSCHSc1UlLchRecfg ARGS(( +S16 rgSCHSc1UlLchRecfg ARGS(( RgSchCellCb *cell, RgSchUeCb *ue, RgrLchRecfg *recfg, RgSchErrInfo *err )); -EXTERN S16 rgSCHSc1UlLchDel ARGS(( +S16 rgSCHSc1UlLchDel ARGS(( RgSchCellCb *cell, RgSchUeCb *ue, CmLteLcId lcId, -U8 lcgId +uint8_t lcgId )); #ifdef __cplusplus }