From: Tony Chuang <yhchuang@realtek.com>
To: Brian Norris <briannorris@chromium.org>,
Johannes Berg <johannes@sipsolutions.net>
Cc: Ben Greear <greearb@candelatech.com>,
Kalle Valo <kvalo@codeaurora.org>,
"linux-wireless@vger.kernel.org" <linux-wireless@vger.kernel.org>
Subject: RE: [PATCH] rtw88: add debugfs to fix tx rate
Date: Wed, 25 Mar 2020 02:55:18 +0000 [thread overview]
Message-ID: <3894907ca6bf4566b8716731492a869b@realtek.com> (raw)
In-Reply-To: <CA+ASDXM5tSmeE72+fn5K2vgR6kPE3OUbHJ_T_DVV63rFrPzv2w@mail.gmail.com>
Brian Norris <briannorris@chromium.org> writes:
> [ To be clear, I haven't asked for this debugfs knob, and as of now,
> there is no plan for Chrome OS to use $subject feature. Per some of
> Tony's descriptions, I suppose maybe this would be useful for certain
> debugging scenarios, but only that -- no intention of wiring this up
> "in production." IIUC, he CC'd me only because of the "measuring the
> TX power" portion of the commit message. ]
>
> On Fri, Mar 20, 2020 at 6:06 AM Johannes Berg <johannes@sipsolutions.net>
> wrote:
> > Brian can probably comment on this - I think ChromeOS (used to) use(s)
> > some kind of fixed rate at the beginning of the connection to force low
> > rates? But I also remember this interacting badly with some APs that
> > just don't want to enable low rates at all...
>
[...]
>
> As Johannes noted, masking off these rates caused problems of its own,
> especially when APs (esp., guided by (mis?)guided I.T. admins who
> think that low bitrates are evil) removed these low bitrates from
> their SupportedRates field. Apparently these APs may start to reject
> clients if they don't obey.
>
> Additionally, we found no evidence that forcing low bitrates like this
> was substantially helpful for anything other than older ath9k systems.
> So longer story shorter, Chrome OS does not use
> NL80211_CMD_SET_TX_BITRATE_MASK any more.
>
We want to measure the TX power, and the equipment just cannot
detect the signal on some rates, unless we "fix" the rate exactly.
So NL80211_CMD_SET_TX_BITRATE_MASK is not so useful for us
sometimes. Also we wanted to see not only the TX power, but the
signal quality of certain modulations/coding rates, and the equipment
still tends to receive fixed rates.
[...]
>
> One could also argue that, if iwlwifi already has a debugfs knob
> (looks like rs_sta_dbgfs_scale_table_write()?), rtw88 should be able
> to have one too ;)
>
> Regards,
> Brian
>
Yen-Hsuan
next prev parent reply other threads:[~2020-03-25 2:55 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-03-13 6:51 [PATCH] rtw88: add debugfs to fix tx rate yhchuang
2020-03-13 10:33 ` Kalle Valo
2020-03-16 2:28 ` Tony Chuang
2020-03-17 7:10 ` Kalle Valo
2020-03-17 10:32 ` Tony Chuang
2020-03-17 15:40 ` Kalle Valo
2020-03-17 15:49 ` Ben Greear
2020-03-18 9:02 ` Tony Chuang
2020-03-20 13:05 ` Johannes Berg
2020-03-25 0:03 ` Brian Norris
2020-03-25 2:55 ` Tony Chuang [this message]
2020-03-25 5:16 ` Brian Norris
2020-03-25 5:54 ` Tony Chuang
2020-03-25 9:10 ` Johannes Berg
2020-03-25 15:52 ` Ben Greear
2020-03-25 18:14 ` Brian Norris
2020-05-25 9:07 ` Johannes Berg
2020-05-25 16:16 ` Ben Greear
2020-03-26 18:27 ` Brian Norris
2021-11-26 16:19 ` Kalle Valo
2021-11-29 2:25 ` Pkshih
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=3894907ca6bf4566b8716731492a869b@realtek.com \
--to=yhchuang@realtek.com \
--cc=briannorris@chromium.org \
--cc=greearb@candelatech.com \
--cc=johannes@sipsolutions.net \
--cc=kvalo@codeaurora.org \
--cc=linux-wireless@vger.kernel.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).