X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=fapi_5g%2Fsource%2Fapi%2Ffapi2mac%2Fp5%2Fnr5g_fapi_proc_start_resp.c;h=2e7e39951485dac9dca5b826ae003b15121e2d4c;hb=HEAD;hp=ad0b291406a01c1e1cdd2d0a8912cc54afa0c3b9;hpb=9d66fca5c45c8b3e0d6eab6d51a90c8e9d2614dc;p=o-du%2Fphy.git diff --git a/fapi_5g/source/api/fapi2mac/p5/nr5g_fapi_proc_start_resp.c b/fapi_5g/source/api/fapi2mac/p5/nr5g_fapi_proc_start_resp.c index ad0b291..2e7e399 100644 --- a/fapi_5g/source/api/fapi2mac/p5/nr5g_fapi_proc_start_resp.c +++ b/fapi_5g/source/api/fapi2mac/p5/nr5g_fapi_proc_start_resp.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. @@ -23,7 +23,6 @@ **/ #include "nr5g_fapi_framework.h" -#include "gnb_l1_l2_api.h" #include "nr5g_fapi_fapi2mac_api.h" #include "nr5g_fapi_fapi2mac_p5_proc.h" @@ -43,7 +42,9 @@ uint8_t nr5g_fapi_start_resp( PSTARTRESPONSEStruct p_iapi_resp) { uint8_t phy_id; +#ifdef DEBUG_MODE fapi_vendor_ext_start_response_t *p_fapi_resp; +#endif fapi_error_ind_t *p_fapi_error_ind; p_fapi_api_queue_elem_t p_list_elem; p_nr5g_fapi_phy_instance_t p_phy_instance = NULL; @@ -90,7 +91,7 @@ uint8_t nr5g_fapi_start_resp( (uint16_t) sizeof(fapi_vendor_ext_start_response_t); /* Add element to send list */ - 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); p_stats->fapi_stats.fapi_vext_start_res++; NR5G_FAPI_LOG(INFO_LOG, ("[START.response][%d]", phy_id)); #endif @@ -114,7 +115,7 @@ uint8_t nr5g_fapi_start_resp( p_fapi_error_ind->error_code = p_iapi_resp->nStatus; /* Add element to send list */ - 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); p_stats->fapi_stats.fapi_error_ind++; NR5G_FAPI_LOG(INFO_LOG, ("[ERROR.Indication][%d]", phy_id)); } else {