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)
commit0cedacc5797bbae5b07e5e861fbe7b8e33f2ef78
tree46958e660f25227ddef25c2c47da293b3aeb74ba
parentb5ea1624833b816184aa262c190f2774b8d2ea63
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