/******************************************************************************
*
-* 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.
extern "C" {
#endif
+#include <stdint.h>
+
/** WLS driver client operates as slave in terms of management of shared memory */
#define WLS_SLAVE_CLIENT 0
/** WLS driver client operates as master in terms of management of shared memory */
/** @ingroup wls_mod
*
* @param[in] ifacename - pointer to string with device driver name (/dev/wls)
- * @param[in] modef - mode of operation (Master or Slave)
+ * @param[in] mode - mode of operation (Master or Slave)
+ * @param[in] nWlsMacMemorySize - Pointer with size of Memory blocks managed by MAC
+ * @param[in] nWlsPhyMemorySize - Pointer with size of Memory blocks managed by L1 (SRS Channel Estimates)
*
* @return pointer to WLS handle
*
*
**/
//-------------------------------------------------------------------------------------------
-void* WLS_Open(const char *ifacename, unsigned int mode, unsigned long long nWlsMemorySize);
+void* WLS_Open(const char *ifacename, unsigned int mode, uint64_t *nWlsMacMemorySize, uint64_t *nWlsPhyMemorySize);
+uint32_t WLS_SetMode(void* h, unsigned int mode);
//-------------------------------------------------------------------------------------------
/** @ingroup wls_mod
*
*
**/
//-------------------------------------------------------------------------------------------
-void* WLS_Open_Dual(const char *ifacename, unsigned int mode, unsigned long long nWlsMemorySize, void** handle1);
+void* WLS_Open_Dual(const char *ifacename, unsigned int mode, uint64_t *nWlsMacMemorySize, uint64_t *nWlsPhyMemorySize, void** handle1);
//-------------------------------------------------------------------------------------------
/** @ingroup wls_mod
*
**/
//-------------------------------------------------------------------------------------------
-void* WLS_Alloc(void* h, unsigned int size);
+void* WLS_Alloc(void* h, uint64_t size);
//-------------------------------------------------------------------------------------------
/** @ingroup wls_mod