Skip to content

Commit 3384158

Browse files
committed
wifi: ath11k: Add missing platform IDs for quirk table
JIRA: https://issues.redhat.com/browse/RHEL-114889 commit 0eb002c Author: Mark Pearson <mpearson-lenovo@squebb.ca> Date: Mon Sep 29 15:21:35 2025 -0400 wifi: ath11k: Add missing platform IDs for quirk table Lenovo platforms can come with one of two different IDs. The pm_quirk table was missing the second ID for each platform. Add missing ID and some extra platform identification comments. Reported on https://bugzilla.kernel.org/show_bug.cgi?id=219196 Tested-on: P14s G4 AMD. Fixes: ce8669a ("wifi: ath11k: determine PM policy based on machine model") Signed-off-by: Mark Pearson <mpearson-lenovo@squebb.ca> Closes: https://bugzilla.kernel.org/show_bug.cgi?id=219196 Reviewed-by: Baochen Qiang <baochen.qiang@oss.qualcomm.com> Link: https://patch.msgid.link/20250929192146.1789648-1-mpearson-lenovo@squebb.ca Signed-off-by: Jeff Johnson <jeff.johnson@oss.qualcomm.com> Signed-off-by: Jose Ignacio Tornos Martinez <jtornosm@redhat.com>
1 parent aae7f56 commit 3384158

File tree

1 file changed

+48
-6
lines changed
  • drivers/net/wireless/ath/ath11k

1 file changed

+48
-6
lines changed

drivers/net/wireless/ath/ath11k/core.c

Lines changed: 48 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -912,42 +912,84 @@ static const struct ath11k_hw_params ath11k_hw_params[] = {
912912
static const struct dmi_system_id ath11k_pm_quirk_table[] = {
913913
{
914914
.driver_data = (void *)ATH11K_PM_WOW,
915-
.matches = {
915+
.matches = { /* X13 G4 AMD #1 */
916+
DMI_MATCH(DMI_BOARD_VENDOR, "LENOVO"),
917+
DMI_MATCH(DMI_PRODUCT_NAME, "21J3"),
918+
},
919+
},
920+
{
921+
.driver_data = (void *)ATH11K_PM_WOW,
922+
.matches = { /* X13 G4 AMD #2 */
916923
DMI_MATCH(DMI_BOARD_VENDOR, "LENOVO"),
917924
DMI_MATCH(DMI_PRODUCT_NAME, "21J4"),
918925
},
919926
},
920927
{
921928
.driver_data = (void *)ATH11K_PM_WOW,
922-
.matches = {
929+
.matches = { /* T14 G4 AMD #1 */
930+
DMI_MATCH(DMI_BOARD_VENDOR, "LENOVO"),
931+
DMI_MATCH(DMI_PRODUCT_NAME, "21K3"),
932+
},
933+
},
934+
{
935+
.driver_data = (void *)ATH11K_PM_WOW,
936+
.matches = { /* T14 G4 AMD #2 */
923937
DMI_MATCH(DMI_BOARD_VENDOR, "LENOVO"),
924938
DMI_MATCH(DMI_PRODUCT_NAME, "21K4"),
925939
},
926940
},
927941
{
928942
.driver_data = (void *)ATH11K_PM_WOW,
929-
.matches = {
943+
.matches = { /* P14s G4 AMD #1 */
944+
DMI_MATCH(DMI_BOARD_VENDOR, "LENOVO"),
945+
DMI_MATCH(DMI_PRODUCT_NAME, "21K5"),
946+
},
947+
},
948+
{
949+
.driver_data = (void *)ATH11K_PM_WOW,
950+
.matches = { /* P14s G4 AMD #2 */
930951
DMI_MATCH(DMI_BOARD_VENDOR, "LENOVO"),
931952
DMI_MATCH(DMI_PRODUCT_NAME, "21K6"),
932953
},
933954
},
934955
{
935956
.driver_data = (void *)ATH11K_PM_WOW,
936-
.matches = {
957+
.matches = { /* T16 G2 AMD #1 */
958+
DMI_MATCH(DMI_BOARD_VENDOR, "LENOVO"),
959+
DMI_MATCH(DMI_PRODUCT_NAME, "21K7"),
960+
},
961+
},
962+
{
963+
.driver_data = (void *)ATH11K_PM_WOW,
964+
.matches = { /* T16 G2 AMD #2 */
937965
DMI_MATCH(DMI_BOARD_VENDOR, "LENOVO"),
938966
DMI_MATCH(DMI_PRODUCT_NAME, "21K8"),
939967
},
940968
},
941969
{
942970
.driver_data = (void *)ATH11K_PM_WOW,
943-
.matches = {
971+
.matches = { /* P16s G2 AMD #1 */
972+
DMI_MATCH(DMI_BOARD_VENDOR, "LENOVO"),
973+
DMI_MATCH(DMI_PRODUCT_NAME, "21K9"),
974+
},
975+
},
976+
{
977+
.driver_data = (void *)ATH11K_PM_WOW,
978+
.matches = { /* P16s G2 AMD #2 */
944979
DMI_MATCH(DMI_BOARD_VENDOR, "LENOVO"),
945980
DMI_MATCH(DMI_PRODUCT_NAME, "21KA"),
946981
},
947982
},
948983
{
949984
.driver_data = (void *)ATH11K_PM_WOW,
950-
.matches = {
985+
.matches = { /* T14s G4 AMD #1 */
986+
DMI_MATCH(DMI_BOARD_VENDOR, "LENOVO"),
987+
DMI_MATCH(DMI_PRODUCT_NAME, "21F8"),
988+
},
989+
},
990+
{
991+
.driver_data = (void *)ATH11K_PM_WOW,
992+
.matches = { /* T14s G4 AMD #2 */
951993
DMI_MATCH(DMI_BOARD_VENDOR, "LENOVO"),
952994
DMI_MATCH(DMI_PRODUCT_NAME, "21F9"),
953995
},

0 commit comments

Comments
 (0)