From: Ben Greear <greearb@xxxxxxxxxxxxxxx> To help provide some clues about how eMLSR is working or not. Signed-off-by: Ben Greear <greearb@xxxxxxxxxxxxxxx> --- .../net/wireless/intel/iwlwifi/mvm/debugfs.c | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c b/drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c index 40b095082d56..c1677b36309a 100644 --- a/drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c +++ b/drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c @@ -1085,6 +1085,25 @@ static ssize_t iwl_dbgfs_fw_system_stats_read(struct file *file, "accu_radio_stats.tx_time %lld\n", mvm->accu_radio_stats.tx_time); + pos += scnprintf(pos, endpos - pos, + "mvmvif.esr_disable_reason: 0x%x\n", + mvmvif->esr_disable_reason); + pos += scnprintf(pos, endpos - pos, + "mvmvif.link_selection_res: 0x%x\n", + mvmvif->link_selection_res); + pos += scnprintf(pos, endpos - pos, + "mvmvif.primary_link: %d\n", + mvmvif->primary_link); + pos += scnprintf(pos, endpos - pos, + "mvmvif.link_selection_primary: %d\n", + mvmvif->link_selection_primary); + pos += scnprintf(pos, endpos - pos, + "mvmvif.last_esr_exit: ts: %lu reason: 0x%x\n", + mvmvif->last_esr_exit.ts, mvmvif->last_esr_exit.reason); + pos += scnprintf(pos, endpos - pos, + "mvmvif.esr_active: %d\n", + mvmvif->esr_active); + release_send_out: mutex_unlock(&mvm->mutex); -- 2.42.0