aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-fw.h
diff options
context:
space:
mode:
authorEran Harary <eran.harary@intel.com>2013-10-02 06:53:40 -0400
committerJohannes Berg <johannes.berg@intel.com>2013-10-11 09:05:02 -0400
commite2d6f4e71dc76c815434234cb58c410871888e53 (patch)
tree080bf001f3f95bb830cfdca70fffb01c643cb69c /drivers/net/wireless/iwlwifi/iwl-fw.h
parent5023d96616a1faf46656f8bb5545387d7cca9026 (diff)
iwlwifi: support Signed firmware image and Dual CPUs
Support Signed firmware based on code signing system (CSS) protocol and dual CPUs download, the code recognize if there are more than one CPU and if we need to operate the signed protocol according to the ucode binary image Signed-off-by: Eran Harary <eran.harary@intel.com> Reviewed-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-fw.h')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-fw.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-fw.h b/drivers/net/wireless/iwlwifi/iwl-fw.h
index 6bdae0e9dd78..87b66a821ec8 100644
--- a/drivers/net/wireless/iwlwifi/iwl-fw.h
+++ b/drivers/net/wireless/iwlwifi/iwl-fw.h
@@ -154,7 +154,8 @@ enum iwl_ucode_sec {
154 * For 16.0 uCode and above, there is no differentiation between sections, 154 * For 16.0 uCode and above, there is no differentiation between sections,
155 * just an offset to the HW address. 155 * just an offset to the HW address.
156 */ 156 */
157#define IWL_UCODE_SECTION_MAX 4 157#define IWL_UCODE_SECTION_MAX 6
158#define IWL_UCODE_FIRST_SECTION_OF_SECOND_CPU (IWL_UCODE_SECTION_MAX/2)
158 159
159struct iwl_ucode_capabilities { 160struct iwl_ucode_capabilities {
160 u32 max_probe_length; 161 u32 max_probe_length;
@@ -171,6 +172,8 @@ struct fw_desc {
171 172
172struct fw_img { 173struct fw_img {
173 struct fw_desc sec[IWL_UCODE_SECTION_MAX]; 174 struct fw_desc sec[IWL_UCODE_SECTION_MAX];
175 bool is_secure;
176 bool is_dual_cpus;
174}; 177};
175 178
176/* uCode version contains 4 values: Major/Minor/API/Serial */ 179/* uCode version contains 4 values: Major/Minor/API/Serial */