qcacmn: Fix compilation errors in WMI for Big Endian platform
This change fixes the compilation issues faced due to WMI convergence changes on the big endian platform. Change-Id: I18bae4fb7884683d8621ce9a862dc1a51ef84f82 CRs-Fixed: 1039318
This commit is contained in:
@@ -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))
|
||||
|
||||
|
Reference in New Issue
Block a user