From: pborla Date: Tue, 29 Oct 2024 08:53:00 +0000 (+0530) Subject: Fixing slot indication message X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=commitdiff_plain;h=b30b0716f82d2eeceb9e136995ed9c5f1a762a4e;p=o-du%2Fl2.git Fixing slot indication message Change-Id: I794675377f1faefec47924d7ebb4a91d74426916 Signed-off-by: pborla --- diff --git a/src/5gnrmac/lwr_mac_handle_phy.c b/src/5gnrmac/lwr_mac_handle_phy.c index 086f8a7c0..c49934a52 100644 --- a/src/5gnrmac/lwr_mac_handle_phy.c +++ b/src/5gnrmac/lwr_mac_handle_phy.c @@ -112,8 +112,13 @@ uint8_t procSlotInd(fapi_slot_ind_t *fapiSlotInd) if(slotInd) { slotInd->cellId = lwrMacCb.cellCb[0].cellId; +#ifndef OAI_TESTING slotInd->sfn = fapiSlotInd->sfn; slotInd->slot = fapiSlotInd->slot; +#else + slotInd->sfn = reverseBytes16(fapiSlotInd->sfn); + slotInd->slot = reverseBytes16(fapiSlotInd->slot); +#endif FILL_PST_LWR_MAC_TO_MAC(pst, EVENT_SLOT_IND_TO_MAC); pst.selector = ODU_SELECTOR_LWLC; ret = (*sendSlotIndOpts[pst.selector])(&pst, slotInd);