X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2F5gnrmac%2Frg_ptmi.c;h=a7fa99a701329df5e838a6246ca53a351901475d;hb=42f73fef5ef8722af83284e0f146b2da693a1f68;hp=7dc1a10e876c78c779dc3c45ed406bf80e42782d;hpb=105199ef642ffe9736ea24a01d4546578fa25e60;p=o-du%2Fl2.git diff --git a/src/5gnrmac/rg_ptmi.c b/src/5gnrmac/rg_ptmi.c index 7dc1a10e8..a7fa99a70 100755 --- a/src/5gnrmac/rg_ptmi.c +++ b/src/5gnrmac/rg_ptmi.c @@ -99,7 +99,7 @@ PRIVATE CONSTANT LrgCfgCfm RgMiLrgCfgCfmMt[RG_MAX_LRG_USR] = #ifdef SM SmMiLrgCfgCfm, /* 1 - Tightly coupled SM */ #else - PtMiLrgCfgCfm, /* 1 - Tightly coupled SM */ + //PtMiLrgCfgCfm, /* 1 - Tightly coupled SM */ #endif }; @@ -114,7 +114,7 @@ PRIVATE CONSTANT LrgSchCfgCfm RgMiLrgSchCfgCfmMt[RG_MAX_LRG_USR] = #ifdef SM SmMiLrgSchCfgCfm, /* 1 - Tightly coupled SM */ #else - PtMiLrgSchCfgCfm, /* 1 - Tightly coupled SM */ + //PtMiLrgSchCfgCfm, /* 1 - Tightly coupled SM */ #endif }; @@ -280,23 +280,21 @@ PRIVATE CONSTANT LrgSchL2MeasStopCfm RgMiLrgSchL2mMeasStopCfmMt[RG_MAX_LRG_USR] * -# ROK **/ #ifdef ANSI -PUBLIC S16 RgMiLrgCfgCfm +S16 RgMiLrgCfgCfm ( Pst *pst, /* post structure */ RgMngmt *cfm /* config confirm structure */ ) #else -PUBLIC S16 RgMiLrgCfgCfm(pst, cfm) +S16 RgMiLrgCfgCfm(pst, cfm) Pst *pst; /* post structure */ RgMngmt *cfm; /* config confirm structure */ #endif { - TRC3(RgMiLrgCfgCfm); - (*RgMiLrgCfgCfmMt[pst->selector])(pst, cfm); - RETVALUE(ROK); + return ROK; }/*-- RgMiLrgCfgCfm --*/ @@ -318,23 +316,21 @@ RgMngmt *cfm; /* config confirm structure */ * -# ROK **/ #ifdef ANSI -PUBLIC S16 RgMiLrgSchCfgCfm +S16 RgMiLrgSchCfgCfm ( Pst *pst, /* post structure */ RgMngmt *cfm /* config confirm structure */ ) #else -PUBLIC S16 RgMiLrgSchCfgCfm(pst, cfm) +S16 RgMiLrgSchCfgCfm(pst, cfm) Pst *pst; /* post structure */ RgMngmt *cfm; /* config confirm structure */ #endif { - TRC3(RgMiLrgSchCfgCfm); - (*RgMiLrgSchCfgCfmMt[pst->selector])(pst, cfm); - RETVALUE(ROK); + return ROK; }/*-- RgMiLrgSchCfgCfm --*/ @@ -358,23 +354,21 @@ RgMngmt *cfm; /* config confirm structure */ * -# ROK **/ #ifdef ANSI -PUBLIC S16 RgMiLrgStsCfm +S16 RgMiLrgStsCfm ( Pst *pst, /* post structure */ RgMngmt *cfm /* statistics confirm structure */ ) #else -PUBLIC S16 RgMiLrgStsCfm(pst, cfm) +S16 RgMiLrgStsCfm(pst, cfm) Pst *pst; /* post structure */ RgMngmt *cfm; /* statistics confirm structure */ #endif { - TRC3(RgMiLrgStsCfm); - (*RgMiLrgStsCfmMt[pst->selector])(pst, cfm); - RETVALUE(ROK); + return ROK; }/*-- RgMiLrgStsCfm --*/ @@ -397,23 +391,21 @@ RgMngmt *cfm; /* statistics confirm structure */ * -# ROK **/ #ifdef ANSI -PUBLIC S16 RgMiLrgStaCfm +S16 RgMiLrgStaCfm ( Pst *pst, /* post structure */ RgMngmt *cfm /* status confirm structure */ ) #else -PUBLIC S16 RgMiLrgStaCfm(pst, cfm) +S16 RgMiLrgStaCfm(pst, cfm) Pst *pst; /* post structure */ RgMngmt *cfm; /* status confirm structure */ #endif { - TRC3(RgMiLrgStaCfm); - (*RgMiLrgStaCfmMt[pst->selector])(pst,cfm); - RETVALUE(ROK); + return ROK; }/*-- RgMiLrgStaCfm --*/ @@ -436,23 +428,21 @@ RgMngmt *cfm; /* status confirm structure */ * -# ROK **/ #ifdef ANSI -PUBLIC S16 RgMiLrgCntrlCfm +S16 RgMiLrgCntrlCfm ( Pst *pst, /* post structure */ RgMngmt *cfm /* control confirm structure */ ) #else -PUBLIC S16 RgMiLrgCntrlCfm(pst, cfm) +S16 RgMiLrgCntrlCfm(pst, cfm) Pst *pst; /* post structure */ RgMngmt *cfm; /* control confirm structure */ #endif { - TRC3(RgMiLrgCntrlCfm); - (*RgMiLrgCntrlCfmMt[pst->selector])(pst,cfm); - RETVALUE(ROK); + return ROK; }/*-- RgMiLrgCntrlCfm --*/ @@ -474,23 +464,21 @@ RgMngmt *cfm; /* control confirm structure */ * -# ROK **/ #ifdef ANSI -PUBLIC S16 RgMiLrgSchCntrlCfm +S16 RgMiLrgSchCntrlCfm ( Pst *pst, /* post structure */ RgMngmt *cfm /* control confirm structure */ ) #else -PUBLIC S16 RgMiLrgSchCntrlCfm(pst, cfm) +S16 RgMiLrgSchCntrlCfm(pst, cfm) Pst *pst; /* post structure */ RgMngmt *cfm; /* control confirm structure */ #endif { - TRC3(RgMiLrgSchCntrlCfm); - (*RgMiLrgSchCntrlCfmMt[pst->selector])(pst,cfm); - RETVALUE(ROK); + return ROK; }/*-- RgMiLrgSchCntrlCfm --*/ @@ -513,23 +501,21 @@ RgMngmt *cfm; /* control confirm structure */ * -# ROK **/ #ifdef ANSI -PUBLIC S16 RgMiLrgStaInd +S16 RgMiLrgStaInd ( Pst *pst, /* post structure */ RgMngmt *usta /* status indication structure */ ) #else -PUBLIC S16 RgMiLrgStaInd(pst, usta) +S16 RgMiLrgStaInd(pst, usta) Pst *pst; /* post structure */ RgMngmt *usta; /* status indication structure */ #endif { - TRC3(RgMiLrgStaInd); - (*RgMiLrgStaIndMt[pst->selector])(pst,usta); - RETVALUE(ROK); + return ROK; }/*-- RgMiLrgStaInd --*/ @@ -551,23 +537,21 @@ RgMngmt *usta; /* status indication structure */ * -# ROK **/ #ifdef ANSI -PUBLIC S16 RgMiLrgSchStaInd +S16 RgMiLrgSchStaInd ( Pst *pst, /* post structure */ RgMngmt *usta /* status indication structure */ ) #else -PUBLIC S16 RgMiLrgSchStaInd(pst, usta) +S16 RgMiLrgSchStaInd(pst, usta) Pst *pst; /* post structure */ RgMngmt *usta; /* status indication structure */ #endif { - TRC3(RgMiLrgSchStaInd); - (*RgMiLrgSchStaIndMt[pst->selector])(pst,usta); - RETVALUE(ROK); + return ROK; }/*-- RgMiLrgSchStaInd --*/ @@ -591,25 +575,23 @@ RgMngmt *usta; /* status indication structure */ * -# ROK **/ #ifdef ANSI -PUBLIC S16 RgMiLrgTrcInd +S16 RgMiLrgTrcInd ( Pst *pst, /* post structure */ RgMngmt *trc, /* Trace event */ Buffer *mBuf /* Trace message */ ) #else -PUBLIC S16 RgMiLrgTrcInd(pst, trc, mBuf) +S16 RgMiLrgTrcInd(pst, trc, mBuf) Pst *pst; /* post structure */ RgMngmt *trc; /* Trace event */ Buffer *mBuf; /* Trace message */ #endif { - TRC3(RgMiLrgTrcInd); - (*RgMiLrgTrcIndMt[pst->selector])(pst,trc,mBuf); - RETVALUE(ROK); + return ROK; }/*-- RgMiLrgTrcInd --*/ @@ -617,22 +599,21 @@ Buffer *mBuf; /* Trace message */ /* TODO: Function header */ #ifdef ANSI -PUBLIC S16 RgMiLrgSchL2MeasCfm +S16 RgMiLrgSchL2MeasCfm ( Pst *pst, /* post structure */ LrgSchMeasCfmInfo *cfm /* Meas Cfm Info */ ) #else -PUBLIC S16 RgMiLrgSchL2MeasCfm(pst, cfm) +S16 RgMiLrgSchL2MeasCfm(pst, cfm) Pst *pst; /* post structure */ LrgSchMeasCfmInfo *cfm; /* Meas Cfm Info */ #endif { - TRC3(RgMiLrgSchL2MeasCfm) (*RgMiLrgSchL2mMeasCfmMt[pst->selector])(pst,cfm); - RETVALUE(ROK); + return ROK; } /* RgMiLrgSchL2MeasCfm */ @@ -654,22 +635,20 @@ LrgSchMeasCfmInfo *cfm; /* Meas Cfm Info */ **/ #ifdef ANSI -PUBLIC S16 RgMiLrgSchL2MeasStopCfm +S16 RgMiLrgSchL2MeasStopCfm ( Pst *pst, /* post structure */ LrgSchMeasCfmInfo *cfm /* Meas Cfm Info */ ) #else -PUBLIC S16 RgMiLrgSchL2MeasStopCfm(pst, cfm) +S16 RgMiLrgSchL2MeasStopCfm(pst, cfm) Pst *pst; /* post structure */ LrgSchMeasCfmInfo *cfm; /* Meas Cfm Info */ #endif { - TRC3(RgMiLrgSchL2MeasStopCfm) - (*RgMiLrgSchL2mMeasStopCfmMt[pst->selector])(pst,cfm); - RETVALUE(ROK); + return ROK; } /* RgMiLrgSchL2MeasStopCfm */ @@ -699,20 +678,18 @@ LrgSchMeasCfmInfo *cfm; /* Meas Cfm Info */ * -# ROK **/ #ifdef ANSI -PUBLIC S16 PtMiLrgCfgCfm +S16 PtMiLrgCfgCfm ( Pst *pst, /* post structure */ RgMngmt *cfm /* Config Confirm */ ) #else -PUBLIC S16 PtMiLrgCfgCfm (pst, cfm) +S16 PtMiLrgCfgCfm (pst, cfm) Pst *pst; /* post structure */ RgMngmt *cfm; /* Config Confirm */ #endif { - TRC3(PtMiLrgCfgCfm) - - RETVALUE(ROK); + return ROK; }/* end of PtMiLrgCfgCfm */ /** @@ -735,20 +712,19 @@ RgMngmt *cfm; /* Config Confirm */ * -# ROK **/ #ifdef ANSI -PUBLIC S16 PtMiLrgSchCfgCfm +S16 PtMiLrgSchCfgCfm ( Pst *pst, /* post structure */ RgMngmt *cfm /* Config Confirm */ ) #else -PUBLIC S16 PtMiLrgSchCfgCfm (pst, cfm) +S16 PtMiLrgSchCfgCfm (pst, cfm) Pst *pst; /* post structure */ RgMngmt *cfm; /* Config Confirm */ #endif { - TRC3(PtMiLrgSchCfgCfm) - RETVALUE(ROK); + return ROK; }/* end of PtMiLrgSchCfgCfm */ @@ -773,20 +749,19 @@ RgMngmt *cfm; /* Config Confirm */ * -# ROK **/ #ifdef ANSI -PUBLIC S16 PtMiLrgStsCfm +S16 PtMiLrgStsCfm ( Pst *pst, /* post structure */ RgMngmt *cfm /* Statistics Confirm */ ) #else -PUBLIC S16 PtMiLrgStsCfm (pst, cfm) +S16 PtMiLrgStsCfm (pst, cfm) Pst *pst; /* post structure */ RgMngmt *cfm; /* Statistics Confirm */ #endif { - TRC3(PtMiLrgStsCfm) - RETVALUE(ROK); + return ROK; }/* end of PtMiLrgStsCfm */ @@ -811,19 +786,18 @@ RgMngmt *cfm; /* Statistics Confirm */ * -# ROK **/ #ifdef ANSI -PUBLIC S16 PtMiLrgStaCfm +S16 PtMiLrgStaCfm ( Pst *pst, /* post structure */ RgMngmt *cfm /* Status Confirm */ ) #else -PUBLIC S16 PtMiLrgStaCfm (pst, cfm) +S16 PtMiLrgStaCfm (pst, cfm) Pst *pst; /* post structure */ RgMngmt *cfm; /* Status Confirm */ #endif { - TRC3(PtMiLrgStaCfm) - RETVALUE(ROK); + return ROK; }/* end of PtMiLrgStaCfm */ @@ -848,19 +822,18 @@ RgMngmt *cfm; /* Status Confirm */ * -# ROK **/ #ifdef ANSI -PUBLIC S16 PtMiLrgStaInd +S16 PtMiLrgStaInd ( Pst *pst, /* post structure */ RgMngmt *usta /* Status Indication */ ) #else -PUBLIC S16 PtMiLrgStaInd (pst, usta) +S16 PtMiLrgStaInd (pst, usta) Pst *pst; /* post structure */ RgMngmt *usta; /* Status indication */ #endif { - TRC3(PtMiLrgStaInd) - RETVALUE(ROK); + return ROK; }/* end of PtMiLrgStaInd */ /** @@ -883,19 +856,18 @@ RgMngmt *usta; /* Status indication */ * -# ROK **/ #ifdef ANSI -PUBLIC S16 PtMiLrgSchStaInd +S16 PtMiLrgSchStaInd ( Pst *pst, /* post structure */ RgMngmt *usta /* Status Indication */ ) #else -PUBLIC S16 PtMiLrgSchStaInd (pst, usta) +S16 PtMiLrgSchStaInd (pst, usta) Pst *pst; /* post structure */ RgMngmt *usta; /* Status indication */ #endif { - TRC3(PtMiLrgSchStaInd) - RETVALUE(ROK); + return ROK; }/* end of PtMiLrgSchStaInd */ @@ -919,19 +891,18 @@ RgMngmt *usta; /* Status indication */ * -# ROK **/ #ifdef ANSI -PUBLIC S16 PtMiLrgCntrlCfm +S16 PtMiLrgCntrlCfm ( Pst *pst, /* post structure */ RgMngmt *cfm /* Control Confirm */ ) #else -PUBLIC S16 PtMiLrgCntrlCfm (pst, cfm) +S16 PtMiLrgCntrlCfm (pst, cfm) Pst *pst; /* post structure */ RgMngmt *cfm; /* Control Confirm */ #endif { - TRC3(PtMiLrgCntrlCfm) - RETVALUE(ROK); + return ROK; }/* end of PtMiLrgCntrlCfm */ /** @@ -954,19 +925,18 @@ RgMngmt *cfm; /* Control Confirm */ * -# ROK **/ #ifdef ANSI -PUBLIC S16 PtMiLrgSchCntrlCfm +S16 PtMiLrgSchCntrlCfm ( Pst *pst, /* post structure */ RgMngmt *cfm /* Control Confirm */ ) #else -PUBLIC S16 PtMiLrgSchCntrlCfm (pst, cfm) +S16 PtMiLrgSchCntrlCfm (pst, cfm) Pst *pst; /* post structure */ RgMngmt *cfm; /* Control Confirm */ #endif { - TRC3(PtMiLrgSchCntrlCfm) - RETVALUE(ROK); + return ROK; }/* end of PtMiLrgSchCntrlCfm */ @@ -990,21 +960,20 @@ RgMngmt *cfm; /* Control Confirm */ * -# ROK **/ #ifdef ANSI -PUBLIC S16 PtMiLrgTrcInd +S16 PtMiLrgTrcInd ( Pst *pst, /* post structure */ RgMngmt *trc, /* Trace Event */ Buffer *mBuf /* Trace message */ ) #else -PUBLIC S16 PtMiLrgTrcInd (pst, trc,mBuf) +S16 PtMiLrgTrcInd (pst, trc,mBuf) Pst *pst; /* post structure */ RgMngmt *trc; /* Trace Event */ Buffer *mBuf; /* Trace message */ #endif { - TRC3(PtMiLrgTrcInd) - RETVALUE(ROK); + return ROK; }/* end of PtMiLrgTrcInd */ #ifdef LTE_L2_MEAS /** @@ -1022,20 +991,19 @@ Buffer *mBuf; /* Trace message */ * -# ROK **/ #ifdef ANSI -PUBLIC S16 PtMiLrgSchL2MeasCfm +S16 PtMiLrgSchL2MeasCfm ( Pst *pst, /* post structure */ LrgSchMeasCfmInfo *cfm /* Measurement Confirm */ ) #else -PUBLIC S16 PtMiLrgSchL2MeasCfm(pst, cfm) +S16 PtMiLrgSchL2MeasCfm(pst, cfm) Pst *pst; /* post structure */ LrgSchMeasCfmInfo *cfm; /* Measurement Confirm */ #endif { - TRC3(PtMiLrgSchL2MeasCfm) - RETVALUE(ROK); + return ROK; }/* end of PtMiLrgSchL2MeasCfm */ /** @@ -1053,20 +1021,19 @@ LrgSchMeasCfmInfo *cfm; /* Measurement Confirm */ * -# ROK **/ #ifdef ANSI -PUBLIC S16 PtMiLrgSchL2MeasStopCfm +S16 PtMiLrgSchL2MeasStopCfm ( Pst *pst, /* post structure */ LrgSchMeasCfmInfo *cfm /* Measurement Confirm */ ) #else -PUBLIC S16 PtMiLrgSchL2MeasStopCfm(pst, cfm) +S16 PtMiLrgSchL2MeasStopCfm(pst, cfm) Pst *pst; /* post structure */ LrgSchMeasCfmInfo *cfm; /* Measurement Confirm */ #endif { - TRC3(PtMiLrgSchL2MeasStopCfm) - RETVALUE(ROK); + return ROK; }/* end of PtMiLrgSchL2MeasStopCfm */ #endif #endif /*--PTRGMILRG--*/