iwlwifi: mvm: add bt settings to debugfs
authorMoshe Harel <moshe.harel@intel.com>
Tue, 27 Oct 2015 12:04:12 +0000 (14:04 +0200)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Thu, 26 Nov 2015 14:38:51 +0000 (16:38 +0200)
Add mplut and sync2sco and corunning to debugfs.

Signed-off-by: Moshe Harel <moshe.harel@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c

index 05928fb4021d5c23dd3801289094d4ad205d6bd2..2322c995de5692b67401423e461dea19dc70d9f7 100644 (file)
@@ -532,6 +532,13 @@ static ssize_t iwl_dbgfs_bt_notif_read(struct file *file, char __user *user_buf,
                                 mvm->last_ant_isol, mvm->last_corun_lut);
        }
 
+       pos += scnprintf(buf + pos, bufsz - pos, "sync_sco = %d\n",
+                        IWL_MVM_BT_COEX_SYNC2SCO);
+       pos += scnprintf(buf + pos, bufsz - pos, "mplut = %d\n",
+                        IWL_MVM_BT_COEX_MPLUT);
+       pos += scnprintf(buf + pos, bufsz - pos, "corunning = %d\n",
+                        IWL_MVM_BT_COEX_CORUNNING);
+
        mutex_unlock(&mvm->mutex);
 
        ret = simple_read_from_buffer(user_buf, count, ppos, buf, pos);