iwlwifi: allow memory debug TLV to specify the memory type
authorJohannes Berg <johannes.berg@intel.com>
Thu, 20 Oct 2016 08:01:43 +0000 (10:01 +0200)
committerLuca Coelho <luciano.coelho@intel.com>
Thu, 26 Jan 2017 07:38:27 +0000 (09:38 +0200)
commit5bdaa0ef77065e07be5443b3cea5224ac72c9ac0
tree437c172a7b0e8b5b785596f7521bef6ea3c47a05
parent1110f8e37d6601b19acdfa7fd0b0d63808156f6c
iwlwifi: allow memory debug TLV to specify the memory type

Due to some new features and changes, the firmware file will now
specify what type of memory to dump, in upper 8 bits of the type
field of the TLV. Parse it (types we don't understand are errors)
and teach the code to dump periphery memory.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/iwl-drv.c
drivers/net/wireless/intel/iwlwifi/iwl-fw-file.h
drivers/net/wireless/intel/iwlwifi/mvm/fw-dbg.c