Deleted the rlog folder
[o-du/l2.git] / src / 5gnrrlc / kw_udx_ptdl.c
index b4323ac..536a245 100755 (executable)
@@ -18,7 +18,7 @@
 
 /************************************************************************
  
-     Name:     LTE-RLC ULDL Interface
+     Name:     NR RLC ULDL Interface
   
      Type:     C source file
   
 #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,23 +87,15 @@ 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)
 
-   RETVALUE(ROK);
+   return ROK;
 
 } /* end of rlcDlUdxBndCfm */
 
@@ -129,23 +121,15 @@ 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)
 
-   RETVALUE(ROK);
+   return ROK;
 
 } /* end of rlcDlUdxBndCfm */
 
@@ -169,55 +153,44 @@ 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)
 
-   RETVALUE(ROK);
+   return ROK;
 
 } /* 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 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,26 +287,18 @@ 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);
 
-   RETVALUE(ROK);
+   return ROK;
 
 } /* end of rlcDlUdxBndCfm */
 
@@ -359,26 +324,18 @@ 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);
 
-   RETVALUE(ROK);
+   return ROK;
 
 } /* end of rlcDlUdxBndCfm */
 
@@ -402,53 +359,29 @@ 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);
 
-   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 */