Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp86089rwb; Mon, 28 Nov 2022 17:24:17 -0800 (PST) X-Google-Smtp-Source: AA0mqf480EfVSR1fiWf5aiLMwOWyXjv7RQCXM+z/6WjvjaascWK9dciHUov/0hANWviGLX1ZedHz X-Received: by 2002:a17:902:f70c:b0:189:bee:65ee with SMTP id h12-20020a170902f70c00b001890bee65eemr35994407plo.107.1669685057638; Mon, 28 Nov 2022 17:24:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669685057; cv=none; d=google.com; s=arc-20160816; b=FAci79qz5mZbKhg+Q5GQocx+jplHVW30KZk1nvYCrmJU73HAQ694GBRP+jr3lNvg+e x9NsOSamMJHemkx/nHqwK3mcq9pAIV2DFfBAkNGTT2tahaLNYCxnIIqXWX5LohG9e3sV sVRSdgBXHtXJJZyxzxg0bgwUbo7pJ9jBL1l4QUpwKIp8iGz9LTScQjGZ+00Wz8p9dXEI NbvDycilJgkwygNl8mJq2CG6um6zfzEY+GC8tLjYxYIXssQ+yKD9uwt/LRyd0vHCNkhn aIzi9ugUhBl2Kl6Y4SfOVU5J1nQ7XIEJ4jsPybdgiukZcObUwMfbOpeIaCzmO6DzFroa xFPA== 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=FoWflUfZ15a2N1y/Yu9wF3BQ2SvRhkkzuCPWGHDzs7w=; b=k2tR64gcrOKkEkjdecIL3BU2gT4UttQ1b0I3TuSqE7ZB4AWnFk/6/b21DPV1fVODWV CqDgpFYY5tIt0veUvRAhwj5w6MEmIWK525HkObxEMIg0QyEhFz8hAi0bhyfRlxZDMie1 HXzLjA0dkV0jf6EDh3RGVfKCF3B23tCQgMFQbPsg4UVVNXfHDCtfAyWMXlCO0Q1hH3gg n3B5gil/tP7naV4OoPkEBpaSnAMbsZmAkq8mrnbmNV/gQCpEpB2pMU+uJOEgIkOf0/Yu uQqqKTZEBbXybdJi9dqZKOwP6R4+X7TN2gia/67mxoUPkay9DmQD+IrZBIhnrC/Nw2dM 2rLw== 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 ay16-20020a056a00301000b005730a1bbac0si12696123pfb.354.2022.11.28.17.24.09; Mon, 28 Nov 2022 17:24:17 -0800 (PST) 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 S235015AbiK2BWg (ORCPT + 67 others); Mon, 28 Nov 2022 20:22:36 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50412 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235014AbiK2BWU (ORCPT ); Mon, 28 Nov 2022 20:22:20 -0500 Received: from rtits2.realtek.com.tw (rtits2.realtek.com [211.75.126.72]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 08B9040931 for ; Mon, 28 Nov 2022 17:22:06 -0800 (PST) Authenticated-By: X-SpamFilter-By: ArmorX SpamTrap 5.77 with qID 2AT1LHWf8030097, 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.81/5.90) with ESMTPS id 2AT1LHWf8030097 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=FAIL); Tue, 29 Nov 2022 09:21:17 +0800 Received: from RTEXMBS06.realtek.com.tw (172.21.6.99) by RTEXH36505.realtek.com.tw (172.21.6.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.32; Tue, 29 Nov 2022 09:22:02 +0800 Received: from RTEXMBS04.realtek.com.tw (172.21.6.97) by RTEXMBS06.realtek.com.tw (172.21.6.99) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.34; Tue, 29 Nov 2022 09:22:02 +0800 Received: from RTEXMBS04.realtek.com.tw ([fe80::15b5:fc4b:72f3:424b]) by RTEXMBS04.realtek.com.tw ([fe80::15b5:fc4b:72f3:424b%5]) with mapi id 15.01.2375.007; Tue, 29 Nov 2022 09:22:02 +0800 From: Ping-Ke Shih To: Bitterblue Smith , "linux-wireless@vger.kernel.org" CC: Jes Sorensen Subject: RE: [PATCH v2 2/3] wifi: rtl8xxxu: Fix the channel width reporting Thread-Topic: [PATCH v2 2/3] wifi: rtl8xxxu: Fix the channel width reporting Thread-Index: AQHZA1/TwRd3q64pU0STSbUq5EUCj65VFCeg Date: Tue, 29 Nov 2022 01:22:01 +0000 Message-ID: References: In-Reply-To: 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: RTEXMBS06.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?Q2xlYW4sIGJhc2VzOiAyMDIyLzExLzI4IOS4i+WNiCAxMTo0MjowMA==?= x-kse-bulkmessagesfiltering-scan-result: protection disabled Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-KSE-ServerInfo: RTEXH36505.realtek.com.tw, 9 X-KSE-Attachment-Filter-Triggered-Rules: Clean X-KSE-Attachment-Filter-Triggered-Filters: Clean X-KSE-BulkMessagesFiltering-Scan-Result: protection disabled 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+IFNlbnQ6IFR1ZXNkYXksIE5vdmVtYmVyIDI5 LCAyMDIyIDM6MzAgQU0NCj4gVG86IGxpbnV4LXdpcmVsZXNzQHZnZXIua2VybmVsLm9yZw0KPiBD YzogSmVzIFNvcmVuc2VuIDxKZXMuU29yZW5zZW5AZ21haWwuY29tPjsgUGluZy1LZSBTaGloIDxw a3NoaWhAcmVhbHRlay5jb20+DQo+IFN1YmplY3Q6IFtQQVRDSCB2MiAyLzNdIHdpZmk6IHJ0bDh4 eHh1OiBGaXggdGhlIGNoYW5uZWwgd2lkdGggcmVwb3J0aW5nDQo+IA0KPiBUaGUgZ2VuIDIgY2hp cHMgUlRMODE5MkVVIGFuZCBSVEw4MTg4RlUgcGVyaW9kaWNhbGx5IHNlbmQgdGhlIGRyaXZlcg0K PiByZXBvcnRzIGFib3V0IHRoZSBUWCByYXRlLCBhbmQgdGhlIGRyaXZlciBwYXNzZXMgdGhlc2Ug cmVwb3J0cyB0bw0KPiBzdGFfc3RhdGlzdGljcy4gVGhlIHJlcG9ydHMgZnJvbSBSVEw4MTkyRVUg bWF5IG9yIG1heSBub3QgaW5jbHVkZSB0aGUNCj4gY2hhbm5lbCB3aWR0aC4gVGhlIHJlcG9ydHMg ZnJvbSBSVEw4MTg4RlUgZG8g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