X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2F5gnrrlc%2Fkw_udx_ptdl.c;h=a077743f8dff65c4f6f3087e89a22fb3ee30b970;hb=65443172dd60a6ea312bd3a15959dbf54ad7f045;hp=f2fe9d8fad292be318c852c84eca0252efbfdc9b;hpb=105199ef642ffe9736ea24a01d4546578fa25e60;p=o-du%2Fl2.git diff --git a/src/5gnrrlc/kw_udx_ptdl.c b/src/5gnrrlc/kw_udx_ptdl.c index f2fe9d8fa..a077743f8 100755 --- a/src/5gnrrlc/kw_udx_ptdl.c +++ b/src/5gnrrlc/kw_udx_ptdl.c @@ -59,12 +59,12 @@ #define UDX_MAX_SEL 3 #ifndef LCKWULUDX -PRIVATE S16 PtDlUdxBndCfm ARGS(( Pst *pst,SuId suId,U8 status )); -PRIVATE S16 PtDlUdxCfgCfm ARGS((Pst *pst, SuId suId, CkwCfgCfmInfo *cfmInfo)); -PRIVATE S16 PtDlUdxUeIdChgCfm ARGS(( Pst *pst, SuId suId,U32 transId, +static S16 PtDlUdxBndCfm ARGS(( Pst *pst,SuId suId,uint8_t status )); +static S16 PtDlUdxCfgCfm ARGS((Pst *pst, SuId suId, RlcCfgCfmInfo *cfmInfo)); +static S16 PtDlUdxUeIdChgCfm ARGS(( Pst *pst, SuId suId,uint32_t transId, CmStatus status)); -PRIVATE S16 PtDlUdxStaUpdCfm ARGS(( Pst* pst,SuId suId,CmLteRlcId *rlcId, - KwUdxBufLst *pBufLst)); +static S16 PtDlUdxStaUpdCfm ARGS(( Pst* pst,SuId suId,CmLteRlcId *rlcId, + RlcUdxBufLst *pBufLst)); /* UDX Bind Confirm primitive */ /** @@ -88,24 +88,23 @@ PRIVATE S16 PtDlUdxStaUpdCfm ARGS(( Pst* pst,SuId suId,CmLteRlcId *rlcId, * */ #ifdef ANSI -PRIVATE S16 PtDlUdxBndCfm +static S16 PtDlUdxBndCfm ( Pst *pst, /* post structure */ SuId suId, /* Service User Id */ -U8 status /* Status */ +uint8_t status /* Status */ ) #else -PRIVATE S16 PtDlUdxBndCfm(pst, suId, status) +static S16 PtDlUdxBndCfm(pst, suId, status) Pst *pst; /* post structure */ SuId suId; /* Service User Id */ -U8 status; /* Status */ +uint8_t status; /* Status */ #endif { - TRC3(PtDlUdxBndCfm) - RETVALUE(ROK); + return ROK; -} /* end of KwDlUdxBndCfm */ +} /* end of rlcDlUdxBndCfm */ @@ -130,24 +129,23 @@ U8 status; /* Status */ * */ #ifdef ANSI -PRIVATE S16 PtDlUdxCfgCfm +static S16 PtDlUdxCfgCfm ( Pst *pst, /* post structure */ SuId suId, /* Service User Id */ -CkwCfgCfmInfo *cfmInfo /* Status */ +RlcCfgCfmInfo *cfmInfo /* Status */ ) #else -PRIVATE S16 PtDlUdxCfgCfm(pst, suId, status) +static 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 */ /** * @@ -170,54 +168,51 @@ CkwCfgCfmInfo *cfmInfo; /* Status */ * */ #ifdef ANSI -PRIVATE S16 PtDlUdxUeIdChgCfm +static S16 PtDlUdxUeIdChgCfm ( Pst *pst, /* post structure */ SuId suId, /* Service User Id */ -U32 transId, +uint32_t transId, CmStatus status ) #else -PRIVATE S16 PtDlUdxUeIdChgCfm(pst, suId, status) +static S16 PtDlUdxUeIdChgCfm(pst, suId, status) Pst *pst; /* post structure */ SuId suId; /* Service User Id */ -U32 transId; +uint32_t transId; CmStatus status; #endif { - TRC3(PtDlUdxUeIdChgCfm) - RETVALUE(ROK); + return ROK; -} /* end of KwDlUdxBndCfm */ +} /* end of rlcDlUdxBndCfm */ -PRIVATE S16 PtDlUdxStaUpdCfm +static S16 PtDlUdxStaUpdCfm ( Pst* pst, SuId suId, CmLteRlcId *rlcId, -KwUdxBufLst *pBufLst +RlcUdxBufLst *pBufLst ) { - TRC3(PtDlUdxStaUpdCfm); - RETVALUE(ROK); + return ROK; } -PRIVATE S16 PtDlUdxStaProhTmrStart +static S16 PtDlUdxStaProhTmrStart ( Pst* pst, SuId suId, CmLteRlcId *rlcId ) { - TRC3(PtDlUdxStaProhTmrStart); - RETVALUE(ROK); + return ROK; } #endif -PRIVATE UdxBndCfm kwDlUdxBndCfmMt[UDX_MAX_SEL] = +static UdxBndCfm rlcDlUdxBndCfmMt[UDX_MAX_SEL] = { #ifdef LCKWULUDX cmPkUdxBndCfm, /* 0 - loosely coupled */ @@ -230,13 +225,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] = +UdxCfgCfm rlcDlUdxCfgCfmMt[UDX_MAX_SEL] = { #ifdef LCKWULUDX cmPkUdxCfgCfm, /* 0 - loosely coupled */ @@ -249,13 +244,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] = +UdxUeIdChgCfm rlcDlUdxUeIdChgCfmMt[UDX_MAX_SEL] = { #ifdef LCKWULUDX cmPkUdxUeIdChgCfm, /* 0 - loosely coupled */ @@ -268,14 +263,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] = +static const UdxStaProhTmrStart rlcDlUdxStaProhTmrStartMt[UDX_MAX_SEL] = { #ifdef LCKWULUDX cmPkUdxStaProhTmrStart, @@ -288,7 +283,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 */ @@ -315,27 +310,26 @@ PRIVATE CONSTANT UdxStaProhTmrStart KwDlUdxStaProhTmrStartMt[UDX_MAX_SEL] = * */ #ifdef ANSI -PUBLIC S16 KwDlUdxBndCfm +S16 rlcDlUdxBndCfm ( Pst *pst, /* post structure */ SuId suId, /* Service User Id */ -U8 status /* Status */ +uint8_t status /* Status */ ) #else -PUBLIC S16 KwDlUdxBndCfm(pst, suId, status) +S16 rlcDlUdxBndCfm(pst, suId, status) Pst *pst; /* post structure */ SuId suId; /* Service User Id */ -U8 status; /* Status */ +uint8_t status; /* Status */ #endif { - TRC3(KwDlUdxBndCfm) /* 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 */ @@ -360,27 +354,26 @@ U8 status; /* Status */ * */ #ifdef ANSI -PUBLIC S16 KwDlUdxCfgCfm +S16 rlcDlUdxCfgCfm ( Pst *pst, /* post structure */ SuId suId, /* Service User Id */ -CkwCfgCfmInfo *cfmInfo /* Status */ +RlcCfgCfmInfo *cfmInfo /* Status */ ) #else -PUBLIC S16 KwDlUdxCfgCfm(pst, suId, status) +S16 rlcDlUdxCfgCfm(pst, suId, status) Pst *pst; /* post structure */ SuId suId; /* Service User Id */ -CkwCfgCfmInfo *cfmInfo; /* Status */ +RlcCfgCfmInfo *cfmInfo; /* Status */ #endif { - TRC3(KwDlUdxCfgCfm) /* 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 */ /** * @@ -403,54 +396,38 @@ CkwCfgCfmInfo *cfmInfo; /* Status */ * */ #ifdef ANSI -PUBLIC S16 KwDlUdxUeIdChgCfm +S16 rlcDlUdxUeIdChgCfm ( Pst *pst, /* post structure */ SuId suId, /* Service User Id */ -U32 transId, +uint32_t transId, CmStatus status ) #else -PUBLIC S16 KwDlUdxUeIdChgCfm(pst, suId, status) +S16 rlcDlUdxUeIdChgCfm(pst, suId, status) Pst *pst; /* post structure */ SuId suId; /* Service User Id */ -U32 transId; +uint32_t transId; CmStatus status; #endif { - TRC3(KwDlUdxUeIdChgCfm) /* 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 -( -Pst *pst, /* post structure */ -SuId suId, /* Service User Id */ -CmLteRlcId *rlcId -) -#else -PUBLIC S16 KwDlUdxStaProhTmrStart(pst, suId, rlcId) -Pst *pst; /* post structure */ -SuId suId; /* Service User Id */ -CmLteRlcId *rlcId; -#endif +uint8_t rlcDlUdxStaProhTmrStart(Pst *pst, SuId suId, CmLteRlcId *rlcId) { - TRC3(KwDlUdxStaProhTmrStart) - /* 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 */ /**********************************************************************