diff options
Diffstat (limited to 'drivers/net/ps3_gelic_wireless.h')
-rw-r--r-- | drivers/net/ps3_gelic_wireless.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/net/ps3_gelic_wireless.h b/drivers/net/ps3_gelic_wireless.h index 0a88b535197..f7e51b7d704 100644 --- a/drivers/net/ps3_gelic_wireless.h +++ b/drivers/net/ps3_gelic_wireless.h | |||
@@ -74,7 +74,7 @@ struct gelic_eurus_common_cfg { | |||
74 | u16 bss_type; /* infra or adhoc */ | 74 | u16 bss_type; /* infra or adhoc */ |
75 | u16 auth_method; /* shared key or open */ | 75 | u16 auth_method; /* shared key or open */ |
76 | u16 op_mode; /* B/G */ | 76 | u16 op_mode; /* B/G */ |
77 | } __attribute__((packed)); | 77 | } __packed; |
78 | 78 | ||
79 | 79 | ||
80 | /* for GELIC_EURUS_CMD_WEP_CFG */ | 80 | /* for GELIC_EURUS_CMD_WEP_CFG */ |
@@ -88,7 +88,7 @@ struct gelic_eurus_wep_cfg { | |||
88 | /* all fields are big endian */ | 88 | /* all fields are big endian */ |
89 | u16 security; | 89 | u16 security; |
90 | u8 key[4][16]; | 90 | u8 key[4][16]; |
91 | } __attribute__((packed)); | 91 | } __packed; |
92 | 92 | ||
93 | /* for GELIC_EURUS_CMD_WPA_CFG */ | 93 | /* for GELIC_EURUS_CMD_WPA_CFG */ |
94 | enum gelic_eurus_wpa_security { | 94 | enum gelic_eurus_wpa_security { |
@@ -120,7 +120,7 @@ struct gelic_eurus_wpa_cfg { | |||
120 | u16 security; | 120 | u16 security; |
121 | u16 psk_type; /* psk key encoding type */ | 121 | u16 psk_type; /* psk key encoding type */ |
122 | u8 psk[GELIC_WL_EURUS_PSK_MAX_LEN]; /* psk key; hex or passphrase */ | 122 | u8 psk[GELIC_WL_EURUS_PSK_MAX_LEN]; /* psk key; hex or passphrase */ |
123 | } __attribute__((packed)); | 123 | } __packed; |
124 | 124 | ||
125 | /* for GELIC_EURUS_CMD_{START,GET}_SCAN */ | 125 | /* for GELIC_EURUS_CMD_{START,GET}_SCAN */ |
126 | enum gelic_eurus_scan_capability { | 126 | enum gelic_eurus_scan_capability { |
@@ -171,7 +171,7 @@ struct gelic_eurus_scan_info { | |||
171 | __be32 reserved3; | 171 | __be32 reserved3; |
172 | __be32 reserved4; | 172 | __be32 reserved4; |
173 | u8 elements[0]; /* ie */ | 173 | u8 elements[0]; /* ie */ |
174 | } __attribute__ ((packed)); | 174 | } __packed; |
175 | 175 | ||
176 | /* the hypervisor returns bbs up to 16 */ | 176 | /* the hypervisor returns bbs up to 16 */ |
177 | #define GELIC_EURUS_MAX_SCAN (16) | 177 | #define GELIC_EURUS_MAX_SCAN (16) |
@@ -193,7 +193,7 @@ struct gelic_wl_scan_info { | |||
193 | struct gelic_eurus_rssi_info { | 193 | struct gelic_eurus_rssi_info { |
194 | /* big endian */ | 194 | /* big endian */ |
195 | __be16 rssi; | 195 | __be16 rssi; |
196 | } __attribute__ ((packed)); | 196 | } __packed; |
197 | 197 | ||
198 | 198 | ||
199 | /* for 'stat' member of gelic_wl_info */ | 199 | /* for 'stat' member of gelic_wl_info */ |