X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2F5gnrsch%2Frg_sch.x;h=22ea66f26b368d662f27e9b36cc6cb9e3329cdcb;hb=def50dc175cebc67238db5f1acd5ff322a2279bd;hp=0598e716b0785394c34ec44f9116edf4cf25cdf5;hpb=1616921700a3c7541f1df6dd2678f9ee4d8e933b;p=o-du%2Fl2.git diff --git a/src/5gnrsch/rg_sch.x b/src/5gnrsch/rg_sch.x index 0598e716b..22ea66f26 100755 --- a/src/5gnrsch/rg_sch.x +++ b/src/5gnrsch/rg_sch.x @@ -49,13 +49,13 @@ typedef struct rgSchHistNode { - U32 line; + uint32_t line; S8* file; const S8* func; Void * dbgVal; /* This is specific to the data struct being debug for example if the debugging is done fo list then this should contain the node address */ - U32 action; + uint32_t action; }RgSchHistNode; #define MAX_HIST_NODES 50 @@ -65,7 +65,7 @@ typedef struct rgSchHistNode typedef struct rgSchHistInfo { - U32 histCount; + uint32_t histCount; RgSchHistNode hist[MAX_HIST_NODES]; }RgSchHistInfo; @@ -116,7 +116,7 @@ typedef struct rgSchDlLcCb RgSchDlLcCb; typedef struct _rgSchdApis RgSchdApis; #ifdef LTE_TDD typedef struct rgSchTddPhichOffInfo RgSchTddPhichOffInfo; -typedef U8 RgSchTddNpValTbl[RGSCH_TDD_MAX_P_PLUS_ONE_VAL]; +typedef uint8_t RgSchTddNpValTbl[RGSCH_TDD_MAX_P_PLUS_ONE_VAL]; #endif /* Added support for SPS*/ #ifdef LTEMAC_SPS @@ -152,16 +152,16 @@ struct _rgSchdApis Void (*rgSCHFreeDlLc) ARGS((RgSchCellCb *cell, RgSchUeCb *ue, RgSchDlLcCb *dlLc)); Void (*rgSCHFreeLcg) ARGS((RgSchCellCb *cell, RgSchUeCb *ue, RgSchLcgCb *lcg)); S16 (*rgSCHRgrLchDel) ARGS((RgSchCellCb *cell, RgSchUeCb *ue,CmLteLcId lcId, \ - U8 lcgId)); + uint8_t lcgId)); Void (*rgSCHActvtUlUe) ARGS((RgSchCellCb *cell, RgSchUeCb *ue)); Void (*rgSCHActvtDlUe) ARGS((RgSchCellCb *cell, RgSchUeCb *ue)); Void (*rgSCHHdlUlTransInd) ARGS((RgSchCellCb *cell, RgSchUeCb *ue, CmLteTimingInfo timingInfo)); Void (*rgSCHUeReset) ARGS((RgSchCellCb *cell, RgSchUeCb *ue)); - S16 (*rgSCHUpdBsrShort) ARGS((RgSchCellCb *cell, RgSchUeCb *ue, RgSchLcgCb *ulLcg, U8 bsr, RgSchErrInfo *err)); - S16 (*rgSCHUpdBsrTrunc) ARGS((RgSchCellCb *cell, RgSchUeCb *ue, RgSchLcgCb *ulLcg, U8 bsr, RgSchErrInfo *err)); - S16 (*rgSCHUpdBsrLong) ARGS((RgSchCellCb *cell, RgSchUeCb *ue, U8 bsArr[], RgSchErrInfo *err)); - S16 (*rgSCHUpdPhr) ARGS((RgSchCellCb *cell, RgSchUeCb *ue, U8 phr, RgSchErrInfo *err)); + S16 (*rgSCHUpdBsrShort) ARGS((RgSchCellCb *cell, RgSchUeCb *ue, RgSchLcgCb *ulLcg, uint8_t bsr, RgSchErrInfo *err)); + S16 (*rgSCHUpdBsrTrunc) ARGS((RgSchCellCb *cell, RgSchUeCb *ue, RgSchLcgCb *ulLcg, uint8_t bsr, RgSchErrInfo *err)); + S16 (*rgSCHUpdBsrLong) ARGS((RgSchCellCb *cell, RgSchUeCb *ue, uint8_t bsArr[], RgSchErrInfo *err)); + S16 (*rgSCHUpdPhr) ARGS((RgSchCellCb *cell, RgSchUeCb *ue, uint8_t phr, RgSchErrInfo *err)); S16 (*rgSCHUpdExtPhr) ARGS((RgSchCellCb *cell, RgSchUeCb *ue, RgInfExtPhrCEInfo * extPhr, RgSchErrInfo *err)); #ifdef RG_UNUSED S16 (*rgSCHUpdUlHqProc) ARGS((RgSchCellCb *cell, RgSchUlHqProcCb *curProc, @@ -183,9 +183,9 @@ struct _rgSchdApis RgSchUlAlloc *(*rgSCHFirstRcptnReq) ARGS((RgSchCellCb *cell)); RgSchUlAlloc *(*rgSCHNextRcptnReq) ARGS((RgSchCellCb *cell, RgSchUlAlloc *alloc)); - RgSchUlAlloc *(*rgSCHFirstHqFdbkAlloc) ARGS((RgSchCellCb *cell, U8 idx)); + RgSchUlAlloc *(*rgSCHFirstHqFdbkAlloc) ARGS((RgSchCellCb *cell, uint8_t idx)); RgSchUlAlloc *(*rgSCHNextHqFdbkAlloc) ARGS((RgSchCellCb *cell, - RgSchUlAlloc *alloc,U8 idx)); + RgSchUlAlloc *alloc,uint8_t idx)); Void (*rgSCHDlProcAddToRetx) ARGS((RgSchCellCb *cell,RgSchDlHqProcCb *hqP)); Void (*rgSCHDlCqiInd) ARGS((RgSchCellCb *cell, RgSchUeCb *ue, Bool isPucchInfo, Void *dlCqi, CmLteTimingInfo timingInfo)); @@ -205,12 +205,12 @@ Void (*rgSCHSrsInd) ARGS((RgSchCellCb *cell, RgSchUeCb *ue, Void (*rgSCHDlProcAck) ARGS((RgSchCellCb *cell, RgSchDlHqProcCb *hqP)); Void (*rgSCHDlProcDtx) ARGS((RgSchCellCb *cell, RgSchDlHqProcCb *hqP)); Void (*rgSCHDlRelPdcchFbk) ARGS((RgSchCellCb *cell, RgSchUeCb * ue, - U8 isAck)); + uint8_t isAck)); Void (*rgSCHUlSpsRelInd) ARGS((RgSchCellCb *cell, RgSchUeCb * ue, Bool isExplRel)); Void (*rgSCHUlSpsActInd) ARGS((RgSchCellCb *cell, RgSchUeCb * ue, - U16 sduSuze)); + uint16_t sduSuze)); Void (*rgSCHUlCrcFailInd) ARGS((RgSchCellCb *cell, RgSchUeCb * ue, CmLteTimingInfo crcTime)); @@ -297,14 +297,14 @@ typedef RgrUeSrSetupCfg RgSchUeSrSetupCfg; */ typedef struct rgSchIotRes { - U32 resType; + uint32_t resType; PTR allctdBy; CmLteTimingInfo timeStart; CmLteTimingInfo timeEnd; - U32 tSize; - U8 freqStart; - U8 freqEnd; - U32 fSize; + uint32_t tSize; + uint8_t freqStart; + uint8_t freqEnd; + uint32_t fSize; CmLList lnk; /*!< Link to other Fragments or Allocs in resMngmt */ CmLList cbLnk; /*!< Link to other allocs in a given control block (ueCb) */ CmLList resLnk;/*! 1*/ - U32 aCqiTrigWt; /* Metric to track Aperiodic CQI Trigger occassion */ + uint8_t N; /*Total Bandwidth / Num of Subbands*/ + uint8_t M; /*Number of Selected Subbands*/ + uint8_t riNumBits; + uint8_t k; /*k - SB size. 36.213 Tables:7.2.1-3, 7.2.1-5*/ + uint8_t cqiPmiSzR1; /*CQIPMI Size for Rank =1*/ + uint8_t cqiPmiSzRn1; /*CQIPMI Size for Rank > 1*/ + uint32_t aCqiTrigWt; /* Metric to track Aperiodic CQI Trigger occassion */ RgSchCqiReqField cqiReqField; /* Cqi Request field. This Value can be 00 01 10 11, based upon the cell present in which trigger list form App */ }RgSchUeACqiCb; @@ -747,9 +747,9 @@ typedef enum /*ccpu00116923 - ADD - SRS present support*/ #ifdef LTE_TDD -typedef U8 RgSchTddCellSpSrsSubfrmTbl[RGSCH_CELLSP_SRS_SF_CONFIGS][RGSCH_NUM_SUB_FRAMES]; +typedef uint8_t RgSchTddCellSpSrsSubfrmTbl[RGSCH_CELLSP_SRS_SF_CONFIGS][RGSCH_NUM_SUB_FRAMES]; #else -typedef U8 RgSchFddCellSpSrsSubfrmTbl[RGSCH_CELLSP_SRS_SF_CONFIGS][RGSCH_NUM_SUB_FRAMES]; +typedef uint8_t RgSchFddCellSpSrsSubfrmTbl[RGSCH_CELLSP_SRS_SF_CONFIGS][RGSCH_NUM_SUB_FRAMES]; #endif @@ -786,10 +786,10 @@ typedef struct rgSchUePucchRecpInfo */ typedef struct rgSchTddSubfrmInfo { - U8 switchPoints; /*!< Number of DL-UL switch points */ - U8 numFrmHf1; /*!< Number of subframes for half frame 1 + uint8_t switchPoints; /*!< Number of DL-UL switch points */ + uint8_t numFrmHf1; /*!< Number of subframes for half frame 1 Present for both 5ms and 10ms periodicity */ - U8 numFrmHf2; /*!< Number of subframes for half frame 2 + uint8_t numFrmHf2; /*!< Number of subframes for half frame 2 Present only for 5ms periodicity */ } RgSchTddSubfrmInfo; @@ -799,24 +799,24 @@ typedef struct rgSchTddSubfrmInfo */ typedef struct rgSchTddDlAscSetIdxK { - U8 numFdbkSubfrms; /*!< Number of Feedbacks for DL Subframes */ - U8 subfrmNum[RGSCH_NUM_SUB_FRAMES-1]; /*!< List of Subframe Number */ + uint8_t numFdbkSubfrms; /*!< Number of Feedbacks for DL Subframes */ + uint8_t subfrmNum[RGSCH_NUM_SUB_FRAMES-1]; /*!< List of Subframe Number */ } RgSchTddDlAscSetIdxK; /** @brief PRACH Information for a frequency resource. */ typedef struct rgrSchTddPrachInfo { - U8 freqIdx; /*!< Frequency Index */ - U8 sfn; /*!< Even/Odd/All Radio Frames */ - U8 halfFrm; /*!< First/Second Half Frame */ - U8 ulStartSfIdx; /*!< Uplink Start Subframe Index*/ + uint8_t freqIdx; /*!< Frequency Index */ + uint8_t sfn; /*!< Even/Odd/All Radio Frames */ + uint8_t halfFrm; /*!< First/Second Half Frame */ + uint8_t ulStartSfIdx; /*!< Uplink Start Subframe Index*/ } RgSchTddPrachInfo; /** @brief PRACH resource Information for each of the * frequency resources. */ typedef struct rgrSchTddPrachRscInfo { - U8 numRsc; /*!< Number of frequency resources*/ + uint8_t numRsc; /*!< Number of frequency resources*/ RgSchTddPrachInfo prachInfo[RGSCH_TDD_MAX_FREQ_RSRC]; /*!< PRACH Information */ } RgSchTddPrachRscInfo; @@ -826,12 +826,12 @@ typedef struct rgrSchTddPrachRscInfo */ struct rgSchTddSplSubfrmInfo { - U8 norDlDwPts; /*!< DL Normal CP: DwPTS in Ts */ - U8 norDlNorUpPts; /*!< DL Normal CP: UL Normal CP:UpPTS in Ts */ - U8 norDlExtUpPts; /*!< DL Normal CP: UL Extended CP: UpPTS in Ts */ - U8 extDlDwPts; /*!< DL Extended CP: DwPTS in Ts */ - U8 extDlNorUpPts; /*!< DL Extended CP: UL Normal CP:UpPTS in Ts */ - U8 extDlExtUpPts; /*!< DL Extended CP: UL Extended CP: UpPTS in Ts */ + uint8_t norDlDwPts; /*!< DL Normal CP: DwPTS in Ts */ + uint8_t norDlNorUpPts; /*!< DL Normal CP: UL Normal CP:UpPTS in Ts */ + uint8_t norDlExtUpPts; /*!< DL Normal CP: UL Extended CP: UpPTS in Ts */ + uint8_t extDlDwPts; /*!< DL Extended CP: DwPTS in Ts */ + uint8_t extDlNorUpPts; /*!< DL Extended CP: UL Normal CP:UpPTS in Ts */ + uint8_t extDlExtUpPts; /*!< DL Extended CP: UL Extended CP: UpPTS in Ts */ }; /** @@ -841,11 +841,11 @@ struct rgSchTddSplSubfrmInfo */ typedef struct rgSchTddRachRspInfo { - U8 sfnOffset; /*!< SFN offset with respect to + uint8_t sfnOffset; /*!< SFN offset with respect to expected RACH available for scheduling */ - U8 numSubfrms; /* Number of subframes present */ - U8 subframe[RGSCH_NUM_SUB_FRAMES]; /*!< List of Subframe numbers */ + uint8_t numSubfrms; /* Number of subframes present */ + uint8_t subframe[RGSCH_NUM_SUB_FRAMES]; /*!< List of Subframe numbers */ } RgSchTddRachRspInfo; typedef RgSchTddRachRspInfo RgSchTddRachDelInfo; @@ -857,7 +857,7 @@ typedef RgSchTddRachRspInfo RgSchTddRachDelInfo; */ typedef struct rgSchTddRachRspLst { - U8 numRadiofrms; /*!< Number of radio frames */ + uint8_t numRadiofrms; /*!< Number of radio frames */ RgSchTddRachRspInfo rachRsp[2]; /*!< RACH Occasions for which response can be sent */ RgSchTddRachDelInfo delInfo; /*!< Previous RACH responses for @@ -873,8 +873,8 @@ typedef struct rgSchTddRachRspLst */ typedef struct rgSchTddUlAscInfo { - U8 subframe; /*!< Subframe number */ - U8 sfnOffset; /*!< SFN offset with respect to expected + uint8_t subframe; /*!< Subframe number */ + uint8_t sfnOffset; /*!< SFN offset with respect to expected UL data reception time */ } RgSchTddUlAscInfo; @@ -885,8 +885,8 @@ typedef struct rgSchTddUlAscInfo */ typedef struct rgSchTddPuschOffInfo { - U8 subframe; /*!< Subframe number */ - U8 sfnOffset; /*!< SFN offset with respect to expected + uint8_t subframe; /*!< Subframe number */ + uint8_t sfnOffset; /*!< SFN offset with respect to expected UL data reception time */ } RgSchTddPuschOffInfo; @@ -897,11 +897,11 @@ typedef struct rgSchTddPuschOffInfo */ struct rgSchTddPhichOffInfo { - U8 numSubfrms; /*!< Number of subframes */ + uint8_t numSubfrms; /*!< Number of subframes */ /* ACC-TDD */ - U8 subframe; /*!< The Uplink Subframe number corresponding + uint8_t subframe; /*!< The Uplink Subframe number corresponding to the phich */ - U8 sfnOffset; /*!< SFN offset with respect to expected + uint8_t sfnOffset; /*!< SFN offset with respect to expected UL data reception time */ }; @@ -912,10 +912,10 @@ struct rgSchTddPhichOffInfo */ typedef struct rgSchTddDlFdbkInfo { - U8 subframe; /*!< Subframe number */ - U8 sfnOffset; /*!< SFN offset with respect to current + uint8_t subframe; /*!< Subframe number */ + uint8_t sfnOffset; /*!< SFN offset with respect to current scheduled time */ - U8 m; /*!< m factor used in Downlink Association + uint8_t m; /*!< m factor used in Downlink Association Set Index */ #ifdef LTE_ADV /*Naw:: This is not correct */ CmLListCp n1PucchResLst; /*!< List for storing the used N1 resource */ @@ -929,8 +929,8 @@ typedef struct rgSchTddDlFdbkInfo */ typedef struct rgSchTddSplSubfrmCfg { - U16 dwPts; /*!< DwPTS in OFDM Symbol Duration */ - U16 upPts; /*!< UpPTS in OFDM Symbol Duration */ + uint16_t dwPts; /*!< DwPTS in OFDM Symbol Duration */ + uint16_t upPts; /*!< UpPTS in OFDM Symbol Duration */ Bool isDlDataAllowed; /*!< To allow scheduling of DL data on special subframe */ } RgSchTddSplSubfrmCfg; @@ -941,16 +941,16 @@ typedef struct rgSchTddSplSubfrmCfg */ typedef struct rgSchTddANInfo { - U16 sfn; /*!< ACK/NACK is sent for PDU in this SFN */ - U8 subframe; /*!< ACK/NACK is sent for PDU in this subframe */ - U8 dlDai; /*!< Downlink Assignment Index for + uint16_t sfn; /*!< ACK/NACK is sent for PDU in this SFN */ + uint8_t subframe; /*!< ACK/NACK is sent for PDU in this subframe */ + uint8_t dlDai; /*!< Downlink Assignment Index for UL-DL Configuration 1-6 */ - U8 ulDai; /*!< DAI for uplink */ - U8 latestMIdx; /*!< Last transmitted DL subframe 'm' index */ - U8 n1ResTpcIdx; /*!< N1 Res idx for scell assigned in TPC command */ + uint8_t ulDai; /*!< DAI for uplink */ + uint8_t latestMIdx; /*!< Last transmitted DL subframe 'm' index */ + uint8_t n1ResTpcIdx; /*!< N1 Res idx for scell assigned in TPC command */ Bool isSpsOccasion; /*!< To indicate the presence of SPS occasion */ #ifdef LTE_ADV - U8 wUlDai; /*!< Max Ul dai in all the cells */ + uint8_t wUlDai; /*!< Max Ul dai in all the cells */ #endif } RgSchTddANInfo; #endif @@ -961,31 +961,31 @@ typedef struct rgSchTddANInfo */ typedef struct rgSchUlIMcsInfo { - U8 qm; - U8 iTbs; + uint8_t qm; + uint8_t iTbs; } RgSchUlIMcsTbl[29]; EXTERN RgSchUlIMcsTbl rgUlIMcsTbl; typedef struct rgSchUeCatTbl { - U32 maxUlBits;/*Maximum number of + uint32_t maxUlBits;/*Maximum number of bits of an UL-SCH transport block transmitted within a TTI*/ - U32 maxDlBits[4];/*Maximum number of + uint32_t maxDlBits[4];/*Maximum number of bits of a DLSCH transport block received within a TTI*/ /* correcting DL harq softbuffer limitation logic */ - U32 maxSftChBits;/*Total number of soft channel bits*/ + uint32_t maxSftChBits;/*Total number of soft channel bits*/ Bool ul64qamSup;/*Support for 64QAM in UL*/ /* Changes for MIMO feature addition */ /* Removed dependency on MIMO compile-time flag */ - U32 maxDlTbBits;/*Maximum number of DL-SCH + uint32_t maxDlTbBits;/*Maximum number of DL-SCH transport block bits received within a TTI*/ - U8 maxTxLyrs;/*Maximum number of supported + uint8_t maxTxLyrs;/*Maximum number of supported layers for spatial multiplexing in DL*/ } RgSchUeCatTbl[CM_MAX_UE_CAT_SUPP + 1]; @@ -993,22 +993,22 @@ EXTERN RgSchUeCatTbl rgUeCatTbl; /* Changes for MIMO feature addition */ /* Removed dependency on MIMO compile-time flag */ -typedef U32 RgSchTbSzTbl[RGSCH_MAX_NUM_LYR_PERCW][RGSCH_NUM_ITBS][RGSCH_MAX_NUM_RB]; +typedef uint32_t RgSchTbSzTbl[RGSCH_MAX_NUM_LYR_PERCW][RGSCH_NUM_ITBS][RGSCH_MAX_NUM_RB]; #ifdef LTE_TDD -typedef U8 RgSchRaPrmblToRaFrmTbl[RGSCH_MAX_TDD_RA_PREAMBLE_FMT+1]; +typedef uint8_t RgSchRaPrmblToRaFrmTbl[RGSCH_MAX_TDD_RA_PREAMBLE_FMT+1]; #else /* Added matrix 'rgRaPrmblToRaFrmTbl' for computation of RA sub-frames from preamble format */ -typedef U8 RgSchRaPrmblToRaFrmTbl[RGSCH_MAX_RA_PREAMBLE_FMT+1]; +typedef uint8_t RgSchRaPrmblToRaFrmTbl[RGSCH_MAX_RA_PREAMBLE_FMT+1]; #endif EXTERN RgSchRaPrmblToRaFrmTbl rgRaPrmblToRaFrmTbl; -EXTERN U8 rgRvTable[4]; +EXTERN uint8_t rgRvTable[4]; typedef struct rgDciFmt { - U8 dciType; + uint8_t dciType; union { RgDciFmt1AInfo dci1a; @@ -1026,12 +1026,12 @@ typedef enum rgSchPdcchSearchSpace * Information about one PDCCH. */ typedef struct rgSchPdcch { - U8 nCce; /*!< CCE index */ + uint8_t nCce; /*!< CCE index */ CmLteAggrLvl aggrLvl; /*!< Aggregation level */ TfuDciInfo dci; /*!< PDCCH format */ - U16 rnti; /*!< RNTI to who the PDCCH is allocated */ + uint16_t rnti; /*!< RNTI to who the PDCCH is allocated */ #if (defined (LTE_TDD)) - U8 dlDai; /*!< DAI associated with this PDCCH. + uint8_t dlDai; /*!< DAI associated with this PDCCH. THis is used for F1BCS resource calulcation */ #endif /* Added support for SPS*/ @@ -1039,7 +1039,7 @@ typedef struct rgSchPdcch { CmLteTimingInfo relFbkTiming; /*!< Feebback timing information for release PDCCH */ Bool isSpsRnti; /*!< TRUE if rnti is SPS RNTI */ - U16 crnti; /*!< CRNTI to who the PDCCH is allocated */ + uint16_t crnti; /*!< CRNTI to who the PDCCH is allocated */ #endif CmLList lnk; /*!< To link PDCCHs in a subframe */ #ifdef EMTC_ENABLE @@ -1047,7 +1047,7 @@ typedef struct rgSchPdcch { #endif RgSchUeCb *ue; /*!< Pointer to the UE Control Block */ RgSchPdcchSearchSpace pdcchSearchSpace; /*!< Search Space from this PDCCH allocated */ - U8 dciNumOfBits; /*!< Size of DCI in bits */ + uint8_t dciNumOfBits; /*!< Size of DCI in bits */ } RgSchPdcch; /** @@ -1055,22 +1055,22 @@ typedef struct rgSchPdcch { * PDCCH information for cell. */ typedef struct rgSchPdcchInfo { - U8 *map; /*!< Bit map of PDCCHs */ - U8 currCfi; /*!< Number of CCEs */ - U16 nCce; /*!< Total CCEs */ + uint8_t *map; /*!< Bit map of PDCCHs */ + uint8_t currCfi; /*!< Number of CCEs */ + uint16_t nCce; /*!< Total CCEs */ CmLListCp pdcchs; /*!< List of RgSchPdcch */ } RgSchPdcchInfo; typedef struct rgSchPhich { CmLList lnk; /*!< To link PHICHs in a subframe */ - U8 hqFeedBack; /*!< Harq Feed Back */ - U8 rbStart; /*!< Starting RB */ - U8 nDmrs; /*!< 3 bits for DMRS cyclic shift */ + uint8_t hqFeedBack; /*!< Harq Feed Back */ + uint8_t rbStart; /*!< Starting RB */ + uint8_t nDmrs; /*!< 3 bits for DMRS cyclic shift */ /* changes for passing iphich at TFU;*/ Bool isForMsg3; /*! < Phich Ack/Nack conveyed for MSG 3 */ #ifdef LTE_TDD - U8 iPhich; /*!< For determining phich group */ + uint8_t iPhich; /*!< For determining phich group */ #endif } RgSchPhich; @@ -1083,21 +1083,21 @@ typedef struct rgSchBcchTb { RgSchPdcch *pdcch; Buffer *tb; - U16 tbSize; + uint16_t tbSize; } RgSchBcchTb; typedef struct rgSchPcchTb { RgSchPdcch *pdcch; Buffer *tb; - U16 tbSize; + uint16_t tbSize; } RgSchPcchTb; typedef struct rgSchRaRspAlloc { - U16 raRnti; - U32 tbSz; - TknU8 backOffInd; /*!< Backoff index value */ + uint16_t raRnti; + uint32_t tbSz; + TknUInt8 backOffInd; /*!< Backoff index value */ CmLListCp raRspLst; /*!< List of RaCbs */ CmLListCp contFreeUeLst; /*! List of HandOver or PdcchOrder UEs */ RgSchPdcch *pdcch; /*!< NULLP if no Rsp allocation done for raRnti*/ @@ -1106,7 +1106,7 @@ typedef struct rgSchRaRspAlloc typedef struct rgSchBchTb { Buffer *tb; /*!< BCH data for this frame */ - U16 tbSize; /*!< Non-Zero if bch data is scheduled for this SF */ + uint16_t tbSize; /*!< Non-Zero if bch data is scheduled for this SF */ }RgSchBchTb; /* Added support for SPS*/ @@ -1116,13 +1116,13 @@ typedef struct rgSchBchTb @brief Downlink Resource allocation type information. */ struct rgSchDlSfAllocInfo { - U32 raType0Mask; /*!< RBG allocation mask for type 0*/ - U32 raType1Mask[RG_SCH_NUM_RATYPE1_32BIT_MASK]; /*!< RA Type 1 + uint32_t raType0Mask; /*!< RBG allocation mask for type 0*/ + uint32_t raType1Mask[RG_SCH_NUM_RATYPE1_32BIT_MASK]; /*!< RA Type 1 allocation mask */ - U32 raType1UsedRbs[RG_SCH_NUM_RATYPE1_32BIT_MASK];/*!< RA Type 1 Used RBs + uint32_t raType1UsedRbs[RG_SCH_NUM_RATYPE1_32BIT_MASK];/*!< RA Type 1 Used RBs per subset */ - U32 nxtRbgSubset; /*!< Next RBG subset to be used for allocation */ - U32 raType2Mask[RG_SCH_NUM_RATYPE2_32BIT_MASK]; + uint32_t nxtRbgSubset; /*!< Next RBG subset to be used for allocation */ + uint32_t raType2Mask[RG_SCH_NUM_RATYPE2_32BIT_MASK]; /*!< Mask for resource allocation type 2 */ }; #endif /* LTEMAC_SPS */ @@ -1132,8 +1132,8 @@ struct rgSchDlSfAllocInfo @brief RGR RB range for SFR */ typedef struct rgrPwrHiCCRange { - U8 startRb; /*ueLst */ @@ -2530,8 +2530,8 @@ typedef struct rgSchDlHqInfo typedef struct rgUeMeasGapCfg { Bool isMesGapEnabled; /*!< Is Measuremnet gap enabled or disabled */ - U8 gapPrd; /*!< Gap period 40ms/80ms */ - U8 gapOffst; /*!< Gap offset - Vaue is 0 to 1*/ + uint8_t gapPrd; /*!< Gap period 40ms/80ms */ + uint8_t gapOffst; /*!< Gap offset - Vaue is 0 to 1*/ } RgUeMeasGapCfg; /** @@ -2539,9 +2539,9 @@ typedef struct rgUeMeasGapCfg typedef struct rgSchUeMeasGapCb { Bool isMesGapEnabled;/*!< TRUE if Measurement gap is enabled for this UE */ - U8 isMeasuring; /*!< Set to TRUE during measurement gap */ - U8 gapPrd; /*!< Measurement gap period configuration for the UE */ - U8 gapOffst; /*!< Measurement gap offset for the UE */ + uint8_t isMeasuring; /*!< Set to TRUE during measurement gap */ + uint8_t gapPrd; /*!< Measurement gap period configuration for the UE */ + uint8_t gapOffst; /*!< Measurement gap offset for the UE */ CmLList measQLnk; /*!< To Link to the measurement gap list */ CmLList ackNakQLnk; /*!< To Link to the ACK NACK Rep list */ CmTimer measGapTmr; /*!< Timer for Measurement Gap */ @@ -2554,10 +2554,10 @@ typedef struct rgSchUeMeasGapCb typedef struct rgSchUeAckNakRepCb { Bool isAckNackEnabled; /*!< Is ACK/NACK Enabled*/ - U8 isAckNakRep; /*!< Set to TRUE during ACK-NACK repetition prd */ - U8 cfgRepCnt; /*!< Configured value for the repetition counter */ - U8 repCntr; /*!< Actual repetition counter */ - U16 pucchRes; /*!< PUCCH resource for repetition */ + uint8_t isAckNakRep; /*!< Set to TRUE during ACK-NACK repetition prd */ + uint8_t cfgRepCnt; /*!< Configured value for the repetition counter */ + uint8_t repCntr; /*!< Actual repetition counter */ + uint16_t pucchRes; /*!< PUCCH resource for repetition */ CmTimer ackNakRepUlInactvTmr; /*!< UL Inactive timer for ack-nack repetition */ CmTimer ackNakRepDlInactvTmr; /*!< DL Inactive timer for ack-nack repetition */ CmTimer ackNakRepTmr; /*!< Timer for ack-nack repetition */ @@ -2574,7 +2574,7 @@ typedef struct rgSchUeMimoInfo { RgrTxMode oldTMode; /*!< UE's Previous Transmission Mode */ RgrTxMode txMode; /*!< UE's Transmission Mode */ - TknU32 doa; /*!< DOA indicator for this UE */ + TknUInt32 doa; /*!< DOA indicator for this UE */ Bool puschFdbkVld; /*!< True if Precoding Info in PDCCH has to be in-accordance with the latest PUSCH report */ TfuDlCqiPuschInfo puschPmiInfo; /*!< PUSCH report details for explicit PMI @@ -2598,14 +2598,14 @@ typedef struct rgSchUeMimoInfo */ typedef struct rgSchCqiRawPuschMode31 { - U8 wideBCqiCw0; /*!< Length of Wideband CQI Codeword 0 */ - U8 totLenSbDiffCqiCw0; /*!< Length of SubBand Differential CQI Codeword 0 */ - U8 r1WideBCqiCw1; /*!< Length of Wideband CQI Codeword 1 for Rank =1*/ - U8 r1TotLenSbDiffCqiCw1; /*!< Length of SubBand Differential CQI Codeword 1 for Rank = 1*/ - U8 rg1WideBCqiCw1; /*!< Length of Wideband CQI Codeword 1 for Rank > 1*/ - U8 rg1TotLenSbDiffCqiCw1; /*!< Length of SubBand Differential CQI Codeword 1 for Rank > 1*/ - U8 r1PmiBitLen; /*!< Length of PMI Bits for Rank = 1*/ - U8 rg1PmiBitLen; /*!< Length of PMI Bits for Rank > 1*/ + uint8_t wideBCqiCw0; /*!< Length of Wideband CQI Codeword 0 */ + uint8_t totLenSbDiffCqiCw0; /*!< Length of SubBand Differential CQI Codeword 0 */ + uint8_t r1WideBCqiCw1; /*!< Length of Wideband CQI Codeword 1 for Rank =1*/ + uint8_t r1TotLenSbDiffCqiCw1; /*!< Length of SubBand Differential CQI Codeword 1 for Rank = 1*/ + uint8_t rg1WideBCqiCw1; /*!< Length of Wideband CQI Codeword 1 for Rank > 1*/ + uint8_t rg1TotLenSbDiffCqiCw1; /*!< Length of SubBand Differential CQI Codeword 1 for Rank > 1*/ + uint8_t r1PmiBitLen; /*!< Length of PMI Bits for Rank = 1*/ + uint8_t rg1PmiBitLen; /*!< Length of PMI Bits for Rank > 1*/ } RgSchCqiRawPuschMode31; /** @brief This structure that stores the length of Bits that @@ -2613,8 +2613,8 @@ typedef struct rgSchCqiRawPuschMode31 */ typedef struct rgSchCqiRawPuschMode30 { - U8 wideBCqiCw; /*!< Length of Wideband CQI */ - U8 totLenSbDiffCqi; /*!< Length of SubBand Differential CQI */ + uint8_t wideBCqiCw; /*!< Length of Wideband CQI */ + uint8_t totLenSbDiffCqi; /*!< Length of SubBand Differential CQI */ } RgSchCqiRawPuschMode30; /** @brief This structure that stores the length of Bits that @@ -2622,15 +2622,15 @@ typedef struct rgSchCqiRawPuschMode30 */ typedef struct rgSchCqiRawPuschMode22 { - U8 wideBCqiCw0; /*!< Length of Wideband CQI Codeword 0 */ - U8 sBDiffCqiCw0; /*!< Length of SubBand Differential CQI Codeword 0 */ - U8 r1WideBCqiCw1; /*!< Length of Wideband CQI Codeword 1 for Rank =1 */ - U8 r1SbDiffCqiCw1; /*!< Length of SubBand Differential CQI Codeword 1 for Rank =1*/ - U8 rg1WideBCqiCw1; /*!< Length of Wideband CQI Codeword 1 for Rank > 1*/ - U8 rg1SbDiffCqiCw1; /*!< Length of SubBand Differential CQI Codeword 1 for Rank >1*/ - U8 posOfM; /*!< Position of M selected SubBands */ - U8 r1PmiBitLen; /*!< Length of PMI Bits for Rank =1*/ - U8 rg1PmiBitLen; /*!< Length of PMI Bits for Rank >1*/ + uint8_t wideBCqiCw0; /*!< Length of Wideband CQI Codeword 0 */ + uint8_t sBDiffCqiCw0; /*!< Length of SubBand Differential CQI Codeword 0 */ + uint8_t r1WideBCqiCw1; /*!< Length of Wideband CQI Codeword 1 for Rank =1 */ + uint8_t r1SbDiffCqiCw1; /*!< Length of SubBand Differential CQI Codeword 1 for Rank =1*/ + uint8_t rg1WideBCqiCw1; /*!< Length of Wideband CQI Codeword 1 for Rank > 1*/ + uint8_t rg1SbDiffCqiCw1; /*!< Length of SubBand Differential CQI Codeword 1 for Rank >1*/ + uint8_t posOfM; /*!< Position of M selected SubBands */ + uint8_t r1PmiBitLen; /*!< Length of PMI Bits for Rank =1*/ + uint8_t rg1PmiBitLen; /*!< Length of PMI Bits for Rank >1*/ } RgSchCqiRawPuschMode22; /** @brief This structure that stores the length of Bits that @@ -2638,9 +2638,9 @@ typedef struct rgSchCqiRawPuschMode22 */ typedef struct rgSchCqiRawPuschMode20 { - U8 wideBCqiCw; /*!< Length of Wideband CQI */ - U8 subBandDiffCqi; /*!< Length of SubBand Differential CQI */ - U8 posOfM; /*!< Position of M selected SubBands */ + uint8_t wideBCqiCw; /*!< Length of Wideband CQI */ + uint8_t subBandDiffCqi; /*!< Length of SubBand Differential CQI */ + uint8_t posOfM; /*!< Position of M selected SubBands */ } RgSchCqiRawPuschMode20; /** @brief This structure that stores the length of Bits that @@ -2648,11 +2648,11 @@ typedef struct rgSchCqiRawPuschMode20 */ typedef struct rgSchCqiRawPuschMode12 { - U8 wideBCqiCw0; /*!< Length of Wideband CQI Codeword 0 */ - U8 r1WideBCqiCw1; /*!< Length of Wideband CQI Codeword 1 for Rank =1*/ - U8 rg1WideBCqiCw1; /*!< Length of Wideband CQI Codeword for Rank > 1 */ - U8 r1TotalPmiBitLen; /*!< Aggregate length of PMI Bits for Rank =1 */ - U8 rg1TotalPmiBitLen; /*!< Aggregate length of PMI Bits for Rank > 1 */ + uint8_t wideBCqiCw0; /*!< Length of Wideband CQI Codeword 0 */ + uint8_t r1WideBCqiCw1; /*!< Length of Wideband CQI Codeword 1 for Rank =1*/ + uint8_t rg1WideBCqiCw1; /*!< Length of Wideband CQI Codeword for Rank > 1 */ + uint8_t r1TotalPmiBitLen; /*!< Aggregate length of PMI Bits for Rank =1 */ + uint8_t rg1TotalPmiBitLen; /*!< Aggregate length of PMI Bits for Rank > 1 */ } RgSchCqiRawPuschMode12; @@ -2662,7 +2662,7 @@ typedef struct rgSchCqiRawPuschMode12 typedef struct rgSchDlCqiRawPusch { TfuDlCqiPuschMode mode; /*!< PUSCH CQI mode */ - TknU8 ri; /*!< Rank Indicator for TM 3,4 */ + TknUInt8 ri; /*!< Rank Indicator for TM 3,4 */ union { RgSchCqiRawPuschMode12 mode12Info; /*!< Mode 1-2 information */ @@ -2675,20 +2675,20 @@ typedef struct rgSchDlCqiRawPusch typedef struct rgSchPuschRawCqiInfoPerCell { - U8 sCellIdx; /*!< Serving cell idx of the cell for + uint8_t sCellIdx; /*!< Serving cell idx of the cell for this cqi info*/ RgSchDlCqiRawPusch puschRawCqiInfo; /*!< Raw CQI Bit Width for PUSCH */ } RgSchPuschRawCqiInfoPerCell; typedef struct rgSchPuschRawCqiInfoForSCells { - U8 numOfCells; /* Num of cells for which Apcqi is comming*/ + uint8_t numOfCells; /* Num of cells for which Apcqi is comming*/ RgSchPuschRawCqiInfoPerCell cqiBitWidth[CM_LTE_MAX_CELLS]; } RgSchPuschRawCqiInfoForSCells; typedef struct rgSchPucchRawCqiInfoPerCell { - U8 sCellIdx; /*!< Serving cell idx of the cell for + uint8_t sCellIdx; /*!< Serving cell idx of the cell for this cqi info*/ TfuDlCqiPucch pucchRawCqiInfo; /*!< Raw CQI Bit Width for PUCCH */ } RgSchPucchRawCqiInfoPerCell; @@ -2768,8 +2768,8 @@ struct rgSchUeCellInfo CmHashListEnt ueLstEnt; /*!< Hash List entity for UE List */ RgSchUeCb *ue; /*!< Pointer to UECB */ #ifdef LTE_ADV - U8 sCellIdx; /*!< Serving Cell Index */ - U16 sCellId; /*!< Secondary Cell Id */ + uint8_t sCellIdx; /*!< Serving Cell Index */ + uint16_t sCellId; /*!< Secondary Cell Id */ RgSCellStateEnum sCellState; /* !< For holding the current state of the sec cell */ CmLList sCellLnk; /*!< Node for adding this UE in secondary cell */ #endif @@ -2780,20 +2780,20 @@ struct rgSchUeCellInfo RgrUeTxModeCfg txMode; /*!< UE transmission mode in Secondary */ #ifdef LTE_TDD RgSchTddANInfo *anInfo; /*!< ACK/NACK related Information */ - U8 nextFreeANIdx; /*!< Next Available ANInfo Index */ + uint8_t nextFreeANIdx; /*!< Next Available ANInfo Index */ #endif - U8 reqForCqi; /*!< set to True if Aperiodic CQI from UE is required */ + uint8_t reqForCqi; /*!< set to True if Aperiodic CQI from UE is required */ #ifdef TFU_UPGRADE RgSchUeACqiCb acqiCb; /* ! < Aperiodic CQI Report Control Block*/ RgSchUePCqiCb cqiCb; /*!< Periodic CQI PMI RI Control Block */ - TknU8 pA; /* PA value configured by RRM + TknUInt8 pA; /* PA value configured by RRM ref: RRC 36.331, 6.3.2, PDSCH-Config*/ /* RgSchUeRawCqiBitWidthInfo rawCqiBitW[MAX_CQI_RI_RPT_BUFF]; */ #endif - U8 cqiRiWritIdx; /*!< write index to be used whenever CQI/RI reception + uint8_t cqiRiWritIdx; /*!< write index to be used whenever CQI/RI reception request is being filled*/ - U8 cqiRiReadIdx; /*!< Read index to be used whenevr CQI/RI indication + uint8_t cqiRiReadIdx; /*!< Read index to be used whenevr CQI/RI indication is recieved from PHY*/ CmTimer deactTmr; /*!< SCell deactivation timer */ CmTimer actDelayTmr; /*!< SCell timer */ @@ -2817,7 +2817,7 @@ UE */ RgSchDlLcCb *lcCb[RGSCH_MAX_LC_PER_UE];/*!< Dedicated Downlink logical channels in UE */ RgrUeDlCqiCfg ueDlCqiCfg; /*!< UE DL CQI config */ - U8 dlInactvMask; /*!< Bitmask indicating if UE is inactive for DL scheduling */ + uint8_t dlInactvMask; /*!< Bitmask indicating if UE is inactive for DL scheduling */ RgSchCqiReqField reqForCqi; /*!< set to True if Aperiodic CQI from UE is required */ Bool pCqiPrsnt; /*!< set to True if periodic CQI from UE is expected */ Bool acqiResGrntd; /*!< Aperiodic CQI resources granted in RB Estimation */ @@ -2834,7 +2834,7 @@ UE */ RgSchPdcch spsOccPdcch; /*!< PDCCH information for SPS ocassion */ #endif /* CA dev Start */ - U8 numHqDlSfInfo; + uint8_t numHqDlSfInfo; #ifdef LTE_TDD RgSchDlHqInfo *dlSfHqInfo; #else @@ -2846,10 +2846,10 @@ UE */ #endif #endif /* Moved from rgSchCmnDlUe to Here, as this shouldn't be present per cell*/ - U32 ambrCfgd; /*!< UE's configured AMBR scaled to Refresh Cycle */ + uint32_t ambrCfgd; /*!< UE's configured AMBR scaled to Refresh Cycle */ /* CA dev End */ /* Added to restrict max TB Bits in case of more than one CCs for a UE */ - U32 aggTbBits; /*!< Aggregated Transport Block Bits this UE can receive per TTI*/ + uint32_t aggTbBits; /*!< Aggregated Transport Block Bits this UE can receive per TTI*/ CmLteTimingInfo lstSchTime; /*!< Last Time UE got Scheduled */ } RgSchUeDlCb; @@ -2866,10 +2866,10 @@ UE */ typedef struct rgSchUeHdFddSfInfo { - U16 sfn; /*!< Store the sfn for updated state + uint16_t sfn; /*!< Store the sfn for updated state Default Value= 0xffff */ - U8 subFrmDir; + uint8_t subFrmDir; /*!< 0x00= DFLT 0x01= DL DATA +(OPT:CNTRL INFO) 0x02= DL CNTRL @@ -2900,21 +2900,21 @@ typedef struct rgSchDrxUeCb Bool srRcvd; /*!< TRUE if SR is received from the UE. */ Bool raRcvd; /*!< TRUE if Random access request is received using a dedicated preamble for this UE. */ - U16 onDurTmrLen; /*!< Length of onDuration Timer [1 - 200]. */ - U16 drxStartOffset; /*!< Value of the DRX Starting Offset [0 - 2559]. */ + uint16_t onDurTmrLen; /*!< Length of onDuration Timer [1 - 200]. */ + uint16_t drxStartOffset; /*!< Value of the DRX Starting Offset [0 - 2559]. */ S16 onDurExpDistance; /*!< Keeps track of actual distance */ - U16 drxRetransTmrLen; /*!< Length of DRX Retransmission timer [1 - 33].*/ + uint16_t drxRetransTmrLen; /*!< Length of DRX Retransmission timer [1 - 33].*/ - U16 inactvtyTmrLen; /*!< Length of drx-Inactivity Timer [1 - 2560]. */ + uint16_t inactvtyTmrLen; /*!< Length of drx-Inactivity Timer [1 - 2560]. */ S16 drxInactDistance; /*!< Keeps track of actual distance */ Bool isLongCycle; - U16 longDrxCycle; /*!< Value of the DRX long cycle [10 - 2560]. */ + uint16_t longDrxCycle; /*!< Value of the DRX long cycle [10 - 2560]. */ Bool isShortCycleCfgd; /*!< TRUE if short cycle is enabled. */ - U8 shortCycleTmrLen; /*!< Value of DRX short cycle Timer [1-16]. */ - U16 shortDrxCycle; /*!< Value of the DRX short cycle [2 - 640]. */ + uint8_t shortCycleTmrLen; /*!< Value of DRX short cycle Timer [1-16]. */ + uint16_t shortDrxCycle; /*!< Value of the DRX short cycle [2 - 640]. */ S16 drxShortCycleDistance; /*!< Keeps track of actual distance */ @@ -2928,16 +2928,16 @@ typedef struct rgSchDrxUeCb /* The following elements track current indices into the drxQ present at the * cell level. These indicies help in fast deletion in case of UE Delete, * otherwise it might have required a linear search. */ - U16 onDurIndx; /*!< The current index for onDuration Queue. */ - U16 onDurExpIndx; /*!< The current index for onDuration Queue. */ - U16 drxInactvIndx; /*!< The current index for drx-InactityTmr Queue. */ - U16 shortCycleIndx; /*!< The current index for Short Cycle Queue. */ - - U8 shortCycleTmr; /*!< Counter to keep track of Short DRX Cycle. */ - U32 drxDlInactvMask; /*!< Downlink Mask to track InActivity */ - U32 drxUlInactvMask; /*!< Uplink Mask to track InActivity */ - U32 drxDlInactvMaskPerCell[CM_LTE_MAX_CELLS]; /*!< Downlink Mask to track InActivity per cell */ - U32 drxUlInactvMaskPerCell[CM_LTE_MAX_CELLS]; /*!< Uplink Mask to track InActivity per cell */ + uint16_t onDurIndx; /*!< The current index for onDuration Queue. */ + uint16_t onDurExpIndx; /*!< The current index for onDuration Queue. */ + uint16_t drxInactvIndx; /*!< The current index for drx-InactityTmr Queue. */ + uint16_t shortCycleIndx; /*!< The current index for Short Cycle Queue. */ + + uint8_t shortCycleTmr; /*!< Counter to keep track of Short DRX Cycle. */ + uint32_t drxDlInactvMask; /*!< Downlink Mask to track InActivity */ + uint32_t drxUlInactvMask; /*!< Uplink Mask to track InActivity */ + uint32_t drxDlInactvMaskPerCell[CM_LTE_MAX_CELLS]; /*!< Downlink Mask to track InActivity per cell */ + uint32_t drxUlInactvMaskPerCell[CM_LTE_MAX_CELLS]; /*!< Uplink Mask to track InActivity per cell */ } RgSchDrxUeCb; @@ -2947,7 +2947,7 @@ typedef struct rgSchDrxUeCb #ifdef RGR_CQI_REPT typedef struct RgSchCqiInfo { - U8 cqiCount; /* To keep track of CQI reports + uint8_t cqiCount; /* To keep track of CQI reports received so far */ RgrUeCqiRept cqiRept[RGR_CQIRPTS_MAXN]; /* Array to maintain CQI reports */ }RgSchCqiInfo; @@ -2968,54 +2968,54 @@ typedef struct rgSchLteAdvUeCb /*: END *****/ @@ -5314,7 +5314,7 @@ EXTERN S16 rgSCHDrxSrInd ARGS((RgSchCellCb *cell,RgSchUeCb *ue)); EXTERN Void rgSCHDrxStrtInActvTmr ARGS((RgSchCellCb *cell, CmLListCp *ueLst, - U8 direction)); + uint8_t direction)); EXTERN S16 rgSCHUtlGetDrxSchdUesInDl ARGS((RgSchCellCb *cellCb, RgSchUeCb *ueCb, RgSchDlHqProcCb *dlHq, @@ -5324,11 +5324,11 @@ EXTERN S16 rgSCHUtlGetDrxSchdUesInDl ARGS((RgSchCellCb *cellCb, CmLListCp *ulInActvLst)); EXTERN Void rgSCHDrxStartHarqRTTTmr ARGS((RgSchCellCb *cell, RgSchDlHqProcCb *hqP, - U8 tbCnt)); + uint8_t tbCnt)); EXTERN Void rgSCHDrxUeHqReset ARGS((RgSchCellCb *cell, RgSchUeCb *ue, RgSchDlHqEnt *hqE, - U8 cellIdx)); + uint8_t cellIdx)); #ifdef TFU_UPGRADE #ifdef LTE_TDD @@ -5351,7 +5351,7 @@ EXTERN Void rgSCHCmnHdFddPtUlMrk ARGS(( EXTERN Void rgSCHCmnHdFddChkUlAllow ARGS(( RgSchCellCb *cellCb, RgSchUeCb *ueCb, - U8 *flag)); + uint8_t *flag)); EXTERN Void rgSCHCmnHdFddChkDlAllow ARGS(( RgSchCellCb *cellCb, RgSchUeCb *ueCb, @@ -5368,7 +5368,7 @@ EXTERN Void rgSCHCmnHdFddUpdDLMark ARGS(( RgSchCellCb *cellCb, RgSchUeCb *ueCb)); EXTERN Void rgSCHHdFddGetSfn ARGS(( - U16 *sfn, + uint16_t *sfn, CmLteTimingInfo timeInfo, S16 offset)); #endif /* ifdef LTEMAC_HDFDD */ @@ -5385,11 +5385,11 @@ S16 rgSCHUtlFillSndStaInd ARGS(( RgSchCellCb *cell, RgSchUeCb *ue, RgrStaIndInfo *staInfo, -U8 numCqiRept +uint8_t numCqiRept )); #endif /* End of RGR_CQI_REPT */ S16 rgSCHUtlRgrUeStaInd ARGS(( -RgSchCellCb *cell, +RgSchCellCb *cell, RgrUeStaIndInfo *rgrUeSta )); @@ -5428,7 +5428,7 @@ CmLteRnti newRnti S16 rgSCHUtlRgmBndCfm ARGS(( Inst instId, SuId suId, -U8 status +uint8_t status )); Void rgSCHDhmDelHqEnt ARGS(( RgSchCellCb *cell, @@ -5454,46 +5454,46 @@ S16 rgSCHUtlUpdAvgPrbUsage ARGS(( RgSchCellCb *cell )); -U8 rgSchUtlCfg0ReTxIdx ARGS(( +uint8_t rgSchUtlCfg0ReTxIdx ARGS(( RgSchCellCb *cell, CmLteTimingInfo phichTime, -U8 hqFdbkIdx +uint8_t hqFdbkIdx )); EXTERN S16 rgSCHUtlBuildNSendLcgReg ARGS(( RgSchCellCb *cell, CmLteRnti crnti, -U8 lcgId, +uint8_t lcgId, Bool isGbr )); EXTERN Void rgSCHUtlPdcchInit ARGS(( RgSchCellCb *cell, RgSchDlSf *subFrm, - U16 nCce)); + uint16_t nCce)); EXTERN Void rgSCHDynCfiReCfg ARGS(( RgSchCellCb *cell, Bool isDynCfiEnb )); Void rgSchUtlCalcTotalPrbReq ARGS((RgSchCellCb *cell, RgSchUeCb *ue, - U32 bo, - U32 *prbReqrd)); -EXTERN U8 rgSchUtlGetNumSbs ARGS(( + uint32_t bo, + uint32_t *prbReqrd)); +EXTERN uint8_t rgSchUtlGetNumSbs ARGS(( RgSchCellCb *cell, RgSchUeCb *ue, -U32 *numSbs +uint32_t *numSbs )); -EXTERN U8 rgSchUtlSortInsUeLst ARGS(( -RgSchCellCb *cell, +EXTERN uint8_t rgSchUtlSortInsUeLst ARGS(( +RgSchCellCb *cell, CmLListCp *ueLst, CmLList *node, -U8 subbandRequired +uint8_t subbandRequired )); EXTERN S16 rgSCHUtlResetCpuOvrLdState ARGS(( RgSchCellCb *cell, - U8 cnrtCpuOvrLdIns + uint8_t cnrtCpuOvrLdIns )); EXTERN Void rgSCHUtlCpuOvrLdAdjItbsCap ARGS(( RgSchCellCb *cell @@ -5520,8 +5520,8 @@ RgSchUePCqiCb *cqiCb EXTERN Void rgSCHTomUtlGetTrigSet ARGS(( RgSchCellCb *cell, RgSchUeCb *ueCb, - U8 cqiReq, - U8 *triggerSet + uint8_t cqiReq, + uint8_t *triggerSet )); EXTERN Void rgSCHUtlUpdUeDciSize ARGS(( @@ -5535,7 +5535,7 @@ RgSchCellCb *cell EXTERN Void rgSchCmnPreDlSch ARGS (( RgSchCellCb **cell, - U8 nCell, + uint8_t nCell, RgSchCellCb **cellLst )); @@ -5543,9 +5543,9 @@ EXTERN Void rgSchCmnPstDlSch ARGS (( RgSchCellCb *cell )); -EXTERN U8 rgSCHCmnGetBiIndex ARGS (( +EXTERN uint8_t rgSCHCmnGetBiIndex ARGS (( RgSchCellCb *cell, -U32 ueCount +uint32_t ueCount )); EXTERN uint8_t SchSendCfgCfm(Pst *pst, RgMngmt *cfm);