Code Review
/
o-du
/
l2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Merge "replaced cmMemSet, cmMemcpy with memset and memcpy resp AND Removed TRC()...
[o-du/l2.git]
/
src
/
5gnrmac
/
rg_ptli.c
diff --git
a/src/5gnrmac/rg_ptli.c
b/src/5gnrmac/rg_ptli.c
index
24b3665
..
7d49cf7
100755
(executable)
--- a/
src/5gnrmac/rg_ptli.c
+++ b/
src/5gnrmac/rg_ptli.c
@@
-402,22
+402,20
@@
PRIVATE CONSTANT TfuDelDatReq RgLiTfuDelDatReqMt[RG_MAX_TFU_PROV] =
*
**********************************************************/
#ifdef ANSI
*
**********************************************************/
#ifdef ANSI
-
PUBLIC
S16 RgLiTfuBndReq
+S16 RgLiTfuBndReq
(
Pst * pst,
SuId suId,
SpId spId
)
#else
(
Pst * pst,
SuId suId,
SpId spId
)
#else
-
PUBLIC
S16 RgLiTfuBndReq(pst, suId, spId)
+S16 RgLiTfuBndReq(pst, suId, spId)
Pst * pst;
SuId suId;
SpId spId;
#endif
{
Pst * pst;
SuId suId;
SpId spId;
#endif
{
- TRC3(RgLiTfuBndReq)
-
return ((*RgLiTfuBndReqMt[pst->selector])(pst, suId, spId));
}
return ((*RgLiTfuBndReqMt[pst->selector])(pst, suId, spId));
}
@@
-444,22
+442,20
@@
SpId spId;
*
**********************************************************/
#ifdef ANSI
*
**********************************************************/
#ifdef ANSI
-
PUBLIC
S16 RgLiTfuSchBndReq
+S16 RgLiTfuSchBndReq
(
Pst * pst,
SuId suId,
SpId spId
)
#else
(
Pst * pst,
SuId suId,
SpId spId
)
#else
-
PUBLIC
S16 RgLiTfuSchBndReq(pst, suId, spId)
+S16 RgLiTfuSchBndReq(pst, suId, spId)
Pst * pst;
SuId suId;
SpId spId;
#endif
{
Pst * pst;
SuId suId;
SpId spId;
#endif
{
- TRC3(RgLiTfuSchBndReq)
-
return ((*RgLiTfuSchBndReqMt[pst->selector])(pst, suId, spId));
}
return ((*RgLiTfuSchBndReqMt[pst->selector])(pst, suId, spId));
}
@@
-486,22
+482,20
@@
SpId spId;
*
**********************************************************/
#ifdef ANSI
*
**********************************************************/
#ifdef ANSI
-
PUBLIC
S16 RgLiTfuUbndReq
+S16 RgLiTfuUbndReq
(
Pst * pst,
SpId spId,
Reason reason
)
#else
(
Pst * pst,
SpId spId,
Reason reason
)
#else
-
PUBLIC
S16 RgLiTfuUbndReq(pst, spId, reason)
+S16 RgLiTfuUbndReq(pst, spId, reason)
Pst * pst;
SpId spId;
Reason reason;
#endif
{
Pst * pst;
SpId spId;
Reason reason;
#endif
{
- TRC3(RgLiTfuUbndReq)
-
return ((*RgLiTfuUbndReqMt[pst->selector])(pst, spId, reason));
}
return ((*RgLiTfuUbndReqMt[pst->selector])(pst, spId, reason));
}
@@
-528,22
+522,20
@@
Reason reason;
*
**********************************************************/
#ifdef ANSI
*
**********************************************************/
#ifdef ANSI
-
PUBLIC
S16 RgLiTfuSchUbndReq
+S16 RgLiTfuSchUbndReq
(
Pst * pst,
SpId spId,
Reason reason
)
#else
(
Pst * pst,
SpId spId,
Reason reason
)
#else
-
PUBLIC
S16 RgLiTfuSchUbndReq(pst, spId, reason)
+S16 RgLiTfuSchUbndReq(pst, spId, reason)
Pst * pst;
SpId spId;
Reason reason;
#endif
{
Pst * pst;
SpId spId;
Reason reason;
#endif
{
- TRC3(RgLiTfuSchUbndReq)
-
return ((*RgLiTfuSchUbndReqMt[pst->selector])(pst, spId, reason));
}
return ((*RgLiTfuSchUbndReqMt[pst->selector])(pst, spId, reason));
}
@@
-584,22
+576,20
@@
Reason reason;
*
**********************************************************/
#ifdef ANSI
*
**********************************************************/
#ifdef ANSI
-
PUBLIC
S16 RgLiTfuRecpReq
+S16 RgLiTfuRecpReq
(
Pst * pst,
SpId spId,
TfuRecpReqInfo * recpReq
)
#else
(
Pst * pst,
SpId spId,
TfuRecpReqInfo * recpReq
)
#else
-
PUBLIC
S16 RgLiTfuRecpReq(pst, spId, recpReq)
+S16 RgLiTfuRecpReq(pst, spId, recpReq)
Pst * pst;
SpId spId;
TfuRecpReqInfo * recpReq;
#endif
{
Pst * pst;
SpId spId;
TfuRecpReqInfo * recpReq;
#endif
{
- TRC3(RgLiTfuRecpReq)
-
return ((*RgLiTfuRecpReqMt[pst->selector])(pst, spId, recpReq));
}
return ((*RgLiTfuRecpReqMt[pst->selector])(pst, spId, recpReq));
}
@@
-633,22
+623,20
@@
TfuRecpReqInfo * recpReq;
*
**********************************************************/
#ifdef ANSI
*
**********************************************************/
#ifdef ANSI
-
PUBLIC
S16 RgLiTfuCntrlReq
+S16 RgLiTfuCntrlReq
(
Pst * pst,
SpId spId,
TfuCntrlReqInfo * cntrlReq
)
#else
(
Pst * pst,
SpId spId,
TfuCntrlReqInfo * cntrlReq
)
#else
-
PUBLIC
S16 RgLiTfuCntrlReq(pst, spId, cntrlReq)
+S16 RgLiTfuCntrlReq(pst, spId, cntrlReq)
Pst * pst;
SpId spId;
TfuCntrlReqInfo * cntrlReq;
#endif
{
Pst * pst;
SpId spId;
TfuCntrlReqInfo * cntrlReq;
#endif
{
- TRC3(RgLiTfuCntrlReq)
-
return ((*RgLiTfuCntrlReqMt[pst->selector])(pst, spId, cntrlReq));
}
return ((*RgLiTfuCntrlReqMt[pst->selector])(pst, spId, cntrlReq));
}
@@
-681,22
+669,20
@@
TfuCntrlReqInfo * cntrlReq;
*
**********************************************************/
#ifdef ANSI
*
**********************************************************/
#ifdef ANSI
-
PUBLIC
S16 RgLiTfuDatReq
+S16 RgLiTfuDatReq
(
Pst * pst,
SpId spId,
TfuDatReqInfo * datReq
)
#else
(
Pst * pst,
SpId spId,
TfuDatReqInfo * datReq
)
#else
-
PUBLIC
S16 RgLiTfuDatReq(pst, spId, datReq)
+S16 RgLiTfuDatReq(pst, spId, datReq)
Pst * pst;
SpId spId;
TfuDatReqInfo * datReq;
#endif
{
Pst * pst;
SpId spId;
TfuDatReqInfo * datReq;
#endif
{
- TRC3(RgLiTfuDatReq)
-
return ((*RgLiTfuDatReqMt[pst->selector])(pst, spId, datReq));
}
return ((*RgLiTfuDatReqMt[pst->selector])(pst, spId, datReq));
}
@@
-727,22
+713,20
@@
TfuDatReqInfo * datReq;
*
**********************************************************/
#ifdef ANSI
*
**********************************************************/
#ifdef ANSI
-
PUBLIC
S16 RgLiTfuDelDatReq
+S16 RgLiTfuDelDatReq
(
Pst * pst,
SpId spId,
TfuDelDatReqInfo * delDatReq
)
#else
(
Pst * pst,
SpId spId,
TfuDelDatReqInfo * delDatReq
)
#else
-
PUBLIC
S16 RgLiTfuDelDatReq(pst, spId, delDatReq)
+S16 RgLiTfuDelDatReq(pst, spId, delDatReq)
Pst * pst;
SpId spId;
TfuDelDatReqInfo * delDatReq;
#endif
{
Pst * pst;
SpId spId;
TfuDelDatReqInfo * delDatReq;
#endif
{
- TRC3(RgLiTfuDelDatReq)
-
return ((*RgLiTfuDelDatReqMt[pst->selector])(pst, spId, delDatReq));
}
return ((*RgLiTfuDelDatReqMt[pst->selector])(pst, spId, delDatReq));
}
@@
-774,21
+758,20
@@
TfuDelDatReqInfo * delDatReq;
*
**********************************************************/
#ifdef ANSI
*
**********************************************************/
#ifdef ANSI
-
PUBLIC
S16 PtLiTfuBndReq
+S16 PtLiTfuBndReq
(
Pst * pst,
SuId suId,
SpId spId
)
#else
(
Pst * pst,
SuId suId,
SpId spId
)
#else
-
PUBLIC
S16 PtLiTfuBndReq(pst, suId, spId)
+S16 PtLiTfuBndReq(pst, suId, spId)
Pst * pst;
SuId suId;
SpId spId;
#endif
{
Pst * pst;
SuId suId;
SpId spId;
#endif
{
- TRC3(PtLiTfuBndReq)
UNUSED(pst);
UNUSED(suId);
UNUSED(pst);
UNUSED(suId);
@@
-820,22
+803,20
@@
SpId spId;
*
**********************************************************/
#ifdef ANSI
*
**********************************************************/
#ifdef ANSI
-
PUBLIC
S16 PtLiTfuSchBndReq
+S16 PtLiTfuSchBndReq
(
Pst * pst,
SuId suId,
SpId spId
)
#else
(
Pst * pst,
SuId suId,
SpId spId
)
#else
-
PUBLIC
S16 PtLiTfuSchBndReq(pst, suId, spId)
+S16 PtLiTfuSchBndReq(pst, suId, spId)
Pst * pst;
SuId suId;
SpId spId;
#endif
{
Pst * pst;
SuId suId;
SpId spId;
#endif
{
- TRC3(PtLiTfuSchBndReq)
-
UNUSED(pst);
UNUSED(suId);
UNUSED(spId);
UNUSED(pst);
UNUSED(suId);
UNUSED(spId);
@@
-866,22
+847,20
@@
SpId spId;
*
**********************************************************/
#ifdef ANSI
*
**********************************************************/
#ifdef ANSI
-
PUBLIC
S16 PtLiTfuUbndReq
+S16 PtLiTfuUbndReq
(
Pst * pst,
SpId spId,
Reason reason
)
#else
(
Pst * pst,
SpId spId,
Reason reason
)
#else
-
PUBLIC
S16 PtLiTfuUbndReq(pst, spId, reason)
+S16 PtLiTfuUbndReq(pst, spId, reason)
Pst * pst;
SpId spId;
Reason reason;
#endif
{
Pst * pst;
SpId spId;
Reason reason;
#endif
{
- TRC3(PtLiTfuUbndReq)
-
UNUSED(pst);
UNUSED(spId);
UNUSED(reason);
UNUSED(pst);
UNUSED(spId);
UNUSED(reason);
@@
-912,22
+891,20
@@
Reason reason;
*
**********************************************************/
#ifdef ANSI
*
**********************************************************/
#ifdef ANSI
-
PUBLIC
S16 PtLiTfuSchUbndReq
+S16 PtLiTfuSchUbndReq
(
Pst * pst,
SpId spId,
Reason reason
)
#else
(
Pst * pst,
SpId spId,
Reason reason
)
#else
-
PUBLIC
S16 PtLiTfuSchUbndReq(pst, spId, reason)
+S16 PtLiTfuSchUbndReq(pst, spId, reason)
Pst * pst;
SpId spId;
Reason reason;
#endif
{
Pst * pst;
SpId spId;
Reason reason;
#endif
{
- TRC3(PtLiTfuSchUbndReq)
-
UNUSED(pst);
UNUSED(spId);
UNUSED(reason);
UNUSED(pst);
UNUSED(spId);
UNUSED(reason);
@@
-972,22
+949,20
@@
Reason reason;
*
**********************************************************/
#ifdef ANSI
*
**********************************************************/
#ifdef ANSI
-
PUBLIC
S16 PtLiTfuRecpReq
+S16 PtLiTfuRecpReq
(
Pst * pst,
SpId spId,
TfuRecpReqInfo * recpReq
)
#else
(
Pst * pst,
SpId spId,
TfuRecpReqInfo * recpReq
)
#else
-
PUBLIC
S16 PtLiTfuRecpReq(pst, spId, recpReq)
+S16 PtLiTfuRecpReq(pst, spId, recpReq)
Pst * pst;
SpId spId;
TfuRecpReqInfo * recpReq;
#endif
{
Pst * pst;
SpId spId;
TfuRecpReqInfo * recpReq;
#endif
{
- TRC3(PtLiTfuRecpReq)
-
UNUSED(pst);
UNUSED(spId);
UNUSED(recpReq);
UNUSED(pst);
UNUSED(spId);
UNUSED(recpReq);
@@
-1025,22
+1000,20
@@
TfuRecpReqInfo * recpReq;
*
**********************************************************/
#ifdef ANSI
*
**********************************************************/
#ifdef ANSI
-
PUBLIC
S16 PtLiTfuCntrlReq
+S16 PtLiTfuCntrlReq
(
Pst * pst,
SpId spId,
TfuCntrlReqInfo * cntrlReq
)
#else
(
Pst * pst,
SpId spId,
TfuCntrlReqInfo * cntrlReq
)
#else
-
PUBLIC
S16 PtLiTfuCntrlReq(pst, spId, cntrlReq)
+S16 PtLiTfuCntrlReq(pst, spId, cntrlReq)
Pst * pst;
SpId spId;
TfuCntrlReqInfo * cntrlReq;
#endif
{
Pst * pst;
SpId spId;
TfuCntrlReqInfo * cntrlReq;
#endif
{
- TRC3(PtLiTfuCntrlReq)
-
UNUSED(pst);
UNUSED(spId);
UNUSED(cntrlReq);
UNUSED(pst);
UNUSED(spId);
UNUSED(cntrlReq);
@@
-1077,22
+1050,20
@@
TfuCntrlReqInfo * cntrlReq;
*
**********************************************************/
#ifdef ANSI
*
**********************************************************/
#ifdef ANSI
-
PUBLIC
S16 PtLiTfuDatReq
+S16 PtLiTfuDatReq
(
Pst * pst,
SpId spId,
TfuDatReqInfo * datReq
)
#else
(
Pst * pst,
SpId spId,
TfuDatReqInfo * datReq
)
#else
-
PUBLIC
S16 PtLiTfuDatReq(pst, spId, datReq)
+S16 PtLiTfuDatReq(pst, spId, datReq)
Pst * pst;
SpId spId;
TfuDatReqInfo * datReq;
#endif
{
Pst * pst;
SpId spId;
TfuDatReqInfo * datReq;
#endif
{
- TRC3(PtLiTfuDatReq)
-
UNUSED(pst);
UNUSED(spId);
UNUSED(datReq);
UNUSED(pst);
UNUSED(spId);
UNUSED(datReq);
@@
-1128,22
+1099,20
@@
TfuDatReqInfo * datReq;
*
**********************************************************/
#ifdef ANSI
*
**********************************************************/
#ifdef ANSI
-
PUBLIC
S16 PtLiTfuDelDatReq
+S16 PtLiTfuDelDatReq
(
Pst * pst,
SpId spId,
TfuDelDatReqInfo * delDatReq
)
#else
(
Pst * pst,
SpId spId,
TfuDelDatReqInfo * delDatReq
)
#else
-
PUBLIC
S16 PtLiTfuDelDatReq(pst, spId, delDatReq)
+S16 PtLiTfuDelDatReq(pst, spId, delDatReq)
Pst * pst;
SpId spId;
TfuDelDatReqInfo * DelDatReq;
#endif
{
Pst * pst;
SpId spId;
TfuDelDatReqInfo * DelDatReq;
#endif
{
- TRC3(PtLiTfuDelDatReq)
-
UNUSED(pst);
UNUSED(spId);
UNUSED(delDatReq);
UNUSED(pst);
UNUSED(spId);
UNUSED(delDatReq);