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
Intel FAPI files added
[o-du/l2.git]
/
src
/
5gnrmac
/
rg_ptli.c
diff --git
a/src/5gnrmac/rg_ptli.c
b/src/5gnrmac/rg_ptli.c
index
6456cf9
..
4fa8c40
100755
(executable)
--- a/
src/5gnrmac/rg_ptli.c
+++ b/
src/5gnrmac/rg_ptli.c
@@
-402,14
+402,14
@@
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;
Pst * pst;
SuId suId;
SpId spId;
@@
-418,7
+418,7
@@
SpId spId;
TRC3(RgLiTfuBndReq)
TRC3(RgLiTfuBndReq)
-
RETVALUE
((*RgLiTfuBndReqMt[pst->selector])(pst, suId, spId));
+
return
((*RgLiTfuBndReqMt[pst->selector])(pst, suId, spId));
}
}
@@
-444,14
+444,14
@@
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;
Pst * pst;
SuId suId;
SpId spId;
@@
-460,7
+460,7
@@
SpId spId;
TRC3(RgLiTfuSchBndReq)
TRC3(RgLiTfuSchBndReq)
-
RETVALUE
((*RgLiTfuSchBndReqMt[pst->selector])(pst, suId, spId));
+
return
((*RgLiTfuSchBndReqMt[pst->selector])(pst, suId, spId));
}
}
@@
-486,14
+486,14
@@
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;
Pst * pst;
SpId spId;
Reason reason;
@@
-502,7
+502,7
@@
Reason reason;
TRC3(RgLiTfuUbndReq)
TRC3(RgLiTfuUbndReq)
-
RETVALUE
((*RgLiTfuUbndReqMt[pst->selector])(pst, spId, reason));
+
return
((*RgLiTfuUbndReqMt[pst->selector])(pst, spId, reason));
}
}
@@
-528,14
+528,14
@@
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;
Pst * pst;
SpId spId;
Reason reason;
@@
-544,7
+544,7
@@
Reason reason;
TRC3(RgLiTfuSchUbndReq)
TRC3(RgLiTfuSchUbndReq)
-
RETVALUE
((*RgLiTfuSchUbndReqMt[pst->selector])(pst, spId, reason));
+
return
((*RgLiTfuSchUbndReqMt[pst->selector])(pst, spId, reason));
}
}
@@
-584,14
+584,14
@@
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;
Pst * pst;
SpId spId;
TfuRecpReqInfo * recpReq;
@@
-600,7
+600,7
@@
TfuRecpReqInfo * recpReq;
TRC3(RgLiTfuRecpReq)
TRC3(RgLiTfuRecpReq)
-
RETVALUE
((*RgLiTfuRecpReqMt[pst->selector])(pst, spId, recpReq));
+
return
((*RgLiTfuRecpReqMt[pst->selector])(pst, spId, recpReq));
}
}
@@
-633,14
+633,14
@@
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;
Pst * pst;
SpId spId;
TfuCntrlReqInfo * cntrlReq;
@@
-649,7
+649,7
@@
TfuCntrlReqInfo * cntrlReq;
TRC3(RgLiTfuCntrlReq)
TRC3(RgLiTfuCntrlReq)
-
RETVALUE
((*RgLiTfuCntrlReqMt[pst->selector])(pst, spId, cntrlReq));
+
return
((*RgLiTfuCntrlReqMt[pst->selector])(pst, spId, cntrlReq));
}
}
@@
-681,14
+681,14
@@
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;
Pst * pst;
SpId spId;
TfuDatReqInfo * datReq;
@@
-697,7
+697,7
@@
TfuDatReqInfo * datReq;
TRC3(RgLiTfuDatReq)
TRC3(RgLiTfuDatReq)
-
RETVALUE
((*RgLiTfuDatReqMt[pst->selector])(pst, spId, datReq));
+
return
((*RgLiTfuDatReqMt[pst->selector])(pst, spId, datReq));
}
}
@@
-727,14
+727,14
@@
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;
Pst * pst;
SpId spId;
TfuDelDatReqInfo * delDatReq;
@@
-743,7
+743,7
@@
TfuDelDatReqInfo * delDatReq;
TRC3(RgLiTfuDelDatReq)
TRC3(RgLiTfuDelDatReq)
-
RETVALUE
((*RgLiTfuDelDatReqMt[pst->selector])(pst, spId, delDatReq));
+
return
((*RgLiTfuDelDatReqMt[pst->selector])(pst, spId, delDatReq));
}
#endif /* L2_OPTMZ*/
}
#endif /* L2_OPTMZ*/
@@
-774,14
+774,14
@@
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;
Pst * pst;
SuId suId;
SpId spId;
@@
-794,7
+794,7
@@
SpId spId;
UNUSED(suId);
UNUSED(spId);
UNUSED(suId);
UNUSED(spId);
-
RETVALUE(ROK)
;
+
return ROK
;
}
}
@@
-820,14
+820,14
@@
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;
Pst * pst;
SuId suId;
SpId spId;
@@
-840,7
+840,7
@@
SpId spId;
UNUSED(suId);
UNUSED(spId);
UNUSED(suId);
UNUSED(spId);
-
RETVALUE(ROK)
;
+
return ROK
;
}
}
@@
-866,14
+866,14
@@
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;
Pst * pst;
SpId spId;
Reason reason;
@@
-886,7
+886,7
@@
Reason reason;
UNUSED(spId);
UNUSED(reason);
UNUSED(spId);
UNUSED(reason);
-
RETVALUE(ROK)
;
+
return ROK
;
}
}
@@
-912,14
+912,14
@@
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;
Pst * pst;
SpId spId;
Reason reason;
@@
-932,7
+932,7
@@
Reason reason;
UNUSED(spId);
UNUSED(reason);
UNUSED(spId);
UNUSED(reason);
-
RETVALUE(ROK)
;
+
return ROK
;
}
}
@@
-972,14
+972,14
@@
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;
Pst * pst;
SpId spId;
TfuRecpReqInfo * recpReq;
@@
-992,7
+992,7
@@
TfuRecpReqInfo * recpReq;
UNUSED(spId);
UNUSED(recpReq);
UNUSED(spId);
UNUSED(recpReq);
-
RETVALUE(ROK)
;
+
return ROK
;
}
}
@@
-1025,14
+1025,14
@@
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;
Pst * pst;
SpId spId;
TfuCntrlReqInfo * cntrlReq;
@@
-1045,7
+1045,7
@@
TfuCntrlReqInfo * cntrlReq;
UNUSED(spId);
UNUSED(cntrlReq);
UNUSED(spId);
UNUSED(cntrlReq);
-
RETVALUE(ROK)
;
+
return ROK
;
}
}
@@
-1077,14
+1077,14
@@
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;
Pst * pst;
SpId spId;
TfuDatReqInfo * datReq;
@@
-1097,7
+1097,7
@@
TfuDatReqInfo * datReq;
UNUSED(spId);
UNUSED(datReq);
UNUSED(spId);
UNUSED(datReq);
-
RETVALUE(ROK)
;
+
return ROK
;
}
}
@@
-1128,14
+1128,14
@@
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;
Pst * pst;
SpId spId;
TfuDelDatReqInfo * DelDatReq;
@@
-1148,7
+1148,7
@@
TfuDelDatReqInfo * DelDatReq;
UNUSED(spId);
UNUSED(delDatReq);
UNUSED(spId);
UNUSED(delDatReq);
-
RETVALUE(ROK)
;
+
return ROK
;
}
#endif /*L2_OPTMZ*/
}
#endif /*L2_OPTMZ*/