qcacmn: Adpat common wmi layer with QDF os abstraction

Adapt common wmi layer with converged os abstraction layer.
Remove references to non-converged header files from
wmi layer.

Change-Id: I3671a40604fa1a5f10a5a67106db33f382e0f335
CRs-Fixed: 983619
This commit is contained in:
Govind Singh
2016-03-09 14:32:57 +05:30
parent a4836fdc6f
commit b53420c1bb
6 changed files with 1625 additions and 1628 deletions

View File

@@ -30,7 +30,7 @@
*/
#include "ol_if_athvar.h"
#include <cdf_memory.h> /* cdf_mem_malloc,free, etc. */
#include <qdf_mem.h> /* qdf_mem_malloc,free, etc. */
#include <osdep.h>
#include "htc_api.h"
#include "wmi.h"
@@ -40,7 +40,7 @@
/* Following macro definitions use OS or platform specific functions */
#define dummy_print(fmt, ...) {}
#define wmi_tlv_print_verbose dummy_print
#define wmi_tlv_print_error cdf_print
#define wmi_tlv_print_error qdf_print
#define wmi_tlv_OS_MEMCPY OS_MEMCPY
#define wmi_tlv_OS_MEMZERO OS_MEMZERO
#define wmi_tlv_OS_MEMMOVE OS_MEMMOVE
@@ -50,5 +50,5 @@
{ \
(ptr) = os_malloc(NULL, (numBytes), GFP_ATOMIC); \
}
#define wmi_tlv_os_mem_free cdf_mem_free
#define wmi_tlv_os_mem_free qdf_mem_free
#endif