From: Tony Chuang <yhchuang@realtek.com>
To: Kalle Valo <kvalo@codeaurora.org>
Cc: "linux-wireless@vger.kernel.org" <linux-wireless@vger.kernel.org>,
"briannorris@chromium.org" <briannorris@chromium.org>,
Arend Van Spriel <arend.vanspriel@broadcom.com>,
Johannes Berg <johannes@sipsolutions.net>,
"tamizhr@codeaurora.org" <tamizhr@codeaurora.org>
Subject: RE: [PATCH v2 2/2] rtw88: add a debugfs entry to enable/disable coex mechanism
Date: Fri, 13 Mar 2020 02:23:38 +0000 [thread overview]
Message-ID: <33d4904b71a04ed8b0226ce07b037e05@realtek.com> (raw)
In-Reply-To: <877dzpu2lt.fsf@tynnyri.adurom.net>
Kalle Valo <kvalo@codeaurora.org> :
> <yhchuang@realtek.com> writes:
>
> > From: Yan-Hsuan Chuang <yhchuang@realtek.com>
> >
> > Sometimes we need to stop the coex mechanism to debug, so that we
> > can manually control the device through various outer commands.
> > Hence, add a new debugfs coex_enable to allow us to enable/disable
> > the coex mechanism when driver is running.
> >
> > To disable coex
> > echo 0 > /sys/kernel/debug/ieee80211/phyX/rtw88/coex_enable
> >
> > To enable coex
> > echo 1 > /sys/kernel/debug/ieee80211/phyX/rtw88/coex_enable
> >
> > To check coex dm is enabled or not
> > cat /sys/kernel/debug/ieee80211/phyX/rtw88/coex_enable
>
> I forgot, did we add a command to nl80211 for managing btcoex? At least
> we have talking about that for years. Please check that first before
> adding a debugfs interface for this.
>
Yes, I found there was a thread [1] talking about adding a callback to
enable/disable btcoex, but it seems not get applied eventually.
And there's another thread [2] talking about add a btcoex subsystem.
But seems like nobody can implement it cleanly in the host.
I think adding btcoex subsystem could have a lot of pain since each
vendor is using different mechanism controlling the btcoex, and it
usually comes with RF related design which is difficult to write a common
function to deal with all kinds of them.
Yen-Hsuan
[1] https://patchwork.kernel.org/patch/10252135/
[2] https://www.spinics.net/lists/linux-wireless/msg133333.html
next prev parent reply other threads:[~2020-03-13 2:24 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-03-09 7:58 [PATCH v2 0/2] rtw88: add coex related debugfs yhchuang
2020-03-09 7:58 ` [PATCH v2 1/2] rtw88: add a debugfs entry to dump coex's info yhchuang
2020-03-11 9:31 ` Chris Chiu
2020-03-12 13:23 ` Kalle Valo
2020-03-09 7:58 ` [PATCH v2 2/2] rtw88: add a debugfs entry to enable/disable coex mechanism yhchuang
2020-03-12 13:25 ` Kalle Valo
2020-03-13 2:23 ` Tony Chuang [this message]
2020-03-13 11:17 ` Kalle Valo
2020-03-16 2:13 ` Tony Chuang
2020-03-24 7:05 ` Tony Chuang
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=33d4904b71a04ed8b0226ce07b037e05@realtek.com \
--to=yhchuang@realtek.com \
--cc=arend.vanspriel@broadcom.com \
--cc=briannorris@chromium.org \
--cc=johannes@sipsolutions.net \
--cc=kvalo@codeaurora.org \
--cc=linux-wireless@vger.kernel.org \
--cc=tamizhr@codeaurora.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).