iwlwifi: dbg: add apply point logic
authorSara Sharon <sara.sharon@intel.com>
Wed, 13 Jun 2018 12:19:47 +0000 (15:19 +0300)
committerLuca Coelho <luciano.coelho@intel.com>
Fri, 23 Nov 2018 11:01:06 +0000 (13:01 +0200)
commitd47902f9f71d7679b9a2a9d14aa7d4b98d95430b
tree10a29bac3fbb0df8e36ceb81a05f8a12ff5c9ce9
parent743742231a79ea068b3897165a74f9a04cf76846
iwlwifi: dbg: add apply point logic

Add a function to be called when apply point occurs.
For each of the TLVs, the function will perform the
apply point logic:
- For HCMD - send the stored host command
- For buffer allocation - allocate the memory and send the
  buffer allocation command
- For trigger and region - update the stored configuration

Signed-off-by: Sara Sharon <sara.sharon@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/fw/dbg.c
drivers/net/wireless/intel/iwlwifi/fw/dbg.h
drivers/net/wireless/intel/iwlwifi/fw/img.h
drivers/net/wireless/intel/iwlwifi/fw/runtime.h
drivers/net/wireless/intel/iwlwifi/iwl-dbg-tlv.c
drivers/net/wireless/intel/iwlwifi/iwl-trans.h