Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp34732334rwd; Sun, 9 Jul 2023 19:21:15 -0700 (PDT) X-Google-Smtp-Source: APBJJlEC1piKACWnYjV1AgQilfa5vqffGq/2tlHEn1jkthPaPZt1V2lOqvFV/L2hVqjAg8P7dywg X-Received: by 2002:a05:6808:151e:b0:3a3:6382:b67d with SMTP id u30-20020a056808151e00b003a36382b67dmr13124733oiw.41.1688955675602; Sun, 09 Jul 2023 19:21:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688955675; cv=none; d=google.com; s=arc-20160816; b=RQkk3acu/eVPjjAMVovGWN7Lm0A91RnLsdjvR0MaQ9bbT1f4Z4rlPqgYn3WMfDBQIT Edk7AvNXllI7nNynfmcpi6PC0P5CyGcxwD1hC4L+4/rrNXqd7TfDdmEMhf4MPYYFM1Lc T7H7q5SDeMGaRT88bHtMIcjwLtVgyoQJaWLs27rsd9Cu5aIJkZaaqOkCBRb0KIg3hbLD NNfCBZDHYbk/WUkwNo59eZoCowsnVm3oZW4qf9zPFcAl1Mv3n5uWNWH9/KSEp33iz5hA qRTyEIx4MakRZhw7F/sHVnfjLz3ik7TOwmMUmglvwqokW1kNpf3wNul+YS5x1hfu0SRb sPDw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:authenticated-by; bh=cLH+LcgWruejEH8mxW8K0AIJRZnoSN/d7051JVMSbUw=; fh=Xwz67Me4E5X0ahkfnW1rLXHp1mlj+5X/3j4x+XN3OwY=; b=GrHsoguh1GFyBHry8vpXvnNPyit1Xrq09M7rZ58QLi4n5to/I9eudE6Foj1vE7a8Fs aXaD0aLJ/w54i7PjDCDkKqOXMRJ+q2Gr2UAk+ykRQCqbkR/JSkfABIlgpe78ZlmgdaKM ooq+QmOdrTH+o1QXoGpXGmMZc7hrT8/LDDDvYKJOAmQTTYiq9/0i87aVFuFRrDYMCCwl CJOpSNm5gKzxkhi/hoPFziCb05zHuOaA6oiqIxpNWWbVNkqtA2wE3Eio2RXrI49nIR7a 35yvW5JUFDuvX4F4PYKG2j7jbB1hKMedw9kZ/CtG2zDlT2Cbgt/JAq0pb3fITtKo8UKg samg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l193-20020a6391ca000000b0053f265b0eecsi8410004pge.133.2023.07.09.19.21.01; Sun, 09 Jul 2023 19:21:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229658AbjGJBmy (ORCPT + 61 others); Sun, 9 Jul 2023 21:42:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35640 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229517AbjGJBmw (ORCPT ); Sun, 9 Jul 2023 21:42:52 -0400 Received: from rtits2.realtek.com.tw (rtits2.realtek.com [211.75.126.72]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id DC37BEB for ; Sun, 9 Jul 2023 18:42:48 -0700 (PDT) Authenticated-By: X-SpamFilter-By: ArmorX SpamTrap 5.77 with qID 36A1gdzhF028142, This message is accepted by code: ctloc85258 Received: from mail.realtek.com (rtexh36506.realtek.com.tw[172.21.6.27]) by rtits2.realtek.com.tw (8.15.2/2.81/5.90) with ESMTPS id 36A1gdzhF028142 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=FAIL); Mon, 10 Jul 2023 09:42:39 +0800 Received: from RTEXMBS02.realtek.com.tw (172.21.6.95) by RTEXH36506.realtek.com.tw (172.21.6.27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.17; Mon, 10 Jul 2023 09:42:44 +0800 Received: from RTEXMBS04.realtek.com.tw (172.21.6.97) by RTEXMBS02.realtek.com.tw (172.21.6.95) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.7; Mon, 10 Jul 2023 09:42:44 +0800 Received: from RTEXMBS04.realtek.com.tw ([fe80::e138:e7f1:4709:ff4d]) by RTEXMBS04.realtek.com.tw ([fe80::e138:e7f1:4709:ff4d%5]) with mapi id 15.01.2375.007; Mon, 10 Jul 2023 09:42:43 +0800 From: Ping-Ke Shih To: Bitterblue Smith , "linux-wireless@vger.kernel.org" CC: Jes Sorensen Subject: RE: [PATCH RFC] wifi: rtl8xxxu: Fix the TX power of RTL8192CU, RTL8723AU Thread-Topic: [PATCH RFC] wifi: rtl8xxxu: Fix the TX power of RTL8192CU, RTL8723AU Thread-Index: AQHZspSGOtt7g+TK3EqOf7swN4bu+K+yN0+A Date: Mon, 10 Jul 2023 01:42:43 +0000 Message-ID: <509e09b7bfa445fb81f4e3dc3a83dd65@realtek.com> References: <52c28b65-6f28-2cc0-7281-179bb1087c2a@gmail.com> In-Reply-To: <52c28b65-6f28-2cc0-7281-179bb1087c2a@gmail.com> Accept-Language: en-US, zh-TW Content-Language: zh-TW X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [172.21.69.188] x-kse-serverinfo: RTEXMBS02.realtek.com.tw, 9 x-kse-antispam-interceptor-info: fallback x-kse-antivirus-interceptor-info: fallback Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-KSE-AntiSpam-Interceptor-Info: fallback X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org DQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogQml0dGVyYmx1ZSBTbWl0 aCA8cnRsODgyMWNlcmZlMkBnbWFpbC5jb20+DQo+IFNlbnQ6IE1vbmRheSwgSnVseSAxMCwgMjAy MyAyOjM4IEFNDQo+IFRvOiBsaW51eC13aXJlbGVzc0B2Z2VyLmtlcm5lbC5vcmcNCj4gQ2M6IEpl cyBTb3JlbnNlbiA8SmVzLlNvcmVuc2VuQGdtYWlsLmNvbT47IFBpbmctS2UgU2hpaCA8cGtzaGlo QHJlYWx0ZWsuY29tPg0KPiBTdWJqZWN0OiBbUEFUQ0ggUkZDXSB3aWZpOiBydGw4eHh4dTogRml4 IHRoZSBUWCBwb3dlciBvZiBSVEw4MTkyQ1UsIFJUTDg3MjNBVQ0KPiANCj4gRG9uJ3Qgc3VidHJh Y3QgMSBmcm9tIHRoZSBwb3dlciBpbmRleC4gVGhpcyB3YXMgYWRkZWQgaW4gY29tbWl0DQo+IDJm YzBiOGU1YTE3ZCAoInJ0bDh4eHh1OiBBZGQgVFggcG93ZXIgYmFzZSB2YWx1ZXMgZm9yIGdlbjEg cGFydHMiKQ0KPiBmb3IgdW5rbm93biByZWFzb25zLiBUaGUgdmVuZG9yIGRyaXZlcnMgZG9uJ3Qg ZG8gdGhpcy4NCj4gDQo+IEFsc28gY29ycmVjdCB0aGUgY2FsY3VsYXRpb25zIG9mIHZhbHVlcyB3 cml0dGVuIHRvDQo+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