_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]);\
}\
}
Inst inst,
RgMacPdu *pdu,
RgMacSdu **sdu,
-U8 lcId,
-U16 sduLen,
+uint8_t lcId,
+uint16_t sduLen,
RgErrInfo *err
)
#else
Inst inst;
RgMacPdu *pdu;
RgMacSdu **sdu,
-U8 lcId;
-U16 sduLen;
+uint8_t lcId;
+uint16_t sduLen;
RgErrInfo *err;
#endif
{
S16 ret;
RgMacSdu *sduAloc = NULLP;
- TRC2(rgDUXInsSdu)
RG_DUX_ALLOC(pdu, sizeof(RgMacSdu), sduAloc, ret);
if(ret != ROK)
Inst inst,
RgMacPdu *pdu,
Buffer *mBuf,
-U8 *lcId,
-U16 *len,
+uint8_t *lcId,
+uint16_t *len,
RgErrInfo *err
)
#else
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;
- TRC2(rgDUXExtSubHdr)
*len = 0;
if(oduPackUInt8(&byte,mBuf) != ROK)
(
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)
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;
- TRC2(rgDUXExtCe);
switch(lcId)
{
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)
{
(
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)
Inst inst;
RgMacPdu *pdu;
-RgInfCeInfo *ceInfo;
+RgInfCeInfo *ceInfo;
Buffer **mBuf;
-U8 lcId;
-U16 subPduLen;
+uint8_t lcId;
+uint16_t subPduLen;
RgErrInfo *err;
#endif
{
Buffer *tmpBuf2 = NULLP;
RgMacSdu *sdu;
- TRC2(rgDUXExtSdu)
if(lcId == RG_CCCH_LCID)
{
* -# RFAILED
**/
#ifdef ANSI
-PUBLIC S16 rgDUXDemuxData
+S16 rgDUXDemuxData
(
Inst inst,
RgMacPdu *pdu,
RgErrInfo *err
)
#else
-PUBLIC S16 rgDUXDemuxData(inst,pdu, ceInfo, mBuf, err)
+S16 rgDUXDemuxData(inst,pdu, ceInfo, mBuf, err)
Inst inst;
RgMacPdu *pdu;
RgInfCeInfo *ceInfo;
RgErrInfo *err;
#endif
{
- U8 lcId;
- U16 subPduLen;
+ uint8_t lcId;
+ uint16_t subPduLen;
MsgLen len;
- TRC2(rgDUXDemuxData)
ceInfo->bitMask = 0x0000;