iwlwifi: allow combining different phy images with mac images
authorHaim Dreyfuss <haim.dreyfuss@intel.com>
Sun, 3 Apr 2016 16:55:59 +0000 (19:55 +0300)
committerLuca Coelho <luciano.coelho@intel.com>
Tue, 10 May 2016 19:14:49 +0000 (22:14 +0300)
commit1afb0ae4217423f7864cba0684362de99782fa4e
tree3ed4792c760e054596f4301d94c09e6e94be0a63
parent71b1230ca97e60d26b4205ac553af6331724ca60
iwlwifi: allow combining different phy images with mac images

Currently there is one to one function between device id to it's ucode.
The new generation devices allows to combine different phy and mac images.
Now we have two different ucode images with the same device id.
Read RF ID to identify phy image and overwrite it if needed.

Signed-off-by: Haim Dreyfuss <haim.dreyfuss@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/iwl-9000.c
drivers/net/wireless/intel/iwlwifi/iwl-config.h
drivers/net/wireless/intel/iwlwifi/iwl-csr.h
drivers/net/wireless/intel/iwlwifi/iwl-trans.h
drivers/net/wireless/intel/iwlwifi/pcie/drv.c
drivers/net/wireless/intel/iwlwifi/pcie/trans.c