diff options
Diffstat (limited to 'drivers/net/wireless/hostap/hostap_80211.h')
-rw-r--r-- | drivers/net/wireless/hostap/hostap_80211.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/drivers/net/wireless/hostap/hostap_80211.h b/drivers/net/wireless/hostap/hostap_80211.h index 7f9d8d976aa8..ed98ce7c8f65 100644 --- a/drivers/net/wireless/hostap/hostap_80211.h +++ b/drivers/net/wireless/hostap/hostap_80211.h | |||
@@ -19,35 +19,35 @@ struct hostap_ieee80211_mgmt { | |||
19 | __le16 status_code; | 19 | __le16 status_code; |
20 | /* possibly followed by Challenge text */ | 20 | /* possibly followed by Challenge text */ |
21 | u8 variable[0]; | 21 | u8 variable[0]; |
22 | } __attribute__ ((packed)) auth; | 22 | } __packed auth; |
23 | struct { | 23 | struct { |
24 | __le16 reason_code; | 24 | __le16 reason_code; |
25 | } __attribute__ ((packed)) deauth; | 25 | } __packed deauth; |
26 | struct { | 26 | struct { |
27 | __le16 capab_info; | 27 | __le16 capab_info; |
28 | __le16 listen_interval; | 28 | __le16 listen_interval; |
29 | /* followed by SSID and Supported rates */ | 29 | /* followed by SSID and Supported rates */ |
30 | u8 variable[0]; | 30 | u8 variable[0]; |
31 | } __attribute__ ((packed)) assoc_req; | 31 | } __packed assoc_req; |
32 | struct { | 32 | struct { |
33 | __le16 capab_info; | 33 | __le16 capab_info; |
34 | __le16 status_code; | 34 | __le16 status_code; |
35 | __le16 aid; | 35 | __le16 aid; |
36 | /* followed by Supported rates */ | 36 | /* followed by Supported rates */ |
37 | u8 variable[0]; | 37 | u8 variable[0]; |
38 | } __attribute__ ((packed)) assoc_resp, reassoc_resp; | 38 | } __packed assoc_resp, reassoc_resp; |
39 | struct { | 39 | struct { |
40 | __le16 capab_info; | 40 | __le16 capab_info; |
41 | __le16 listen_interval; | 41 | __le16 listen_interval; |
42 | u8 current_ap[6]; | 42 | u8 current_ap[6]; |
43 | /* followed by SSID and Supported rates */ | 43 | /* followed by SSID and Supported rates */ |
44 | u8 variable[0]; | 44 | u8 variable[0]; |
45 | } __attribute__ ((packed)) reassoc_req; | 45 | } __packed reassoc_req; |
46 | struct { | 46 | struct { |
47 | __le16 reason_code; | 47 | __le16 reason_code; |
48 | } __attribute__ ((packed)) disassoc; | 48 | } __packed disassoc; |
49 | struct { | 49 | struct { |
50 | } __attribute__ ((packed)) probe_req; | 50 | } __packed probe_req; |
51 | struct { | 51 | struct { |
52 | u8 timestamp[8]; | 52 | u8 timestamp[8]; |
53 | __le16 beacon_int; | 53 | __le16 beacon_int; |
@@ -55,9 +55,9 @@ struct hostap_ieee80211_mgmt { | |||
55 | /* followed by some of SSID, Supported rates, | 55 | /* followed by some of SSID, Supported rates, |
56 | * FH Params, DS Params, CF Params, IBSS Params, TIM */ | 56 | * FH Params, DS Params, CF Params, IBSS Params, TIM */ |
57 | u8 variable[0]; | 57 | u8 variable[0]; |
58 | } __attribute__ ((packed)) beacon, probe_resp; | 58 | } __packed beacon, probe_resp; |
59 | } u; | 59 | } u; |
60 | } __attribute__ ((packed)); | 60 | } __packed; |
61 | 61 | ||
62 | 62 | ||
63 | #define IEEE80211_MGMT_HDR_LEN 24 | 63 | #define IEEE80211_MGMT_HDR_LEN 24 |