Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp2098936rwi; Thu, 20 Oct 2022 23:00:26 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6MPnQrQVEP7vPi57ut7x1wF6oApYG+2t6bZez0qUON+cVx9DSPtJ/38YbpawyB4u+4pbwc X-Received: by 2002:a63:2d05:0:b0:460:55e3:df91 with SMTP id t5-20020a632d05000000b0046055e3df91mr14866899pgt.177.1666332026089; Thu, 20 Oct 2022 23:00:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666332026; cv=none; d=google.com; s=arc-20160816; b=m/hmbndN9t1EOqIJOFgAHPKq+6FFrHMmeo0XqgpqEPB8bcx9/HgiMuBwaOeXS9tX0u xHsLLgOslUi1ntyS+b0UTDEdgFidn6RVpedG6jwvHhRnYvKOCou/z1G7eY1pXwt1oyif U8WEXGb6NuUK6/fXEFKDBKVudnwiUn9c85Cg+wjpEqP3Cf80OgDdPaD3uvIy02qdNZAl 8uA1PCZUv9Cpk8gFZOB9StUm0GsUwkrKvhzVDsHaGo4NMUWhI60IL99dUmWzcOMUXw5/ 8ZYSK1FGP8q13mbv/EIdvg1wcXDtZov+95gd72r7OiX+bvPOb+0yA0gWNHvi7pB9FEmW OdoQ== 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=/YYZXAJR8JRjvSbnlwkNs/SfX/kxJoR+ArtPjF9hhCY=; b=vqyh3QzXNCgUoWtOfZBlbYdUp5Jr6XD5KGv8fCGF2gvsr19yyi1OQH7az2vrpYvlWr veKVL+ZG5CwbFWVD0WYgGL1V2bYKCi+TFX3Qgy2zoWDfSPR6Utf2M1/lVpiAeyElpS55 883+QaqU/gglmuVNW+VQCMrttNrwo+1RdxV2V8WiBg+H39fng/JQnU8M0iZavRp9sKxA 4p6kY+XfzhVQ9/rfn2dAol5maQvi68qVGV4lrRbSPgJj4BXCNpbm8EmzAu/sMfVMMtG2 KBjsYp2uOvBknngD03giUC241RP/mVJWfrVXN0SvYsIEdTJjKVrZG9p94lBg3DDTOldV Nldw== 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 ob6-20020a17090b390600b002002d7f2504si6323544pjb.1.2022.10.20.23.00.16; Thu, 20 Oct 2022 23:00:25 -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 S229716AbiJUFrT (ORCPT + 65 others); Fri, 21 Oct 2022 01:47:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41810 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229645AbiJUFrR (ORCPT ); Fri, 21 Oct 2022 01:47:17 -0400 Received: from rtits2.realtek.com.tw (rtits2.realtek.com [211.75.126.72]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id A556322E0CE for ; Thu, 20 Oct 2022 22:47:13 -0700 (PDT) Authenticated-By: X-SpamFilter-By: ArmorX SpamTrap 5.77 with qID 29L5kbeU7007710, 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 29L5kbeU7007710 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=FAIL); Fri, 21 Oct 2022 13:46:37 +0800 Received: from RTEXDAG01.realtek.com.tw (172.21.6.100) 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; Fri, 21 Oct 2022 13:47:09 +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_128_GCM_SHA256) id 15.1.2375.7; Fri, 21 Oct 2022 13:47:09 +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; Fri, 21 Oct 2022 13:47:09 +0800 From: Ping-Ke Shih To: Bitterblue Smith , "linux-wireless@vger.kernel.org" CC: Jes Sorensen Subject: RE: [PATCH 1/5] wifi: rtl8xxxu: Add central frequency offset tracking Thread-Topic: [PATCH 1/5] wifi: rtl8xxxu: Add central frequency offset tracking Thread-Index: AQHY4YSZLQ/A6qXBgEyoHcMrhYlOea4YWosg Date: Fri, 21 Oct 2022 05:47:09 +0000 Message-ID: <6a91fd1b8d5e4bf3910366121ed92f3b@realtek.com> References: <2b29b6d9-c17e-76d6-c32f-630f24b407b7@gmail.com> In-Reply-To: <2b29b6d9-c17e-76d6-c32f-630f24b407b7@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: RTEXDAG01.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?Q2xlYW4sIGJhc2VzOiAyMDIyLzEwLzIxIOS4iuWNiCAwMTo0NTowMA==?= 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+IFNlbnQ6IE1vbmRheSwgT2N0b2JlciAxNywg MjAyMiAxOjI3IEFNDQo+IFRvOiBsaW51eC13aXJlbGVzc0B2Z2VyLmtlcm5lbC5vcmcNCj4gQ2M6 IEplcyBTb3JlbnNlbiA8SmVzLlNvcmVuc2VuQGdtYWlsLmNvbT4NCj4gU3ViamVjdDogW1BBVENI IDEvNV0gd2lmaTogcnRsOHh4eHU6IEFkZCBjZW50cmFsIGZyZXF1ZW5jeSBvZmZzZXQgdHJhY2tp bmcNCj4gDQo+IEFjY29yZGluZyB0byBSZWFsdGVrIHByb2dyYW1tZXJzLCAidG8gYWRqdXN0IG9z Y2lsbGF0b3IgdG8gYWxpZ24NCj4gY2VudHJhbCBmcmVxdWVuY3kgb2YgY29ubmVjdGVkIEFQLiBU aGVuLCBpdCBjYW4geWllbGQgYmV0dGVyDQo+IHBlcmZvcm1hbmNlLiIgRnJvbSBjb21taXQgZmI4 NTE3ZjRmYWRlICgicnR3ODg6IDg4MjJjOiBhZGQgQ0ZPDQo+IHRyYWNraW5nIikuDQo+IA0KPiBU aGUgUlRMODE5MkNVIGFuZCBhIHZlcnNpb24gb2YgUlRMODcyM0FVIGFwcGFyZW50bHkgZG9uJ3Qg aGF2ZSB0aGUNCj4gYWJpbGl0eSB0byBhZGp1c3QgdG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