wifi: iwlwifi: Take loading and setting of pnvm image out of parsing part
authorAlon Giladi <alon.giladi@intel.com>
Tue, 6 Jun 2023 07:43:00 +0000 (10:43 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 6 Jun 2023 11:43:30 +0000 (13:43 +0200)
commitb99e32cbfdf63a8acab18b0d44402172528ffe48
tree77cdd19fe9e7ebab0c3e79f5e1d4e9975a632e50
parent194d1f84d56e912459f166a80ef520037c84b0d3
wifi: iwlwifi: Take loading and setting of pnvm image out of parsing part

Change iwl_pnvm_parse so it will only save the information into the
iwl_pnvm_image struct. This enables to use the parsing code for the
power reduce tables in the future.

Signed-off-by: Alon Giladi <alon.giladi@intel.com>
Signed-off-by: Gregory Greenman <gregory.greenman@intel.com>
Link: https://lore.kernel.org/r/20230606103519.504b42fc1611.I4ddf6ad76d922d118fcbcc4f0e9ec003753d0b75@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/intel/iwlwifi/fw/pnvm.c
drivers/net/wireless/intel/iwlwifi/iwl-trans.h