X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2F5gnrmac%2Flwr_mac_phy.c;h=a02195c0fe3ca52770050fbac494780651898f1a;hb=762bc0a2a50222d74b01d9a88071bfaf5d90979b;hp=1b6d0c96864fb80bad88508374ba017ecc57fe97;hpb=ba78fa13b01e0729fe0a6a7a18cbf1d52cdcda1c;p=o-du%2Fl2.git diff --git a/src/5gnrmac/lwr_mac_phy.c b/src/5gnrmac/lwr_mac_phy.c index 1b6d0c968..a02195c0f 100644 --- a/src/5gnrmac/lwr_mac_phy.c +++ b/src/5gnrmac/lwr_mac_phy.c @@ -29,6 +29,7 @@ #include "lwr_mac_fsm.h" #include "mac_utils.h" #include "lwr_mac_utils.h" +#include "lwr_mac.h" #ifdef INTEL_FAPI #include "fapi.h" #include "fapi_vendor_extension.h" @@ -253,41 +254,13 @@ void LwrMacRecvPhyMsg() #endif /* INTEL_WLS_MEM */ -/******************************************************************* - * - * @brief Sends message to PHY Stub - * - * @details - * - * Function : LwrMacSendToPhy - * Functionality: - * -Sends message to PHY Stub - * -Once super header and vendor specific message is - * implemented for all FAPI messages, this function - * can be deleted. LwrMacSendToFapi() should be used. - * - * @params[in] Message Type - * Message Length - * Messaga Pointer - * - * @return void - * - * *****************************************************************/ - -uint8_t LwrMacSendToPhy(uint8_t msgType, uint32_t msgLen, void *msg) -{ - l1ProcessFapiRequest(msgType, msgLen, msg); - return ROK; -} /* LwrMacSendToPhy */ - - /******************************************************************* * * @brief Send FAPI messages to Intel PHY/Phy stub * * @details * - * Function : LwrMacSendToFapi + * Function : LwrMacSendToL1 * * Functionality: Send FAPI messages to Intel PHY/Phy stub * @@ -296,7 +269,7 @@ uint8_t LwrMacSendToPhy(uint8_t msgType, uint32_t msgLen, void *msg) * RFAILED - failure * * ****************************************************************/ -uint8_t LwrMacSendToFapi(void *msg) +uint8_t LwrMacSendToL1(void *msg) { uint8_t ret = ROK; #ifdef INTEL_FAPI @@ -372,7 +345,7 @@ uint8_t LwrMacSendToFapi(void *msg) } else { - MAC_FREE(currMsg, msgLen); + LWR_MAC_FREE(currMsg, msgLen); } currMsg = nextMsg; }