* [PATCH] wifi: ath11k: Add two missing Lenovo IDs to the quirk table
@ 2026-04-23 21:14 Santiago Ruano Rincón
2026-04-24 2:07 ` Kyle Farnung
0 siblings, 1 reply; 5+ messages in thread
From: Santiago Ruano Rincón @ 2026-04-23 21:14 UTC (permalink / raw)
To: Jeff Johnson, linux-wireless, ath11k, linux-kernel
Cc: Mark Pearson, kfarnung, koike
Commit 0eb002c93c3b4 ("wifi: ath11k: Add missing platform IDs for quirk
table") added some Lenovo platform IDs to the quirk table to address a
wakeup from suspend issue [1]. However, at least two more platform ID
are missing in that table: P14s Gen 5 AMD, as reported by Kyle Farnung [2]
and P14s Gen 3 AMD. This commit adds one ID for each.
[1] https://bugzilla.kernel.org/show_bug.cgi?id=219196
[2] https://bugzilla.kernel.org/show_bug.cgi?id=219196#c23
Tested-on: P14s G3 AMD.
Fixes: ce8669a27016 ("wifi: ath11k: determine PM policy based on machine model")
Signed-off-by: Santiago Ruano Rincón <santiagorr@riseup.net>
---
drivers/net/wireless/ath/ath11k/core.c | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/drivers/net/wireless/ath/ath11k/core.c b/drivers/net/wireless/ath/ath11k/core.c
index 3f6f4db5b7ee..56938d5d42a1 100644
--- a/drivers/net/wireless/ath/ath11k/core.c
+++ b/drivers/net/wireless/ath/ath11k/core.c
@@ -957,6 +957,13 @@ static const struct dmi_system_id ath11k_pm_quirk_table[] = {
DMI_MATCH(DMI_PRODUCT_NAME, "21K4"),
},
},
+ {
+ .driver_data = (void *)ATH11K_PM_WOW,
+ .matches = { /* P14s G3 AMD */
+ DMI_MATCH(DMI_BOARD_VENDOR, "LENOVO"),
+ DMI_MATCH(DMI_PRODUCT_NAME, "21J5"),
+ },
+ },
{
.driver_data = (void *)ATH11K_PM_WOW,
.matches = { /* P14s G4 AMD #1 */
@@ -971,6 +978,13 @@ static const struct dmi_system_id ath11k_pm_quirk_table[] = {
DMI_MATCH(DMI_PRODUCT_NAME, "21K6"),
},
},
+ {
+ .driver_data = (void *)ATH11K_PM_WOW,
+ .matches = { /* P14s Gen 5 AMD */
+ DMI_MATCH(DMI_BOARD_VENDOR, "LENOVO"),
+ DMI_MATCH(DMI_PRODUCT_NAME, "21ME"),
+ },
+ },
{
.driver_data = (void *)ATH11K_PM_WOW,
.matches = { /* T16 G2 AMD #1 */
--
2.53.0
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH] wifi: ath11k: Add two missing Lenovo IDs to the quirk table
2026-04-23 21:14 [PATCH] wifi: ath11k: Add two missing Lenovo IDs to the quirk table Santiago Ruano Rincón
@ 2026-04-24 2:07 ` Kyle Farnung
2026-04-24 14:14 ` Mark Pearson
2026-04-24 15:10 ` Santiago Ruano Rincón
0 siblings, 2 replies; 5+ messages in thread
From: Kyle Farnung @ 2026-04-24 2:07 UTC (permalink / raw)
To: Santiago Ruano Rincón, Jeff Johnson,
linux-wireless@vger.kernel.org, ath11k@lists.infradead.org,
linux-kernel@vger.kernel.org
Cc: Mark Pearson, koike@igalia.com, Kyle Farnung
>
>
>
> ________________________________________
> From: Santiago Ruano Rincón <santiagorr@riseup.net>
> Sent: Thursday, April 23, 2026 2:14 PM
> To: Jeff Johnson; linux-wireless@vger.kernel.org; ath11k@lists.infradead.org; linux-kernel@vger.kernel.org
> Cc: Mark Pearson; kfarnung@outlook.com; koike@igalia.com
> Subject: [PATCH] wifi: ath11k: Add two missing Lenovo IDs to the quirk table
>
> Commit 0eb002c93c3b4 ("wifi: ath11k: Add missing platform IDs for quirk
> table") added some Lenovo platform IDs to the quirk table to address a
> wakeup from suspend issue [1]. However, at least two more platform ID
> are missing in that table: P14s Gen 5 AMD, as reported by Kyle Farnung [2]
> and P14s Gen 3 AMD. This commit adds one ID for each.
>
> [1] https://bugzilla.kernel.org/show_bug.cgi?id=219196
> [2] https://bugzilla.kernel.org/show_bug.cgi?id=219196#c23
>
> Tested-on: P14s G3 AMD.
Lenovo products have a pair of IDs, you'll want 21J6 [3] and 21MF [4] as
well. I submitted a patch myself [5], but I've been investigating another
symptom.
I have the same "wake on power removed" issue, but I have another issue
that's more annoying where the wifi just dies randomly. I only have the
wake issue when power is disconnected, not when power is connected again.
I mostly leave my device connected, so I only realized the behavior while
doing the regression testing requested in the other patch.
[3] https://pcsupport.lenovo.com/jm/en/products/laptops-and-netbooks/thinkpad-p-series-laptops/thinkpad-p14s-gen-3-type-21j5-21j6/21j5
[4] https://pcsupport.lenovo.com/us/en/products/laptops-and-netbooks/thinkpad-p-series-laptops/thinkpad-p14s-gen-5-type-21me-21mf/21me/21me000pge
[5] https://lore.kernel.org/all/ba4d194b-6d31-4d8a-a6a6-da116f9f56ac@oss.qualcomm.com/
>
> Fixes: ce8669a27016 ("wifi: ath11k: determine PM policy based on machine model")
> Signed-off-by: Santiago Ruano Rincón <santiagorr@riseup.net>
> ---
> drivers/net/wireless/ath/ath11k/core.c | 14 ++++++++++++++
> 1 file changed, 14 insertions(+)
>
> diff --git a/drivers/net/wireless/ath/ath11k/core.c b/drivers/net/wireless/ath/ath11k/core.c
> index 3f6f4db5b7ee..56938d5d42a1 100644
> --- a/drivers/net/wireless/ath/ath11k/core.c
> +++ b/drivers/net/wireless/ath/ath11k/core.c
> @@ -957,6 +957,13 @@ static const struct dmi_system_id ath11k_pm_quirk_table[] = {
> DMI_MATCH(DMI_PRODUCT_NAME, "21K4"),
> },
> },
> + {
> + .driver_data = (void *)ATH11K_PM_WOW,
> + .matches = { /* P14s G3 AMD */
> + DMI_MATCH(DMI_BOARD_VENDOR, "LENOVO"),
> + DMI_MATCH(DMI_PRODUCT_NAME, "21J5"),
> + },
> + },
> {
> .driver_data = (void *)ATH11K_PM_WOW,
> .matches = { /* P14s G4 AMD #1 */
> @@ -971,6 +978,13 @@ static const struct dmi_system_id ath11k_pm_quirk_table[] = {
> DMI_MATCH(DMI_PRODUCT_NAME, "21K6"),
> },
> },
> + {
> + .driver_data = (void *)ATH11K_PM_WOW,
> + .matches = { /* P14s Gen 5 AMD */
> + DMI_MATCH(DMI_BOARD_VENDOR, "LENOVO"),
> + DMI_MATCH(DMI_PRODUCT_NAME, "21ME"),
> + },
> + },
> {
> .driver_data = (void *)ATH11K_PM_WOW,
> .matches = { /* T16 G2 AMD #1 */
> --
> 2.53.0
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] wifi: ath11k: Add two missing Lenovo IDs to the quirk table
2026-04-24 2:07 ` Kyle Farnung
@ 2026-04-24 14:14 ` Mark Pearson
2026-04-24 15:10 ` Santiago Ruano Rincón
1 sibling, 0 replies; 5+ messages in thread
From: Mark Pearson @ 2026-04-24 14:14 UTC (permalink / raw)
To: Kyle Farnung, Santiago Ruano Rincón, Jeff Johnson,
linux-wireless@vger.kernel.org, ath11k@lists.infradead.org,
linux-kernel@vger.kernel.org
Cc: koike@igalia.com, Kyle Farnung
On Thu, Apr 23, 2026, at 10:07 PM, Kyle Farnung wrote:
>>
>>
>>
>> ________________________________________
>> From: Santiago Ruano Rincón <santiagorr@riseup.net>
>> Sent: Thursday, April 23, 2026 2:14 PM
>> To: Jeff Johnson; linux-wireless@vger.kernel.org; ath11k@lists.infradead.org; linux-kernel@vger.kernel.org
>> Cc: Mark Pearson; kfarnung@outlook.com; koike@igalia.com
>> Subject: [PATCH] wifi: ath11k: Add two missing Lenovo IDs to the quirk table
>>
>> Commit 0eb002c93c3b4 ("wifi: ath11k: Add missing platform IDs for quirk
>> table") added some Lenovo platform IDs to the quirk table to address a
>> wakeup from suspend issue [1]. However, at least two more platform ID
>> are missing in that table: P14s Gen 5 AMD, as reported by Kyle Farnung [2]
>> and P14s Gen 3 AMD. This commit adds one ID for each.
>>
>> [1] https://bugzilla.kernel.org/show_bug.cgi?id=219196
>> [2] https://bugzilla.kernel.org/show_bug.cgi?id=219196#c23
>>
>> Tested-on: P14s G3 AMD.
>
> Lenovo products have a pair of IDs, you'll want 21J6 [3] and 21MF [4] as
> well. I submitted a patch myself [5], but I've been investigating another
> symptom.
>
Thanks - you beat me to it.
Confirmed that you'll want to add those two.
Mark
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] wifi: ath11k: Add two missing Lenovo IDs to the quirk table
2026-04-24 2:07 ` Kyle Farnung
2026-04-24 14:14 ` Mark Pearson
@ 2026-04-24 15:10 ` Santiago Ruano Rincón
2026-04-26 17:44 ` Kyle Farnung
1 sibling, 1 reply; 5+ messages in thread
From: Santiago Ruano Rincón @ 2026-04-24 15:10 UTC (permalink / raw)
To: Kyle Farnung
Cc: Jeff Johnson, linux-wireless@vger.kernel.org,
ath11k@lists.infradead.org, linux-kernel@vger.kernel.org,
Mark Pearson, koike@igalia.com, Kyle Farnung, 1132343
El 24/04/26 a las 02:07, Kyle Farnung escribió:
> > From: Santiago Ruano Rincón <santiagorr@riseup.net>
> > Sent: Thursday, April 23, 2026 2:14 PM
> > To: Jeff Johnson; linux-wireless@vger.kernel.org; ath11k@lists.infradead.org; linux-kernel@vger.kernel.org
> > Cc: Mark Pearson; kfarnung@outlook.com; koike@igalia.com
> > Subject: [PATCH] wifi: ath11k: Add two missing Lenovo IDs to the quirk table
> >
> > Commit 0eb002c93c3b4 ("wifi: ath11k: Add missing platform IDs for quirk
> > table") added some Lenovo platform IDs to the quirk table to address a
> > wakeup from suspend issue [1]. However, at least two more platform ID
> > are missing in that table: P14s Gen 5 AMD, as reported by Kyle Farnung [2]
> > and P14s Gen 3 AMD. This commit adds one ID for each.
> >
> > [1] https://bugzilla.kernel.org/show_bug.cgi?id=219196
> > [2] https://bugzilla.kernel.org/show_bug.cgi?id=219196#c23
> >
> > Tested-on: P14s G3 AMD.
>
> Lenovo products have a pair of IDs, you'll want 21J6 [3] and 21MF [4] as
> well. I submitted a patch myself [5], but I've been investigating another
> symptom.
Thanks for the notice. I will adapt my patch to remove the conflict with yours.
>
> I have the same "wake on power removed" issue, but I have another issue
> that's more annoying where the wifi just dies randomly. I only have the
> wake issue when power is disconnected, not when power is connected again.
> I mostly leave my device connected, so I only realized the behavior while
> doing the regression testing requested in the other patch.
I've also been hit by a similar annoying wifi randomly dying issue that
you describe [deb#1132343]. With the patch that I attached applied to
7.0.0, my P14s G3 AMD laptop has been running for more that 3 days, with
several suspends / weak ups, either with power connected or
disconnected. And I haven't encountered that problem since it booted so
I concluded that the patch fixed it. But chances are that I am wrong.
[deb#1132343] https://bugs.debian.org/1132343
The latest bad version I tested where the wifi died was 6.9.11. I plan
test the patch on top of it.
>
> [3] https://pcsupport.lenovo.com/jm/en/products/laptops-and-netbooks/thinkpad-p-series-laptops/thinkpad-p14s-gen-3-type-21j5-21j6/21j5
> [4] https://pcsupport.lenovo.com/us/en/products/laptops-and-netbooks/thinkpad-p-series-laptops/thinkpad-p14s-gen-5-type-21me-21mf/21me/21me000pge
> [5] https://lore.kernel.org/all/ba4d194b-6d31-4d8a-a6a6-da116f9f56ac@oss.qualcomm.com/
[snip]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] wifi: ath11k: Add two missing Lenovo IDs to the quirk table
2026-04-24 15:10 ` Santiago Ruano Rincón
@ 2026-04-26 17:44 ` Kyle Farnung
0 siblings, 0 replies; 5+ messages in thread
From: Kyle Farnung @ 2026-04-26 17:44 UTC (permalink / raw)
To: Santiago Ruano Rincón
Cc: Kyle Farnung, Jeff Johnson, linux-wireless@vger.kernel.org,
ath11k@lists.infradead.org, linux-kernel@vger.kernel.org,
Mark Pearson, koike@igalia.com, 1132343
On Fri, Apr 24, 2026 at 8:10 AM Santiago Ruano Rincón
<santiagorr@riseup.net> wrote:
>
> El 24/04/26 a las 02:07, Kyle Farnung escribió:
> > > From: Santiago Ruano Rincón <santiagorr@riseup.net>
> > > Sent: Thursday, April 23, 2026 2:14 PM
> > > To: Jeff Johnson; linux-wireless@vger.kernel.org; ath11k@lists.infradead.org; linux-kernel@vger.kernel.org
> > > Cc: Mark Pearson; kfarnung@outlook.com; koike@igalia.com
> > > Subject: [PATCH] wifi: ath11k: Add two missing Lenovo IDs to the quirk table
> > >
> > > Commit 0eb002c93c3b4 ("wifi: ath11k: Add missing platform IDs for quirk
> > > table") added some Lenovo platform IDs to the quirk table to address a
> > > wakeup from suspend issue [1]. However, at least two more platform ID
> > > are missing in that table: P14s Gen 5 AMD, as reported by Kyle Farnung [2]
> > > and P14s Gen 3 AMD. This commit adds one ID for each.
> > >
> > > [1] https://bugzilla.kernel.org/show_bug.cgi?id=219196
> > > [2] https://bugzilla.kernel.org/show_bug.cgi?id=219196#c23
> > >
> > > Tested-on: P14s G3 AMD.
> >
> > Lenovo products have a pair of IDs, you'll want 21J6 [3] and 21MF [4] as
> > well. I submitted a patch myself [5], but I've been investigating another
> > symptom.
>
> Thanks for the notice. I will adapt my patch to remove the conflict with yours.
Feel free to just merge yours and I'll withdraw mine. I'm regression
testing the WiFi disconnect issue I'm encountering, so I'll just focus on
that. In the meantime this seems righteous.
>
> >
> > I have the same "wake on power removed" issue, but I have another issue
> > that's more annoying where the wifi just dies randomly. I only have the
> > wake issue when power is disconnected, not when power is connected again.
> > I mostly leave my device connected, so I only realized the behavior while
> > doing the regression testing requested in the other patch.
>
> I've also been hit by a similar annoying wifi randomly dying issue that
> you describe [deb#1132343]. With the patch that I attached applied to
> 7.0.0, my P14s G3 AMD laptop has been running for more that 3 days, with
> several suspends / weak ups, either with power connected or
> disconnected. And I haven't encountered that problem since it booted so
> I concluded that the patch fixed it. But chances are that I am wrong.
>
> [deb#1132343] https://bugs.debian.org/1132343
>
> The latest bad version I tested where the wifi died was 6.9.11. I plan
> test the patch on top of it.
6.9 or 6.19? My issue started between 6.16.10 and 6.17.4.
>
> >
> > [3] https://pcsupport.lenovo.com/jm/en/products/laptops-and-netbooks/thinkpad-p-series-laptops/thinkpad-p14s-gen-3-type-21j5-21j6/21j5
> > [4] https://pcsupport.lenovo.com/us/en/products/laptops-and-netbooks/thinkpad-p-series-laptops/thinkpad-p14s-gen-5-type-21me-21mf/21me/21me000pge
> > [5] https://lore.kernel.org/all/ba4d194b-6d31-4d8a-a6a6-da116f9f56ac@oss.qualcomm.com/
>
> [snip]
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2026-04-26 17:44 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-23 21:14 [PATCH] wifi: ath11k: Add two missing Lenovo IDs to the quirk table Santiago Ruano Rincón
2026-04-24 2:07 ` Kyle Farnung
2026-04-24 14:14 ` Mark Pearson
2026-04-24 15:10 ` Santiago Ruano Rincón
2026-04-26 17:44 ` Kyle Farnung
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox