X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=fapi_5g%2Fsource%2Fapi%2Ffapi2phy%2Fp5%2Fnr5g_fapi_proc_start_req.c;h=ff6503cf601c611ed18711151cbf96798dd58758;hb=892daba4c616407f16506415d5a69549519ef11d;hp=659a1f2791f3cf93b1b2a3d221e288d9c36cb75f;hpb=9d66fca5c45c8b3e0d6eab6d51a90c8e9d2614dc;p=o-du%2Fphy.git diff --git a/fapi_5g/source/api/fapi2phy/p5/nr5g_fapi_proc_start_req.c b/fapi_5g/source/api/fapi2phy/p5/nr5g_fapi_proc_start_req.c index 659a1f2..ff6503c 100644 --- a/fapi_5g/source/api/fapi2phy/p5/nr5g_fapi_proc_start_req.c +++ b/fapi_5g/source/api/fapi2phy/p5/nr5g_fapi_proc_start_req.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_fapi2phy_api.h" #include "nr5g_fapi_fapi2phy_p5_proc.h" @@ -54,6 +54,7 @@ * **/ uint8_t nr5g_fapi_start_request( + bool is_urllc, p_nr5g_fapi_phy_instance_t p_phy_instance, fapi_start_req_t * p_fapi_req, fapi_vendor_msg_t * p_fapi_vendor_msg) @@ -88,7 +89,7 @@ uint8_t nr5g_fapi_start_request( return FAILURE; } - if (p_fapi_vendor_msg->start_req_vendor.mode > 1) { + if (p_fapi_vendor_msg->start_req_vendor.mode > 4) { NR5G_FAPI_LOG(ERROR_LOG, ("[START.request] PHY Mode %u invalid", p_fapi_vendor_msg->start_req_vendor.mode)); return FAILURE; @@ -118,7 +119,7 @@ uint8_t nr5g_fapi_start_request( #endif /* Add element to send list */ - nr5g_fapi_fapi2phy_add_to_api_list(p_list_elem); + nr5g_fapi_fapi2phy_add_to_api_list(is_urllc, p_list_elem); p_stats->iapi_stats.iapi_start_req++; NR5G_FAPI_LOG(INFO_LOG, ("[START.request][%d]", p_phy_instance->phy_id));