X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2F5gnrmac%2Frg_ptui.c;h=ff502749f7dc7b183613fe906c4b11fd67609034;hb=5d74fef7c9fe6b65a965ceac6bfe812872dab323;hp=aad4709580c99aa8b4f65d162c0578142132db89;hpb=e7b5eab0138956edeae768a021be476f4a7a807f;p=o-du%2Fl2.git diff --git a/src/5gnrmac/rg_ptui.c b/src/5gnrmac/rg_ptui.c index aad470958..ff502749f 100755 --- a/src/5gnrmac/rg_ptui.c +++ b/src/5gnrmac/rg_ptui.c @@ -563,8 +563,6 @@ U8 status; #endif { - TRC3(RgUiRgrBndCfm); - return ((*RgUiRgrBndCfmMt[pst->selector])(pst, suId, status)); } @@ -597,8 +595,6 @@ U8 status; #endif { - TRC3(RgUiRgmBndCfm); - return ((*RgUiRgmBndCfmMt[pst->selector])(pst, suId, status)); } @@ -635,8 +631,6 @@ RgrTtiIndInfo *ttiInd; #endif { - TRC3(RgUiRgrTtiInd); - return ((*RgUiRgrTtiIndMt[pst->selector])(pst, suId, ttiInd)); } @@ -672,8 +666,6 @@ U8 status; #endif { - TRC3(RgUiRgrCfgCfm); - return ((*RgUiRgrCfgCfmMt[pst->selector])(pst, transId, status)); } @@ -708,8 +700,6 @@ U8 status; #endif { - TRC3(RgUiCrgBndCfm); - return ((*RgUiCrgBndCfmMt[pst->selector])(pst, suId, status)); } @@ -747,8 +737,6 @@ U8 status; #endif { - TRC3(RgUiCrgCfgCfm); - return ((*RgUiCrgCfgCfmMt[pst->selector])(pst, suId, transId, status)); } @@ -783,8 +771,6 @@ U8 status; #endif { - TRC3(RgUiRguBndCfm); - return ((*RgUiRguBndCfmMt[pst->selector])(pst, suId, status)); } @@ -823,8 +809,6 @@ RguCDatIndInfo * datInd; { macCDatIndSnt++; - TRC3(RgUiRguCDatInd); - return ((*RgUiRguCDatIndMt[pst->selector])(pst, suId, datInd)); } @@ -860,8 +844,6 @@ RguDDatIndInfo * datInd; { macDDatIndSnt++; - TRC3(RgUiRguDDatInd); - #if defined(MAC_RLC_UL_RBUF) && !defined(SS_RBUF) return (RgUiRguDDatIndRbuf(datInd)); #else @@ -902,8 +884,6 @@ RguCStaIndInfo * staInd; #endif { - TRC3(RgUiRguCStaInd); - return ((*RgUiRguCStaIndMt[pst->selector])(pst, suId, staInd)); } @@ -941,8 +921,6 @@ RguDStaIndInfo * staInd; #endif { - TRC3(RgUiRguDStaInd); - return ((*RgUiRguDStaIndMt[pst->selector])(pst, suId, staInd)); } @@ -963,7 +941,6 @@ RguHarqStatusInd *harqStatusInd; #endif { - TRC3(RgUiRguHqStaInd); #if defined(SPLIT_RLC_DL_TASK) && defined(MAC_RLC_HARQ_STA_RBUF) S16 ret=ROK; ret = RgUiRguHqStaIndRbuf(pst,suId,harqStatusInd); @@ -1024,8 +1001,6 @@ U8 status; #endif { - TRC3(RgUiRgrSiCfgCfm); - return ((*RgUiRgrSiCfgCfmMt[pst->selector])(pst, suId, transId, status)); } @@ -1063,8 +1038,6 @@ U8 siId; U8 status; #endif { - TRC3(RgUiRgrWarningSiCfgCfm); - return ((*RgUiRgrWarningSiCfgCfmMt[pst->selector]) (pst, suId, transId, siId, status)); } @@ -1103,8 +1076,6 @@ RgrStaIndInfo *staInd; #endif { - TRC3(RgUiRgrStaInd); - return ((*RgUiRgrStaIndMt[pst->selector])(pst, suId, staInd)); } @@ -1139,8 +1110,6 @@ S16 RgUiRgrLoadInfInd(pst, suId, loadInfInd) #endif { - TRC3(RgUiRgrLoadInfInd); - return ((*RgUiRgrLoadInfIndMt[pst->selector])(pst, suId, loadInfInd)); } @@ -1174,8 +1143,6 @@ RgrUeStaIndInfo *ueStaInd; #endif { - TRC3(RgUiRgrUeStaInd); - return ((*RgUiRgrUeStaIndMt[pst->selector])(pst, suId, ueStaInd)); } @@ -1212,8 +1179,6 @@ U8 status; #endif { - TRC3(PtUiCrgBndCfm); - UNUSED(pst); UNUSED(suId); UNUSED(status); @@ -1255,8 +1220,6 @@ U8 status; #endif { - TRC3(PtUiCrgCfgCfm); - UNUSED(pst); UNUSED(suId); UNUSED(transId); @@ -1298,8 +1261,6 @@ U8 status; #endif { - TRC3(PtUiRguBndCfm); - UNUSED(pst); UNUSED(suId); UNUSED(status); @@ -1339,8 +1300,6 @@ RguCDatIndInfo * datInd; #endif { - TRC3(PtUiRguCDatInd); - UNUSED(pst); UNUSED(suId); UNUSED(datInd); @@ -1380,8 +1339,6 @@ RguDDatIndInfo * datInd; #endif { - TRC3(PtUiRguDDatInd); - UNUSED(pst); UNUSED(suId); UNUSED(datInd); @@ -1423,8 +1380,6 @@ RguCStaIndInfo * staInd; #endif { - TRC3(PtUiRguCStaInd); - UNUSED(pst); UNUSED(suId); UNUSED(staInd); @@ -1466,8 +1421,6 @@ RguDStaIndInfo * staInd; #endif { - TRC3(PtUiRguDStaInd); - UNUSED(pst); UNUSED(suId); UNUSED(staInd); @@ -1492,8 +1445,6 @@ RguHarqStatusInd *harqStatusInd; #endif { - TRC3(PtUiRguHqStaInd); - UNUSED(pst); UNUSED(suId); UNUSED(harqStatusInd); @@ -1518,8 +1469,6 @@ RguHarqStatusInd *flowCntrlInd; #endif { - TRC3(PtUiRguFlowCntrlInd); - UNUSED(pst); UNUSED(suId); UNUSED(flowCntrlInd); @@ -1561,8 +1510,6 @@ U8 status; #endif { - TRC3(PtUiRgrBndCfm); - UNUSED(pst); UNUSED(suId); UNUSED(status); @@ -1601,8 +1548,6 @@ RgrTtiIndInfo *ttiInd; #endif { - TRC3(PtUiRgrTtiInd); - UNUSED(pst); UNUSED(suId); UNUSED(ttiInd); @@ -1644,8 +1589,6 @@ U8 status; #endif { - TRC3(PtUiRgrCfgCfm); - UNUSED(pst); UNUSED(suId); UNUSED(transId); @@ -1688,8 +1631,6 @@ U8 status; #endif { - TRC3(PtUiRgrSiCfgCfm); - UNUSED(pst); UNUSED(suId); UNUSED(transId); @@ -1732,8 +1673,6 @@ U8 siId; U8 status; #endif { - TRC3(PtUiRgrWarningSiCfgCfm); - UNUSED(pst); UNUSED(suId); UNUSED(transId); @@ -1776,8 +1715,6 @@ RgrStaIndInfo *staInd; #endif { - TRC3(PtUiRgrStaInd); - UNUSED(pst); UNUSED(suId); UNUSED(staInd); @@ -1815,8 +1752,6 @@ S16 PtUiRgrLoadInfInd(pst, suId, loadInfInd) #endif { - TRC3(PtUiRgrLoadInfInd); - UNUSED(pst); UNUSED(suId); UNUSED(loadInfInd); @@ -1854,8 +1789,6 @@ RgrUeStaIndInfo *ueStaInd; #endif { - TRC3(PtUiRgrUeStaInd); - UNUSED(pst); UNUSED(suId); UNUSED(ueStaInd); @@ -1896,8 +1829,6 @@ U8 status; #endif { - TRC3(PtUiRgmBndCfm); - UNUSED(pst); UNUSED(suId); UNUSED(status); @@ -1934,8 +1865,6 @@ RgmPrbRprtInd *prbRprtInd; #endif { - TRC3(PtUiRgmPrbRprtInd); - UNUSED(pst); UNUSED(suId); UNUSED(prbRprtInd); @@ -1972,8 +1901,6 @@ RgmTransModeInd *transModeInd; #endif { - TRC3(PtUiRgmTransModeInd); - UNUSED(pst); UNUSED(suId); UNUSED(transModeInd); @@ -2011,7 +1938,6 @@ RgmPrbRprtInd *prbRprtInd; #endif { - TRC2(RgUiRgmSendPrbRprtInd); return ((*RgUiRgmSendPrbRprtIndMt[pst->selector])(pst, suId, prbRprtInd)); } @@ -2043,7 +1969,6 @@ RgmTransModeInd *transModeInd; #endif { - TRC2(RgUiRgmChangeTransModeInd); return ((*RgUiRgmChangeTransModeIndMt[pst->selector])(pst, suId, transModeInd)); } @@ -2250,8 +2175,8 @@ RguHarqStatusInd *harqStatusInd; } else { - cmMemcpy((U8 *)&(harqStaInd->hqStatusInd), (U8 *)harqStatusInd, sizeof(RguHarqStatusInd)); - cmMemcpy((U8 *)&(harqStaInd->pst), (U8 *)pst, sizeof(Pst)); + memcpy(&(harqStaInd->hqStatusInd), harqStatusInd, sizeof(RguHarqStatusInd)); + memcpy(&(harqStaInd->pst), pst, sizeof(Pst)); SRngIncrWIndx(SS_RNG_BUF_MAC_HARQ); SsRngInfoTbl[SS_RNG_BUF_MAC_HARQ].pktRate++; }