diff options
author | Tomas Winkler <tomas.winkler@intel.com> | 2008-10-14 15:32:43 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-10-31 19:00:27 -0400 |
commit | 3257e5d4eb418e4656542207720aef5f0f547701 (patch) | |
tree | e9508f648b62d9805b4b6ea97b867b982821ce95 /drivers/net/wireless/iwlwifi/iwl-dev.h | |
parent | 56e1261596334e60210fb8ecd9eb6a3db53aba94 (diff) |
iwlwifi: remove host commands structures from iwl_cmd
This patch removes host commands structures from iwl_cmd
to make more HW oblivious
tx cmd was left it needs special treatment.
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Reviewed-by: Zhu Yi <yi.zhu@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-dev.h')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-dev.h | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-dev.h b/drivers/net/wireless/iwlwifi/iwl-dev.h index 2e9514933970..c73315f23949 100644 --- a/drivers/net/wireless/iwlwifi/iwl-dev.h +++ b/drivers/net/wireless/iwlwifi/iwl-dev.h | |||
@@ -268,23 +268,16 @@ struct iwl_cmd { | |||
268 | struct iwl_cmd_meta meta; /* driver data */ | 268 | struct iwl_cmd_meta meta; /* driver data */ |
269 | struct iwl_cmd_header hdr; /* uCode API */ | 269 | struct iwl_cmd_header hdr; /* uCode API */ |
270 | union { | 270 | union { |
271 | struct iwl_addsta_cmd addsta; | ||
272 | struct iwl_led_cmd led; | ||
273 | u32 flags; | 271 | u32 flags; |
274 | u8 val8; | 272 | u8 val8; |
275 | u16 val16; | 273 | u16 val16; |
276 | u32 val32; | 274 | u32 val32; |
277 | struct iwl4965_bt_cmd bt; | ||
278 | struct iwl_powertable_cmd powertable; | ||
279 | struct iwl_qosparam_cmd qosparam; | ||
280 | struct iwl_tx_cmd tx; | 275 | struct iwl_tx_cmd tx; |
281 | struct iwl4965_rxon_assoc_cmd rxon_assoc; | ||
282 | struct iwl_rem_sta_cmd rm_sta; | ||
283 | u8 *indirect; | ||
284 | u8 payload[IWL_CMD_MAX_PAYLOAD]; | 276 | u8 payload[IWL_CMD_MAX_PAYLOAD]; |
285 | } __attribute__ ((packed)) cmd; | 277 | } __attribute__ ((packed)) cmd; |
286 | } __attribute__ ((packed)); | 278 | } __attribute__ ((packed)); |
287 | 279 | ||
280 | |||
288 | struct iwl_host_cmd { | 281 | struct iwl_host_cmd { |
289 | u8 id; | 282 | u8 id; |
290 | u16 len; | 283 | u16 len; |