]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit18e28af7e0ff9577b2da7c4b3c1f18bea96e5d96
tree70c61b1bc29af3551b89dc7e132fec9a9671dfe7
parent45d21b677b3f8138889913c7886f9d271e5d14c8
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