U8, U16, U32 data type changes
[o-du/l2.git] / src / 5gnrrlc / kw_udx_ptdl.c
index b4323ac..f8dd2c8 100755 (executable)
 #define UDX_MAX_SEL   3
 
 #ifndef LCKWULUDX
-PRIVATE S16 PtDlUdxBndCfm ARGS(( Pst *pst,SuId suId,U8 status ));
+PRIVATE S16 PtDlUdxBndCfm ARGS(( Pst *pst,SuId suId,uint8_t status ));
 PRIVATE S16 PtDlUdxCfgCfm ARGS((Pst *pst, SuId suId, RlcCfgCfmInfo *cfmInfo));
-PRIVATE S16 PtDlUdxUeIdChgCfm ARGS(( Pst *pst, SuId suId,U32 transId, 
+PRIVATE S16 PtDlUdxUeIdChgCfm ARGS(( Pst *pst, SuId suId,uint32_t transId, 
                                      CmStatus status));
 PRIVATE S16  PtDlUdxStaUpdCfm ARGS(( Pst* pst,SuId suId,CmLteRlcId *rlcId,
-                              KwUdxBufLst *pBufLst));
+                              RlcUdxBufLst *pBufLst));
 
 /* UDX Bind Confirm primitive */
 /**
@@ -92,18 +92,17 @@ PRIVATE 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 */
+uint8_t   status;                    /* Status */
 #endif
 {
-   TRC3(PtDlUdxBndCfm)
 
-   RETVALUE(ROK);
+   return ROK;
 
 } /* end of rlcDlUdxBndCfm */
 
@@ -143,9 +142,8 @@ SuId          suId;            /* Service User Id */
 RlcCfgCfmInfo *cfmInfo;        /* Status */
 #endif
 {
-   TRC3(PtDlUdxCfgCfm)
 
-   RETVALUE(ROK);
+   return ROK;
 
 } /* end of rlcDlUdxBndCfm */
 
@@ -174,20 +172,19 @@ PRIVATE 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)
 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 rlcDlUdxBndCfm */
 
@@ -198,11 +195,10 @@ PRIVATE S16  PtDlUdxStaUpdCfm
 Pst*                pst,
 SuId                suId,
 CmLteRlcId          *rlcId,
-KwUdxBufLst         *pBufLst
+RlcUdxBufLst         *pBufLst
 )
 {
-   TRC3(PtDlUdxStaUpdCfm);
-   RETVALUE(ROK);
+   return ROK;
 }
 
 PRIVATE S16  PtDlUdxStaProhTmrStart
@@ -212,8 +208,7 @@ SuId                suId,
 CmLteRlcId          *rlcId
 )
 {
-   TRC3(PtDlUdxStaProhTmrStart);
-   RETVALUE(ROK);
+   return ROK;
 }
 #endif
 
@@ -236,7 +231,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 +250,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 */
@@ -315,25 +310,24 @@ PRIVATE CONSTANT UdxStaProhTmrStart rlcDlUdxStaProhTmrStartMt[UDX_MAX_SEL] =
  *
  */
 #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)
+S16 rlcDlUdxBndCfm(pst, suId, status)
 Pst *pst;                       /* post structure */
 SuId suId;                      /* Service User Id */
-U8   status;                    /* Status */
+uint8_t   status;                    /* Status */
 #endif
 {
-   TRC3(rlcDlUdxBndCfm)
 
    /* jump to specific primitive depending on configured selector */
    (*rlcDlUdxBndCfmMt[pst->selector])(pst, suId, status);
 
-   RETVALUE(ROK);
+   return ROK;
 
 } /* end of rlcDlUdxBndCfm */
 
@@ -360,25 +354,24 @@ U8   status;                    /* Status */
  *
  */
 #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)
+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);
 
-   RETVALUE(ROK);
+   return ROK;
 
 } /* end of rlcDlUdxBndCfm */
 
@@ -403,52 +396,36 @@ RlcCfgCfmInfo *cfmInfo;        /* Status */
  *
  */
 #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)
+S16 rlcDlUdxUeIdChgCfm(pst, suId, status)
 Pst           *pst;            /* post structure */
 SuId          suId;            /* Service User Id */
-U32           transId;
+uint32_t      transId;
 CmStatus      status;
 #endif
 {
-   TRC3(rlcDlUdxUeIdChgCfm)
 
    /* jump to specific primitive depending on configured selector */
    (*rlcDlUdxUeIdChgCfmMt[pst->selector])(pst, suId,transId,status);
 
-   RETVALUE(ROK);
+   return ROK;
 
 } /* 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);
 
-   RETVALUE(ROK);
+   return ROK;
 
 } /* end of rlcDlUdxBndCfm */