From: Moshe Harel Date: Tue, 27 Oct 2015 12:04:12 +0000 (+0200) Subject: iwlwifi: mvm: add bt settings to debugfs X-Git-Tag: v5.15~13995^2~358^2~6^2~93 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c725a46bc76e694453230ebb83cd14ade1b16f6c;p=platform%2Fkernel%2Flinux-starfive.git iwlwifi: mvm: add bt settings to debugfs Add mplut and sync2sco and corunning to debugfs. Signed-off-by: Moshe Harel Signed-off-by: Emmanuel Grumbach --- diff --git a/drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c b/drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c index 05928fb..2322c99 100644 --- a/drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c +++ b/drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c @@ -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);