Linux wireless drivers development
 help / color / mirror / Atom feed
From: Ping-Ke Shih <pkshih@realtek.com>
To: Gabriel Maia <gabrielvinicius.damaia@gmail.com>,
	"linux-wireless@vger.kernel.org" <linux-wireless@vger.kernel.org>
Cc: "kvalo@kernel.org" <kvalo@kernel.org>,
	Gabriel Maia <gabriel_v_maia@estudante.sesisenai.org.br>
Subject: RE: [PATCH] wifi: rtw88: add quirk to disable deep LPS for ASUS VivoBook X515JA
Date: Wed, 6 May 2026 08:48:53 +0000	[thread overview]
Message-ID: <af328c8d6bdc4047b08a33a4246c1061@realtek.com> (raw)
In-Reply-To: <20260503164944.27114-1-gabriel_v_maia@estudante.sesisenai.org.br>

Gabriel Maia <gabrielvinicius.damaia@gmail.com> wrote:
> On ASUS VivoBook X515JA laptops equipped with a Realtek RTL8821CE
> 802.11ac PCIe adapter (PCI ID: 10ec:c821, subsystem: 1a3b:3040),
> the driver periodically emits the following messages:
> 
>   rtw88_8821ce 0000:01:00.0: firmware failed to leave lps state
>   rtw88_8821ce 0000:01:00.0: failed to send h2c command
> 
> The firmware fails to leave the Low Power State (LPS) in time,
> causing subsequent h2c commands to be dropped. Disable deep LPS
> to avoid this issue.

Just want to know that messages become absolutely silent with this patch?

> 
> Signed-off-by: Gabriel Maia <gabriel_v_maia@estudante.sesisenai.org.br>

WARNING: From:/Signed-off-by: email address mismatch: 
'From: Gabriel Maia <gabrielvinicius.damaia@gmail.com>' != 
'Signed-off-by: Gabriel Maia <gabriel_v_maia@estudante.sesisenai.org.br>'

> ---
>  drivers/net/wireless/realtek/rtw88/pci.c | 9 +++++++++
>  1 file changed, 9 insertions(+)
> 
> diff --git a/drivers/net/wireless/realtek/rtw88/pci.c b/drivers/net/wireless/realtek/rtw88/pci.c
> index bba370ad510c..b0eae0971ef4 100644
> --- a/drivers/net/wireless/realtek/rtw88/pci.c
> +++ b/drivers/net/wireless/realtek/rtw88/pci.c
> @@ -1770,6 +1770,15 @@ static const struct dmi_system_id rtw_pci_quirks[] = {
>                 .driver_data = (void *)(BIT(QUIRK_DIS_CAP_PCI_ASPM) |
>                                         BIT(QUIRK_DIS_CAP_LPS_DEEP)),
>         },
> +       {
> +               .callback = rtw_pci_disable_caps,
> +               .ident = "ASUS VivoBook X515JA",
> +               .matches = {
> +                       DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."),
> +                       DMI_MATCH(DMI_PRODUCT_NAME, "VivoBook_ASUSLaptop X515JA_X515JA"),
> +               },
> +               .driver_data = (void *)BIT(QUIRK_DIS_CAP_LPS_DEEP),
> +       },
>         {}
>  };
> 
> --
> 2.53.0


  reply	other threads:[~2026-05-06  8:49 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-05-03 16:49 [PATCH] wifi: rtw88: add quirk to disable deep LPS for ASUS VivoBook X515JA Gabriel Maia
2026-05-06  8:48 ` Ping-Ke Shih [this message]
     [not found]   ` <CAC1kGwEid2rT3KFV_Aqxd-Tz7uS+Yci2PNbaPWJ=R0x4zaVYug@mail.gmail.com>
     [not found]     ` <CAC1kGwHi0AyV+kxjbRQE4TKvAc-3xq+uHUufCjfAnkfF8j=Y4g@mail.gmail.com>
2026-05-11  1:16       ` Ping-Ke Shih

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=af328c8d6bdc4047b08a33a4246c1061@realtek.com \
    --to=pkshih@realtek.com \
    --cc=gabriel_v_maia@estudante.sesisenai.org.br \
    --cc=gabrielvinicius.damaia@gmail.com \
    --cc=kvalo@kernel.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