_ret = SRemPreMsgMult(_unpkArray, (MsgLen) 2, _mBuf);\
if (_ret == ROK)\
{\
- *_rnti = (U16) PutHiByte(*_rnti, (U8) _unpkArray[0]);\
- *_rnti = (U16) PutLoByte(*_rnti, (U8) _unpkArray[1]);\
+ *_rnti = (uint16_t) PutHiByte(*_rnti, (uint8_t) _unpkArray[0]);\
+ *_rnti = (uint16_t) PutLoByte(*_rnti, (uint8_t) _unpkArray[1]);\
}\
}
* -# RFAILED
**/
#ifdef ANSI
-PRIVATE S16 rgDUXInsSdu
+static S16 rgDUXInsSdu
(
Inst inst,
RgMacPdu *pdu,
RgMacSdu **sdu,
-U8 lcId,
-U16 sduLen,
+uint8_t lcId,
+uint16_t sduLen,
RgErrInfo *err
)
#else
-PRIVATE S16 rgDUXInsSdu(inst,pdu, sdu, lcId, sduLen, err)
+static S16 rgDUXInsSdu(inst,pdu, sdu, lcId, sduLen, err)
Inst inst;
RgMacPdu *pdu;
RgMacSdu **sdu,
-U8 lcId;
-U16 sduLen;
+uint8_t lcId;
+uint16_t sduLen;
RgErrInfo *err;
#endif
{
* -# RFAILED
**/
#ifdef ANSI
-PRIVATE S16 rgDUXExtSubHdr
+static S16 rgDUXExtSubHdr
(
Inst inst,
RgMacPdu *pdu,
Buffer *mBuf,
-U8 *lcId,
-U16 *len,
+uint8_t *lcId,
+uint16_t *len,
RgErrInfo *err
)
#else
-PRIVATE S16 rgDUXExtSubHdr(inst,pdu, mBuf, lcId,
+static S16 rgDUXExtSubHdr(inst,pdu, mBuf, lcId,
len, err)
Inst inst;
RgMacPdu *pdu;
Buffer *mBuf;
-U8 *lcId;
-U16 *len;
+uint8_t *lcId;
+uint16_t *len;
RgErrInfo *err;
#endif
{
- U8 byte;
- U8 fmt=0;
+ uint8_t byte;
+ uint8_t fmt=0;
*len = 0;
* -# RFAILED
**/
#ifdef ANSI
-PRIVATE S16 rgDUXExtCe
+static S16 rgDUXExtCe
(
Inst inst,
RgMacPdu *pdu,
-RgInfCeInfo *ceInfo,
-Buffer *mBuf,
-U8 lcId,
-U16 subPduLen,
-RgErrInfo *err
+RgInfCeInfo *ceInfo,
+Buffer *mBuf,
+uint8_t lcId,
+uint16_t subPduLen,
+RgErrInfo *err
)
#else
-PRIVATE S16 rgDUXExtCe(inst,pdu, ceInfo, mBuf,lcId,subPduLen, err)
+static S16 rgDUXExtCe(inst,pdu, ceInfo, mBuf,lcId,subPduLen, err)
Inst inst;
RgMacPdu *pdu;
-RgInfCeInfo *ceInfo;
-Buffer *mBuf;
-U8 lcId;
-U16 subPduLen;
-RgErrInfo *err;
+RgInfCeInfo *ceInfo;
+Buffer *mBuf;
+uint8_t lcId;
+uint16_t subPduLen;
+RgErrInfo *err;
#endif
{
S16 ret;
{
case RG_EXT_PHR_LCID:
{
- U8 Ci;
- U8 sCellIdx;
- U8 extPhrOctet;
- U8 extPhrPCmax;
+ uint8_t Ci;
+ uint8_t sCellIdx;
+ uint8_t extPhrOctet;
+ uint8_t extPhrPCmax;
RgInfExtPhrCEInfo *extPhr;
RG_UNPACK_EXT_PHR_CI(&Ci,mBuf,ret);
break;
case RG_LONG_BSR_LCID:
{
- U8 longBsr[3] = {0}; /* KW_FIXX */
+ uint8_t longBsr[3] = {0}; /* KW_FIXX */
RG_UNPACK_LONG_BSR(longBsr,mBuf,ret);
if(ret != ROK)
{
* -# RFAILED
**/
#ifdef ANSI
-PRIVATE S16 rgDUXExtSdu
+static S16 rgDUXExtSdu
(
Inst inst,
RgMacPdu *pdu,
-RgInfCeInfo *ceInfo,
+RgInfCeInfo *ceInfo,
Buffer **mBuf,
-U8 lcId,
-U16 subPduLen,
+uint8_t lcId,
+uint16_t subPduLen,
RgErrInfo *err
)
#else
-PRIVATE S16 rgDUXExtSdu(inst,pdu, ceInfo,mBuf,lcId,subPduLen,err)
+static S16 rgDUXExtSdu(inst,pdu, ceInfo,mBuf,lcId,subPduLen,err)
Inst inst;
RgMacPdu *pdu;
-RgInfCeInfo *ceInfo;
+RgInfCeInfo *ceInfo;
Buffer **mBuf;
-U8 lcId;
-U16 subPduLen;
+uint8_t lcId;
+uint16_t subPduLen;
RgErrInfo *err;
#endif
{
RgErrInfo *err;
#endif
{
- U8 lcId;
- U16 subPduLen;
+ uint8_t lcId;
+ uint16_t subPduLen;
MsgLen len;
ceInfo->bitMask = 0x0000;