Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp7790460rwi; Mon, 24 Oct 2022 20:53:03 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4Z/YwUaJ5k6EUvH8HOxu1NUObQQLfVOolLWbHTiYub3LHDh8hhfLsQ/oThObKtsDPcEa/e X-Received: by 2002:a17:907:d26:b0:78e:20c6:9f77 with SMTP id gn38-20020a1709070d2600b0078e20c69f77mr29752376ejc.243.1666669983261; Mon, 24 Oct 2022 20:53:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666669983; cv=none; d=google.com; s=arc-20160816; b=0l2KR+ASCoqm45mqNTBrUDS1E/BV9TV2t21dqX1HZ4VDaquRkaVWrSm5rrnBiQvcIK VG1UZZOvwG7i4GDE9AjS/GVxrgBaKL5OdksZVUsDMGKiBLOcV+V37+bnK1ptEfCvDlQV E9/j16pha5blTZQ0cnE0hQ99MomFOL1CgrIJTCwltw/QU2ueWKE+AghNAnpVFPSgvs+V GdgF+zPuFPia5hOlH7v/+ljoW5Ze75jaSfLXSP4y7a2vOvj2cQYV5L4lG3x+JrKzV8IK gJacWKCydqWHrDGA8LoOlC7Qew7rgvJsyqb3mgFOCh+bML7o7IRbccdwWiwqggwwHKDn 0oyQ== 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=KF8mzUR2jm5nVTlLuF6ZmzRyykoQnHOaHA3bi69WrtE=; b=vGIZGJHA8OBNPmOq2mtCMkn7uavla9HwnWbbIFW3gmtFPqADRbAiXxSP5GYowveTSj Oc3ge3OKCmWhSj3JYVA3lqhlxue3hU8yVCHTTkIseZoakKijU+1ONqd4AW71tSsBUDXT ncW2Om3d18I8jg0NBTb2ONKJpiV/PobKhhA9s1xDooYRPz9oaH4+3tPWqLQ9jIFII077 qSKi7q8Byxw2PG9oZdGB+j7I9bDvSywTN2C1CAwK29VMiJZNV7owhTpfFJZ3MZO19caW LbxOnXp4ptqWmBT2U2vndaqXLdaBTf7YsEZU6AW/Puq7TxZr8YLLU8tk2AdMroW19XfW m4xQ== 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 d24-20020a50fb18000000b0044f2eb2de9asi1423007edq.444.2022.10.24.20.52.41; Mon, 24 Oct 2022 20:53:02 -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 S230303AbiJYDrE (ORCPT + 65 others); Mon, 24 Oct 2022 23:47:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51308 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229727AbiJYDrC (ORCPT ); Mon, 24 Oct 2022 23:47:02 -0400 Received: from rtits2.realtek.com.tw (rtits2.realtek.com [211.75.126.72]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 4638F18E1F for ; Mon, 24 Oct 2022 20:46:55 -0700 (PDT) Authenticated-By: X-SpamFilter-By: ArmorX SpamTrap 5.77 with qID 29P3kHllD024662, 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 29P3kHllD024662 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=FAIL); Tue, 25 Oct 2022 11:46:17 +0800 Received: from RTEXDAG02.realtek.com.tw (172.21.6.101) 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.9; Tue, 25 Oct 2022 11:46:50 +0800 Received: from RTEXMBS04.realtek.com.tw (172.21.6.97) by RTEXDAG02.realtek.com.tw (172.21.6.101) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.7; Tue, 25 Oct 2022 11:46:50 +0800 Received: from RTEXMBS04.realtek.com.tw ([fe80::add3:284:fd3d:8adb]) by RTEXMBS04.realtek.com.tw ([fe80::add3:284:fd3d:8adb%5]) with mapi id 15.01.2375.007; Tue, 25 Oct 2022 11:46:50 +0800 From: Ping-Ke Shih To: Bitterblue Smith , "linux-wireless@vger.kernel.org" CC: Jes Sorensen Subject: RE: [PATCH v2 2/5] wifi: rtl8xxxu: Fix the CCK RSSI calculation Thread-Topic: [PATCH v2 2/5] wifi: rtl8xxxu: Fix the CCK RSSI calculation Thread-Index: AQHY5/ldtY14MVvhyEyBDz2twsUjo64eeFTQ Date: Tue, 25 Oct 2022 03:46:50 +0000 Message-ID: <7040619d7d5c4b198b320812093d33f9@realtek.com> References: <1edda764-94ca-2123-0ba6-6b04a1b01709@gmail.com> <25b7381d-178c-d909-015e-1acf7698ec13@gmail.com> In-Reply-To: <25b7381d-178c-d909-015e-1acf7698ec13@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: RTEXDAG02.realtek.com.tw, 9 x-kse-attachmentfiltering-interceptor-info: no applicable attachment filtering rules found x-kse-antivirus-interceptor-info: scan successful x-kse-antivirus-info: =?utf-8?B?Q2xlYW4sIGJhc2VzOiAyMDIyLzEwLzI0IOS4i+WNiCAxMTozMTowMA==?= x-kse-bulkmessagesfiltering-scan-result: protection disabled Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_PASS 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+IFNlbnQ6IFR1ZXNkYXksIE9jdG9iZXIgMjUs IDIwMjIgNDo1NSBBTQ0KPiBUbzogbGludXgtd2lyZWxlc3NAdmdlci5rZXJuZWwub3JnDQo+IENj OiBKZXMgU29yZW5zZW4gPEplcy5Tb3JlbnNlbkBnbWFpbC5jb20+DQo+IFN1YmplY3Q6IFtQQVRD SCB2MiAyLzVdIHdpZmk6IHJ0bDh4eHh1OiBGaXggdGhlIENDSyBSU1NJIGNhbGN1bGF0aW9uDQo+ IA0KPiBUaGUgQ0NLIFJTU0kgY2FsY3VsYXRpb24gaXMgaW5jb3JyZWN0IGZvciB0aGUgUlRMODcy M0JVLCBSVEw4MTkyRVUsDQo+IGFuZCBSVEw4MTg4RlUuIEFkZCBuZXcgZnVuY3Rpb25zIGZvciB0 aGVzZSBjaGlwcyB3aXRoIGNvZGUgY29waWVkIGZyb20NCj4gdGhlaXIgdmVuZG9yIGRyaXZlcnMu IFVzZSB0aGUgb2xkIGNvZGUgb25seSBmb3IgdGhlIFJUTDg3MjNBVSBhbmQNCj4gUlRMODE5MkNV Lg0KPiANCj4gSSBkaWRuJ3Qgbm90aWNlIGFueSBkaWZmZXJlbmNlIGluIHRoZSByZXBvcnRlZCBz aWduYWwgc3RyZ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