Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp5090498rwp; Sun, 16 Jul 2023 19:23:38 -0700 (PDT) X-Google-Smtp-Source: APBJJlH+vdJgTeg3tyVKVW1eUIIKsYmpsVqFhbBkaKc7ZCZMYbj5aCuFfgF4s6pKgbuuzaSWfhbg X-Received: by 2002:a05:6358:9184:b0:134:c37f:4b64 with SMTP id j4-20020a056358918400b00134c37f4b64mr7553983rwa.30.1689560618675; Sun, 16 Jul 2023 19:23:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689560618; cv=none; d=google.com; s=arc-20160816; b=bQiflVXspo0vbq9Ih34Y6xaMLTfjOoCqRyynNBHjz9ay0x4FVsFRVjwHZZvDGl8AYm OYHuCVvVkI4B0wH1v7QFB5QNQJRCyAuMgop7QfwlvkI/QOWMp0vbea++TnSVx25NOeYk brrBsqWX65iZk9i/KQ/6rPy1I0NMaUDGUHP2Benp6dwkrx3aK31fJS8k4hmHhpjxJ0yW RTw4RhY/kSrWmflErDj6htgJcKfztBXL/dCHuXeLoDRSoB6nuRrHrGdP6iNkjpfrohvh JAlIbGfq8YsCWlLOUC8nxvhPZw3gl0mzJnPfPuEESI9Ig8f1y2tL5PxUkGnbUK9XIVMb rwxw== 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:to:from:authenticated-by; bh=ONtfjaifa8by7gwxtlUhMGd8KcfhjfYpJolPJAhuuRQ=; fh=mFuHoKu4hYSVrQHEWgFfLQYpPSmcrXUEvbTZtZjHKkQ=; b=zqiyFfbRqsz6hgNOy8zH6t3RWGRnD4PAZGh5uNHiETDOBCbI0DF1oBweBH2qhqQl/k C/Mzeo0x9dyTWb5WXiXqSbaht6OmLoUasI3cFGvdicRrTS4IkXnsh5aeXtXhozm7/xp/ vaXRzP1iferpqu/LxJs/jG1QJoyKGmS0xr4NQTMz27ANXd1RrxTrztfLID/DuetPn23B 3uTCaF8ZiTzLzbr/jQgm13ZQSTSifLygLbWW6ueOVHaLQrIT8hOwjIZFTCq/P8JFqOq0 vhvZl/LnqKplqHmK31HMT0j6oM2GmQFcpUqrtrhFhGgSuDMWhkQ8eWZEMJgLKNjzVCKh d/dQ== 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 fc41-20020a056a002e2900b006826f17d020si11066499pfb.243.2023.07.16.19.23.30; Sun, 16 Jul 2023 19:23:38 -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 S229579AbjGQCGB (ORCPT + 58 others); Sun, 16 Jul 2023 22:06:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46224 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229591AbjGQCGA (ORCPT ); Sun, 16 Jul 2023 22:06:00 -0400 Received: from rtits2.realtek.com.tw (rtits2.realtek.com [211.75.126.72]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id AAD75E59 for ; Sun, 16 Jul 2023 19:05:57 -0700 (PDT) Authenticated-By: X-SpamFilter-By: ArmorX SpamTrap 5.77 with qID 36H25bqW6008939, 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 36H25bqW6008939 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=FAIL); Mon, 17 Jul 2023 10:05:37 +0800 Received: from RTEXMBS04.realtek.com.tw (172.21.6.97) 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; Mon, 17 Jul 2023 10:05:45 +0800 Received: from RTEXMBS04.realtek.com.tw (172.21.6.97) by RTEXMBS04.realtek.com.tw (172.21.6.97) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.7; Mon, 17 Jul 2023 10:05:45 +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, 17 Jul 2023 10:05:45 +0800 From: Ping-Ke Shih To: Larry Finger , Sean Mollet , "linux-wireless@vger.kernel.org" Subject: RE: [PATCH] RTW88 firmware download issues - improvement, but not perfect Thread-Topic: [PATCH] RTW88 firmware download issues - improvement, but not perfect Thread-Index: AQHZtx+ZfIlqxfTQEkiCCTUOUI99I6+8Kt+AgAEJcJA= Date: Mon, 17 Jul 2023 02:05:44 +0000 Message-ID: References: <491EE697-0DFE-433A-97EA-F7D40E9FE0A5@malmoset.com> <09b6e6ab-5db4-ceb6-3590-f1a729f234d5@lwfinger.net> In-Reply-To: <09b6e6ab-5db4-ceb6-3590-f1a729f234d5@lwfinger.net> 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: RTEXMBS04.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-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 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 DQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogTGFycnkgRmluZ2VyIDxs YXJyeS5maW5nZXJAZ21haWwuY29tPiBPbiBCZWhhbGYgT2YgTGFycnkgRmluZ2VyDQo+IFNlbnQ6 IE1vbmRheSwgSnVseSAxNywgMjAyMyAyOjAyIEFNDQo+IFRvOiBTZWFuIE1vbGxldCA8c2VhbkBt YWxtb3NldC5jb20+OyBsaW51eC13aXJlbGVzc0B2Z2VyLmtlcm5lbC5vcmcNCj4gU3ViamVjdDog UmU6IFtQQVRDSF0gUlRXODggZmlybXdhcmUgZG93bmxvYWQgaXNzdWVzIC0gaW1wcm92ZW1lbnQs IGJ1dCBub3QgcGVyZmVjdA0KPiANCj4gDQo+IFBhdGNoZXMgZm9yIHRoZSBydGx3aWZpLCBydHc4 OCwgYW5kIHJ0dzg5IGRyaXZlcnMgc2hvdWxkIGJlIGFkZHJlc3NlZCB0byBQaW5nLUtlDQo+IFNo aWggPHBrc2hpaEByZWFsdGVrLmNvbT4uIEFueSBwYXRjaCBmb3IgYSBkcml2ZXIgaW4gZHJpdmVy cy9uZXQvd2lyZWxlc3MvLi4uDQo+IHNob3VsZCBiZSBzZW50IHRvIEthbGxlIFZhbG8gPGt2YWxv QGtlcm5lbC5vcmc+LiBD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AgIGlmIChy dHdfcmVhZDMyX21hc2socnR3ZGV2LCBhZGRyLCBtYXNrKSA9PSB0YXJnZXQpIHsNCj4gICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgaWYgKGNudCA+IDUwKQ0KPiAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgIHByX2luZm8oImh3X3JlYWR5IGF0IGNvdW50ICVk XG4iLCBjbnQpOw0KPiAgICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuIHRydWU7DQo+ICAg ICAgICAgICAgICAgICAgfQ0KPiANCj4gICAgICAgICAgICAgICAgICB1ZGVsYXkoNTApOw0KDQpU aGlzIGxvb2tzIHdlaXJkLiBJZiB1ZGVsYXkoKSBpc24ndCBpbiBsb29wLCBQQ0lFIGRldmljZSBj YW4gcnVuIHF1aWNrbHkgYW5kIGdldA0KYSByZXN1bHQgIm5vdCByZWFkeSIuIEJ1dCwgZm9yIHNs b3cgSU8gVVNCL1NESU8sIHRoaXMgbWlnaHQgYmUgZmluZS4gDQoNClBpbmctS2UNCg0K