diff options
author | Shahar S Matityahu <shahar.s.matityahu@intel.com> | 2018-08-28 09:15:55 -0400 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2018-12-20 02:09:09 -0500 |
commit | a06875a7f8fae2d5b4891abb28c2c4a44ee1ffe8 (patch) | |
tree | bfd1e4d699935427cd946330f2afb50d3ac916dc /drivers/net/wireless/intel/iwlwifi/mvm/utils.c | |
parent | 35739348ba07186a6b186e3aae5728721ff57a9a (diff) |
iwlwifi: wrt: add rt status and num of rx/tx fifos to dump
Add the rt status of the last assert or 0 if the dump collection was
not initiated by an assert. Add the number of rx and tx fifos in use.
These fields are added to dump info lst file.
Signed-off-by: Shahar S Matityahu <shahar.s.matityahu@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/intel/iwlwifi/mvm/utils.c')
-rw-r--r-- | drivers/net/wireless/intel/iwlwifi/mvm/utils.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/wireless/intel/iwlwifi/mvm/utils.c b/drivers/net/wireless/intel/iwlwifi/mvm/utils.c index 5ad352ef8e9b..d116c6ae18ff 100644 --- a/drivers/net/wireless/intel/iwlwifi/mvm/utils.c +++ b/drivers/net/wireless/intel/iwlwifi/mvm/utils.c | |||
@@ -540,6 +540,9 @@ static void iwl_mvm_dump_lmac_error_log(struct iwl_mvm *mvm, u32 base) | |||
540 | 540 | ||
541 | iwl_trans_read_mem_bytes(trans, base, &table, sizeof(table)); | 541 | iwl_trans_read_mem_bytes(trans, base, &table, sizeof(table)); |
542 | 542 | ||
543 | if (table.valid) | ||
544 | mvm->fwrt.dump.rt_status = table.error_id; | ||
545 | |||
543 | if (ERROR_START_OFFSET <= table.valid * ERROR_ELEM_SIZE) { | 546 | if (ERROR_START_OFFSET <= table.valid * ERROR_ELEM_SIZE) { |
544 | IWL_ERR(trans, "Start IWL Error Log Dump:\n"); | 547 | IWL_ERR(trans, "Start IWL Error Log Dump:\n"); |
545 | IWL_ERR(trans, "Status: 0x%08lX, count: %d\n", | 548 | IWL_ERR(trans, "Status: 0x%08lX, count: %d\n", |