X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2F5gnrrlc%2Fkw_udx_ptdl.c;h=536a245d218e5769800e9c14b5f6d8c3bc8d08c2;hb=3330932565e15a749fd5dd5039cdea2862ca51cc;hp=ea1cbe2987cdeceb9b00c0d5910eacbadfd98842;hpb=aee73991f728cc127d1ed76d5a52571d916235a4;p=o-du%2Fl2.git diff --git a/src/5gnrrlc/kw_udx_ptdl.c b/src/5gnrrlc/kw_udx_ptdl.c index ea1cbe298..536a245d2 100755 --- a/src/5gnrrlc/kw_udx_ptdl.c +++ b/src/5gnrrlc/kw_udx_ptdl.c @@ -18,7 +18,7 @@ /************************************************************************ - Name: LTE-RLC ULDL Interface + Name: NR RLC ULDL Interface Type: C source file @@ -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, RlcCfgCfmInfo *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 */ /** @@ -87,21 +87,13 @@ PRIVATE S16 PtDlUdxStaUpdCfm ARGS(( Pst* pst,SuId suId,CmLteRlcId *rlcId, * -# ROK * */ -#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) -Pst *pst; /* post structure */ -SuId suId; /* Service User Id */ -U8 status; /* Status */ -#endif { - TRC3(PtDlUdxBndCfm) return ROK; @@ -129,21 +121,13 @@ U8 status; /* Status */ * -# ROK * */ -#ifdef ANSI -PRIVATE S16 PtDlUdxCfgCfm +static S16 PtDlUdxCfgCfm ( Pst *pst, /* post structure */ SuId suId, /* Service User Id */ RlcCfgCfmInfo *cfmInfo /* Status */ ) -#else -PRIVATE S16 PtDlUdxCfgCfm(pst, suId, status) -Pst *pst; /* post structure */ -SuId suId; /* Service User Id */ -RlcCfgCfmInfo *cfmInfo; /* Status */ -#endif { - TRC3(PtDlUdxCfgCfm) return ROK; @@ -169,23 +153,14 @@ RlcCfgCfmInfo *cfmInfo; /* Status */ * -# ROK * */ -#ifdef ANSI -PRIVATE S16 PtDlUdxUeIdChgCfm +static S16 PtDlUdxUeIdChgCfm ( Pst *pst, /* post structure */ SuId suId, /* Service User Id */ -U32 transId, -CmStatus status +uint32_t transId, +CmStatus status ) -#else -PRIVATE S16 PtDlUdxUeIdChgCfm(pst, suId, status) -Pst *pst; /* post structure */ -SuId suId; /* Service User Id */ -U32 transId; -CmStatus status; -#endif { - TRC3(PtDlUdxUeIdChgCfm) return ROK; @@ -193,31 +168,29 @@ CmStatus status; -PRIVATE S16 PtDlUdxStaUpdCfm +static S16 PtDlUdxStaUpdCfm ( Pst* pst, SuId suId, CmLteRlcId *rlcId, -KwUdxBufLst *pBufLst +RlcUdxBufLst *pBufLst ) { - TRC3(PtDlUdxStaUpdCfm); return ROK; } -PRIVATE S16 PtDlUdxStaProhTmrStart +static S16 PtDlUdxStaProhTmrStart ( Pst* pst, SuId suId, CmLteRlcId *rlcId ) { - TRC3(PtDlUdxStaProhTmrStart); return ROK; } #endif -PRIVATE UdxBndCfm rlcDlUdxBndCfmMt[UDX_MAX_SEL] = +static UdxBndCfm rlcDlUdxBndCfmMt[UDX_MAX_SEL] = { #ifdef LCKWULUDX cmPkUdxBndCfm, /* 0 - loosely coupled */ @@ -236,7 +209,7 @@ PRIVATE UdxBndCfm rlcDlUdxBndCfmMt[UDX_MAX_SEL] = #endif /* KW */ }; -PUBLIC UdxCfgCfm rlcDlUdxCfgCfmMt[UDX_MAX_SEL] = +UdxCfgCfm rlcDlUdxCfgCfmMt[UDX_MAX_SEL] = { #ifdef LCKWULUDX cmPkUdxCfgCfm, /* 0 - loosely coupled */ @@ -255,7 +228,7 @@ PUBLIC UdxCfgCfm rlcDlUdxCfgCfmMt[UDX_MAX_SEL] = #endif /* KW */ }; -PUBLIC UdxUeIdChgCfm rlcDlUdxUeIdChgCfmMt[UDX_MAX_SEL] = +UdxUeIdChgCfm rlcDlUdxUeIdChgCfmMt[UDX_MAX_SEL] = { #ifdef LCKWULUDX cmPkUdxUeIdChgCfm, /* 0 - loosely coupled */ @@ -275,7 +248,7 @@ PUBLIC UdxUeIdChgCfm rlcDlUdxUeIdChgCfmMt[UDX_MAX_SEL] = }; -PRIVATE CONSTANT UdxStaProhTmrStart rlcDlUdxStaProhTmrStartMt[UDX_MAX_SEL] = +static const UdxStaProhTmrStart rlcDlUdxStaProhTmrStartMt[UDX_MAX_SEL] = { #ifdef LCKWULUDX cmPkUdxStaProhTmrStart, @@ -314,21 +287,13 @@ PRIVATE CONSTANT UdxStaProhTmrStart rlcDlUdxStaProhTmrStartMt[UDX_MAX_SEL] = * -# ROK * */ -#ifdef ANSI -PUBLIC S16 rlcDlUdxBndCfm +S16 rlcDlUdxBndCfm ( Pst *pst, /* post structure */ SuId suId, /* Service User Id */ -U8 status /* Status */ +uint8_t status /* Status */ ) -#else -PUBLIC S16 rlcDlUdxBndCfm(pst, suId, status) -Pst *pst; /* post structure */ -SuId suId; /* Service User Id */ -U8 status; /* Status */ -#endif { - TRC3(rlcDlUdxBndCfm) /* jump to specific primitive depending on configured selector */ (*rlcDlUdxBndCfmMt[pst->selector])(pst, suId, status); @@ -359,21 +324,13 @@ U8 status; /* Status */ * -# ROK * */ -#ifdef ANSI -PUBLIC S16 rlcDlUdxCfgCfm +S16 rlcDlUdxCfgCfm ( Pst *pst, /* post structure */ SuId suId, /* Service User Id */ RlcCfgCfmInfo *cfmInfo /* Status */ ) -#else -PUBLIC S16 rlcDlUdxCfgCfm(pst, suId, status) -Pst *pst; /* post structure */ -SuId suId; /* Service User Id */ -RlcCfgCfmInfo *cfmInfo; /* Status */ -#endif { - TRC3(rlcDlUdxCfgCfm) /* jump to specific primitive depending on configured selector */ (*rlcDlUdxCfgCfmMt[pst->selector])(pst, suId, cfmInfo); @@ -402,23 +359,14 @@ RlcCfgCfmInfo *cfmInfo; /* Status */ * -# ROK * */ -#ifdef ANSI -PUBLIC S16 rlcDlUdxUeIdChgCfm +S16 rlcDlUdxUeIdChgCfm ( Pst *pst, /* post structure */ SuId suId, /* Service User Id */ -U32 transId, +uint32_t transId, CmStatus status ) -#else -PUBLIC S16 rlcDlUdxUeIdChgCfm(pst, suId, status) -Pst *pst; /* post structure */ -SuId suId; /* Service User Id */ -U32 transId; -CmStatus status; -#endif { - TRC3(rlcDlUdxUeIdChgCfm) /* jump to specific primitive depending on configured selector */ (*rlcDlUdxUeIdChgCfmMt[pst->selector])(pst, suId,transId,status); @@ -428,23 +376,8 @@ CmStatus status; } /* end of rlcDlUdxBndCfm */ - -#ifdef ANSI -PUBLIC S16 rlcDlUdxStaProhTmrStart -( -Pst *pst, /* post structure */ -SuId suId, /* Service User Id */ -CmLteRlcId *rlcId -) -#else -PUBLIC S16 rlcDlUdxStaProhTmrStart(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(rlcDlUdxStaProhTmrStart) - /* jump to specific primitive depending on configured selector */ (*rlcDlUdxStaProhTmrStartMt[pst->selector])(pst, suId, rlcId);