X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=wls_lib%2Ftest%2Fmac%2Fmac_wls.h;h=171ec95b5669720a87152276a286e396496d2ace;hb=2de97529a4c5a1922214ba0e6f0fb84cacbd0bc7;hp=59a08554f87a4cfd50b18f2d66edab42e7ad0a37;hpb=9d66fca5c45c8b3e0d6eab6d51a90c8e9d2614dc;p=o-du%2Fphy.git diff --git a/wls_lib/test/mac/mac_wls.h b/wls_lib/test/mac/mac_wls.h index 59a0855..171ec95 100644 --- a/wls_lib/test/mac/mac_wls.h +++ b/wls_lib/test/mac/mac_wls.h @@ -32,6 +32,7 @@ extern "C" { //#include "common_typedef.h" #include "fapi_interface.h" +#include "fapi_vendor_extension.h" #define SUCCESS 0 #define FAILURE 1 @@ -44,6 +45,8 @@ extern "C" { #define MAX_DL_BUF_LOCATIONS (MIN_DL_BUF_LOCATIONS + MAX_NUM_LOCATIONS) /* Used for stats collection 0-49 */ #define MAX_UL_BUF_LOCATIONS (MIN_UL_BUF_LOCATIONS + MAX_NUM_LOCATIONS) /* Used for stats collection 50-99 */ +#define WLS_MSG_BLOCK_SIZE ( 16384 * 16 ) + typedef struct tagZBC_LIST_ITEM { uint64_t pMsg; @@ -51,7 +54,7 @@ typedef struct tagZBC_LIST_ITEM } ZBC_LIST_ITEM, *PZBC_LIST_ITEM; -uint32_t wls_mac_init(char * wls_device_name, uint64_t nWlsMemorySize); +uint32_t wls_mac_init(char * wls_device_name, uint64_t nBlockSize); void wls_mac_print_thread_info(void); uint32_t wls_mac_destroy(void); void *wls_mac_alloc_buffer(uint32_t size, uint32_t loc);