FAPI TM, WLS_LIB and ODULOW documentation
[o-du/phy.git] / fapi_5g / source / api / fapi2mac / p7 / nr5g_fapi_fapi2mac_p7_pvt_proc.h
1 /******************************************************************************
2 *
3 *   Copyright (c) 2019 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 P7 messages
23  *
24  **/
25
26 #ifndef _NR5G_FAPI_FAP2MAC_P7_PVT_PROC_H_
27 #define _NR5G_FAPI_FAP2MAC_P7_PVT_PROC_H_
28
29 uint8_t nr5g_fapi_rach_indication_to_fapi_translation(
30     p_nr5g_fapi_phy_instance_t p_phy_instance,
31     PRXRACHIndicationStruct p_phy_rach_ind,
32     fapi_rach_indication_t * p_fapi_rach_ind);
33
34 uint8_t nr5g_fapi_crc_indication_to_fapi_translation(
35     p_nr5g_fapi_phy_instance_t p_phy_instance,
36     PCRCIndicationStruct p_phy_crc_ind,
37     fapi_crc_ind_t * p_fapi_crc_ind);
38
39 uint8_t nr5g_fapi_rx_data_indication_to_fapi_translation(
40     p_nr5g_fapi_phy_instance_t p_phy_instance,
41     PRXULSCHIndicationStruct p_phy_rx_ulsch_ind,
42     fapi_rx_data_indication_t * p_fapi_rx_data_ind);
43
44 uint8_t nr5g_fapi_uci_indication_to_fapi_translation(
45     p_nr5g_fapi_phy_instance_t p_phy_instance,
46     PRXUCIIndicationStruct p_phy_uci_ind,
47     fapi_uci_indication_t * p_fapi_uci_ind);
48
49 uint8_t nr5g_fapi_srs_indication_to_fapi_translation(
50     p_nr5g_fapi_phy_instance_t p_phy_instance,
51     PRXSRSIndicationStruct p_phy_srs_ind,
52     fapi_srs_indication_t * p_fapi_srs_ind);
53
54 nr5g_fapi_pusch_info_t *nr5g_fapi_get_pusch_info(
55     uint16_t ue_id,
56     nr5g_fapi_ul_slot_info_t * p_ul_slot_info);
57
58 nr5g_fapi_srs_info_t *nr5g_fapi_get_srs_info(
59     uint16_t nUEId,
60     nr5g_fapi_ul_slot_info_t * p_ul_slot_info);
61
62 #endif                          //_NR5G_FAPI_FAP2MAC_P7_PVT_PROC_H_