]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3ffdb984b36ba2385668b2c2ed07eb1448e06c00
tree46958e660f25227ddef25c2c47da293b3aeb74ba
parent4f29c3f917afd953eb12f876dfbe4e00545793ba
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