Skip to content

Commit

Permalink
staging: ath6kl: wmi.h: Convert packed structures with A_BOOL to u32
Browse files Browse the repository at this point in the history
These structures are device native and need to be 4 bytes long.

Signed-off-by: Joe Perches <joe@perches.com>
Acked-by: Vipin Mehta <vipin.mehta@atheros.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Joe Perches authored and Greg Kroah-Hartman committed Jan 31, 2011
1 parent 391bb21 commit ae8e1e7
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions drivers/staging/ath6kl/include/common/wmi.h
Original file line number Diff line number Diff line change
Expand Up @@ -635,8 +635,8 @@ typedef enum {
} WMI_SCAN_TYPE;

typedef PREPACK struct {
A_BOOL forceFgScan;
A_BOOL isLegacy; /* For Legacy Cisco AP compatibility */
u32 forceFgScan;
u32 isLegacy; /* For Legacy Cisco AP compatibility */
A_UINT32 homeDwellTime; /* Maximum duration in the home channel(milliseconds) */
A_UINT32 forceScanInterval; /* Time interval between scans (milliseconds)*/
A_UINT8 scanType; /* WMI_SCAN_TYPE */
Expand Down Expand Up @@ -1241,7 +1241,7 @@ typedef PREPACK struct {
* WMI_ENABLE_RM_CMDID
*/
typedef PREPACK struct {
A_BOOL enable_radio_measurements;
u32 enable_radio_measurements;
} POSTPACK WMI_ENABLE_RM_CMD;

/*
Expand Down Expand Up @@ -2638,7 +2638,7 @@ typedef PREPACK struct {
} POSTPACK WMI_SET_KEEPALIVE_CMD;

typedef PREPACK struct {
A_BOOL configured;
u32 configured;
A_UINT8 keepaliveInterval;
} POSTPACK WMI_GET_KEEPALIVE_CMD;

Expand Down Expand Up @@ -2717,16 +2717,16 @@ typedef PREPACK struct {
} POSTPACK WMI_SET_IP_CMD;

typedef PREPACK struct {
A_BOOL awake;
A_BOOL asleep;
u32 awake;
u32 asleep;
} POSTPACK WMI_SET_HOST_SLEEP_MODE_CMD;

typedef enum {
WOW_FILTER_SSID = 0x1
} WMI_WOW_FILTER;

typedef PREPACK struct {
A_BOOL enable_wow;
u32 enable_wow;
WMI_WOW_FILTER filter;
A_UINT16 hostReqDelay;
} POSTPACK WMI_SET_WOW_MODE_CMD;
Expand Down Expand Up @@ -3010,7 +3010,7 @@ typedef PREPACK struct {
} POSTPACK WMI_AP_PROT_SCAN_TIME_CMD;

typedef PREPACK struct {
A_BOOL flag;
u32 flag;
A_UINT16 aid;
} POSTPACK WMI_AP_SET_PVB_CMD;

Expand Down

0 comments on commit ae8e1e7

Please sign in to comment.