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=5e7873d730d057ff2e40db854754ca1f69f84ef9;hpb=d10b52519198632f93deae9574adc69c7ce12efa;p=o-du%2Fl2.git diff --git a/src/5gnrrlc/kw_ptli.c b/src/5gnrrlc/kw_ptli.c index 5e7873d73..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 - packSendDlData, /* 0 - loosely coupled */ + packDlData, /* 0 - loosely coupled */ #endif /* LCRGUIRGU */ #ifdef RG - RgUiRguDDatReq, /* 1 - tightly coupled, MAC */ + MacRlcProcDlData, /* 1 - tightly coupled, MAC */ #endif /* RG */ #ifdef LCKWLIRGU - packSendDlData, /* 0 - loosely coupled */ + 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 - packSendBOStatus, /* 0 - loosely coupled */ + packBOStatus, /* 0 - loosely coupled */ #endif /* LCRGUIRGU */ #ifdef RG - RgUiRguDStaRsp, /* 1 - tightly coupled, MAC */ + MacRlcProcBOStatus, /* 1 - tightly coupled, MAC */ #endif /* RG */ #ifdef LCKWLIRGU - packSendBOStatus, /* 0 - LWLC loosely coupled */ + packBOStatus, /* 0 - LWLC loosely coupled */ #endif /* LCRGUIRGU */ +#endif /* EGTP_TEST */ }; /* kw005.201 added support for L2 Measurement */