X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2F5gnrrlc%2Fkw_ptli.c;h=6bc8f9487d29613a26dbd56f8c9e06441c67c366;hb=e550b2091fb29289d12a5722b189acbede7862f0;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..6bc8f9487 100755 --- a/src/5gnrrlc/kw_ptli.c +++ b/src/5gnrrlc/kw_ptli.c @@ -85,6 +85,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 @@ -149,15 +153,21 @@ PUBLIC RguBndReq kwLiRguUbndReqMt[] = PUBLIC RguDDatReq 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 */ #endif /* RG */ #ifdef LCKWLIRGU - packSendDlData, /* 0 - loosely coupled */ + packDlData, /* 0 - loosely coupled */ #endif /* LCRGUIRGU */ +#endif /* EGTP_TEST */ }; @@ -165,15 +175,21 @@ PUBLIC RguDDatReq rlcMacSendDlDataOpts[] = PUBLIC RguDStaRsp 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 */ #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 */