iwlwifi: mvm: support multiple firmware sections
commit034846cfd23e00a70b48363d70dccc3f8d537053
authorEran Harary <eran.harary@intel.com>
Wed, 29 Jan 2014 06:10:17 +0000 (29 08:10 +0200)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Mon, 3 Feb 2014 20:23:41 +0000 (3 22:23 +0200)
tree4f91d200b9ffd46b71e447ae187dae39ac987d14
parent5c0950c377c1fed65fc26062b4111e33490c823e
iwlwifi: mvm: support multiple firmware sections

Newer devices have two embedded CPUs, and the firwmare for
both of them is include in the .ucode file requested upon
enumeration.
An empty section with address=0xFFFFCCCC separates between
the sections intended for cpu1 and the sections intended
for cpu2.
Update the driver to parse the .ucode file with this format
and act accordingly.

Signed-off-by: Eran Harary <eran.harary@intel.com>
Reviewed-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/iwlwifi/iwl-fw.h
drivers/net/wireless/iwlwifi/pcie/trans.c