qcacmn: Add WIN compilation fixes for TLV

Compilation fixes made to compile TLV on WIN code base.
Also, Previous gerrits used WMI_NON_TLV_SUPPORT for all
compilation fixes of WIN vs MCL, using CONFIG_MCL and
CONFIG_WIN wherever it is found appropriate to keep it
consistent with other modules.

Change-Id: I1c129d736746556210c46f3122e2739d233e1d6b
Acked-by: prgandhi@qti.qualcomm.com
CRs-Fixed: 1008872
Cette révision appartient à :
Govind Singh
2016-06-08 19:40:11 +05:30
révisé par qcabuildsw
Parent 7f6f1d5493
révision 8754248ea3
2 fichiers modifiés avec 223 ajouts et 48 suppressions

Voir le fichier

@@ -47,7 +47,7 @@
#ifndef NO_DYNAMIC_MEM_ALLOC
#define wmi_tlv_os_mem_alloc(scn, ptr, numBytes) \
{ \
(ptr) = os_malloc(NULL, (numBytes), GFP_ATOMIC); \
(ptr) = qdf_mem_malloc(numBytes); \
}
#define wmi_tlv_os_mem_free qdf_mem_free
#endif