From: Brian Norris <briannorris@chromium.org>
To: Pin-yen Lin <treapking@chromium.org>
Cc: Doug Anderson <dianders@chromium.org>,
Francesco Dolcini <francesco@dolcini.it>,
Kalle Valo <kvalo@kernel.org>, David Lin <yu-hao.lin@nxp.com>,
linux-kernel@vger.kernel.org, linux-wireless@vger.kernel.org
Subject: Re: [PATCH] wifi: mwifiex: decrease timeout waiting for host sleep from 10s to 5s
Date: Wed, 4 Dec 2024 11:26:39 -0800 [thread overview]
Message-ID: <Z1Cs7-ajeWn7UOpr@google.com> (raw)
In-Reply-To: <CAEXTbpeeZVwCYWR0wzX8QMYJ7okj=zmziwt9Nvtu2kzA4iMCmA@mail.gmail.com>
On Wed, Dec 04, 2024 at 09:45:11PM +0800, Pin-yen Lin wrote:
> On Wed, Dec 4, 2024 at 10:04 AM Brian Norris <briannorris@chromium.org> wrote:
> >
> > > > Can you try testing (and gather timing numbers) when
> > > > suspending soon after initiating scans? It's hard to judge what the
> > > > lower limit of this timeout should really be without any numbers, just
> > > > like it's hard to judge whether your 10 second watchdog is reasonable.
> > >
> > > Pin-yen: is this something you could gather?
>
> I tried entering suspend right after wifi scans, and the time spent in
> mwifiex_enable_hs() is always around 100ms. It seems initiating
> suspend does not increase the execution time for mwifiex_enable_hs(),
> so I think the driver is capable of interrupting a scan.
Thanks! At some level, there are things we can only verify by
experimentation, since we don't have firmware source code. This seems
fine to me then.
> > > > Also, for the record, since we might have to field regression reports
> > > > for other systems: what hardware (chip variant, FW version) are you
> > > > seeing problems on?
> > >
> > > Pin-yen: I'm assuming you'll provide this.
>
> From the debugfs entry:
>
> driver_name = "mwifiex"
> driver_version = mwifiex 1.0 (15.68.19.p54)
> verext = w8897o-B0, RF87XX, FP68, 15.68.19.p54
>
> The compatible string of the DT is "marvell,sd8897".
Thanks.
I think it'd be good to see this info in the commit message, but
otherwise you can carry my:
Acked-by: Brian Norris <briannorris@chromium.org>
It'd be extra nice to see that you successfully use this patch in
your own releases, but I don't think that's a requirement for upstream.
And anyway, the upstream RC cycle is pretty long.
Brian
next prev parent reply other threads:[~2024-12-04 19:26 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-27 10:55 [PATCH] wifi: mwifiex: decrease timeout waiting for host sleep from 10s to 5s Pin-yen Lin
2024-11-27 15:44 ` Doug Anderson
2024-12-03 23:04 ` Brian Norris
2024-12-04 1:38 ` Doug Anderson
2024-12-04 2:04 ` Brian Norris
2024-12-04 13:45 ` Pin-yen Lin
2024-12-04 18:11 ` Doug Anderson
2024-12-05 13:46 ` Pin-yen Lin
2024-12-05 17:13 ` Doug Anderson
2024-12-06 11:21 ` Pin-yen Lin
2024-12-06 16:09 ` Doug Anderson
2024-12-04 19:26 ` Brian Norris [this message]
2024-12-04 17:56 ` Doug Anderson
2024-12-09 15:59 ` Kalle Valo
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=Z1Cs7-ajeWn7UOpr@google.com \
--to=briannorris@chromium.org \
--cc=dianders@chromium.org \
--cc=francesco@dolcini.it \
--cc=kvalo@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-wireless@vger.kernel.org \
--cc=treapking@chromium.org \
--cc=yu-hao.lin@nxp.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.