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
Changes to make number of slots and BW generic
[o-du/l2.git]
/
src
/
5gnrmac
/
lwr_mac_handle_phy.c
diff --git
a/src/5gnrmac/lwr_mac_handle_phy.c
b/src/5gnrmac/lwr_mac_handle_phy.c
index
ff6588c
..
9e6d675
100644
(file)
--- a/
src/5gnrmac/lwr_mac_handle_phy.c
+++ b/
src/5gnrmac/lwr_mac_handle_phy.c
@@
-338,6
+338,10
@@
uint8_t procRxDataInd(fapi_rx_data_indication_t *fapiRxDataInd)
MAC_ALLOC_SHRABL_BUF(pdu->pduData, pdu->pduLength);
memcpy(pdu->pduData, fapiRxDataInd->pdus[pduIdx].pduData, pdu->pduLength);
MAC_ALLOC_SHRABL_BUF(pdu->pduData, pdu->pduLength);
memcpy(pdu->pduData, fapiRxDataInd->pdus[pduIdx].pduData, pdu->pduLength);
+#ifdef INTEL_WLS_MEM
+ /* Free WLS memory allocated for Rx PDU */
+ WLS_MEM_FREE(fapiRxDataInd->pdus[pduIdx].pduData, LWR_MAC_WLS_BUF_SIZE);
+#endif
}
/* Fill post and sent to MAC */
}
/* Fill post and sent to MAC */
@@
-489,6
+493,16
@@
void procPhyMessages(uint16_t msgType, uint32_t msgSize, void *msg)
switch(header->msg_id)
{
switch(header->msg_id)
{
+#ifdef INTEL_TIMER_MODE
+ case FAPI_VENDOR_EXT_UL_IQ_SAMPLES:
+ {
+ printf("\nLWR_MAC: Received FAPI_VENDOR_EXT_UL_IQ_SAMPLES");
+ //send config req
+ uint16_t cellId = 1;
+ sendToLowerMac(CONFIG_REQUEST, 0, (void *)&cellId);
+ break;
+ }
+#endif
case FAPI_PARAM_RESPONSE:
{
sendToLowerMac(PARAM_RESPONSE, msgSize, msg);
case FAPI_PARAM_RESPONSE:
{
sendToLowerMac(PARAM_RESPONSE, msgSize, msg);