]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
wifi: ath11k: add pm quirk for Thinkpad Z13/Z16 Gen1
authorRoss Vandegrift <ross@kallisti.us>
Sun, 4 Jan 2026 01:00:34 +0000 (17:00 -0800)
committerJeff Johnson <jeff.johnson@oss.qualcomm.com>
Fri, 16 Jan 2026 01:19:35 +0000 (17:19 -0800)
Z16 Gen1 has the wakeup-from-suspend issues from [1] but was never added
to the appropriate quirk list.  I've tested this patch on top of 6.18.2,
it fixes the issue for me on 21D4

Mark Pearson provided the other product IDs covering the second Z16 Gen1
and both Z13 Gen1 identifiers.  They share the same firmware, and folks
in the bugzilla report do indeed see the problem on Z13.

[1] - https://bugzilla.kernel.org/show_bug.cgi?id=219196

Signed-off-by: Ross Vandegrift <ross@kallisti.us>
Reviewed-by: Baochen Qiang <baochen.qiang@oss.qualcomm.com>
Tested-by: Mark Pearson <mpearson-lenovo@squebb.ca>
Reviewed-by: Mark Pearson <mpearson-lenovo@squebb.ca>
Link: https://patch.msgid.link/wj7o2kmb7g54stdjvxp2hjqrnutnq3jbf4s2uh4ctvmlxdq7tf@nbkj2ebakhrd
Signed-off-by: Jeff Johnson <jeff.johnson@oss.qualcomm.com>
drivers/net/wireless/ath/ath11k/core.c

index 812686173ac8a9c0666eaa5669b4d12f63f88ea5..03dddc1cd003ad857a7ba802428c0ad781d817ea 100644 (file)
@@ -994,6 +994,34 @@ static const struct dmi_system_id ath11k_pm_quirk_table[] = {
                        DMI_MATCH(DMI_PRODUCT_NAME, "21F9"),
                },
        },
+       {
+               .driver_data = (void *)ATH11K_PM_WOW,
+               .matches = { /* Z13 G1 */
+                       DMI_MATCH(DMI_BOARD_VENDOR, "LENOVO"),
+                       DMI_MATCH(DMI_PRODUCT_NAME, "21D2"),
+               },
+       },
+       {
+               .driver_data = (void *)ATH11K_PM_WOW,
+               .matches = { /* Z13 G1 */
+                       DMI_MATCH(DMI_BOARD_VENDOR, "LENOVO"),
+                       DMI_MATCH(DMI_PRODUCT_NAME, "21D3"),
+               },
+       },
+       {
+               .driver_data = (void *)ATH11K_PM_WOW,
+               .matches = { /* Z16 G1 */
+                       DMI_MATCH(DMI_BOARD_VENDOR, "LENOVO"),
+                       DMI_MATCH(DMI_PRODUCT_NAME, "21D4"),
+               },
+       },
+       {
+               .driver_data = (void *)ATH11K_PM_WOW,
+               .matches = { /* Z16 G1 */
+                       DMI_MATCH(DMI_BOARD_VENDOR, "LENOVO"),
+                       DMI_MATCH(DMI_PRODUCT_NAME, "21D5"),
+               },
+       },
        {}
 };