Received: by 2002:ab2:3350:0:b0:1f4:6588:b3a7 with SMTP id o16csp1095706lqe; Sun, 7 Apr 2024 19:46:39 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUfoILFTTtjy8LoaFHNrzttfauIKjuQx1vQUsfjYOlQYASGVHDVF8mxsjZl1qkxYw+Jnp1PyyhBkBFoL2iBkaneagd2JuxP2i4Q1Q7kEQ== X-Google-Smtp-Source: AGHT+IGqMCbActmg9r3vQSecM0PQGoxOWGfJxfOnbs+YBoL5uTQlAek+5e0TGEvlgoB7EA1IOv5+ X-Received: by 2002:a17:902:e807:b0:1e0:e89f:a6b9 with SMTP id u7-20020a170902e80700b001e0e89fa6b9mr6448426plg.50.1712544398981; Sun, 07 Apr 2024 19:46:38 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712544398; cv=pass; d=google.com; s=arc-20160816; b=bl9rWCEQFrvo6efEO62yfi7W9C6BmEWNkjgF2ErRXVebCPv0JsITT+++BMiS8SwhEB 5t3Id4SGbcN33t0fMZqnY5+PDFtw3DwoxuWBiWGHhNHRZRujbS6Z7GouhA+YZ6b7pFkp mGjKYReN7r7IhSi6nBPVM47GM6fvjDEwcMD+vQ8G7YoqlqT3a88oTOIudpAA+KptL7eS xNBGimG3zUMW4MVR/lSnN/JbsuIEutsgYhuyaoWv3xUV8GWd/WpdCPe/VV8kRCujo/QQ pDz7Vkc/Lwg/qlEzFUU9bAZsyWmwjMpoRD7qbXhCbjO87XMpscta2nHnDqqh1CIR6idr ZmOw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :content-transfer-encoding:content-language:accept-language :in-reply-to:references:message-id:date:thread-index:thread-topic :subject:cc:to:from; bh=/81W9d2mBp0W0wsvMJ+MuxZ/LrU4KtC93+VWAa3PWh8=; fh=7FU3pO4a/hMNMlPkCPdmN0NA5oIO8BNO78ZCMxcpWIc=; b=Q9lJFRWiQbacw/u0UsY1Z+8cjYkaOO9xYs15F/jnUOuBJZEAIY6CDKj/CAYNXNx9/g mBxx5Z/UiXhqjUmUcHjclUSBr1OmYncP4IDoARKcr+c4i/B7e9gSVqhbH4bpJPg2uLOy 1SnA2v+zByrGtWy1TipM7yiNOQDmkE9mvhT7xtCprfGvsy/VTBra4BnnaGMd5cBxp/o9 Y3UbT9rYpQWQTPdWowtFaJ20bfNTzxoPpSSGBEnpvKuxBVUt32tHDfS2Wf6srW8sqBne bPUhfNoTAvUDyRmUa/NxTv4f5mdKNLSWXpactwXDhWT3zdjpbUpIf3YjSePB5bBUMGCD UWcA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=realtek.com); spf=pass (google.com: domain of linux-wireless+bounces-5959-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-5959-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id t12-20020a170902dccc00b001e3e09beb25si2895145pll.223.2024.04.07.19.46.38 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 07 Apr 2024 19:46:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless+bounces-5959-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=realtek.com); spf=pass (google.com: domain of linux-wireless+bounces-5959-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-5959-linux.lists.archive=gmail.com@vger.kernel.org" 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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 11634B20C4F for ; Mon, 8 Apr 2024 02:46:35 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E11CD4C8A; Mon, 8 Apr 2024 02:46:31 +0000 (UTC) X-Original-To: linux-wireless@vger.kernel.org Received: from rtits2.realtek.com.tw (rtits2.realtek.com [211.75.126.72]) (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 28C044C63 for ; Mon, 8 Apr 2024 02:46:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=211.75.126.72 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712544391; cv=none; b=rneLBMTgMlYB7A4gl9L9MIuB4ajjdG7/e1sN0ZTGF1tK66L4s10ik0noB7zJCP74Ch2bQIypKgT03xfrCCj+cByU1zqzPWT43YrECpROWIMFOJqw3McQ4HeD7SOO4u1W8/oGkdHd2KHQOPEIDORtpq0dAEpaanFhIHidKWBj8ys= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712544391; c=relaxed/simple; bh=/81W9d2mBp0W0wsvMJ+MuxZ/LrU4KtC93+VWAa3PWh8=; h=From:To:CC:Subject:Date:Message-ID:References:In-Reply-To: Content-Type:MIME-Version; b=W4Fyip8VxcLgqGYLNqb7n6J2dtFqeYVIED6OD6I9P/VuoDLClMkQDVrAGvMljNRfP/HwRSp1tiZtlYOFKyXdXFgdsQPK0+nxn54euT9qPUvXrJacsSX+Sy95+w4dl+Wgne5MSRZpq+v9r7Qo9EFwA2uDmELMGhh9jvCddOx2nFs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=realtek.com; spf=pass smtp.mailfrom=realtek.com; arc=none smtp.client-ip=211.75.126.72 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=realtek.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=realtek.com X-SpamFilter-By: ArmorX SpamTrap 5.78 with qID 4382jo1631372928, This message is accepted by code: ctloc85258 Received: from mail.realtek.com (rtexh36505.realtek.com.tw[172.21.6.25]) by rtits2.realtek.com.tw (8.15.2/2.95/5.92) with ESMTPS id 4382jo1631372928 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 8 Apr 2024 10:45:50 +0800 Received: from RTEXDAG01.realtek.com.tw (172.21.6.100) by RTEXH36505.realtek.com.tw (172.21.6.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.35; Mon, 8 Apr 2024 10:45:50 +0800 Received: from RTEXMBS04.realtek.com.tw (172.21.6.97) by RTEXDAG01.realtek.com.tw (172.21.6.100) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.35; Mon, 8 Apr 2024 10:45:49 +0800 Received: from RTEXMBS04.realtek.com.tw ([fe80::1a1:9ae3:e313:52e7]) by RTEXMBS04.realtek.com.tw ([fe80::1a1:9ae3:e313:52e7%5]) with mapi id 15.01.2507.035; Mon, 8 Apr 2024 10:45:49 +0800 From: Ping-Ke Shih To: Bitterblue Smith , "kvalo@kernel.org" CC: "linux-wireless@vger.kernel.org" , "Larry.Finger@lwfinger.net" , "s.l-h@gmx.de" , "chewitt@libreelec.tv" Subject: RE: [PATCH v3 11/12] wifi: rtlwifi: Add rtl8192du/sw.{c,h} Thread-Topic: [PATCH v3 11/12] wifi: rtlwifi: Add rtl8192du/sw.{c,h} Thread-Index: AQHaev7lVhGGoQ4nQ0GxbEPAiHfc3rFCwUMAgAhizQCAANTTI///vigAgAAwEwCAAMUwAIABPbAAgAPR/oCAAO0mAIAJogKAgAFx7VA= Date: Mon, 8 Apr 2024 02:45:49 +0000 Message-ID: <21299940bf9342ae9c82916084ea7d9e@realtek.com> References: <7f4b3309-1580-48f3-9426-29f1eb4052fd@gmail.com> <2eb79c8c-cf2c-4696-b958-e8d961628e17@gmail.com> <66565618-3638-47e5-afe5-3530214da0c9@gmail.com> <87ttkrzf1m.fsf@kernel.org> <5696990a-4450-4d92-bbda-1d9ca3a9a619@gmail.com> <4672072ef782ae1200886a190c740e0f3ccec2c8.camel@realtek.com> <7873dee1-46a8-48a7-9059-bc300ac98c23@gmail.com> <1f8ebed6a04a4fbebf33b0a3edc2f50b@realtek.com> <7741a59a6ebf4e0f8c55b0f5c3f55a41@realtek.com> <321c6855-2e58-48ae-b131-a3f6d7041713@gmail.com> In-Reply-To: <321c6855-2e58-48ae-b131-a3f6d7041713@gmail.com> Accept-Language: en-US, zh-TW Content-Language: zh-TW Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-KSE-ServerInfo: RTEXH36505.realtek.com.tw, 9 X-KSE-AntiSpam-Interceptor-Info: fallback X-KSE-Antivirus-Interceptor-Info: fallback X-KSE-AntiSpam-Interceptor-Info: fallback DQo+IEkgZGlkIG5vdCBjb25zaWRlciB1c2luZyBhIHJlZl9jbnQgdmFyaWFibGUuIEkgbWFkZSB0 aGUgZmlyc3QNCj4gcHJvYmUgYWxsb2NhdGUgdGhlIHRoaW5ncyBhbmQgdGhlIGZpcnN0IGRpc2Nv bm5lY3QgZnJlZXMgdGhlbToNCg0KVGhlIGFsbG9jYXRpb24gc2VlbXMgZmluZSwgYnV0IEkgZmVl bCB3ZSBzaG91bGQgZnJlZSBzaGFyZWQgZGF0YSBieSBzZWNvbmQNCmRpc2Nvbm5lY3QgYmVjYXVz ZSB0aGUgb3RoZXIgaW50ZiBj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