diff options
author | Ron Rindjunsky <ron.rindjunsky@intel.com> | 2008-05-29 04:34:49 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-06-03 15:00:18 -0400 |
commit | bd68fb6f010eb312ba20349311aceb89848ad5ff (patch) | |
tree | 739db7dc0f808332ac0d00e5e8c67000951ecfc1 /drivers/net/wireless/iwlwifi/iwl-dev.h | |
parent | e1dfc0851ae0fb280a5eb827dd08853ed46cb241 (diff) |
iwlwifi: increase max payload of iwl_cmd
This patch increases iwl_cmd payload maximum size from 360 to 640
to fit some of iwl5000 commands as well.
Signed-off-by: Ron Rindjunsky <ron.rindjunsky@intel.com>
Signed-off-by: Tomas Winkler <tomas.winkler@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 | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-dev.h b/drivers/net/wireless/iwlwifi/iwl-dev.h index f7fd8ea61779..1ee8121207bf 100644 --- a/drivers/net/wireless/iwlwifi/iwl-dev.h +++ b/drivers/net/wireless/iwlwifi/iwl-dev.h | |||
@@ -307,6 +307,8 @@ struct iwl_cmd_meta { | |||
307 | 307 | ||
308 | } __attribute__ ((packed)); | 308 | } __attribute__ ((packed)); |
309 | 309 | ||
310 | #define IWL_CMD_MAX_PAYLOAD 640 | ||
311 | |||
310 | /** | 312 | /** |
311 | * struct iwl_cmd | 313 | * struct iwl_cmd |
312 | * | 314 | * |
@@ -332,7 +334,7 @@ struct iwl_cmd { | |||
332 | struct iwl4965_tx_beacon_cmd tx_beacon; | 334 | struct iwl4965_tx_beacon_cmd tx_beacon; |
333 | struct iwl4965_rxon_assoc_cmd rxon_assoc; | 335 | struct iwl4965_rxon_assoc_cmd rxon_assoc; |
334 | u8 *indirect; | 336 | u8 *indirect; |
335 | u8 payload[360]; | 337 | u8 payload[IWL_CMD_MAX_PAYLOAD]; |
336 | } __attribute__ ((packed)) cmd; | 338 | } __attribute__ ((packed)) cmd; |
337 | } __attribute__ ((packed)); | 339 | } __attribute__ ((packed)); |
338 | 340 | ||