diff options
| author | 2018-08-28 16:15:55 +0300 | |
|---|---|---|
| committer | 2018-12-20 09:09:09 +0200 | |
| commit | a06875a7f8fae2d5b4891abb28c2c4a44ee1ffe8 (patch) | |
| tree | bfd1e4d699935427cd946330f2afb50d3ac916dc /drivers/net/wireless/intel/iwlwifi/mvm/utils.c | |
| parent | iwlwifi: mvm: clean up SSN incrementation (diff) | |
| download | wireguard-linux-a06875a7f8fae2d5b4891abb28c2c4a44ee1ffe8.tar.xz wireguard-linux-a06875a7f8fae2d5b4891abb28c2c4a44ee1ffe8.zip | |
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) iwl_trans_read_mem_bytes(trans, base, &table, sizeof(table)); + if (table.valid) + mvm->fwrt.dump.rt_status = table.error_id; + if (ERROR_START_OFFSET <= table.valid * ERROR_ELEM_SIZE) { IWL_ERR(trans, "Start IWL Error Log Dump:\n"); IWL_ERR(trans, "Status: 0x%08lX, count: %d\n", |
