Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c725a46b authored by Moshe Harel's avatar Moshe Harel Committed by Emmanuel Grumbach
Browse files

iwlwifi: mvm: add bt settings to debugfs



Add mplut and sync2sco and corunning to debugfs.

Signed-off-by: default avatarMoshe Harel <moshe.harel@intel.com>
Signed-off-by: default avatarEmmanuel Grumbach <emmanuel.grumbach@intel.com>
parent 5053e299
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -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);