#include "common_def.h"
#include "phy_stub_utils.h"
#ifdef INTEL_FAPI
-#include "fapi.h"
+#include "nr5g_fapi_internal.h"
#include "fapi_vendor_extension.h"
#endif
#include "phy_stub.h"
return ROK;
}
+#ifdef CALL_FLOW_DEBUG_LOG
+/**************************************************************************
+* @brief Function prints the src dest and msg reached to egtp.
+*
+* @details
+*
+* Function : callFlowPhyStubActvTsk
+*
+* Functionality:
+* Function prints the src dest and msg reached to egtp.
+*
+* @param[in] Pst *pst, Post structure of the primitive.
+*
+* @return void
+*
+***************************************************************************/
+
+void callFlowPhyStubActvTsk(Pst *pst)
+{
+ char sourceTask[50];
+ char destTask[50]="PHY";
+ char message[100];
+
+ switch(pst->srcEnt)
+ {
+ case ENTPHYSTUB:
+ {
+ strcpy(sourceTask,"PHY");
+ switch(pst->event)
+ {
+ case EVT_PHY_START_SLOT_IND:
+ {
+ strcpy(message,"EVT_PHY_START_SLOT_IND");
+ break;
+ }
+ default:
+ {
+ strcpy(message,"Invalid Event");
+ break;
+ }
+ }
+ }
+ }
+ DU_LOG("\nCall Flow: %s -> %s : %s\n", sourceTask, destTask, message);
+}
+#endif
/*******************************************************************
*
uint8_t phyStubActvTsk(Pst *pst, Buffer *mBuf)
{
DU_LOG("\nPHY_STUB: Received Event [%d]", pst->event);
+
+#ifdef CALL_FLOW_DEBUG_LOG
+ callFlowPhyStubActvTsk(pst);
+#endif
+
switch(pst->srcEnt)
{
case ENTPHYSTUB: