iwlwifi: dbg_ini: remove periphery phy and aux regions handling
authorShahar S Matityahu <shahar.s.matityahu@intel.com>
Tue, 18 Jun 2019 05:31:58 +0000 (08:31 +0300)
committerLuca Coelho <luciano.coelho@intel.com>
Fri, 6 Sep 2019 12:31:18 +0000 (15:31 +0300)
periphery phy and aux regions should not be collected like periphery mac
region. Remove their handling. The handling will be added in the future
once the FW will support it.

Signed-off-by: Shahar S Matityahu <shahar.s.matityahu@intel.com>
Fixes: 7a14c23dcdee ("iwlwifi: dbg: dump data according to the new ini TLVs")
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/fw/dbg.c

index 78e13cd..1aa8809 100644 (file)
@@ -1908,8 +1908,6 @@ static void iwl_fw_ini_dump_trigger(struct iwl_fw_runtime *fwrt,
                        iwl_dump_ini_mem(fwrt, data, reg, &ops);
                        break;
                case IWL_FW_INI_REGION_PERIPHERY_MAC:
-               case IWL_FW_INI_REGION_PERIPHERY_PHY:
-               case IWL_FW_INI_REGION_PERIPHERY_AUX:
                        ops.get_num_of_ranges = iwl_dump_ini_mem_ranges;
                        ops.get_size = iwl_dump_ini_mem_get_size;
                        ops.fill_mem_hdr = iwl_dump_ini_mem_fill_header;
@@ -1974,6 +1972,8 @@ static void iwl_fw_ini_dump_trigger(struct iwl_fw_runtime *fwrt,
                        ops.fill_range = iwl_dump_ini_csr_iter;
                        iwl_dump_ini_mem(fwrt, data, reg, &ops);
                        break;
+               case IWL_FW_INI_REGION_PERIPHERY_PHY:
+               case IWL_FW_INI_REGION_PERIPHERY_AUX:
                case IWL_FW_INI_REGION_DRAM_IMR:
                        /* This is undefined yet */
                default: