aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-commands.h
diff options
context:
space:
mode:
authorJohn W. Linville <linville@tuxdriver.com>2010-07-26 15:04:12 -0400
committerJohn W. Linville <linville@tuxdriver.com>2010-07-26 15:04:12 -0400
commitda22f795cefb7c9f8a7bc6f22b1c16f1ff15a392 (patch)
treefcc9ea58363296ec07877c7a30a1da3e15fb20dc /drivers/net/wireless/iwlwifi/iwl-commands.h
parent1bd14eaf9e2e790c79c6060b9c630afddc67dfac (diff)
iwlagn: use __packed on new structure definitions
"iwlagn: add statistic notification structure for WiFi/BT devices" added several new '__attribute__ ((packed))' lines. Change them to the generic __packed. Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-commands.h')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-commands.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-commands.h b/drivers/net/wireless/iwlwifi/iwl-commands.h
index 798bf9e7dac5..9c44ab504dfe 100644
--- a/drivers/net/wireless/iwlwifi/iwl-commands.h
+++ b/drivers/net/wireless/iwlwifi/iwl-commands.h
@@ -3132,7 +3132,7 @@ struct statistics_rx_non_phy_bt {
3132 /* additional stats for bt */ 3132 /* additional stats for bt */
3133 __le32 num_bt_kills; 3133 __le32 num_bt_kills;
3134 __le32 reserved[2]; 3134 __le32 reserved[2];
3135} __attribute__ ((packed)); 3135} __packed;
3136 3136
3137struct statistics_rx { 3137struct statistics_rx {
3138 struct statistics_rx_phy ofdm; 3138 struct statistics_rx_phy ofdm;
@@ -3146,7 +3146,7 @@ struct statistics_rx_bt {
3146 struct statistics_rx_phy cck; 3146 struct statistics_rx_phy cck;
3147 struct statistics_rx_non_phy_bt general; 3147 struct statistics_rx_non_phy_bt general;
3148 struct statistics_rx_ht_phy ofdm_ht; 3148 struct statistics_rx_ht_phy ofdm_ht;
3149} __attribute__ ((packed)); 3149} __packed;
3150 3150
3151/** 3151/**
3152 * struct statistics_tx_power - current tx power 3152 * struct statistics_tx_power - current tx power
@@ -3226,7 +3226,7 @@ struct statistics_general_common {
3226 * in order to get out of bad PHY status 3226 * in order to get out of bad PHY status
3227 */ 3227 */
3228 __le32 num_of_sos_states; 3228 __le32 num_of_sos_states;
3229} __attribute__ ((packed)); 3229} __packed;
3230 3230
3231struct statistics_bt_activity { 3231struct statistics_bt_activity {
3232 /* Tx statistics */ 3232 /* Tx statistics */
@@ -3239,13 +3239,13 @@ struct statistics_bt_activity {
3239 __le32 hi_priority_rx_denied_cnt; 3239 __le32 hi_priority_rx_denied_cnt;
3240 __le32 lo_priority_rx_req_cnt; 3240 __le32 lo_priority_rx_req_cnt;
3241 __le32 lo_priority_rx_denied_cnt; 3241 __le32 lo_priority_rx_denied_cnt;
3242} __attribute__ ((packed)); 3242} __packed;
3243 3243
3244struct statistics_general { 3244struct statistics_general {
3245 struct statistics_general_common common; 3245 struct statistics_general_common common;
3246 __le32 reserved2; 3246 __le32 reserved2;
3247 __le32 reserved3; 3247 __le32 reserved3;
3248} __attribute__ ((packed)); 3248} __packed;
3249 3249
3250struct statistics_general_bt { 3250struct statistics_general_bt {
3251 struct statistics_general_common common; 3251 struct statistics_general_common common;
@@ -3316,7 +3316,7 @@ struct iwl_bt_notif_statistics {
3316 struct statistics_rx_bt rx; 3316 struct statistics_rx_bt rx;
3317 struct statistics_tx tx; 3317 struct statistics_tx tx;
3318 struct statistics_general_bt general; 3318 struct statistics_general_bt general;
3319} __attribute__ ((packed)); 3319} __packed;
3320 3320
3321/* 3321/*
3322 * MISSED_BEACONS_NOTIFICATION = 0xa2 (notification only, not a command) 3322 * MISSED_BEACONS_NOTIFICATION = 0xa2 (notification only, not a command)