+//------------------------------------------------------------------------------
+/** @ingroup group_lte_source_phy_fapi
+ *
+ * @return void
+ *
+ * @description This function initializes the pthead_mutext_lock.
+ */
+void nr5g_fapi_fapi2mac_init_api_list(
+ )
+{
+ uint8_t phy_id = 0;
+ p_nr5g_fapi_fapi2mac_queue_t queue = NULL;
+
+ for (phy_id = 0; phy_id < FAPI_MAX_PHY_INSTANCES; phy_id++) {
+ queue = nr5g_fapi_fapi2mac_queue(phy_id);
+ pthread_mutex_init((pthread_mutex_t *) & queue->lock, NULL);
+ }
+}