X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2F5gnrmac%2Frg_ptmi.c;h=a7fa99a701329df5e838a6246ca53a351901475d;hb=def50dc175cebc67238db5f1acd5ff322a2279bd;hp=fca771f439e00fae4f05f401c05604c199e7e5ec;hpb=aee73991f728cc127d1ed76d5a52571d916235a4;p=o-du%2Fl2.git diff --git a/src/5gnrmac/rg_ptmi.c b/src/5gnrmac/rg_ptmi.c index fca771f43..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,20 +280,18 @@ 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); return ROK; @@ -318,20 +316,18 @@ 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); return ROK; @@ -358,20 +354,18 @@ 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); return ROK; @@ -397,20 +391,18 @@ 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); return ROK; @@ -436,20 +428,18 @@ 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); return ROK; @@ -474,20 +464,18 @@ 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); return ROK; @@ -513,20 +501,18 @@ 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); return ROK; @@ -551,20 +537,18 @@ 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); return ROK; @@ -591,22 +575,20 @@ 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); return ROK; @@ -617,18 +599,17 @@ 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); @@ -654,19 +635,17 @@ 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); return ROK; @@ -699,19 +678,17 @@ 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) - return ROK; }/* end of PtMiLrgCfgCfm */ @@ -735,18 +712,17 @@ 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) return ROK; }/* end of PtMiLrgSchCfgCfm */ @@ -773,18 +749,17 @@ 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) return ROK; }/* end of PtMiLrgStsCfm */ @@ -811,18 +786,17 @@ 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) return ROK; }/* end of PtMiLrgStaCfm */ @@ -848,18 +822,17 @@ 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) return ROK; }/* end of PtMiLrgStaInd */ @@ -883,18 +856,17 @@ 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) return ROK; }/* end of PtMiLrgSchStaInd */ @@ -919,18 +891,17 @@ 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) return ROK; }/* end of PtMiLrgCntrlCfm */ @@ -954,18 +925,17 @@ 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) return ROK; }/* end of PtMiLrgSchCntrlCfm */ @@ -990,20 +960,19 @@ 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) return ROK; }/* end of PtMiLrgTrcInd */ #ifdef LTE_L2_MEAS @@ -1022,18 +991,17 @@ 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) return ROK; }/* end of PtMiLrgSchL2MeasCfm */ @@ -1053,18 +1021,17 @@ 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) return ROK; }/* end of PtMiLrgSchL2MeasStopCfm */