replaced cmMemSet, cmMemcpy with memset and memcpy resp AND Removed TRC() traces...
[o-du/l2.git] / src / 5gnrsch / rg_sch_pt.c
index adf0d38..b8ff43b 100755 (executable)
@@ -251,20 +251,18 @@ PRIVATE CONSTANT L2MeasStopCfm RgMacSchL2MeasStopCfmMt[RG_MAX_SCH] =
 *      -# ROK
 **/
 #ifdef ANSI
-PUBLIC S16 RgSchMacCellReg
+S16 RgSchMacCellReg
 (
 Pst* pst,
 RgInfCellReg*   regReq
 )
 #else
-PUBLIC S16 RgSchMacCellReg(pst, regReq)
+S16 RgSchMacCellReg(pst, regReq)
 Pst* pst;
 RgInfCellReg*   regReq;
 #endif
 {
 
-   TRC3(RgSchMacCellReg);
-
    return ((*RgSchMacCellRegReqMt[0])(pst, regReq));
 }
 
@@ -283,20 +281,18 @@ RgInfCellReg*   regReq;
 *      -# ROK
 **/
 #ifdef ANSI
-PUBLIC S16 RgMacSchDedBoUpdt
+S16 RgMacSchDedBoUpdt
 (
 Pst* pst,
 RgInfDedBoRpt*  boRpt
 )
 #else
-PUBLIC S16 RgMacSchDedBoUpdt(pst, boRpt)
+S16 RgMacSchDedBoUpdt(pst, boRpt)
 Pst* pst;
 RgInfDedBoRpt*  boRpt;
 #endif
 {
 
-   TRC3(RgMacSchDedBoUpdt);
-
    return ((*RgMacSchDedBoUpdtReqMt[0])(pst, boRpt));
 }
 
@@ -315,20 +311,18 @@ RgInfDedBoRpt*  boRpt;
 *      -# ROK
 **/
 #ifdef ANSI
-PUBLIC S16 RgMacSchCmnBoUpdt
+S16 RgMacSchCmnBoUpdt
 (
 Pst* pst,
 RgInfCmnBoRpt*  boRpt
 )
 #else
-PUBLIC S16 RgMacSchCmnBoUpdt(pst, boRpt)
+S16 RgMacSchCmnBoUpdt(pst, boRpt)
 Pst* pst;
 RgInfCmnBoRpt*  boRpt;
 #endif
 {
 
-   TRC3(RgMacSchCmnBoUpdt);
-
    return ((*RgMacSchCmnBoUpdtReqMt[0])(pst, boRpt));
 }
 
@@ -347,20 +341,18 @@ RgInfCmnBoRpt*  boRpt;
 *      -# ROK
 **/
 #ifdef ANSI
-PUBLIC S16 RgMacSchUeDel
+S16 RgMacSchUeDel
 (
 Pst* pst,
 RgInfUeDelInd*  ueDelInd
 )
 #else
-PUBLIC S16 RgMacSchUeDel(pst, datInd)
+S16 RgMacSchUeDel(pst, datInd)
 Pst* pst;
 RgInfUeDelInd*  ueDelInd;
 #endif
 {
 
-   TRC3(RgMacSchUeDel);
-
    return ((*RgMacSchUeDelIndMt[0])(pst, ueDelInd));
 }
 /*Fix: end: Inform UE delete to scheduler*/
@@ -379,20 +371,18 @@ RgInfUeDelInd*  ueDelInd;
 *      -# ROK
 **/
 #ifdef ANSI
-PUBLIC S16 RgMacSchSfRecp
+S16 RgMacSchSfRecp
 (
 Pst* pst,
 RgInfSfDatInd*  datInd
 )
 #else
-PUBLIC S16 RgMacSchSfRecp(pst, datInd)
+S16 RgMacSchSfRecp(pst, datInd)
 Pst* pst;
 RgInfSfDatInd*  datInd;
 #endif
 {
 
-   TRC3(RgMacSchSfRecp);
-
    return ((*RgMacSchSfRecpIndMt[0])(pst, datInd));
 }
 
@@ -411,20 +401,18 @@ RgInfSfDatInd*  datInd;
 *      -# ROK
 **/
 #ifdef ANSI
-PUBLIC S16 RgSchMacSfAlloc
+S16 RgSchMacSfAlloc
 (
 Pst* pst,
 RgInfSfAlloc*   resAllocReq
 )
 #else
-PUBLIC S16 RgSchMacSfAlloc(pst, resAllocReq)
+S16 RgSchMacSfAlloc(pst, resAllocReq)
 Pst* pst;
 RgInfSfAlloc*   resAllocReq;
 #endif
 {
 
-   TRC3(RgSchMacSfAlloc);
-
    return ((*RgSchMacSfAllocReqMt[0])(pst, resAllocReq));
 }
 
@@ -441,20 +429,18 @@ RgInfSfAlloc*   resAllocReq;
 *      -# ROK
 **/
 #ifdef ANSI
-PUBLIC S16 RgSchMacRstHqEnt
+S16 RgSchMacRstHqEnt
 (
 Pst*                 pst,    
 RgInfResetHqEnt*     hqEntInfo
 )
 #else
-PUBLIC S16 RgSchMacRstHqEnt(pst, hqEntInfo)
+S16 RgSchMacRstHqEnt(pst, hqEntInfo)
 Pst*                 pst;
 RgInfResetHqEnt*     hqEntInfo;
 #endif
 {
 
-   TRC3(RgSchMacRstHqEnt)
-
    return ((*RgSchMacRstHqEntReqMt[0])(pst, hqEntInfo));
 }
 
@@ -473,20 +459,18 @@ RgInfResetHqEnt*     hqEntInfo;
 *      -# ROK
 **/
 #ifdef ANSI
-PUBLIC S16 RgSchMacRlsHq
+S16 RgSchMacRlsHq
 (
 Pst* pst,
 RgInfRlsHqInfo* sfHqInfo
 )
 #else
-PUBLIC S16 RgSchMacRlsHq(pst, sfHqInfo)
+S16 RgSchMacRlsHq(pst, sfHqInfo)
 Pst* pst;
 RgInfRlsHqInfo* sfHqInfo;
 #endif
 {
 
-   TRC3(RgSchMacRlsHq);
-
    return ((*RgSchMacRlsHqReqMt[0])(pst, sfHqInfo));
 }
 
@@ -505,20 +489,18 @@ RgInfRlsHqInfo* sfHqInfo;
 *      -# ROK
 **/
 #ifdef ANSI
-PUBLIC S16 RgSchMacRlsRnti
+S16 RgSchMacRlsRnti
 (
 Pst* pst,
 RgInfRlsRnti*   rlsRnti
 )
 #else
-PUBLIC S16 RgSchMacRlsRnti(pst, rlsRnti)
+S16 RgSchMacRlsRnti(pst, rlsRnti)
 Pst* pst;
 RgInfRlsRnti*   rlsRnti;
 #endif
 {
 
-   TRC3(RgSchMacRlsRnti);
-
    return ((*RgSchMacRlsRntiReqMt[0])(pst, rlsRnti));
 }
 
@@ -535,20 +517,18 @@ RgInfRlsRnti*   rlsRnti;
 *      -# ROK
 **/
 #ifdef ANSI
-PUBLIC S16 RgSchMacLcgReg
+S16 RgSchMacLcgReg
 (
 Pst*                pst,
 RgInfLcgRegReq      *lcgRegReq
 )
 #else
-PUBLIC S16 RgSchMacLcgReg(pst, lcgRegReq)
+S16 RgSchMacLcgReg(pst, lcgRegReq)
 Pst*                pst;
 RgInfLcgRegReq       *lcgRegReq;
 #endif
 {
 
-   TRC3(RgSchMacLcgReg);
-
    return ((*RgSchMacLcgRegReqMt[0])(pst, lcgRegReq));
 } /* end of RgSchMacLcgReg */
 
@@ -567,20 +547,18 @@ RgInfLcgRegReq       *lcgRegReq;
 *      -# ROK
 **/
 #ifdef ANSI
-PUBLIC S16 RgMacSchSpsRel
+S16 RgMacSchSpsRel
 (
 Pst*                pst,
 RgInfSpsRelInfo*    relInfo
 )
 #else
-PUBLIC S16 RgMacSchSpsRel(pst, relInfo)
+S16 RgMacSchSpsRel(pst, relInfo)
 Pst*                pst;
 RgInfSpsRelInfo*    relInfo;
 #endif
 {
 
-   TRC3(RgMacSchS);
-
    return ((*RgMacSchSpsRelIndMt[0])(pst, relInfo));
 } /* end of RgMacSchSpsRel */
 
@@ -597,20 +575,18 @@ RgInfSpsRelInfo*    relInfo;
 *      -# ROK
 **/
 #ifdef ANSI
-PUBLIC S16 RgSchMacSpsLcReg
+S16 RgSchMacSpsLcReg
 (
 Pst*                pst,
 RgInfSpsLcInfo      *lcInfo
 )
 #else
-PUBLIC S16 RgSchMacSpsLcReg(pst, lcInfo)
+S16 RgSchMacSpsLcReg(pst, lcInfo)
 Pst*                pst;
 RgInfSpsLcInfo      *lcInfo;
 #endif
 {
 
-   TRC3(RgSchMacSpsLcReg);
-
    return ((*RgSchMacSpsLcRegReqMt[0])(pst, lcInfo));
 } /* end of RgSchMacSpsLcReg */
 
@@ -629,20 +605,18 @@ RgInfSpsLcInfo      *lcInfo;
 *      -# ROK
 **/
 #ifdef ANSI
-PUBLIC S16 RgSchMacUlSpsReset
+S16 RgSchMacUlSpsReset
 (
 Pst*                pst,
 RgInfUlSpsReset      *ulSpsResetInfo
 )
 #else
-PUBLIC S16 RgSchMacUlSpsReset(pst, ulSpsResetInfo)
+S16 RgSchMacUlSpsReset(pst, ulSpsResetInfo)
 Pst*                pst;
 RgInfUlSpsReset      *ulSpsResetInfo;
 #endif
 {
 
-   TRC3(RgSchMacUlSpsReset);
-
    return ((*RgSchMacUlSpsResetMt[0])(pst, ulSpsResetInfo));
 } /* end of RgSchMacUlSpsReset */
 
@@ -661,22 +635,20 @@ RgInfUlSpsReset      *ulSpsResetInfo;
 *      -# ROK
 **/
 #ifdef ANSI
-PUBLIC S16 RgSchMacSpsLcDereg
+S16 RgSchMacSpsLcDereg
 (
 Pst*                pst,
 CmLteCellId         cellId,
 CmLteRnti           crnti
 )
 #else
-PUBLIC S16 RgSchMacSpsLcDereg(pst, cellId, crnti)
+S16 RgSchMacSpsLcDereg(pst, cellId, crnti)
 Pst*                pst;
 CmLteCellId         cellId;
 CmLteRnti           crnti;
 #endif
 {
 
-   TRC3(RgSchMacSpsLcDereg);
-
    return ((*RgSchMacSpsLcDeregReqMt[0])(pst, cellId, crnti));
 } /* end of RgSchMacSpsLcDereg */
 
@@ -695,20 +667,18 @@ CmLteRnti           crnti;
 *      -# ROK
 **/
 #ifdef ANSI
-PUBLIC S16 RgSchMacL2Meas
+S16 RgSchMacL2Meas
 (
 Pst*                pst,
 RgInfL2MeasReq      *measInfo
 )
 #else
-PUBLIC S16 RgSchMacL2Meas(pst, measInfo)
+S16 RgSchMacL2Meas(pst, measInfo)
 Pst*                pst;
 RgInfL2MeasReq      *measInfo;
 #endif
 {
 
-   TRC3(RgSchMacL2Meas);
-
    return ((*RgSchMacL2MeasReqMt[0])(pst, measInfo));
 } /* end of RgSchMacL2Meas */
 
@@ -725,20 +695,18 @@ RgInfL2MeasReq      *measInfo;
 *      -# ROK
 **/   
 #ifdef ANSI
-PUBLIC S16 RgSchMacL2MeasStop
+S16 RgSchMacL2MeasStop
 (       
 Pst*                pst,
 RgInfL2MeasStopReq *measInfo
 )     
 #else 
-PUBLIC S16 RgSchMacL2MeasStop(pst, measInfo)
+S16 RgSchMacL2MeasStop(pst, measInfo)
 Pst*                pst;
 RgInfL2MeasStopReq *measInfo;
 #endif
 {  
      
-   TRC3(RgSchMacL2MeasStop);
-        
    return ((*RgSchMacL2MeasStopReqMt[0])(pst, measInfo));
 } /* end of RgSchMacL2Meas */
 
@@ -755,20 +723,18 @@ RgInfL2MeasStopReq *measInfo;
 *      -# ROK
 **/
 #ifdef ANSI
-PUBLIC S16 RgSchMacL2MeasSend
+S16 RgSchMacL2MeasSend
 (
 Pst*                pst,
 RgInfL2MeasSndReq *measInfo
 )
 #else
-PUBLIC S16 RgSchMacL2MeasSend(pst, measInfo)
+S16 RgSchMacL2MeasSend(pst, measInfo)
 Pst*                pst;
 RgInfL2MeasSndReq *measInfo;
 #endif
 {
 
-   TRC3(RgSchMacL2MeasSend);
-
    return ((*RgSchMacL2MeasSendReqMt[0])(pst, measInfo));
 } /* end of RgSchMacL2MeasSend */
 
@@ -785,20 +751,18 @@ RgInfL2MeasSndReq *measInfo;
 *      -# ROK
 **/
 #ifdef ANSI
-PUBLIC S16 RgMacSchL2Meas
+S16 RgMacSchL2Meas
 (
 Pst*                pst,
 RgInfL2MeasCfm      *measInfo
 )
 #else
-PUBLIC S16 RgMacSchL2Meas(pst, measInfo)
+S16 RgMacSchL2Meas(pst, measInfo)
 Pst*                pst;
 RgInfL2MeasCfm      *measInfo;
 #endif
 {
 
-   TRC3(RgMacSchL2Meas);
-
    return ((*RgMacSchL2MeasCfmMt[0])(pst, measInfo));
 } /* end of RgSchMacL2Meas */
 /**
@@ -814,20 +778,18 @@ RgInfL2MeasCfm      *measInfo;
 *      -# ROK
 **/
 #ifdef ANSI
-PUBLIC S16 RgMacSchL2MeasStop
+S16 RgMacSchL2MeasStop
 (
 Pst*                pst,   
 RgInfL2MeasCfm      *measInfo
 )
 #else
-PUBLIC S16 RgMacSchL2MeasStop(pst, measInfo)
+S16 RgMacSchL2MeasStop(pst, measInfo)
 Pst*                pst;
 RgInfL2MeasCfm      *measInfo;
 #endif
 {
     
-   TRC3(RgMacSchL2MeasStop);
-
    return ((*RgMacSchL2MeasStopCfmMt[0])(pst, measInfo));
 } /* end of RgSchMacL2MeasStop*/
 #endif/*LTE_L2_MEAS*/