diff options
Diffstat (limited to 'drivers/net/wireless/wl3501.h')
-rw-r--r-- | drivers/net/wireless/wl3501.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/drivers/net/wireless/wl3501.h b/drivers/net/wireless/wl3501.h index 8816e371fd0e..3fbfd19818f1 100644 --- a/drivers/net/wireless/wl3501.h +++ b/drivers/net/wireless/wl3501.h | |||
@@ -231,12 +231,12 @@ struct iw_mgmt_info_element { | |||
231 | but sizeof(enum) > sizeof(u8) :-( */ | 231 | but sizeof(enum) > sizeof(u8) :-( */ |
232 | u8 len; | 232 | u8 len; |
233 | u8 data[0]; | 233 | u8 data[0]; |
234 | } __attribute__ ((packed)); | 234 | } __packed; |
235 | 235 | ||
236 | struct iw_mgmt_essid_pset { | 236 | struct iw_mgmt_essid_pset { |
237 | struct iw_mgmt_info_element el; | 237 | struct iw_mgmt_info_element el; |
238 | u8 essid[IW_ESSID_MAX_SIZE]; | 238 | u8 essid[IW_ESSID_MAX_SIZE]; |
239 | } __attribute__ ((packed)); | 239 | } __packed; |
240 | 240 | ||
241 | /* | 241 | /* |
242 | * According to 802.11 Wireless Netowors, the definitive guide - O'Reilly | 242 | * According to 802.11 Wireless Netowors, the definitive guide - O'Reilly |
@@ -247,12 +247,12 @@ struct iw_mgmt_essid_pset { | |||
247 | struct iw_mgmt_data_rset { | 247 | struct iw_mgmt_data_rset { |
248 | struct iw_mgmt_info_element el; | 248 | struct iw_mgmt_info_element el; |
249 | u8 data_rate_labels[IW_DATA_RATE_MAX_LABELS]; | 249 | u8 data_rate_labels[IW_DATA_RATE_MAX_LABELS]; |
250 | } __attribute__ ((packed)); | 250 | } __packed; |
251 | 251 | ||
252 | struct iw_mgmt_ds_pset { | 252 | struct iw_mgmt_ds_pset { |
253 | struct iw_mgmt_info_element el; | 253 | struct iw_mgmt_info_element el; |
254 | u8 chan; | 254 | u8 chan; |
255 | } __attribute__ ((packed)); | 255 | } __packed; |
256 | 256 | ||
257 | struct iw_mgmt_cf_pset { | 257 | struct iw_mgmt_cf_pset { |
258 | struct iw_mgmt_info_element el; | 258 | struct iw_mgmt_info_element el; |
@@ -260,12 +260,12 @@ struct iw_mgmt_cf_pset { | |||
260 | u8 cfp_period; | 260 | u8 cfp_period; |
261 | u16 cfp_max_duration; | 261 | u16 cfp_max_duration; |
262 | u16 cfp_dur_remaining; | 262 | u16 cfp_dur_remaining; |
263 | } __attribute__ ((packed)); | 263 | } __packed; |
264 | 264 | ||
265 | struct iw_mgmt_ibss_pset { | 265 | struct iw_mgmt_ibss_pset { |
266 | struct iw_mgmt_info_element el; | 266 | struct iw_mgmt_info_element el; |
267 | u16 atim_window; | 267 | u16 atim_window; |
268 | } __attribute__ ((packed)); | 268 | } __packed; |
269 | 269 | ||
270 | struct wl3501_tx_hdr { | 270 | struct wl3501_tx_hdr { |
271 | u16 tx_cnt; | 271 | u16 tx_cnt; |
@@ -544,12 +544,12 @@ struct wl3501_80211_tx_plcp_hdr { | |||
544 | u8 service; | 544 | u8 service; |
545 | u16 len; | 545 | u16 len; |
546 | u16 crc16; | 546 | u16 crc16; |
547 | } __attribute__ ((packed)); | 547 | } __packed; |
548 | 548 | ||
549 | struct wl3501_80211_tx_hdr { | 549 | struct wl3501_80211_tx_hdr { |
550 | struct wl3501_80211_tx_plcp_hdr pclp_hdr; | 550 | struct wl3501_80211_tx_plcp_hdr pclp_hdr; |
551 | struct ieee80211_hdr mac_hdr; | 551 | struct ieee80211_hdr mac_hdr; |
552 | } __attribute__ ((packed)); | 552 | } __packed; |
553 | 553 | ||
554 | /* | 554 | /* |
555 | Reserve the beginning Tx space for descriptor use. | 555 | Reserve the beginning Tx space for descriptor use. |