0a080b281adce43845590047ead877d03e3b5e1b
[o-du/phy.git] / fapi_5g / source / framework / wls / fapi2mac / nr5g_fapi_fapi2mac_wls.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 This file has definitions of Shared Memory interface functions between
21  * FAPI and PHY.
22  *
23  **/
24
25 #ifndef _5G_FAPI_FAPI2MAC_WLS_H
26 #define _5G_FAPI_FAPI2MAC_WLS_H
27
28 #include "fapi_interface.h"
29
30 uint8_t nr5g_fapi_fapi2mac_is_valid_wls_ptr(
31     void *data);
32 uint8_t nr5g_fapi_fapi2mac_wls_send(
33     p_fapi_api_queue_elem_t p_list_elem);
34 p_fapi_api_queue_elem_t nr5g_fapi_fapi2mac_wls_recv(
35     );
36
37 uint8_t nr5g_fapi_fapi2mac_wls_ready(
38     );
39 uint8_t nr5g_fapi_fapi2mac_wls_wait(
40     );
41
42 void *nr5g_fapi_fapi2mac_wls_alloc_buffer(
43     );
44
45 #endif /*_5G_FAPI_FAPI2MAC_WLS_H*/