iwlwifi: mvm: accept arbitrary memory dump TLVs
authorJohannes Berg <johannes.berg@intel.com>
Thu, 20 Oct 2016 07:41:14 +0000 (09:41 +0200)
committerLuca Coelho <luciano.coelho@intel.com>
Mon, 23 Jan 2017 21:36:50 +0000 (23:36 +0200)
commit2ed1e01910825240e5d53c8d59106230d6e5c52b
tree70c61b1bc29af3551b89dc7e132fec9a9671dfe7
parentbac453ab3745eaa64137ea6e77e009b45954f0ae
iwlwifi: mvm: accept arbitrary memory dump TLVs

There's no reason to be validating the memory dump types, or
checking them for duplication, or anything, since we really
just pass them through from the TLV to the dump.

Thus, change the way we handle memory dump TLVs to let the
driver just blindly use anything specified there, dumping it
into the memory dump output file.

This makes the system extensible without driver changes.

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/iwl-fw.h
drivers/net/wireless/intel/iwlwifi/mvm/fw-dbg.c