diff options
author | Ron Rindjunsky <ron.rindjunsky@intel.com> | 2008-05-15 01:54:12 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-05-21 21:48:03 -0400 |
commit | dbb983b70a4696666112591572ed49c48c58da26 (patch) | |
tree | 459da770965257429dbacfc07f230a4fbd8fc22d /drivers/net/wireless/iwlwifi/iwl-dev.h | |
parent | b600e4e1c5cd8928fef83bb983ab76c9a6f655bc (diff) |
iwlwifi: add ucode loaders for iwl5000
This patch adds ucode initialization handler and functions to load
ucode for iwl5000 NIC.
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 | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-dev.h b/drivers/net/wireless/iwlwifi/iwl-dev.h index 533479e717ab..b1ff0afd8286 100644 --- a/drivers/net/wireless/iwlwifi/iwl-dev.h +++ b/drivers/net/wireless/iwlwifi/iwl-dev.h | |||
@@ -876,6 +876,12 @@ struct statistics_general_data { | |||
876 | u32 beacon_energy_c; | 876 | u32 beacon_energy_c; |
877 | }; | 877 | }; |
878 | 878 | ||
879 | enum ucode_type { | ||
880 | UCODE_NONE = 0, | ||
881 | UCODE_INIT, | ||
882 | UCODE_RT | ||
883 | }; | ||
884 | |||
879 | #ifdef CONFIG_IWLWIFI_RUN_TIME_CALIB | 885 | #ifdef CONFIG_IWLWIFI_RUN_TIME_CALIB |
880 | /* Sensitivity calib data */ | 886 | /* Sensitivity calib data */ |
881 | struct iwl_sensitivity_data { | 887 | struct iwl_sensitivity_data { |
@@ -1010,6 +1016,8 @@ struct iwl_priv { | |||
1010 | struct fw_desc ucode_init; /* initialization inst */ | 1016 | struct fw_desc ucode_init; /* initialization inst */ |
1011 | struct fw_desc ucode_init_data; /* initialization data */ | 1017 | struct fw_desc ucode_init_data; /* initialization data */ |
1012 | struct fw_desc ucode_boot; /* bootstrap inst */ | 1018 | struct fw_desc ucode_boot; /* bootstrap inst */ |
1019 | enum ucode_type ucode_type; | ||
1020 | u8 ucode_write_complete; /* the image write is complete */ | ||
1013 | 1021 | ||
1014 | 1022 | ||
1015 | struct iwl4965_rxon_time_cmd rxon_timing; | 1023 | struct iwl4965_rxon_time_cmd rxon_timing; |