iwlwifi: dbg_ini: remove debug flow TLV
authorShahar S Matityahu <shahar.s.matityahu@intel.com>
Sun, 30 Jun 2019 13:36:36 +0000 (16:36 +0300)
committerLuca Coelho <luciano.coelho@intel.com>
Fri, 6 Sep 2019 12:31:21 +0000 (15:31 +0300)
Debug flow TLV was removed from the FW. Remove the TLV from the driver
as well.

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

index e02e289d29b1028cd4ac89058632e7d7f687f6d5..798e61d4d6838c26133a0b69ded1aaf7450f7c74 100644 (file)
@@ -140,17 +140,6 @@ struct iwl_fw_ini_hcmd_tlv {
        struct iwl_fw_ini_hcmd hcmd;
 } __packed; /* FW_DEBUG_TLV_HCMD_API_S_VER_1 */
 
-/**
- * struct iwl_fw_ini_debug_flow_tlv - (IWL_UCODE_TLV_TYPE_DEBUG_FLOW)
- *
- * @header: header
- * @debug_flow_cfg: &enum iwl_fw_ini_debug_flow
- */
-struct iwl_fw_ini_debug_flow_tlv {
-       struct iwl_fw_ini_header header;
-       __le32 debug_flow_cfg;
-} __packed; /* FW_DEBUG_TLV_FLOW_TLV_S_VER_1 */
-
 #define IWL_FW_INI_MAX_REGION_ID       64
 #define IWL_FW_INI_MAX_NAME            32
 
index 6e5a3289e04a9217573bb1547095f320136e88be..2d37628694d2ae769b0c1a5b3b887f61885e908e 100644 (file)
@@ -2820,8 +2820,6 @@ static void _iwl_fw_dbg_apply_point(struct iwl_fw_runtime *fwrt,
                case IWL_UCODE_TLV_TYPE_TRIGGERS:
                        iwl_fw_dbg_update_triggers(fwrt, ini_tlv, ext, pnt);
                        break;
-               case IWL_UCODE_TLV_TYPE_DEBUG_FLOW:
-                       break;
                default:
                        WARN_ONCE(1,
                                  "WRT: ext=%d. Invalid TLV 0x%x for apply point\n",
index 73cd41480c2fb239c06c3e373e800407e323f8d8..00db39427be779b1e0ad65b6a93a36c24b566698 100644 (file)
@@ -157,8 +157,7 @@ enum iwl_ucode_tlv_type {
        IWL_UCODE_TLV_TYPE_HCMD                 = IWL_UCODE_TLV_DEBUG_BASE + 2,
        IWL_UCODE_TLV_TYPE_REGIONS              = IWL_UCODE_TLV_DEBUG_BASE + 3,
        IWL_UCODE_TLV_TYPE_TRIGGERS             = IWL_UCODE_TLV_DEBUG_BASE + 4,
-       IWL_UCODE_TLV_TYPE_DEBUG_FLOW           = IWL_UCODE_TLV_DEBUG_BASE + 5,
-       IWL_UCODE_TLV_DEBUG_MAX = IWL_UCODE_TLV_TYPE_DEBUG_FLOW,
+       IWL_UCODE_TLV_DEBUG_MAX = IWL_UCODE_TLV_TYPE_TRIGGERS,
 
        /* TLVs 0x1000-0x2000 are for internal driver usage */
        IWL_UCODE_TLV_FW_DBG_DUMP_LST   = 0x1000,
index 1351f7fe5ae2fcf987c65d662ab72d3c521176fe..ae61ad129f069e12075bdbdaa125be01bab66e3d 100644 (file)
@@ -1151,7 +1151,6 @@ static int iwl_parse_tlv_firmware(struct iwl_drv *drv,
                case IWL_UCODE_TLV_TYPE_HCMD:
                case IWL_UCODE_TLV_TYPE_REGIONS:
                case IWL_UCODE_TLV_TYPE_TRIGGERS:
-               case IWL_UCODE_TLV_TYPE_DEBUG_FLOW:
                        if (iwlwifi_mod_params.enable_ini)
                                iwl_dbg_tlv_alloc(drv->trans, tlv, false);
                        break;