diff options
| author | Michal Marek <mmarek@suse.cz> | 2010-10-27 18:15:57 -0400 |
|---|---|---|
| committer | Michal Marek <mmarek@suse.cz> | 2010-10-27 18:15:57 -0400 |
| commit | b74b953b998bcc2db91b694446f3a2619ec32de6 (patch) | |
| tree | 6ce24caabd730f6ae9287ed0676ec32e6ff31e9d /include/linux/wlp.h | |
| parent | abb438526201c6a79949ad45375c051b6681c253 (diff) | |
| parent | f6f94e2ab1b33f0082ac22d71f66385a60d8157f (diff) | |
Merge commit 'v2.6.36' into kbuild/misc
Update to be able to fix a recent change to scripts/basic/docproc.c
(commit eda603f).
Diffstat (limited to 'include/linux/wlp.h')
| -rw-r--r-- | include/linux/wlp.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/include/linux/wlp.h b/include/linux/wlp.h index ac95ce6606ac..c76fe2392506 100644 --- a/include/linux/wlp.h +++ b/include/linux/wlp.h | |||
| @@ -300,7 +300,7 @@ struct wlp_ie { | |||
| 300 | __le16 cycle_param; | 300 | __le16 cycle_param; |
| 301 | __le16 acw_anchor_addr; | 301 | __le16 acw_anchor_addr; |
| 302 | u8 wssid_hash_list[]; | 302 | u8 wssid_hash_list[]; |
| 303 | } __attribute__((packed)); | 303 | } __packed; |
| 304 | 304 | ||
| 305 | static inline int wlp_ie_hash_length(struct wlp_ie *ie) | 305 | static inline int wlp_ie_hash_length(struct wlp_ie *ie) |
| 306 | { | 306 | { |
| @@ -324,7 +324,7 @@ static inline void wlp_ie_set_hash_length(struct wlp_ie *ie, int hash_length) | |||
| 324 | */ | 324 | */ |
| 325 | struct wlp_nonce { | 325 | struct wlp_nonce { |
| 326 | u8 data[16]; | 326 | u8 data[16]; |
| 327 | } __attribute__((packed)); | 327 | } __packed; |
| 328 | 328 | ||
| 329 | /** | 329 | /** |
| 330 | * WLP UUID | 330 | * WLP UUID |
| @@ -336,7 +336,7 @@ struct wlp_nonce { | |||
| 336 | */ | 336 | */ |
| 337 | struct wlp_uuid { | 337 | struct wlp_uuid { |
| 338 | u8 data[16]; | 338 | u8 data[16]; |
| 339 | } __attribute__((packed)); | 339 | } __packed; |
| 340 | 340 | ||
| 341 | 341 | ||
| 342 | /** | 342 | /** |
| @@ -348,7 +348,7 @@ struct wlp_dev_type { | |||
| 348 | u8 OUI[3]; | 348 | u8 OUI[3]; |
| 349 | u8 OUIsubdiv; | 349 | u8 OUIsubdiv; |
| 350 | __le16 subID; | 350 | __le16 subID; |
| 351 | } __attribute__((packed)); | 351 | } __packed; |
| 352 | 352 | ||
| 353 | /** | 353 | /** |
| 354 | * WLP frame header | 354 | * WLP frame header |
| @@ -357,7 +357,7 @@ struct wlp_dev_type { | |||
| 357 | struct wlp_frame_hdr { | 357 | struct wlp_frame_hdr { |
| 358 | __le16 mux_hdr; /* WLP_PROTOCOL_ID */ | 358 | __le16 mux_hdr; /* WLP_PROTOCOL_ID */ |
| 359 | enum wlp_frame_type type:8; | 359 | enum wlp_frame_type type:8; |
| 360 | } __attribute__((packed)); | 360 | } __packed; |
| 361 | 361 | ||
| 362 | /** | 362 | /** |
| 363 | * WLP attribute field header | 363 | * WLP attribute field header |
| @@ -368,7 +368,7 @@ struct wlp_frame_hdr { | |||
| 368 | struct wlp_attr_hdr { | 368 | struct wlp_attr_hdr { |
| 369 | __le16 type; | 369 | __le16 type; |
| 370 | __le16 length; | 370 | __le16 length; |
| 371 | } __attribute__((packed)); | 371 | } __packed; |
| 372 | 372 | ||
| 373 | /** | 373 | /** |
| 374 | * Device information commonly used together | 374 | * Device information commonly used together |
| @@ -401,13 +401,13 @@ struct wlp_device_info { | |||
| 401 | struct wlp_attr_##name { \ | 401 | struct wlp_attr_##name { \ |
| 402 | struct wlp_attr_hdr hdr; \ | 402 | struct wlp_attr_hdr hdr; \ |
| 403 | type name; \ | 403 | type name; \ |
| 404 | } __attribute__((packed)); | 404 | } __packed; |
| 405 | 405 | ||
| 406 | #define wlp_attr_array(type, name) \ | 406 | #define wlp_attr_array(type, name) \ |
| 407 | struct wlp_attr_##name { \ | 407 | struct wlp_attr_##name { \ |
| 408 | struct wlp_attr_hdr hdr; \ | 408 | struct wlp_attr_hdr hdr; \ |
| 409 | type name[]; \ | 409 | type name[]; \ |
| 410 | } __attribute__((packed)); | 410 | } __packed; |
| 411 | 411 | ||
| 412 | /** | 412 | /** |
| 413 | * WLP association attribute fields | 413 | * WLP association attribute fields |
| @@ -483,7 +483,7 @@ struct wlp_wss_info { | |||
| 483 | struct wlp_attr_accept_enrl accept; | 483 | struct wlp_attr_accept_enrl accept; |
| 484 | struct wlp_attr_wss_sec_status sec_stat; | 484 | struct wlp_attr_wss_sec_status sec_stat; |
| 485 | struct wlp_attr_wss_bcast bcast; | 485 | struct wlp_attr_wss_bcast bcast; |
| 486 | } __attribute__((packed)); | 486 | } __packed; |
| 487 | 487 | ||
| 488 | /* WLP WSS Information */ | 488 | /* WLP WSS Information */ |
| 489 | wlp_attr_array(struct wlp_wss_info, wss_info) | 489 | wlp_attr_array(struct wlp_wss_info, wss_info) |
| @@ -520,7 +520,7 @@ wlp_attr(u8, wlp_assc_err) | |||
| 520 | struct wlp_frame_std_abbrv_hdr { | 520 | struct wlp_frame_std_abbrv_hdr { |
| 521 | struct wlp_frame_hdr hdr; | 521 | struct wlp_frame_hdr hdr; |
| 522 | u8 tag; | 522 | u8 tag; |
| 523 | } __attribute__((packed)); | 523 | } __packed; |
| 524 | 524 | ||
| 525 | /** | 525 | /** |
| 526 | * WLP association frames | 526 | * WLP association frames |
| @@ -533,7 +533,7 @@ struct wlp_frame_assoc { | |||
| 533 | struct wlp_attr_version version; | 533 | struct wlp_attr_version version; |
| 534 | struct wlp_attr_msg_type msg_type; | 534 | struct wlp_attr_msg_type msg_type; |
| 535 | u8 attr[]; | 535 | u8 attr[]; |
| 536 | } __attribute__((packed)); | 536 | } __packed; |
| 537 | 537 | ||
| 538 | /* Ethernet to dev address mapping */ | 538 | /* Ethernet to dev address mapping */ |
| 539 | struct wlp_eda { | 539 | struct wlp_eda { |
