Code Review
/
o-du
/
l2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Updated E2AP ports
[o-du/l2.git]
/
src
/
5gnrmac
/
mac_demux.c
diff --git
a/src/5gnrmac/mac_demux.c
b/src/5gnrmac/mac_demux.c
index
7dbf665
..
ae40827
100644
(file)
--- a/
src/5gnrmac/mac_demux.c
+++ b/
src/5gnrmac/mac_demux.c
@@
-85,7
+85,7
@@
uint8_t unpackRxData(uint16_t cellId, SlotIndInfo slotInfo, RxDataIndPdu *rxData
MAC_ALLOC_SHRABL_BUF(pdu, length);
if(!pdu)
{
MAC_ALLOC_SHRABL_BUF(pdu, length);
if(!pdu)
{
- DU_LOG("\nMAC : UL CCCH PDU memory allocation failed");
+ DU_LOG("\n
ERROR -->
MAC : UL CCCH PDU memory allocation failed");
return RFAILED;
}
idx++;
return RFAILED;
}
idx++;
@@
-103,7
+103,7
@@
uint8_t unpackRxData(uint16_t cellId, SlotIndInfo slotInfo, RxDataIndPdu *rxData
case MAC_LCID_MIN ... MAC_LCID_MAX :
{
case MAC_LCID_MIN ... MAC_LCID_MAX :
{
- DU_LOG("\nMAC : PDU received for LC ID %d", lcId);
+ DU_LOG("\n
INFO -->
MAC : PDU received for LC ID %d", lcId);
pduLen--;
idx++;
pduLen--;
idx++;
@@
-119,7
+119,7
@@
uint8_t unpackRxData(uint16_t cellId, SlotIndInfo slotInfo, RxDataIndPdu *rxData
MAC_ALLOC_SHRABL_BUF(pdu, length);
if(!pdu)
{
MAC_ALLOC_SHRABL_BUF(pdu, length);
if(!pdu)
{
- DU_LOG("\nMAC : Memory allocation failed while demuxing Rx Data PDU");
+ DU_LOG("\n
ERROR -->
MAC : Memory allocation failed while demuxing Rx Data PDU");
return RFAILED;
}
pduLen--;
return RFAILED;
}
pduLen--;
@@
-137,7
+137,7
@@
uint8_t unpackRxData(uint16_t cellId, SlotIndInfo slotInfo, RxDataIndPdu *rxData
macCb.macCell[cellIdx]->macRaCb[ueIdx].msg4TbSize);
memset(&macCb.macCell[cellIdx]->macRaCb[ueIdx], 0, sizeof(MacRaCbInfo));
}
macCb.macCell[cellIdx]->macRaCb[ueIdx].msg4TbSize);
memset(&macCb.macCell[cellIdx]->macRaCb[ueIdx], 0, sizeof(MacRaCbInfo));
}
-
+
/* Send UL Data to RLC */
ret = macProcUlData(cellId, rxDataIndPdu->rnti, slotInfo, lcId, length, pdu);
/* Send UL Data to RLC */
ret = macProcUlData(cellId, rxDataIndPdu->rnti, slotInfo, lcId, length, pdu);
@@
-205,7
+205,7
@@
uint8_t unpackRxData(uint16_t cellId, SlotIndInfo slotInfo, RxDataIndPdu *rxData
default:
{
default:
{
- DU_LOG("\nMAC : Invalid LC Id %d", lcId);
+ DU_LOG("\n
ERROR -->
MAC : Invalid LC Id %d", lcId);
return RFAILED;
}
} /* End of switch */
return RFAILED;
}
} /* End of switch */