Ver código fonte

Merge "qcacmn: Fix compilation errors in WMI for Big Endian platform" into wlan-cmn.driver.lnx.1.0-dev

Service qcabuildsw 8 anos atrás
pai
commit
336e42eb39
1 arquivos alterados com 8 adições e 0 exclusões
  1. 8 0
      wmi_unified_param.h

+ 8 - 0
wmi_unified_param.h

@@ -121,6 +121,14 @@
 #define WMI_HOST_MAX_BUFFER_SIZE	1712
 #define WMI_HAL_MAX_SANTENNA 4
 
+#ifdef CONFIG_WIN
+#if ATH_SUPPORT_FIPS
+#define FIPS_ALIGN 4
+#define FIPS_ALIGNTO(__addr, __to) ((((unsigned long int)(__addr)) + (__to) -  1) & ~((__to) - 1))
+#define FIPS_IS_ALIGNED(__addr, __to) (!(((unsigned long int)(__addr)) & ((__to)-1)))
+#endif
+#endif
+
 #define WMI_HOST_F_MS(_v, _f)	\
 	(((_v) & (_f)) >> (_f##_S))