]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: mvm: support multiple firmware sections
authorEran Harary <eran.harary@intel.com>
Wed, 29 Jan 2014 06:10:17 +0000 (08:10 +0200)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Mon, 3 Feb 2014 20:23:41 +0000 (22:23 +0200)
commitbf541c2019c9810d596400f96fb62843b2ac1b65
tree4f91d200b9ffd46b71e447ae187dae39ac987d14
parentfccb1d024f5ef186a2a80c0a87174ec264ab1213
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