iwlwifi: more modularity in fw images and sections
authorDavid Spinadel <david.spinadel@intel.com>
Sat, 10 Mar 2012 21:00:12 +0000 (13:00 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 12 Mar 2012 18:22:06 +0000 (14:22 -0400)
commitf4d3b29bf4e1b4ee1324721d7543f9c493a4526e
tree46958e660f25227ddef25c2c47da293b3aeb74ba
parentd1992f5de3fd7d732b2df1b34497aec8a801a302
iwlwifi: more modularity in fw images and sections

Changed iwl_firmware_pieces structure to support an array of
separate images, and an array of sections for each image.

In fw_sec and fw_desc structures, added a field for
offset from the HW address, to support 16.0 uCode that
provides an offset instead of any other data about the section.
This field is filled with default values when parsing instruction
or data section.

Signed-off-by: David Spinadel <david.spinadel@intel.com>
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl-drv.c
drivers/net/wireless/iwlwifi/iwl-fw.h
drivers/net/wireless/iwlwifi/iwl-shared.h