aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c
diff options
context:
space:
mode:
authorMoshe Harel <moshe.harel@intel.com>2015-10-26 05:33:49 -0400
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>2015-11-26 09:38:51 -0500
commit48f0a038d0da461bc6030eef2d6cad316d36aba3 (patch)
treee6e30692cfca82f91e012cda4968a8294aae4258 /drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c
parentc725a46bc76e694453230ebb83cd14ade1b16f6c (diff)
iwlwifi: mvm: add bt rrc and ttc to debugfs
As part of the bt_notif file add fields that are currently not represented Signed-off-by: Moshe Harel <moshe.harel@intel.com> Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Diffstat (limited to 'drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c')
-rw-r--r--drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c b/drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c
index 2322c995de56..82a61f6c59d1 100644
--- a/drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c
+++ b/drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c
@@ -512,6 +512,10 @@ static ssize_t iwl_dbgfs_bt_notif_read(struct file *file, char __user *user_buf,
512 pos += scnprintf(buf+pos, bufsz-pos, 512 pos += scnprintf(buf+pos, bufsz-pos,
513 "antenna isolation = %d CORUN LUT index = %d\n", 513 "antenna isolation = %d CORUN LUT index = %d\n",
514 mvm->last_ant_isol, mvm->last_corun_lut); 514 mvm->last_ant_isol, mvm->last_corun_lut);
515 pos += scnprintf(buf + pos, bufsz - pos, "bt_rrc = %d\n",
516 notif->rrc_enabled);
517 pos += scnprintf(buf + pos, bufsz - pos, "bt_ttc = %d\n",
518 notif->ttc_enabled);
515 } else { 519 } else {
516 struct iwl_bt_coex_profile_notif *notif = 520 struct iwl_bt_coex_profile_notif *notif =
517 &mvm->last_bt_notif; 521 &mvm->last_bt_notif;
@@ -530,6 +534,10 @@ static ssize_t iwl_dbgfs_bt_notif_read(struct file *file, char __user *user_buf,
530 pos += scnprintf(buf+pos, bufsz-pos, 534 pos += scnprintf(buf+pos, bufsz-pos,
531 "antenna isolation = %d CORUN LUT index = %d\n", 535 "antenna isolation = %d CORUN LUT index = %d\n",
532 mvm->last_ant_isol, mvm->last_corun_lut); 536 mvm->last_ant_isol, mvm->last_corun_lut);
537 pos += scnprintf(buf + pos, bufsz - pos, "bt_rrc = %d\n",
538 (notif->ttc_rrc_status >> 4) & 0xF);
539 pos += scnprintf(buf + pos, bufsz - pos, "bt_ttc = %d\n",
540 notif->ttc_rrc_status & 0xF);
533 } 541 }
534 542
535 pos += scnprintf(buf + pos, bufsz - pos, "sync_sco = %d\n", 543 pos += scnprintf(buf + pos, bufsz - pos, "sync_sco = %d\n",