1 /******************************************************************************
3 * Copyright (c) 2021 Intel.
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
9 * http://www.apache.org/licenses/LICENSE-2.0
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.
17 *******************************************************************************/
21 * This file consist of macros, structures and prototypes of all FAPI
26 #ifndef _NR5G_FAPI_FAP2MAC_P7_PVT_PROC_H_
27 #define _NR5G_FAPI_FAP2MAC_P7_PVT_PROC_H_
29 uint8_t nr5g_fapi_rach_indication_to_fapi_translation(
31 p_nr5g_fapi_phy_instance_t p_phy_instance,
32 PRXRACHIndicationStruct p_phy_rach_ind,
33 fapi_rach_indication_t * p_fapi_rach_ind);
35 uint8_t nr5g_fapi_crc_indication_to_fapi_translation(
37 p_nr5g_fapi_phy_instance_t p_phy_instance,
38 PCRCIndicationStruct p_phy_crc_ind,
39 fapi_crc_ind_t * p_fapi_crc_ind,
40 fapi_vendor_ext_snr_t * p_fapi_snr);
42 uint8_t nr5g_fapi_rx_data_indication_to_fapi_translation(
44 p_nr5g_fapi_phy_instance_t p_phy_instance,
45 PRXULSCHIndicationStruct p_phy_rx_ulsch_ind,
46 fapi_rx_data_indication_t * p_fapi_rx_data_ind);
48 uint8_t nr5g_fapi_rx_data_uci_indication_to_fapi_translation(
49 p_nr5g_fapi_phy_instance_t p_phy_instance,
50 PRXULSCHUCIIndicationStruct p_phy_rx_ulsch_uci_ind,
51 fapi_uci_indication_t * p_fapi_uci_ind);
53 uint8_t nr5g_fapi_uci_indication_to_fapi_translation(
55 p_nr5g_fapi_phy_instance_t p_phy_instance,
56 PRXUCIIndicationStruct p_phy_uci_ind,
57 fapi_uci_indication_t * p_fapi_uci_ind,
58 fapi_vendor_ext_snr_t * p_fapi_snr);
60 uint8_t nr5g_fapi_srs_indication_to_fapi_translation(
62 p_nr5g_fapi_phy_instance_t p_phy_instance,
63 PRXSRSIndicationStruct p_phy_srs_ind,
64 fapi_srs_indication_t * p_fapi_srs_ind,
65 fapi_vendor_ext_srs_ind_t * p_fapi_vend_srs_ind);
67 nr5g_fapi_pusch_info_t *nr5g_fapi_get_pusch_info(
69 nr5g_fapi_ul_slot_info_t * p_ul_slot_info);
71 nr5g_fapi_srs_info_t *nr5g_fapi_get_srs_info(
73 nr5g_fapi_ul_slot_info_t * p_ul_slot_info);
75 #endif //_NR5G_FAPI_FAP2MAC_P7_PVT_PROC_H_