X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2F5gnrrlc%2Fkw_udx_ptul.c;h=7b6916a4e982582fd357d6d658966289b2ffd692;hb=9c929d38c3bc6ae39ed658d0a7297612e5525b00;hp=a4154c2d4ce32fd5810e784c01f914fb724930b8;hpb=5831bf6b3454aa200a92cd3e84209650734e4863;p=o-du%2Fl2.git diff --git a/src/5gnrrlc/kw_udx_ptul.c b/src/5gnrrlc/kw_udx_ptul.c index a4154c2d4..7b6916a4e 100755 --- a/src/5gnrrlc/kw_udx_ptul.c +++ b/src/5gnrrlc/kw_udx_ptul.c @@ -60,11 +60,11 @@ PRIVATE S16 PtUlUdxBndReq ARGS((Pst* pst, SuId suId,SpId spId )); PRIVATE S16 PtUlUdxUbndReq ARGS((Pst* pst, SuId suId,Reason reason)); PRIVATE S16 PtUlUdxCfgReq ARGS((Pst *pst, SpId spId, RlcCfgInfo *cfgInfo)); PRIVATE S16 PtUlUdxStaUpdReq ARGS((Pst* pst,SpId spId,CmLteRlcId *rlcId, - KwUdxStaPdu *pStaPdu )); + RlcUdxStaPdu *pStaPdu )); PRIVATE S16 PtUlUdxUeIdChgReq ARGS((Pst *pst, SpId spId, U32 transId, CkwUeInfo *ueInfo, CkwUeInfo *newUeInfo)); PRIVATE S16 PtUlUdxStaPduReq ARGS(( Pst* pst,SpId spId, CmLteRlcId *rlcId, - KwUdxDlStaPdu *pStaPdu )); + RlcUdxDlStaPdu *pStaPdu )); #ifdef ANSI PRIVATE S16 PtUlUdxBndReq ( @@ -81,7 +81,7 @@ SpId spId; /* Status */ { TRC3(PtUlUdxBndReq) - RETVALUE(ROK); + return ROK; } /* end of rlcDlUdxBndReq */ @@ -121,7 +121,7 @@ Reason Reason; /* Status */ { TRC3(PtUlUdxUbndReq) - RETVALUE(ROK); + return ROK; } /* end of PtDlUdxBndReq */ @@ -141,7 +141,7 @@ RlcCfgInfo *cfmInfo; /* Config Info */ { TRC3(PtUlUdxCfgReq) - RETVALUE(ROK); + return ROK; } /* end of rlcDlUdxCfgReq */ @@ -166,7 +166,7 @@ CkwUeInfo *newUeInfo; /* Config Info */ TRC3(PtUlUdxUeIdChgReq) - RETVALUE(ROK); + return ROK; } /* end of rlcDlUdxCfgReq */ @@ -176,12 +176,12 @@ PRIVATE S16 PtUlUdxStaPduReq Pst* pst, SpId spId, CmLteRlcId *rlcId, -KwUdxDlStaPdu *pStaPdu +RlcUdxDlStaPdu *pStaPdu ) { TRC3(PtUlUdxStaPduReq); - RETVALUE(ROK); + return ROK; } /** @@ -202,20 +202,20 @@ PRIVATE S16 PtUlUdxStaUpdReq Pst* pst, SpId spId, CmLteRlcId *rlcId, -KwUdxStaPdu *pStaPdu +RlcUdxStaPdu *pStaPdu ) #else PRIVATE S16 PtUlUdxStaUpdReq(pst, rlcId, pStaPdu) Pst* pst; SpId spId; CmLteRlcId *rlcId; -KwUdxDlStaPdu *pStaPdu; +RlcUdxDlStaPdu *pStaPdu; #endif { TRC3(PtUlUdxStaUpdReq); - RETVALUE(ROK); + return ROK; } /* end of RlcUlmDlmStaUpd*/ #ifdef LTE_L2_MEAS @@ -235,18 +235,18 @@ KwUdxDlStaPdu *pStaPdu; PRIVATE S16 PtUlUdxL2MeasReq ( Pst* pst, -KwL2MeasReqEvt *measReqEvt +RlcL2MeasReqEvt *measReqEvt ) #else PRIVATE S16 PtUlUdxL2MeasReq(pst, measReqEvt ) Pst* pst; -KwL2MeasReqEvt *measReqEvt; +RlcL2MeasReqEvt *measReqEvt; #endif { TRC3(PtUlUdxL2MeasReq); - RETVALUE(ROK); + return ROK; } /** @@ -276,7 +276,7 @@ U8 status TRC3(PtUlUdxL2MeasSendReq); - RETVALUE(ROK); + return ROK; } /** @@ -306,7 +306,7 @@ U8 status TRC3(PtUlUdxL2MeasStopReq); - RETVALUE(ROK); + return ROK; } #endif #endif @@ -389,7 +389,7 @@ PRIVATE UdxUeIdChgReq rlcUlUdxUeIdChgReqMt[] = }; -PRIVATE CONSTANT UdxStaUpdReq rlcUlUdxStaUpdReqMt[KW_MAX_UDX] = +PRIVATE CONSTANT UdxStaUpdReq rlcUlUdxStaUpdReqMt[RLC_MAX_UDX] = { #ifdef LCKWULUDX cmPkUdxStaUpdReq, /* 0 - loosely coupled */ @@ -408,7 +408,7 @@ PRIVATE CONSTANT UdxStaUpdReq rlcUlUdxStaUpdReqMt[KW_MAX_UDX] = #endif /* KW */ }; -PRIVATE CONSTANT UdxStaPduReq rlcUlUdxStaPduReqMt[KW_MAX_UDX] = +PRIVATE CONSTANT UdxStaPduReq rlcUlUdxStaPduReqMt[RLC_MAX_UDX] = { #ifdef LCKWULUDX cmPkUdxStaPduReq, /* 0 - loosely coupled */ @@ -427,7 +427,7 @@ PRIVATE CONSTANT UdxStaPduReq rlcUlUdxStaPduReqMt[KW_MAX_UDX] = #endif /* KW */ }; #ifdef LTE_L2_MEAS -PRIVATE CONSTANT UdxL2MeasReq rlcUlUdxL2MeasReqMt[KW_MAX_UDX] = +PRIVATE CONSTANT UdxL2MeasReq rlcUlUdxL2MeasReqMt[RLC_MAX_UDX] = { #ifdef LCKWULUDX cmPkUdxL2MeasReq, /* 0 - loosely coupled */ @@ -446,7 +446,7 @@ PRIVATE CONSTANT UdxL2MeasReq rlcUlUdxL2MeasReqMt[KW_MAX_UDX] = #endif /* KW */ }; -PRIVATE CONSTANT UdxL2MeasSendReq rlcUlUdxL2MeasSendReqMt[KW_MAX_UDX] = +PRIVATE CONSTANT UdxL2MeasSendReq rlcUlUdxL2MeasSendReqMt[RLC_MAX_UDX] = { #ifdef LCKWULUDX cmPkUdxL2MeasSendReq, /* 0 - loosely coupled */ @@ -465,7 +465,7 @@ PRIVATE CONSTANT UdxL2MeasSendReq rlcUlUdxL2MeasSendReqMt[KW_MAX_UDX] = #endif /* KW */ }; -PRIVATE CONSTANT UdxL2MeasStopReq rlcUlUdxL2MeasStopReqMt[KW_MAX_UDX] = +PRIVATE CONSTANT UdxL2MeasStopReq rlcUlUdxL2MeasStopReqMt[RLC_MAX_UDX] = { #ifdef LCKWULUDX cmPkUdxL2MeasStopReq, /* 0 - loosely coupled */ @@ -505,14 +505,14 @@ PRIVATE CONSTANT UdxL2MeasStopReq rlcUlUdxL2MeasStopReqMt[KW_MAX_UDX] = * */ #ifdef ANSI -PUBLIC S16 rlcUlUdxBndReq +S16 rlcUlUdxBndReq ( Pst *pst, /* post structure */ SuId suId, /* Service User Id */ SpId spId /* Status */ ) #else -PUBLIC S16 rlcUlUdxBndReq(pst, suId, status) +S16 rlcUlUdxBndReq(pst, suId, status) Pst *pst; /* post structure */ SuId suId; /* Service User Id */ SpId spId; /* Status */ @@ -523,7 +523,7 @@ SpId spId; /* Status */ /* jump to specific primitive depending on configured selector */ (*rlcUlUdxBndReqMt[pst->selector])(pst, suId, spId); - RETVALUE(ROK); + return ROK; } /* end of rlcDlUdxBndReq */ @@ -548,14 +548,14 @@ SpId spId; /* Status */ * */ #ifdef ANSI -PUBLIC S16 rlcUlUdxUbndReq +S16 rlcUlUdxUbndReq ( Pst *pst, /* post structure */ SpId spId, /* Service User Id */ Reason reason /* Status */ ) #else -PUBLIC S16 rlcUlUdxUbndReq(pst, suId, status) +S16 rlcUlUdxUbndReq(pst, suId, status) Pst *pst; /* post structure */ SpId spId; /* Service User Id */ Reason Reason; /* Status */ @@ -566,19 +566,19 @@ Reason Reason; /* Status */ /* jump to specific primitive depending on configured selector */ (*rlcUlUdxUbndReqMt[pst->selector])(pst, spId,reason ); - RETVALUE(ROK); + return ROK; } /* end of rlcDlUdxBndReq */ #ifdef ANSI -PUBLIC S16 rlcUlUdxCfgReq +S16 rlcUlUdxCfgReq ( Pst *pst, /* post structure */ SpId spId, /* Service User Id */ RlcCfgInfo *cfmInfo /* Config Info */ ) #else -PUBLIC S16 rlcUlUdxCfgReq(pst, suId, status) +S16 rlcUlUdxCfgReq(pst, suId, status) Pst *pst; /* post structure */ SuId spId; /* Service User Id */ RlcCfgInfo *cfmInfo; /* Config Info */ @@ -589,12 +589,12 @@ RlcCfgInfo *cfmInfo; /* Config Info */ /* jump to specific primitive depending on configured selector */ (*rlcUlUdxCfgReqMt[pst->selector])(pst, spId, cfmInfo); - RETVALUE(ROK); + return ROK; } /* end of rlcDlUdxCfgReq */ #ifdef ANSI -PUBLIC S16 rlcUlUdxUeIdChgReq +S16 rlcUlUdxUeIdChgReq ( Pst *pst, /* post structure */ SpId spId, /* Service User Id */ @@ -603,7 +603,7 @@ CkwUeInfo *ueInfo, /* Config Info */ CkwUeInfo *newUeInfo /* Config Info */ ) #else -PUBLIC S16 rlcUlUdxUeIdChgReq(pst, spId,transId, ueInfo, newUeInfo) +S16 rlcUlUdxUeIdChgReq(pst, spId,transId, ueInfo, newUeInfo) Pst *pst; /* post structure */ SpId spId; /* Service User Id */ U32 transId; /* transaction Id */ @@ -616,23 +616,23 @@ CkwUeInfo *newUeInfo; /* Config Info */ /* jump to specific primitive depending on configured selector */ (*rlcUlUdxUeIdChgReqMt[pst->selector])(pst, spId,transId,ueInfo,newUeInfo); - RETVALUE(ROK); + return ROK; } /* end of rlcDlUdxCfgReq */ -PUBLIC S16 rlcUlUdxStaPduReq +S16 rlcUlUdxStaPduReq ( Pst* pst, SpId spId, CmLteRlcId *rlcId, -KwUdxDlStaPdu *pStaPdu +RlcUdxDlStaPdu *pStaPdu ) { TRC3(rlcUlUdxStaPduReq); - RETVALUE((*rlcUlUdxStaPduReqMt[pst->selector])(pst,spId, rlcId, pStaPdu)); + return ((*rlcUlUdxStaPduReqMt[pst->selector])(pst,spId, rlcId, pStaPdu)); } /** @@ -648,25 +648,25 @@ KwUdxDlStaPdu *pStaPdu * -# ROK **/ #ifdef ANSI -PUBLIC S16 rlcUlUdxStaUpdReq +S16 rlcUlUdxStaUpdReq ( Pst* pst, SpId spId, CmLteRlcId *rlcId, -KwUdxStaPdu *pStaPdu +RlcUdxStaPdu *pStaPdu ) #else -PUBLIC S16 rlcUlUdxStaUpdReq(pst, rlcId, pStaPdu) +S16 rlcUlUdxStaUpdReq(pst, rlcId, pStaPdu) Pst* pst; SpId spId; CmLteRlcId *rlcId; -KwUdxStaPdu *pStaPdu; +RlcUdxStaPdu *pStaPdu; #endif { TRC3(rlcUlUdxStaUpdReq); - RETVALUE((*rlcUlUdxStaUpdReqMt[pst->selector])(pst,spId, rlcId, pStaPdu)); + return ((*rlcUlUdxStaUpdReqMt[pst->selector])(pst,spId, rlcId, pStaPdu)); } /* end of RlcUlmDlmStaUpd*/ #ifdef LTE_L2_MEAS @@ -683,21 +683,21 @@ KwUdxStaPdu *pStaPdu; * -# ROK **/ #ifdef ANSI -PUBLIC S16 rlcUlUdxL2MeasReq +S16 rlcUlUdxL2MeasReq ( Pst* pst, -KwL2MeasReqEvt *measReqEvt +RlcL2MeasReqEvt *measReqEvt ) #else -PUBLIC S16 rlcUlUdxL2MeasReq(pst,measReqEvt) +S16 rlcUlUdxL2MeasReq(pst,measReqEvt) Pst* pst; -KwL2MeasReqEvt *measReqEvt; +RlcL2MeasReqEvt *measReqEvt; #endif { TRC3(rlcUlUdxStaUpdReq); - RETVALUE((*rlcUlUdxL2MeasReqMt[pst->selector])(pst,measReqEvt)); + return ((*rlcUlUdxL2MeasReqMt[pst->selector])(pst,measReqEvt)); } /* end of rlcUlUdxL2MeasReq*/ /** @@ -713,13 +713,13 @@ KwL2MeasReqEvt *measReqEvt; * -# ROK **/ #ifdef ANSI -PUBLIC S16 rlcUlUdxL2MeasSendReq +S16 rlcUlUdxL2MeasSendReq ( Pst* pst, U8 measType ) #else -PUBLIC S16 rlcUlUdxL2MeasSendReq(pst,measReqEvt) +S16 rlcUlUdxL2MeasSendReq(pst,measReqEvt) Pst* pst; U8 measType; #endif @@ -727,7 +727,7 @@ U8 measType; TRC3(rlcUlUdxStaUpdReq); - RETVALUE((*rlcUlUdxL2MeasSendReqMt[pst->selector])(pst,measType)); + return ((*rlcUlUdxL2MeasSendReqMt[pst->selector])(pst,measType)); } /* end of rlcUlUdxMesReq*/ /** @@ -743,13 +743,13 @@ U8 measType; * -# ROK **/ #ifdef ANSI -PUBLIC S16 rlcUlUdxL2MeasStopReq +S16 rlcUlUdxL2MeasStopReq ( Pst* pst, U8 measType ) #else -PUBLIC S16 rlcUlUdxL2MeasStopReq(pst,measReqEvt) +S16 rlcUlUdxL2MeasStopReq(pst,measReqEvt) Pst* pst; U8 measType; #endif @@ -757,7 +757,7 @@ U8 measType; TRC3(rlcUlUdxStaUpdReq); - RETVALUE((*rlcUlUdxL2MeasStopReqMt[pst->selector])(pst,measType)); + return ((*rlcUlUdxL2MeasStopReqMt[pst->selector])(pst,measType)); } /* end of rlcUlUdxMesReq*/ #endif /**********************************************************************