X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2F5gnrmac%2Frg_uim.c;h=ab7110c78984dc4cedf27ab05a50d8e716ad42ec;hb=def50dc175cebc67238db5f1acd5ff322a2279bd;hp=8f177a6634916fd4c04bd93ed13392e7a24d8945;hpb=1616921700a3c7541f1df6dd2678f9ee4d8e933b;p=o-du%2Fl2.git diff --git a/src/5gnrmac/rg_uim.c b/src/5gnrmac/rg_uim.c index 8f177a663..ab7110c78 100755 --- a/src/5gnrmac/rg_uim.c +++ b/src/5gnrmac/rg_uim.c @@ -76,8 +76,8 @@ static int RLOG_FILE_ID=178; #if defined(SPLIT_RLC_DL_TASK) && defined(RLC_MAC_STA_RSP_RBUF) S16 rgBatchProc(Void); #endif -U8 rgRguDlSap; -U8 rgRguUlSap; +uint8_t rgRguDlSap; +uint8_t rgRguUlSap; /** * @brief Handler for Bind request. * @@ -260,7 +260,7 @@ Reason reason; * * @param[in] Inst inst * @param[in] SuId suId - * @param[in] U8 status + * @param[in] uint8_t status * @return S16 * -# ROK * -# RFAILED @@ -270,13 +270,13 @@ S16 rgUIMRguBndCfm ( Inst inst, SpId spId, -U8 status +uint8_t status ) #else S16 rgUIMRguBndCfm(inst,spId, status) Inst inst; SpId spId; -U8 status; +uint8_t status; #endif { S16 ret = ROK; @@ -326,10 +326,10 @@ RguDDatReqInfo *datReq; S16 ret = ROK; Inst inst; #ifndef NO_ERRCLS - U32 id; - U32 id1; - U32 id2; - U32 id3; + uint32_t id; + uint32_t id1; + uint32_t id2; + uint32_t id3; #endif RG_IS_INST_VALID(pst->dstInst); @@ -531,9 +531,8 @@ RguDStaRspInfo *staRsp; #endif { Inst inst; - - S16 ret = ROK; - VOLATILE U32 startTime = 0; + S16 ret = ROK; + VOLATILE uint32_t startTime = 0; RG_IS_INST_VALID(pst->dstInst); inst = pst->dstInst - RG_INST_START; @@ -1093,7 +1092,7 @@ Reason reason; * * @param[in] Inst inst * @param[in] SuId suId - * @param[in] U8 status + * @param[in] uint8_t status * @return S16 * -# ROK * -# RFAILED @@ -1103,13 +1102,13 @@ S16 rgUIMCrgBndCfm ( Inst inst, SuId suId, -U8 status +uint8_t status ) #else S16 rgUIMCrgBndCfm(inst,suId, status) Inst inst; SuId suId; -U8 status; +uint8_t status; #endif { @@ -1160,8 +1159,8 @@ CrgCfgReqInfo *cfgReqInfo; { Inst inst; S16 ret = ROK; - U8 cfmStatus = 0x00ff; - U8 prntTrans[CRG_CFG_TRANSID_SIZE+1]; + uint8_t cfmStatus = 0x00ff; + uint8_t prntTrans[CRG_CFG_TRANSID_SIZE+1]; RG_IS_INST_VALID(pst->dstInst); inst = pst->dstInst - RG_INST_START; @@ -1237,7 +1236,7 @@ CrgCfgReqInfo *cfgReqInfo; * * @param[in] Inst inst * @param[in] CrgCfgTransId transId - * @param[in] U8 status + * @param[in] uint8_t status * @return S16 * -# ROK * -# RFAILED @@ -1247,17 +1246,17 @@ S16 rgUIMCrgCfgCfm ( Inst inst, CrgCfgTransId transId, -U8 status +uint8_t status ) #else S16 rgUIMCrgCfgCfm(inst,transId, status) Inst inst; CrgCfgTransId transId; -U8 status; +uint8_t status; #endif { S16 ret = ROK; - U8 prntTrans[CRG_CFG_TRANSID_SIZE+1]; + uint8_t prntTrans[CRG_CFG_TRANSID_SIZE+1]; memcpy(prntTrans, transId.trans, CRG_CFG_TRANSID_SIZE); prntTrans[CRG_CFG_TRANSID_SIZE] = '\0'; @@ -1288,7 +1287,7 @@ Void; Pst pst = {0}; SpId spId = 0; RguDStaRspInfo *staRsp; - U32 elmIndx = 0; + uint32_t elmIndx = 0; #ifndef LTE_ADV /* Fill pst */ pst.srcProcId = 1; @@ -1306,7 +1305,7 @@ Void; #else #endif - elmIndx = (U32)SRngGetRIndx(SS_RNG_BUF_DLRLC_TO_DLMAC); + elmIndx = (uint32_t)SRngGetRIndx(SS_RNG_BUF_DLRLC_TO_DLMAC); while(NULLP != elmIndx) { staRsp = (RguDStaRspInfo *)elmIndx; @@ -1319,7 +1318,7 @@ Void; staRsp = NULLP; SRngIncrRIndx(SS_RNG_BUF_DLRLC_TO_DLMAC); - if((elmIndx = (U32)SRngGetRIndx(SS_RNG_BUF_DLRLC_TO_DLMAC)) == NULLP) + if((elmIndx = (uint32_t)SRngGetRIndx(SS_RNG_BUF_DLRLC_TO_DLMAC)) == NULLP) break; } return ROK;