* INTC Contribution to the O-RAN F Release for O-DU Low
[o-du/phy.git] / fapi_5g / source / api / fapi2phy / p5 / nr5g_fapi_fapi2phy_p5_proc.h
1 /******************************************************************************
2 *
3 *   Copyright (c) 2021 Intel.
4 *
5 *   Licensed under the Apache License, Version 2.0 (the "License");
6 *   you may not use this file except in compliance with the License.
7 *   You may obtain a copy of the License at
8 *
9 *       http://www.apache.org/licenses/LICENSE-2.0
10 *
11 *   Unless required by applicable law or agreed to in writing, software
12 *   distributed under the License is distributed on an "AS IS" BASIS,
13 *   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 *   See the License for the specific language governing permissions and
15 *   limitations under the License.
16 *
17 *******************************************************************************/
18
19 /**
20  * @file
21  * This file consist of macros, structures and prototypes of all FAPI
22  * to PHY P5 messages
23  *
24  **/
25
26 #ifndef _NR5G_FAPI_FAP2PHY_P5_PROC_H_
27 #define _NR5G_FAPI_FAP2PHY_P5_PROC_H_
28
29 uint8_t nr5g_fapi_param_response(
30     p_nr5g_fapi_phy_instance_t p_phy_instance);
31     
32 uint8_t nr5g_fapi_config_request(
33     bool is_urllc,
34     p_nr5g_fapi_phy_instance_t p_phy_instance,
35     fapi_config_req_t * p_fapi_req,
36     fapi_vendor_msg_t * p_fapi_vendor_msg);
37
38 uint8_t nr5g_fapi_start_request(
39     bool is_urllc,
40     p_nr5g_fapi_phy_instance_t p_phy_instance,
41     fapi_start_req_t * p_fapi_req,
42     fapi_vendor_msg_t * p_fapi_vendor_msg);
43
44 uint8_t nr5g_fapi_stop_request(
45     bool is_urllc,
46     p_nr5g_fapi_phy_instance_t p_phy_instance,
47     fapi_stop_req_t * p_fapi_req,
48     fapi_vendor_msg_t * p_fapi_vendor_msg);
49
50 uint8_t nr5g_fapi_shutdown_request(
51     bool is_urllc,
52     p_nr5g_fapi_phy_instance_t p_phy_instance,
53     fapi_vendor_ext_shutdown_req_t * p_fapi_req);
54
55 #ifdef DEBUG_MODE
56 uint8_t nr5g_fapi_dl_iq_samples_request(
57     bool is_urllc,
58     fapi_vendor_ext_iq_samples_req_t * p_fapi_req);
59 uint8_t nr5g_fapi_ul_iq_samples_request(
60     bool is_urllc,
61     fapi_vendor_ext_iq_samples_req_t * p_fapi_req);
62 uint8_t nr5g_fapi_add_remove_core_message(
63     bool is_urllc,
64     fapi_vendor_ext_add_remove_core_msg_t * p_fapi_req);
65 #endif
66
67 #endif                          //_NR5G_FAPI_FAP2PHY_P5_PROC_H_