X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2F5gnrrlc%2Fkw_ptli.c;h=e0402ff31e0c8740540f84de94ae6c783f434a3a;hb=a46f210198423478d5884486e9610eb9067d46e6;hp=92cb98ed5611279a9c72b10e330f61dad4423415;hpb=2af23ef78e09b945e68188eefc0d9fa0bc14a4d4;p=o-du%2Fl2.git diff --git a/src/5gnrrlc/kw_ptli.c b/src/5gnrrlc/kw_ptli.c index 92cb98ed5..e0402ff31 100755 --- a/src/5gnrrlc/kw_ptli.c +++ b/src/5gnrrlc/kw_ptli.c @@ -27,9 +27,7 @@ File: kw_ptli.c *********************************************************************21*/ -static const char* RLOG_MODULE_NAME="LIM"; -static int RLOG_MODULE_ID=2048; -static int RLOG_FILE_ID=238; + /** @file kw_ptli.c @brief RLC Lower Interface */ @@ -85,6 +83,10 @@ static int RLOG_FILE_ID=238; #include "ss_rbuf.h" #include "ss_rbuf.x" +#ifdef EGTP_TEST +#include "mac_stub.h" +#endif /* EGTP_TEST */ + #ifndef LCKWLIRGU #define PTKWRGU #endif @@ -147,33 +149,45 @@ PUBLIC RguBndReq kwLiRguUbndReqMt[] = /* RGU Dedicated Channel Data Request primitive */ -PUBLIC RguDDatReq rlcMacSendDlDataOpts[] = +PUBLIC RlcMacDlData rlcMacSendDlDataOpts[] = { +#ifdef EGTP_TEST + macStubSendDlData, + macStubSendDlData, + macStubSendDlData, +#else /* EGTP_TEST */ #ifdef LCKWLIRGU packDlData, /* 0 - loosely coupled */ #endif /* LCRGUIRGU */ #ifdef RG - RgUiRguDDatReq, /* 1 - tightly coupled, MAC */ + MacRlcProcDlData, /* 1 - tightly coupled, MAC */ #endif /* RG */ #ifdef LCKWLIRGU packDlData, /* 0 - loosely coupled */ #endif /* LCRGUIRGU */ +#endif /* EGTP_TEST */ }; /* RLC logical Channel Status primitive */ -PUBLIC RguDStaRsp rlcMacSendBOStatusOpts[] = +PUBLIC RlcMacBoStatus rlcMacSendBOStatusOpts[] = { +#ifdef EGTP_TEST + macStubBOStatus, + macStubBOStatus, + macStubBOStatus, +#else /* EGTP_TEST */ #ifdef LCKWLIRGU packBOStatus, /* 0 - loosely coupled */ #endif /* LCRGUIRGU */ #ifdef RG - RgUiRguDStaRsp, /* 1 - tightly coupled, MAC */ + MacRlcProcBOStatus, /* 1 - tightly coupled, MAC */ #endif /* RG */ #ifdef LCKWLIRGU packBOStatus, /* 0 - LWLC loosely coupled */ #endif /* LCRGUIRGU */ +#endif /* EGTP_TEST */ }; /* kw005.201 added support for L2 Measurement */