Received: by 2002:a05:7412:8d23:b0:f7:29d7:fb05 with SMTP id bj35csp304699rdb; Sat, 16 Dec 2023 08:53:13 -0800 (PST) X-Google-Smtp-Source: AGHT+IFu4qqEca+llnBLPfx+Td46T94WD4mucIScouGKT4BpqhdzRf0S9yKjEtLZOPSIQ/oYJ9DL X-Received: by 2002:ac2:545c:0:b0:50b:f3ef:7561 with SMTP id d28-20020ac2545c000000b0050bf3ef7561mr5720107lfn.64.1702745593789; Sat, 16 Dec 2023 08:53:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702745593; cv=none; d=google.com; s=arc-20160816; b=RQXrkY7IMTKs/F/IwL5uAKCdGSa81RtUUDmNHLQDfJ4ATfVxKPMhNaErQcR9Vtdt2z 62FGN/uA3m2H1O7+77aKZfGPJZwXVkzI0B+QEsvq1GLhfqdLcmp8cdsL98erjcc3Z0XU T3s+6vSK8raKAmVSh2sXEJSmuR9wrlcWzTJBSyNAnC4qfqaI7XlhwFGibhJbAze0r0XP nBSQVK/+6hOlXfHqpLxOP1K3Zk9ZlOUMNamLyPThMqut/X0YCLHDVwbqZXb/NzwlM+JY P1Khj4JMLORFpzpuuFDP25p19lM/riCD/vAfPZ63FTx4RPDeCozbQL3XFEqg+X4GH7Ix /N/A== ARC-Message-Signature: i=1; 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:message-id:date:subject:cc:to :from:dkim-signature; bh=z9kJnXswXfwZRpGAgHlHvXdSZEjrLXGfY7XqoPuhNfg=; fh=Aw5G8vI0EoIAAB5TdzDUPh1/qYWq13Z3cgVoj/QtH2U=; b=k17f2hKrKOXO+2cQlkOXYKey+XlQucWfoN0PTadPzH3/rqy4negoBxplcrUf4IBxTQ 4xAz8EIC5irWkFdtMFAA9OG39m8a7T/8Wn3VGd7t2J3vxxCsoHLsh3Qc63d/WBHaZoJJ 4TQtIza99URqYur/kXUXSTIEf750jn4XDR9n625cPCjesUnYhUoBDTkdYVdhadHcme8f Loetq6tquc46Yhn/ho3EG4vQTUHMkEoTSnYGfCk26XmLGJ88aLSVurrFycjipk0g1T8O iiEpPA5G0g7XlQW+pzeNWQVspdKGoo9VBWZqWMETkJ+6WgYi7Xnkwt/KAaHdQtkPz0B2 /FGg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=VbECb8HP; spf=pass (google.com: domain of linux-wireless+bounces-858-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-wireless+bounces-858-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id z26-20020a170906241a00b009ddb89a9967si8494937eja.139.2023.12.16.08.53.13 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 16 Dec 2023 08:53:13 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless+bounces-858-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=VbECb8HP; spf=pass (google.com: domain of linux-wireless+bounces-858-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-wireless+bounces-858-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (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 3ED641F23ACC for ; Sat, 16 Dec 2023 16:53:13 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DC59E30645; Sat, 16 Dec 2023 16:53:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="VbECb8HP" X-Original-To: linux-wireless@vger.kernel.org Received: from mail-pf1-f170.google.com (mail-pf1-f170.google.com [209.85.210.170]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 97D7D1EB52; Sat, 16 Dec 2023 16:53:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-pf1-f170.google.com with SMTP id d2e1a72fcca58-6ceb93fb381so1232555b3a.0; Sat, 16 Dec 2023 08:53:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1702745586; x=1703350386; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=z9kJnXswXfwZRpGAgHlHvXdSZEjrLXGfY7XqoPuhNfg=; b=VbECb8HPPY7YIAaqJIaVzET8LtDhn6WuZnwj1ERlHqKPhmkPAXQLBC8ilLP3nQMsQi mrlmK2G9ZDpBzI9l7JQNCagQU+v8XvvDPrTSwXv7fQ3OV+a7KhGB31H7Yr9aiNLRYjaA sIgvifBR5RZo16RyBIRVV3Xtkk6PO6uGit6ERJny6dJFQwtPnd0HsHog8W8VdtbFaKVF /XJ1OR9E7Jd/+yKLR2P4ykOYrId6TghCfMdpSjgTc0aSqDrn+XxJhzEUtJ0Gslm196hN YdSIymUq2JnCM2Y/9fWXYSRNehdDXjpqMCQloQsV7VbFdQ6gGalRtreTTmEZZOuz0e0G J02Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702745586; x=1703350386; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=z9kJnXswXfwZRpGAgHlHvXdSZEjrLXGfY7XqoPuhNfg=; b=KTy3QU/ckI6tSqfOJlxmNdibGgouPCPubHNSX3T2/l9T987rmPnUZGwBxYRv6Yza4d j2Ps1kreVMBxHMbeEJGmp7JevSzQfSFUkMckQaF7ZvPRJBtWQ5CoSHfBojc2ugF1qkID Zs1aTbLuz6myUGVzaiwK7BsZv2AYJEpAHqWTzm8ooEsJwV/1CECqrfPcJgAyYIh9zOSo +/OunFmh/PmbgcfRIYWehqS+s0iuDk7DCF7qrs/O9PGw53EYiaTi4aTI4cbN0h7e269w h9DzEZ5CDkg7ARiGHEMIi40rEnoHGB/2RJeKyg1UCfORZg+RdRnATwuC1FxZpsRnHr/E 2hLw== X-Gm-Message-State: AOJu0Ywrdl1c9d3OaP5HwRYp1V5orIsjKDjx+Rrkl6yDFe0XG+ZDHJPy n8yqhAxQrTF+AHO2OOi7IFY= X-Received: by 2002:a05:6a00:c93:b0:6ce:4d11:4e32 with SMTP id a19-20020a056a000c9300b006ce4d114e32mr16810857pfv.27.1702745585526; Sat, 16 Dec 2023 08:53:05 -0800 (PST) Received: from localhost.localdomain (1-170-85-161.dynamic-ip.hinet.net. [1.170.85.161]) by smtp.googlemail.com with ESMTPSA id s9-20020a056a00178900b006ce789d8022sm15229743pfg.59.2023.12.16.08.53.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 16 Dec 2023 08:53:05 -0800 (PST) From: Zenm Chen To: Jes.Sorensen@gmail.com Cc: kvalo@kernel.org, linux-wireless@vger.kernel.org, linux-kernel@vger.kernel.org, pkshih@realtek.com, rtl8821cerfe2@gmail.com, zenmchen@gmail.com Subject: [PATCH v2] wifi: rtl8xxxu: Add additional USB IDs for RTL8192EU devices Date: Sun, 17 Dec 2023 00:52:57 +0800 Message-ID: <20231216165259.5389-1-zenmchen@gmail.com> X-Mailer: git-send-email 2.43.0 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 Add additional USB IDs found in the vendor driver from https://github.com/Mange/rtl8192eu-linux-driver to support more RTL8192EU devices. Signed-off-by: Zenm Chen --- v2: - Not to put these USB IDs in CONFIG_RTL8XXXU_UNTESTED --- .../net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c b/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c index 43ee7592bc6e..3f30795f9375 100644 --- a/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c +++ b/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c @@ -7732,12 +7732,24 @@ static const struct usb_device_id dev_table[] = { /* TP-Link TL-WN822N v4 */ {USB_DEVICE_AND_INTERFACE_INFO(0x2357, 0x0108, 0xff, 0xff, 0xff), .driver_info = (unsigned long)&rtl8192eu_fops}, +/* D-Link DWA-131 rev C1 */ +{USB_DEVICE_AND_INTERFACE_INFO(0x2001, 0x3312, 0xff, 0xff, 0xff), + .driver_info = (unsigned long)&rtl8192eu_fops}, /* D-Link DWA-131 rev E1, tested by David PatiƱo */ {USB_DEVICE_AND_INTERFACE_INFO(0x2001, 0x3319, 0xff, 0xff, 0xff), .driver_info = (unsigned long)&rtl8192eu_fops}, /* Tested by Myckel Habets */ {USB_DEVICE_AND_INTERFACE_INFO(0x2357, 0x0109, 0xff, 0xff, 0xff), .driver_info = (unsigned long)&rtl8192eu_fops}, +/* TP-Link TL-WN8200ND V2 */ +{USB_DEVICE_AND_INTERFACE_INFO(0x2357, 0x0126, 0xff, 0xff, 0xff), + .driver_info = (unsigned long)&rtl8192eu_fops}, +/* Mercusys MW300UM */ +{USB_DEVICE_AND_INTERFACE_INFO(0x2c4e, 0x0100, 0xff, 0xff, 0xff), + .driver_info = (unsigned long)&rtl8192eu_fops}, +/* Mercusys MW300UH */ +{USB_DEVICE_AND_INTERFACE_INFO(0x2c4e, 0x0104, 0xff, 0xff, 0xff), + .driver_info = (unsigned long)&rtl8192eu_fops}, {USB_DEVICE_AND_INTERFACE_INFO(USB_VENDOR_ID_REALTEK, 0xb720, 0xff, 0xff, 0xff), .driver_info = (unsigned long)&rtl8723bu_fops}, {USB_DEVICE_AND_INTERFACE_INFO(0x7392, 0xa611, 0xff, 0xff, 0xff), -- 2.43.0