Fixing slot indication message 10/13710/1
authorpborla <pborla@radisys.com>
Tue, 29 Oct 2024 08:53:00 +0000 (14:23 +0530)
committerpborla <pborla@radisys.com>
Tue, 29 Oct 2024 08:53:33 +0000 (14:23 +0530)
Change-Id: I794675377f1faefec47924d7ebb4a91d74426916
Signed-off-by: pborla <pborla@radisys.com>
src/5gnrmac/lwr_mac_handle_phy.c

index 086f8a7..c49934a 100644 (file)
@@ -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);