]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: dbg_ini: verify debug TLVs at allocation phase
authorShahar S Matityahu <shahar.s.matityahu@intel.com>
Sun, 30 Jun 2019 07:23:26 +0000 (10:23 +0300)
committerLuca Coelho <luciano.coelho@intel.com>
Fri, 6 Sep 2019 12:31:21 +0000 (15:31 +0300)
commit8c9909ece847b34d8696d59da314b3f1b2a95807
tree713467796a3ec2a75ed20c752d041871457a4327
parent0e75f40b0019a2f5f9a965fc24c134cd856cf243
iwlwifi: dbg_ini: verify debug TLVs at allocation phase

Reimplement debug TLV allocation flow. The driver will check the
validity of the debug TLVs prior allocating space for them.
Any malformed or unsupported TLV will be skipped.
The TLV specific checks will be added in later patches.

Signed-off-by: Shahar S Matityahu <shahar.s.matityahu@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/fw/dbg.c
drivers/net/wireless/intel/iwlwifi/iwl-dbg-tlv.c
drivers/net/wireless/intel/iwlwifi/iwl-dbg-tlv.h
drivers/net/wireless/intel/iwlwifi/iwl-drv.c
drivers/net/wireless/intel/iwlwifi/iwl-trans.h