/******************************************************************************
*
-* Copyright (c) 2019 Intel.
+* Copyright (c) 2021 Intel.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
*
**/
+#include "nr5g_mac_phy_api.h"
#include "nr5g_fapi_framework.h"
-#include "gnb_l1_l2_api.h"
#include "nr5g_fapi_fapi2mac_api.h"
#include "nr5g_fapi_proc_error_ind.h"
// p_fapi_error_ind->message_id = ; // TODO message id is not supported in IAPI error indication
p_fapi_error_ind->error_code = p_iapi_resp->nStatus;
- nr5g_fapi_fapi2mac_add_api_to_list(phy_id, p_list_elem);
+ nr5g_fapi_fapi2mac_add_api_to_list(phy_id, p_list_elem, false);
// phyStats->iaL1ApiStats.errorInd++; //TODO
NR5G_FAPI_LOG(INFO_LOG, ("[NR5G_FAPI][ERROR.indication][%d][%d,%d]",
- p_phy_instance->phy_id,
- p_iapi_resp->sSFN_Slot.nSFN,
- p_iapi_resp->sSFN_Slot.nSlot));
+ p_phy_instance->phy_id,
+ p_iapi_resp->sSFN_Slot.nSFN, p_iapi_resp->sSFN_Slot.nSlot));
return SUCCESS;
}