X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=src%2F5gnrrlc%2Fkw_udx_ptdl.c;h=ea1cbe2987cdeceb9b00c0d5910eacbadfd98842;hb=4d45b914f9e94203603d3b9fdbcb1aad361301dd;hp=bee2eacaa5bc54e20ae225cfc2ef276aa996761b;hpb=5625a52ad68f6ad93684e68bbbdbaef0d462cf9a;p=o-du%2Fl2.git diff --git a/src/5gnrrlc/kw_udx_ptdl.c b/src/5gnrrlc/kw_udx_ptdl.c index bee2eacaa..ea1cbe298 100755 --- a/src/5gnrrlc/kw_udx_ptdl.c +++ b/src/5gnrrlc/kw_udx_ptdl.c @@ -32,18 +32,7 @@ */ /* header include files (.h) */ -#include "envopt.h" /* environment options */ -#include "envdep.h" /* environment dependent */ -#include "envind.h" /* environment independent */ - -#include "gen.h" /* general */ -#include "ssi.h" /* system services */ -#include "cm5.h" /* common timer defines */ -#include "cm_tkns.h" /* common tokens defines */ -#include "cm_mblk.h" /* common memory allocation library defines */ -#include "cm_llist.h" /* common link list defines */ -#include "cm_hash.h" /* common hash list defines */ -#include "cm_lte.h" /* common LTE defines */ +#include "common_def.h" #include "lkw.h" /* LKW defines */ #include "ckw.h" /* CKW defines */ #include "kwu.h" /* KWU defines */ @@ -57,16 +46,6 @@ /* extern (.x) include files */ -#include "gen.x" /* general */ -#include "ssi.x" /* system services */ - -#include "cm5.x" /* common timer library */ -#include "cm_tkns.x" /* common tokens */ -#include "cm_mblk.x" /* common memory allocation */ -#include "cm_llist.x" /* common link list */ -#include "cm_hash.x" /* common hash list */ -#include "cm_lte.x" /* common LTE includes */ -#include "cm_lib.x" /* common memory allocation library */ #include "lkw.x" /* LKW */ #include "ckw.x" /* CKW */ #include "kwu.x" /* KWU */ @@ -81,7 +60,7 @@ #ifndef LCKWULUDX PRIVATE S16 PtDlUdxBndCfm ARGS(( Pst *pst,SuId suId,U8 status )); -PRIVATE S16 PtDlUdxCfgCfm ARGS((Pst *pst, SuId suId, CkwCfgCfmInfo *cfmInfo)); +PRIVATE S16 PtDlUdxCfgCfm ARGS((Pst *pst, SuId suId, RlcCfgCfmInfo *cfmInfo)); PRIVATE S16 PtDlUdxUeIdChgCfm ARGS(( Pst *pst, SuId suId,U32 transId, CmStatus status)); PRIVATE S16 PtDlUdxStaUpdCfm ARGS(( Pst* pst,SuId suId,CmLteRlcId *rlcId, @@ -124,9 +103,9 @@ U8 status; /* Status */ { TRC3(PtDlUdxBndCfm) - RETVALUE(ROK); + return ROK; -} /* end of KwDlUdxBndCfm */ +} /* end of rlcDlUdxBndCfm */ @@ -155,20 +134,20 @@ PRIVATE S16 PtDlUdxCfgCfm ( Pst *pst, /* post structure */ SuId suId, /* Service User Id */ -CkwCfgCfmInfo *cfmInfo /* Status */ +RlcCfgCfmInfo *cfmInfo /* Status */ ) #else PRIVATE S16 PtDlUdxCfgCfm(pst, suId, status) Pst *pst; /* post structure */ SuId suId; /* Service User Id */ -CkwCfgCfmInfo *cfmInfo; /* Status */ +RlcCfgCfmInfo *cfmInfo; /* Status */ #endif { TRC3(PtDlUdxCfgCfm) - RETVALUE(ROK); + return ROK; -} /* end of KwDlUdxBndCfm */ +} /* end of rlcDlUdxBndCfm */ /** * @@ -208,9 +187,9 @@ CmStatus status; { TRC3(PtDlUdxUeIdChgCfm) - RETVALUE(ROK); + return ROK; -} /* end of KwDlUdxBndCfm */ +} /* end of rlcDlUdxBndCfm */ @@ -223,7 +202,7 @@ KwUdxBufLst *pBufLst ) { TRC3(PtDlUdxStaUpdCfm); - RETVALUE(ROK); + return ROK; } PRIVATE S16 PtDlUdxStaProhTmrStart @@ -234,11 +213,11 @@ CmLteRlcId *rlcId ) { TRC3(PtDlUdxStaProhTmrStart); - RETVALUE(ROK); + return ROK; } #endif -PRIVATE UdxBndCfm kwDlUdxBndCfmMt[UDX_MAX_SEL] = +PRIVATE UdxBndCfm rlcDlUdxBndCfmMt[UDX_MAX_SEL] = { #ifdef LCKWULUDX cmPkUdxBndCfm, /* 0 - loosely coupled */ @@ -251,13 +230,13 @@ PRIVATE UdxBndCfm kwDlUdxBndCfmMt[UDX_MAX_SEL] = PtDlUdxBndCfm, /* 1 - loosely coupled, portable */ #endif /* LCKWUIKWU */ #ifdef KW - KwUlUdxBndCfm, /* 2 - tightly coupled, RRC */ + rlcUlUdxBndCfm, /* 2 - tightly coupled, RRC */ #else PtDlUdxBndCfm, /* 2 - tightly coupled, portable */ #endif /* KW */ }; -PUBLIC UdxCfgCfm kwDlUdxCfgCfmMt[UDX_MAX_SEL] = +PUBLIC UdxCfgCfm rlcDlUdxCfgCfmMt[UDX_MAX_SEL] = { #ifdef LCKWULUDX cmPkUdxCfgCfm, /* 0 - loosely coupled */ @@ -270,13 +249,13 @@ PUBLIC UdxCfgCfm kwDlUdxCfgCfmMt[UDX_MAX_SEL] = PtDlUdxCfgCfm, /* 1 - loosely coupled, portable */ #endif /* LCKWUIKWU */ #ifdef KW - KwUlUdxCfgCfm, /* 2 - tightly coupled, RRC */ + rlcUlUdxCfgCfm, /* 2 - tightly coupled, RRC */ #else PtDlUdxCfgCfm, /* 2 - tightly coupled, portable */ #endif /* KW */ }; -PUBLIC UdxUeIdChgCfm kwDlUdxUeIdChgCfmMt[UDX_MAX_SEL] = +PUBLIC UdxUeIdChgCfm rlcDlUdxUeIdChgCfmMt[UDX_MAX_SEL] = { #ifdef LCKWULUDX cmPkUdxUeIdChgCfm, /* 0 - loosely coupled */ @@ -289,14 +268,14 @@ PUBLIC UdxUeIdChgCfm kwDlUdxUeIdChgCfmMt[UDX_MAX_SEL] = PtDlUdxUeIdChgCfm, /* 1 - loosely coupled, portable */ #endif /* LCKWUIKWU */ #ifdef KW - KwUlUdxUeIdChgCfm, /* 2 - tightly coupled, RRC */ + rlcUlUdxUeIdChgCfm, /* 2 - tightly coupled, RRC */ #else PtDlUdxUeIdChgCfm, /* 2 - tightly coupled, portable */ #endif /* KW */ }; -PRIVATE CONSTANT UdxStaProhTmrStart KwDlUdxStaProhTmrStartMt[UDX_MAX_SEL] = +PRIVATE CONSTANT UdxStaProhTmrStart rlcDlUdxStaProhTmrStartMt[UDX_MAX_SEL] = { #ifdef LCKWULUDX cmPkUdxStaProhTmrStart, @@ -309,7 +288,7 @@ PRIVATE CONSTANT UdxStaProhTmrStart KwDlUdxStaProhTmrStartMt[UDX_MAX_SEL] = PtDlUdxStaProhTmrStart, /* 1 - loosely coupled, portable */ #endif /* LCKWUIKWU */ #ifdef KW - KwUlUdxStaProhTmrStart, /* 2 - tightly coupled, RRC */ + rlcUlUdxStaProhTmrStart, /* 2 - tightly coupled, RRC */ #else PtDlUdxStaProhTmrStart, /* 2 - tightly coupled, portable */ #endif /* KW */ @@ -336,27 +315,27 @@ PRIVATE CONSTANT UdxStaProhTmrStart KwDlUdxStaProhTmrStartMt[UDX_MAX_SEL] = * */ #ifdef ANSI -PUBLIC S16 KwDlUdxBndCfm +PUBLIC S16 rlcDlUdxBndCfm ( Pst *pst, /* post structure */ SuId suId, /* Service User Id */ U8 status /* Status */ ) #else -PUBLIC S16 KwDlUdxBndCfm(pst, suId, status) +PUBLIC S16 rlcDlUdxBndCfm(pst, suId, status) Pst *pst; /* post structure */ SuId suId; /* Service User Id */ U8 status; /* Status */ #endif { - TRC3(KwDlUdxBndCfm) + TRC3(rlcDlUdxBndCfm) /* jump to specific primitive depending on configured selector */ - (*kwDlUdxBndCfmMt[pst->selector])(pst, suId, status); + (*rlcDlUdxBndCfmMt[pst->selector])(pst, suId, status); - RETVALUE(ROK); + return ROK; -} /* end of KwDlUdxBndCfm */ +} /* end of rlcDlUdxBndCfm */ @@ -381,27 +360,27 @@ U8 status; /* Status */ * */ #ifdef ANSI -PUBLIC S16 KwDlUdxCfgCfm +PUBLIC S16 rlcDlUdxCfgCfm ( Pst *pst, /* post structure */ SuId suId, /* Service User Id */ -CkwCfgCfmInfo *cfmInfo /* Status */ +RlcCfgCfmInfo *cfmInfo /* Status */ ) #else -PUBLIC S16 KwDlUdxCfgCfm(pst, suId, status) +PUBLIC S16 rlcDlUdxCfgCfm(pst, suId, status) Pst *pst; /* post structure */ SuId suId; /* Service User Id */ -CkwCfgCfmInfo *cfmInfo; /* Status */ +RlcCfgCfmInfo *cfmInfo; /* Status */ #endif { - TRC3(KwDlUdxCfgCfm) + TRC3(rlcDlUdxCfgCfm) /* jump to specific primitive depending on configured selector */ - (*kwDlUdxCfgCfmMt[pst->selector])(pst, suId, cfmInfo); + (*rlcDlUdxCfgCfmMt[pst->selector])(pst, suId, cfmInfo); - RETVALUE(ROK); + return ROK; -} /* end of KwDlUdxBndCfm */ +} /* end of rlcDlUdxBndCfm */ /** * @@ -424,7 +403,7 @@ CkwCfgCfmInfo *cfmInfo; /* Status */ * */ #ifdef ANSI -PUBLIC S16 KwDlUdxUeIdChgCfm +PUBLIC S16 rlcDlUdxUeIdChgCfm ( Pst *pst, /* post structure */ SuId suId, /* Service User Id */ @@ -432,46 +411,46 @@ U32 transId, CmStatus status ) #else -PUBLIC S16 KwDlUdxUeIdChgCfm(pst, suId, status) +PUBLIC S16 rlcDlUdxUeIdChgCfm(pst, suId, status) Pst *pst; /* post structure */ SuId suId; /* Service User Id */ U32 transId; CmStatus status; #endif { - TRC3(KwDlUdxUeIdChgCfm) + TRC3(rlcDlUdxUeIdChgCfm) /* jump to specific primitive depending on configured selector */ - (*kwDlUdxUeIdChgCfmMt[pst->selector])(pst, suId,transId,status); + (*rlcDlUdxUeIdChgCfmMt[pst->selector])(pst, suId,transId,status); - RETVALUE(ROK); + return ROK; -} /* end of KwDlUdxBndCfm */ +} /* end of rlcDlUdxBndCfm */ #ifdef ANSI -PUBLIC S16 KwDlUdxStaProhTmrStart +PUBLIC S16 rlcDlUdxStaProhTmrStart ( Pst *pst, /* post structure */ SuId suId, /* Service User Id */ CmLteRlcId *rlcId ) #else -PUBLIC S16 KwDlUdxStaProhTmrStart(pst, suId, rlcId) +PUBLIC S16 rlcDlUdxStaProhTmrStart(pst, suId, rlcId) Pst *pst; /* post structure */ SuId suId; /* Service User Id */ CmLteRlcId *rlcId; #endif { - TRC3(KwDlUdxStaProhTmrStart) + TRC3(rlcDlUdxStaProhTmrStart) /* jump to specific primitive depending on configured selector */ - (*KwDlUdxStaProhTmrStartMt[pst->selector])(pst, suId, rlcId); + (*rlcDlUdxStaProhTmrStartMt[pst->selector])(pst, suId, rlcId); - RETVALUE(ROK); + return ROK; -} /* end of KwDlUdxBndCfm */ +} /* end of rlcDlUdxBndCfm */ /**********************************************************************