Code Review
/
o-du
/
phy.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
* INTC Contribution to the O-RAN F Release for O-DU Low
[o-du/phy.git]
/
fapi_5g
/
source
/
api
/
fapi2phy
/
p5
/
nr5g_fapi_proc_start_req.c
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
(file)
--- 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) 20
19
Intel.
+* Copyright (c) 20
21
Intel.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
*
* 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 "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"
#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(
*
**/
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)
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;
}
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;
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 */
#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));
p_stats->iapi_stats.iapi_start_req++;
NR5G_FAPI_LOG(INFO_LOG, ("[START.request][%d]", p_phy_instance->phy_id));