iwlwifi: adjust NVM parsing APIs for new a000 method
authorSara Sharon <sara.sharon@intel.com>
Sun, 8 Jan 2017 14:45:46 +0000 (16:45 +0200)
committerLuca Coelho <luciano.coelho@intel.com>
Tue, 25 Apr 2017 20:08:32 +0000 (23:08 +0300)
commit291084951825e1efca081926b10bf3ff7e872476
tree3f50e9b6484162c412fd960b2847862bb232c2ea
parentd8a130b02d0caa9a8f0c14db11d84320ffc62c57
iwlwifi: adjust NVM parsing APIs for new a000 method

In a000 devices we will get all nvm data from the firmware,
and can save most of the parsing.
Export two APIs that op mode will still use.
Adjust API of init_sbands to be independent of NVM file structure
so it can be used by op mode as well.

Signed-off-by: Sara Sharon <sara.sharon@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c
drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.h