Received: by 2002:a05:7208:9594:b0:7e:5202:c8b4 with SMTP id gs20csp1654583rbb; Mon, 26 Feb 2024 17:42:58 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVEOjDS4dBgJwKgsa/tPOAp55seFOh6hwbcccFaSXrKTv+uwWKD0/QM3GMesz5pIixeSNNaSIqiddYizCw5Eo5N69FsZij1JmC2vRTxkA== X-Google-Smtp-Source: AGHT+IH7N5ILwoJNanUPiEP5UCGvHhWHEnLF6gP1+S8wUOpgFm1vn8kHStr+g50tYNS86xlR/PwN X-Received: by 2002:a05:6402:50c:b0:565:7bca:eebe with SMTP id m12-20020a056402050c00b005657bcaeebemr6104474edv.13.1708998178122; Mon, 26 Feb 2024 17:42:58 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708998178; cv=pass; d=google.com; s=arc-20160816; b=cEMCModyfggSARmRR5Afn1kJVEqNTBG3HMFWp39RV2VUbxrNMUbZWbZTNenjqPg1NI b2TMAQjdHuuGyeqqEqAR5fhxSuNDpmFsVGvadyk4YjgZPZR2T8doonwEh2BZ5arzzRh0 m3V9cg3RQQt86fKgw6+bteSfyagsZV4r8vxLWQ3SEj7C/10EgfYempduFMilC4v7R/p2 VIVGgYmbV5sNOREa0vWPRTI0vKYkf9s6eN2ac1X6OWeq+71SRV/ZrGxhGjw251RQzazG gbgqKfkhoSJiNEygrReoWbM51pWtGYe+N0+bvc8qwXiWY7A7niZHi5aJNgrtzgOfnYyp ZAhg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:list-unsubscribe-post:cc:to :reply-to:message-id:subject:date:from; bh=Fs8UfUP7d+RU3uMmtj5laH6TmmUXLPZE4xLMtHMlwI0=; fh=U1oZ8VI1NrKIvW2ldmmz1Mwc+2dVmcBvHmuEXRLaCWU=; b=HIkG7oGLmaGRcdRGeGzeAnOdq3h1atj+2Pxs1IVdmksAu4mnQBX3Wu7OLajXboFoDD 7vz6TAT2GGeIQreiINpCbJwj+pL5nw4MUEhdcr43U+GGW9X0/lLMaFHWgAJ2m9HZA/Dz H0PtzX/MQoC+rFvTzuM/f/xtOfTYETT0g6Xl7hmwc/XfN8gWSAIHnevCGaVTbdGJj4Bw RhFDBbjY2AsyvLWEu/iaGlQwCDcKG1bJe0oTWp3boif/Ha/I++DPmsGHLhvz4vHfwVyr MrHT279UiNK/+RRMYPBCfQpR7KMp/bTxsl07TFPyGHWKy2C4kkZfRQjCjMjCY7jCZJh7 MqQg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=bounces.elasticemail.net); spf=pass (google.com: domain of linux-wireless+bounces-4036-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-wireless+bounces-4036-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id dj28-20020a05640231bc00b00564bbfc405csi250420edb.451.2024.02.26.17.42.58 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Feb 2024 17:42:58 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless+bounces-4036-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=bounces.elasticemail.net); spf=pass (google.com: domain of linux-wireless+bounces-4036-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-wireless+bounces-4036-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 6FB9F1F25440 for ; Tue, 27 Feb 2024 01:42:36 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3ACAE748A; Tue, 27 Feb 2024 01:42:12 +0000 (UTC) X-Original-To: linux-wireless@vger.kernel.org Received: from v242.mxout.mta1.net (v242.mxout.mta1.net [192.152.126.242]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 224A91D698 for ; Tue, 27 Feb 2024 01:42:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.152.126.242 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708998132; cv=none; b=gmWqPDr2VXa4wS8cEmkrlIN+NQ+5kaTmymaEVjZ2f1J1ErFaD09O6E7bIZYBOCFTqi3c2TvEgClwFnGykGYJSmQtsClpbAtRfTC7Ffq6DkaEcXyMAcRpUSAeeKjuBJ0WUH2GdiB02nODZfQAsMvVrQWuj73+f2g/JFNslK9Vvuw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708998132; c=relaxed/simple; bh=2X/cqgJVEksiiH2H6thfKo7y5zMAxSbc2o8EOWRekb4=; h=From:Date:Subject:Message-Id:To:Cc:MIME-Version:Content-Type; b=h+ehubDzMTpk/rk3DMkZywTeBln3jVYbhDTkTignkAwOyy2bLI8LebAVrWzkLuQJbH0MqLq7GIJSMfZfnRYDY2mNOfS6MwkN1JSuI3qRjefWfZhXHLX+LXaFjt+krgci4wAl2Fk77oe37EDzeYdjSiLYN1YusY8NY1AyBYF3H8A= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=bounces.elasticemail.net; arc=none smtp.client-ip=192.152.126.242 Authentication-Results: smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bounces.elasticemail.net From: Larry Finger Date: Tue, 27 Feb 2024 01:41:00 +0000 Subject: [PATCH] wifi:rtw88: Add missing VID/PIDs Message-Id: <4ume77rb9r8f.TVC1GJ8j2OsxjTtczJ7LwQ2@1EHFQ.trk.elasticemail.com> Reply-To: Larry Finger To: Kalle Valo Cc: Johannes Berg , linux-wireless@vger.kernel.org, Nick Morrow , Larry Finger , stable@vger.kernel.org List-Unsubscribe-Post: List-Unsubscribe=One-Click X-Msg-EID: TVC1GJ8j2OsxjTtczJ7LwQ2 Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit From: Nick Morrow Purpose: Add VID/PIDs that are known to be missing for this driver. - removed /* 8811CU */ and /* 8821CU */ as they are redundant since the file is specific to those chips. - removed /* TOTOLINK A650UA v3 */ as the manufacturer. It has a REALTEK VID so it may not be specific to this adapter. Source is https://1EHFQ.trk.elasticemail.com/tracking/click?d=I82H0YR_W_h175Lb3Nkb0D8i6IqvuhESe0WLnY6P7IVwR1UKvB0SPxd1Olp3PNJEm7h1Gft8lKFiXqYf1jEjniUnBHTdCi0Ypi2Y9ugy88eGHqb5MB9U0M7ZbBBaOwoaG0eHpd73dxUfRcicgS3TFBvw066sdoIh1JxdrADO_ro60 Verified and tested. Signed-off-by: Nick Morrow Signed-off-by: Larry Finger Cc: stable@vger.kernel.org --- .../net/wireless/realtek/rtw88/rtw8821cu.c | 40 ++++++++++++------- 1 file changed, 26 insertions(+), 14 deletions(-) diff --git a/drivers/net/wireless/realtek/rtw88/rtw8821cu.c b/drivers/net/wireless/realtek/rtw88/rtw8821cu.c index 7a5cbdc31ef7..e2c7d9f87683 100644 --- a/drivers/net/wireless/realtek/rtw88/rtw8821cu.c +++ b/drivers/net/wireless/realtek/rtw88/rtw8821cu.c @@ -9,24 +9,36 @@ #include "usb.h" static const struct usb_device_id rtw_8821cu_id_table[] = { - { USB_DEVICE_AND_INTERFACE_INFO(RTW_USB_VENDOR_ID_REALTEK, 0xb82b, 0xff, 0xff, 0xff), - .driver_info = (kernel_ulong_t)&(rtw8821c_hw_spec) }, /* 8821CU */ + { USB_DEVICE_AND_INTERFACE_INFO(RTW_USB_VENDOR_ID_REALTEK, 0x2006, 0xff, 0xff, 0xff), + .driver_info = (kernel_ulong_t)&(rtw8821c_hw_spec) }, + { USB_DEVICE_AND_INTERFACE_INFO(RTW_USB_VENDOR_ID_REALTEK, 0x8731, 0xff, 0xff, 0xff), + .driver_info = (kernel_ulong_t)&(rtw8821c_hw_spec) }, + { USB_DEVICE_AND_INTERFACE_INFO(RTW_USB_VENDOR_ID_REALTEK, 0x8811, 0xff, 0xff, 0xff), + .driver_info = (kernel_ulong_t)&(rtw8821c_hw_spec) }, { USB_DEVICE_AND_INTERFACE_INFO(RTW_USB_VENDOR_ID_REALTEK, 0xb820, 0xff, 0xff, 0xff), - .driver_info = (kernel_ulong_t)&(rtw8821c_hw_spec) }, /* 8821CU */ - { USB_DEVICE_AND_INTERFACE_INFO(RTW_USB_VENDOR_ID_REALTEK, 0xc821, 0xff, 0xff, 0xff), - .driver_info = (kernel_ulong_t)&(rtw8821c_hw_spec) }, /* 8821CU */ + .driver_info = (kernel_ulong_t)&(rtw8821c_hw_spec) }, + { USB_DEVICE_AND_INTERFACE_INFO(RTW_USB_VENDOR_ID_REALTEK, 0xb82b, 0xff, 0xff, 0xff), + .driver_info = (kernel_ulong_t)&(rtw8821c_hw_spec) }, + { USB_DEVICE_AND_INTERFACE_INFO(RTW_USB_VENDOR_ID_REALTEK, 0xc80c, 0xff, 0xff, 0xff), + .driver_info = (kernel_ulong_t)&(rtw8821c_hw_spec) }, + { USB_DEVICE_AND_INTERFACE_INFO(RTW_USB_VENDOR_ID_REALTEK, 0xc811, 0xff, 0xff, 0xff), + .driver_info = (kernel_ulong_t)&(rtw8821c_hw_spec) }, { USB_DEVICE_AND_INTERFACE_INFO(RTW_USB_VENDOR_ID_REALTEK, 0xc820, 0xff, 0xff, 0xff), - .driver_info = (kernel_ulong_t)&(rtw8821c_hw_spec) }, /* 8821CU */ + .driver_info = (kernel_ulong_t)&(rtw8821c_hw_spec) }, + { USB_DEVICE_AND_INTERFACE_INFO(RTW_USB_VENDOR_ID_REALTEK, 0xc821, 0xff, 0xff, 0xff), + .driver_info = (kernel_ulong_t)&(rtw8821c_hw_spec) }, { USB_DEVICE_AND_INTERFACE_INFO(RTW_USB_VENDOR_ID_REALTEK, 0xc82a, 0xff, 0xff, 0xff), - .driver_info = (kernel_ulong_t)&(rtw8821c_hw_spec) }, /* 8821CU */ + .driver_info = (kernel_ulong_t)&(rtw8821c_hw_spec) }, { USB_DEVICE_AND_INTERFACE_INFO(RTW_USB_VENDOR_ID_REALTEK, 0xc82b, 0xff, 0xff, 0xff), - .driver_info = (kernel_ulong_t)&(rtw8821c_hw_spec) }, /* 8821CU */ - { USB_DEVICE_AND_INTERFACE_INFO(RTW_USB_VENDOR_ID_REALTEK, 0xc811, 0xff, 0xff, 0xff), - .driver_info = (kernel_ulong_t)&(rtw8821c_hw_spec) }, /* 8811CU */ - { USB_DEVICE_AND_INTERFACE_INFO(RTW_USB_VENDOR_ID_REALTEK, 0x8811, 0xff, 0xff, 0xff), - .driver_info = (kernel_ulong_t)&(rtw8821c_hw_spec) }, /* 8811CU */ - { USB_DEVICE_AND_INTERFACE_INFO(RTW_USB_VENDOR_ID_REALTEK, 0x2006, 0xff, 0xff, 0xff), - .driver_info = (kernel_ulong_t)&(rtw8821c_hw_spec) }, /* TOTOLINK A650UA v3 */ + .driver_info = (kernel_ulong_t)&(rtw8821c_hw_spec) }, + { USB_DEVICE_AND_INTERFACE_INFO(RTW_USB_VENDOR_ID_REALTEK, 0xc82c, 0xff, 0xff, 0xff), + .driver_info = (kernel_ulong_t)&(rtw8821c_hw_spec) }, + { USB_DEVICE_AND_INTERFACE_INFO(0x2001, 0x331d, 0xff, 0xff, 0xff), + .driver_info = (kernel_ulong_t)&(rtw8821c_hw_spec) }, /* D-Link */ + { USB_DEVICE_AND_INTERFACE_INFO(0x7392, 0xc811, 0xff, 0xff, 0xff), + .driver_info = (kernel_ulong_t)&(rtw8821c_hw_spec) }, /* Edimax */ + { USB_DEVICE_AND_INTERFACE_INFO(0x7392, 0xd811, 0xff, 0xff, 0xff), + .driver_info = (kernel_ulong_t)&(rtw8821c_hw_spec) }, /* Edimax */ {}, }; MODULE_DEVICE_TABLE(usb, rtw_8821cu_id_table); -- 2.43.2 https://1EHFQ.trk.elasticemail.com/tracking/unsubscribe?d=zGv32z7ojxbkj8LBt7M7UQaz6MiSDM3qzFWU5DyBq9Mvj5IuK15YwwU_vA67C1Y3EA2WLkCvlJ5t78Emx_MMHcgYRDB4_Ffi5MBMYgdBkFiA0