#include "nr5g_fapi_fapi2mac_api.h"
#include "nr5g_fapi_fapi2mac_p5_proc.h"
#include "nr5g_fapi_fapi2mac_p7_proc.h"
-
+#include "nr5g_fapi_log.h"
//------------------------------------------------------------------------------
/** @ingroup nr5g_fapi_source_framework_workers_phy2mac_group
*
CPU_SET(p_phy_ctx->phy2mac_worker_core_id, &cpuset);
pthread_setaffinity_np(thread, sizeof(cpu_set_t), &cpuset);
+ nr5g_fapi_fapi2mac_init_api_list();
+
usleep(1000);
while (!p_phy_ctx->process_exit) {
p_msg_list = nr5g_fapi_fapi2phy_wls_recv();
{
PMAC2PHY_QUEUE_EL p_curr_msg;
PL1L2MessageHdr p_msg_header = NULL;
+ uint64_t start_tick = __rdtsc();
NR5G_FAPI_LOG(TRACE_LOG, ("[PHY2MAC] %s:", __func__));
{
nr5g_fapi_slot_indication((p_nr5g_fapi_phy_ctx_t) config,
(PSlotIndicationStruct) p_msg_header);
+ nr5g_fapi_statistic_info_set_all();
}
break;
}
p_curr_msg = p_curr_msg->pNext;
}
+ tick_total_parse_per_tti_ul += __rdtsc() - start_tick;
+
}