X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=fapi_5g%2Fsource%2Fapi%2Ffapi2mac%2Fnr5g_fapi_proc_error_ind.c;h=1988aacbfe51299e124485343b080f27727f1881;hb=892daba4c616407f16506415d5a69549519ef11d;hp=8759ca57285b52718c17e540b90cf15d4f4a502a;hpb=9d66fca5c45c8b3e0d6eab6d51a90c8e9d2614dc;p=o-du%2Fphy.git diff --git a/fapi_5g/source/api/fapi2mac/nr5g_fapi_proc_error_ind.c b/fapi_5g/source/api/fapi2mac/nr5g_fapi_proc_error_ind.c index 8759ca5..1988aac 100644 --- a/fapi_5g/source/api/fapi2mac/nr5g_fapi_proc_error_ind.c +++ b/fapi_5g/source/api/fapi2mac/nr5g_fapi_proc_error_ind.c @@ -1,6 +1,6 @@ /****************************************************************************** * -* 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. @@ -22,8 +22,8 @@ * **/ +#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" @@ -87,13 +87,12 @@ uint8_t nr5g_fapi_error_indication( // 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; }