From b30b0716f82d2eeceb9e136995ed9c5f1a762a4e Mon Sep 17 00:00:00 2001 From: pborla Date: Tue, 29 Oct 2024 14:23:00 +0530 Subject: [PATCH] Fixing slot indication message Change-Id: I794675377f1faefec47924d7ebb4a91d74426916 Signed-off-by: pborla --- src/5gnrmac/lwr_mac_handle_phy.c | 5 +++++ 1 file changed, 5 insertions(+) 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);