X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2F5gnrmac%2Flwr_mac_handle_phy.c;h=9e6d6759c341b039420b8ebd4f02b8f22c7707d8;hb=cad4905437d02b16c3916903a42f501eb8f7b1ac;hp=ff6588cc76e2573e3eb62817c3277fcc20c3f115;hpb=ba78fa13b01e0729fe0a6a7a18cbf1d52cdcda1c;p=o-du%2Fl2.git diff --git a/src/5gnrmac/lwr_mac_handle_phy.c b/src/5gnrmac/lwr_mac_handle_phy.c index ff6588cc7..9e6d6759c 100644 --- 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); +#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 */ @@ -489,6 +493,16 @@ void procPhyMessages(uint16_t msgType, uint32_t msgSize, void *msg) 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);