aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-dev.h
diff options
context:
space:
mode:
authorGregory Greenman <gregory.greenman@intel.com>2008-05-15 01:53:59 -0400
committerJohn W. Linville <linville@tuxdriver.com>2008-05-21 21:47:54 -0400
commitc1adf9fb31e31ee753d613bd5bc6aef9b762b747 (patch)
treec4f91af5ec9b24bee0833cf88b6379b1cf8fb993 /drivers/net/wireless/iwlwifi/iwl-dev.h
parent8567c63e3385688b95658fe31b3ac8f4436b1b0f (diff)
iwlwifi: get_hw_cmd_size
This patch introduces a new handler get_hw_cmd_size in hcmd_utils, which should adjust the size of the command sent to the microcode according to the current nic. It also changes the RXON flow to make usage of this new handler. The patch also adds iwl_rxon_cmd structure which is supperset for 5000 HW and 4965. Signed-off-by: Gregory Greenman <gregory.greenman@intel.com> Signed-off-by: Zhu Yi <yi.zhu@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.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-dev.h b/drivers/net/wireless/iwlwifi/iwl-dev.h
index ae18a803d034..9a842fd047d4 100644
--- a/drivers/net/wireless/iwlwifi/iwl-dev.h
+++ b/drivers/net/wireless/iwlwifi/iwl-dev.h
@@ -1009,11 +1009,11 @@ struct iwl_priv {
1009 * changed via explicit cast within the 1009 * changed via explicit cast within the
1010 * routines that actually update the physical 1010 * routines that actually update the physical
1011 * hardware */ 1011 * hardware */
1012 const struct iwl4965_rxon_cmd active_rxon; 1012 const struct iwl_rxon_cmd active_rxon;
1013 struct iwl4965_rxon_cmd staging_rxon; 1013 struct iwl_rxon_cmd staging_rxon;
1014 1014
1015 int error_recovering; 1015 int error_recovering;
1016 struct iwl4965_rxon_cmd recovery_rxon; 1016 struct iwl_rxon_cmd recovery_rxon;
1017 1017
1018 /* 1st responses from initialize and runtime uCode images. 1018 /* 1st responses from initialize and runtime uCode images.
1019 * 4965's initialize alive response contains some calibration data. */ 1019 * 4965's initialize alive response contains some calibration data. */