X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=fapi_5g%2Fsource%2Fapi%2Ffapi2mac%2Fp5%2Fnr5g_fapi_proc_stop_ind.c;h=ced6b98c1f1fc78abf9e5daedd7f8da472c43bc0;hb=HEAD;hp=9674f3f75fad645beb83babe0cd3d4f779db1e93;hpb=70d9d920dd4e575f085f1f1a9050fefd1c10e127;p=o-du%2Fphy.git diff --git a/fapi_5g/source/api/fapi2mac/p5/nr5g_fapi_proc_stop_ind.c b/fapi_5g/source/api/fapi2mac/p5/nr5g_fapi_proc_stop_ind.c index 9674f3f..ced6b98 100644 --- a/fapi_5g/source/api/fapi2mac/p5/nr5g_fapi_proc_stop_ind.c +++ b/fapi_5g/source/api/fapi2mac/p5/nr5g_fapi_proc_stop_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. @@ -23,7 +23,6 @@ **/ #include "nr5g_fapi_framework.h" -#include "gnb_l1_l2_api.h" #include "nr5g_fapi_fapi2mac_api.h" #include "nr5g_fapi_fapi2phy_api.h" #include "nr5g_fapi_fapi2mac_p5_proc.h" @@ -90,7 +89,7 @@ uint8_t nr5g_fapi_stop_indication( p_fapi_resp->header.msg_id = FAPI_STOP_INDICATION; p_fapi_resp->header.length = (uint16_t) sizeof(fapi_stop_ind_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_stop_ind++; NR5G_FAPI_LOG(INFO_LOG, ("[STOP.indication][%d]", phy_id)); #else @@ -100,8 +99,8 @@ uint8_t nr5g_fapi_stop_indication( fapi_req.sfn = 0; fapi_req.slot = 0; fapi_req.test_type = 0; - nr5g_fapi_shutdown_request(p_phy_instance, &fapi_req); - nr5g_fapi_fapi2phy_send_api_list(); + nr5g_fapi_shutdown_request(0, p_phy_instance, &fapi_req); + nr5g_fapi_fapi2phy_send_api_list(0); #endif } else if (FAILURE == p_iapi_resp->nStatus) { p_list_elem = @@ -122,7 +121,7 @@ uint8_t nr5g_fapi_stop_indication( p_fapi_error_ind->message_id = FAPI_STOP_REQUEST; 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, ("[STOP.indication][ERROR.indication][%d]", phy_id));