Commit ae8e1e7a authored by Joe Perches's avatar Joe Perches Committed by Greg Kroah-Hartman

staging: ath6kl: wmi.h: Convert packed structures with A_BOOL to u32

These structures are device native and need to be 4 bytes long.
Signed-off-by: default avatarJoe Perches <joe@perches.com>
Acked-by: default avatarVipin Mehta <vipin.mehta@atheros.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 391bb211
...@@ -635,8 +635,8 @@ typedef enum { ...@@ -635,8 +635,8 @@ typedef enum {
} WMI_SCAN_TYPE; } WMI_SCAN_TYPE;
typedef PREPACK struct { typedef PREPACK struct {
A_BOOL forceFgScan; u32 forceFgScan;
A_BOOL isLegacy; /* For Legacy Cisco AP compatibility */ u32 isLegacy; /* For Legacy Cisco AP compatibility */
A_UINT32 homeDwellTime; /* Maximum duration in the home channel(milliseconds) */ A_UINT32 homeDwellTime; /* Maximum duration in the home channel(milliseconds) */
A_UINT32 forceScanInterval; /* Time interval between scans (milliseconds)*/ A_UINT32 forceScanInterval; /* Time interval between scans (milliseconds)*/
A_UINT8 scanType; /* WMI_SCAN_TYPE */ A_UINT8 scanType; /* WMI_SCAN_TYPE */
...@@ -1241,7 +1241,7 @@ typedef PREPACK struct { ...@@ -1241,7 +1241,7 @@ typedef PREPACK struct {
* WMI_ENABLE_RM_CMDID * WMI_ENABLE_RM_CMDID
*/ */
typedef PREPACK struct { typedef PREPACK struct {
A_BOOL enable_radio_measurements; u32 enable_radio_measurements;
} POSTPACK WMI_ENABLE_RM_CMD; } POSTPACK WMI_ENABLE_RM_CMD;
/* /*
...@@ -2638,7 +2638,7 @@ typedef PREPACK struct { ...@@ -2638,7 +2638,7 @@ typedef PREPACK struct {
} POSTPACK WMI_SET_KEEPALIVE_CMD; } POSTPACK WMI_SET_KEEPALIVE_CMD;
typedef PREPACK struct { typedef PREPACK struct {
A_BOOL configured; u32 configured;
A_UINT8 keepaliveInterval; A_UINT8 keepaliveInterval;
} POSTPACK WMI_GET_KEEPALIVE_CMD; } POSTPACK WMI_GET_KEEPALIVE_CMD;
...@@ -2717,8 +2717,8 @@ typedef PREPACK struct { ...@@ -2717,8 +2717,8 @@ typedef PREPACK struct {
} POSTPACK WMI_SET_IP_CMD; } POSTPACK WMI_SET_IP_CMD;
typedef PREPACK struct { typedef PREPACK struct {
A_BOOL awake; u32 awake;
A_BOOL asleep; u32 asleep;
} POSTPACK WMI_SET_HOST_SLEEP_MODE_CMD; } POSTPACK WMI_SET_HOST_SLEEP_MODE_CMD;
typedef enum { typedef enum {
...@@ -2726,7 +2726,7 @@ typedef enum { ...@@ -2726,7 +2726,7 @@ typedef enum {
} WMI_WOW_FILTER; } WMI_WOW_FILTER;
typedef PREPACK struct { typedef PREPACK struct {
A_BOOL enable_wow; u32 enable_wow;
WMI_WOW_FILTER filter; WMI_WOW_FILTER filter;
A_UINT16 hostReqDelay; A_UINT16 hostReqDelay;
} POSTPACK WMI_SET_WOW_MODE_CMD; } POSTPACK WMI_SET_WOW_MODE_CMD;
...@@ -3010,7 +3010,7 @@ typedef PREPACK struct { ...@@ -3010,7 +3010,7 @@ typedef PREPACK struct {
} POSTPACK WMI_AP_PROT_SCAN_TIME_CMD; } POSTPACK WMI_AP_PROT_SCAN_TIME_CMD;
typedef PREPACK struct { typedef PREPACK struct {
A_BOOL flag; u32 flag;
A_UINT16 aid; A_UINT16 aid;
} POSTPACK WMI_AP_SET_PVB_CMD; } POSTPACK WMI_AP_SET_PVB_CMD;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment