#ifdef NFAPI_ENABLED
#include "nfapi_interface.h"
#include "nfapi_vnf_fsm.h"
-
-extern NfapiVnfDb vnfDb;
#endif
uint8_t ssbPeriodicity[6] = {5, 10, 20, 40, 80, 160};
}
/*Global Variable*/
-uint32_t PER_TTI_TIME_USEC;
-uint8_t NUM_SLOTS_PER_SUBFRAME;
+extern uint32_t PER_TTI_TIME_USEC;
+extern uint8_t NUM_SLOTS_PER_SUBFRAME;
/*Common Functions*/
void nfapiFillP5Hdr(Buffer *mBuf);
#include "mac_utils.h"
#include "nfapi_p7_msg_hdl.h"
-extern uint32_t PER_TTI_TIME_USEC;
-extern uint8_t NUM_SLOTS_PER_SUBFRAME;
+uint32_t PER_TTI_TIME_USEC;
+uint8_t NUM_SLOTS_PER_SUBFRAME;
/**************************************************************************
* @brief Task Initiation callback function.
#include "nfapi_common.h"
#include "nfapi_udp_p7.h"
-extern NfapiVnfDb vnfDb;
-
/***********************************************************************
*
* @brief Pack parameters of Precoding and Beamforming
#include "mac_utils.h"
#include "lwr_mac_fsm.h"
+NfapiVnfDb vnfDb;
+
/*******************************************************************
*
* @brief Initalization of VNF Database
}NfapiVnfDb;
/* Global variables */
-NfapiVnfDb vnfDb;
+extern NfapiVnfDb vnfDb;
void nFapiVnfInit();
typedef uint8_t (*nFapiVnfFsmHdlr)(nFapi_p5_hdr *, nFapi_msg_header *, void *);
#include "pnf_stub.h"
#include "pnf_stub_p5_msg_hdl.h"
-extern uint32_t PER_TTI_TIME_USEC;
-extern uint8_t NUM_SLOTS_PER_SUBFRAME;
-extern PnfGlobalCb pnfCb;
+uint32_t PER_TTI_TIME_USEC;
+uint8_t NUM_SLOTS_PER_SUBFRAME;
+PnfGlobalCb pnfCb;
void init_log()
{
#define CONFDC_LEVEL_BAD 1
#define SLOT_DELAY 3
-uint32_t PER_TTI_TIME_USEC;
-uint8_t NUM_SLOTS_PER_SUBFRAME;
+extern uint32_t PER_TTI_TIME_USEC;
+extern uint8_t NUM_SLOTS_PER_SUBFRAME;
typedef enum
{
//DuDb duInfo[MAX_DU_SUPPORTED]; /*TODO: VNF Database can be added*/
}PnfGlobalCb;
-PnfGlobalCb pnfCb;
+extern PnfGlobalCb pnfCb;
uint8_t p5MsgHandlerAtPnf(Buffer *mBuf);
void nfapiFillP5Hdr(Buffer *mBuf);
#include "pnf_stub_p7_udp.h"
#include "pnf_stub.h"
-PnfGlobalCb pnfCb;
/*********************************************************************************
*
* @Function Name: buildAndSendPnfReadyInd
#include "pnf_stub_p7_udp.h"
#include "pnf_stub.h"
-extern PnfGlobalCb pnfCb;
-extern uint8_t NUM_SLOTS_PER_SUBFRAME;
-
/*********************************************************************************
* @Brief: Filling of Ul Node Sync
*
uint8_t sockType;
uint8_t protType;
+PnfP7UdpGlobalCb pnfP7Cb;
/**************************************************************************
* @brief Task Initiation callback function.
uint16_t gCntMsg;
}PnfP7UdpGlobalCb;
-PnfP7UdpGlobalCb pnfP7Cb;
+extern PnfP7UdpGlobalCb pnfP7Cb;
uint8_t pnfP7UdpActvInit();
uint8_t pnfP7UdpCfgReq();