X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=fapi_5g%2Fsource%2Fframework%2Fwls%2Ffapi2phy%2Fnr5g_fapi_fapi2phy_wls.h;h=724e8dd4fe9393c7d6254dba9a0a25504b80f67a;hb=HEAD;hp=36cf06a8e12c98b33a1a1c329e839b893402088b;hpb=9d66fca5c45c8b3e0d6eab6d51a90c8e9d2614dc;p=o-du%2Fphy.git diff --git a/fapi_5g/source/framework/wls/fapi2phy/nr5g_fapi_fapi2phy_wls.h b/fapi_5g/source/framework/wls/fapi2phy/nr5g_fapi_fapi2phy_wls.h index 36cf06a..724e8dd 100644 --- a/fapi_5g/source/framework/wls/fapi2phy/nr5g_fapi_fapi2phy_wls.h +++ b/fapi_5g/source/framework/wls/fapi2phy/nr5g_fapi_fapi2phy_wls.h @@ -1,6 +1,6 @@ /****************************************************************************** * -* Copyright (c) 2019 Intel. +* Copyright (c) 2021 Intel. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -25,18 +25,29 @@ #ifndef _NR5G_FAPI2PHY_WLS_H_ #define _NR5G_FAPI2PHY_WLS_H_ -#include "gnb_l1_l2_api.h" +#include "common_mac_phy_api.h" uint8_t nr5g_fapi_fapi2phy_is_valid_wls_ptr( void *data); uint8_t nr5g_fapi_fapi2phy_wls_send( - void *data); + void *data, + bool is_urllc); PMAC2PHY_QUEUE_EL nr5g_fapi_fapi2phy_wls_recv( ); - -inline uint8_t nr5g_fapi_fapi2phy_wls_ready( - ); -inline uint8_t nr5g_fapi_fapi2phy_wls_wait( +uint32_t nr5g_fapi_fapi2phy_wls_wait( ); +void wls_fapi_add_send_apis_to_free( + PMAC2PHY_QUEUE_EL pListElem, + uint32_t idx); +void wls_fapi_free_send_free_list(); +void wls_fapi_add_send_apis_to_free_urllc( + PMAC2PHY_QUEUE_EL pListElem, + uint32_t idx); +void wls_fapi_free_send_free_list_urllc(); +void wls_fapi_add_recv_apis_to_free( + PMAC2PHY_QUEUE_EL pListElem, + uint32_t idx); +void wls_fapi_free_recv_free_list( + uint32_t idx); #endif /*_NR5G_FAPI2PHY_WLS_H_*/