Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp5654722rwb; Tue, 17 Jan 2023 17:07:39 -0800 (PST) X-Google-Smtp-Source: AMrXdXtiFlT7Sr1WNhgkXbVUcKodLhvWcD2GktMeprSBA2+EfmwZywFlhHTk3wlDkBurVyrEC2FH X-Received: by 2002:a17:906:348b:b0:84d:3a95:cdf9 with SMTP id g11-20020a170906348b00b0084d3a95cdf9mr5066287ejb.50.1674004059786; Tue, 17 Jan 2023 17:07:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674004059; cv=none; d=google.com; s=arc-20160816; b=ScFicCPEFLVeD/DY2be24RIjZpwn5Pr954EJxpDikIAM9sOmrD4KtK4d/RYxqL+H5/ cpDIz90zhnpKV7fi4AZKPS4D0c9iasQJ3x/6Wb/ZHJKb4rh0OlWjNpCALs7rGngb+fqu U8Y92YcjXuN0i9DmJ2IvzWjQWLc7z2iud796OesMScTfRWhOltGUhoJYTFO6VSoXASnL N3Ol7RN1vDu9dkx+LsJUXM3DblHwmnwsrImP64iF2zSQTONnGl9s5werSc2nCdsNzsca v/tQzrKjjiiIRAWjHkQK53x2lxaz13CwshPDtJkQJCr97ecD84O0D3GYjTtaXTCbu+eC B0Nw== 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=1FLqUsqYrTLH2THu8cxUc05xpElklz1lN1SXbgwgHHc=; b=QTfUaCQfgWTettKiAJifCikvkmhhkuJ2NsROrulhOsZxpVquZuvPopY8g48IcAT28z U956RA6OK0fvms0+NAP1PeQfghKljOUjJ4R/KWoVwJUUU9UqT8ICmK/3kVwaQzGsmNiD 9oH3sJ9ds5sKpAehLdLxXgvUdheexdGZGAyhm0u0eI9S7z5uMmkLb3L6xXZR5SbZp7n5 oPPl2YQWCFfsAbhQSJ6YKw78VI9Q3b1DczTLhiSmaDQAP23UhaQQr6Wb+UEmr0MJ1K0R AVbDE6ordL25eoVRFcLbKkJ19XTrhUwrN/XwstO445HMeLpOK0r6mIj+F0Kgy16sXDlp 2IWw== 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 hc41-20020a17090716a900b007aeaacd5592si38998421ejc.124.2023.01.17.17.07.22; Tue, 17 Jan 2023 17:07:39 -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 S229491AbjARBEP (ORCPT + 63 others); Tue, 17 Jan 2023 20:04:15 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55938 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229654AbjARBDo (ORCPT ); Tue, 17 Jan 2023 20:03:44 -0500 Received: from rtits2.realtek.com.tw (rtits2.realtek.com [211.75.126.72]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id A46A54858F for ; Tue, 17 Jan 2023 16:53:00 -0800 (PST) Authenticated-By: X-SpamFilter-By: ArmorX SpamTrap 5.77 with qID 30I0qosnF002414, 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 30I0qosnF002414 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=FAIL); Wed, 18 Jan 2023 08:52:50 +0800 Received: from RTEXDAG01.realtek.com.tw (172.21.6.100) 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; Wed, 18 Jan 2023 08:52:51 +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; Wed, 18 Jan 2023 08:52:51 +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; Wed, 18 Jan 2023 08:52:51 +0800 From: Ping-Ke Shih To: Bitterblue Smith , "linux-wireless@vger.kernel.org" CC: Jes Sorensen Subject: RE: [PATCH 1/4] wifi: rtl8xxxu: Register the LED and make it blink Thread-Topic: [PATCH 1/4] wifi: rtl8xxxu: Register the LED and make it blink Thread-Index: AQHZKr96qNWty18lDUSa9x9d5F0XZK6jV9UQ Date: Wed, 18 Jan 2023 00:52:51 +0000 Message-ID: References: <5c03ae42-a2fd-b39a-e754-f52d8528a167@gmail.com> In-Reply-To: <5c03ae42-a2fd-b39a-e754-f52d8528a167@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?Q2xlYW4sIGJhc2VzOiAyMDIzLzEvMTcg5LiL5Y2IIDEwOjAwOjAw?= 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+IFNlbnQ6IFdlZG5lc2RheSwgSmFudWFyeSAx OCwgMjAyMyA2OjAzIEFNDQo+IFRvOiBsaW51eC13aXJlbGVzc0B2Z2VyLmtlcm5lbC5vcmcNCj4g Q2M6IEplcyBTb3JlbnNlbiA8SmVzLlNvcmVuc2VuQGdtYWlsLmNvbT47IFBpbmctS2UgU2hpaCA8 cGtzaGloQHJlYWx0ZWsuY29tPg0KPiBTdWJqZWN0OiBbUEFUQ0ggMS80XSB3aWZpOiBydGw4eHh4 dTogUmVnaXN0ZXIgdGhlIExFRCBhbmQgbWFrZSBpdCBibGluaw0KPiANCj4gSWYgdGhlIGNoaXAg Y2FuIGhhdmUgYW4gTEVELCByZWdpc3RlciBhIHN0cnVjdCBsZWRfY2xhc3NkZXYgYW5kIGVuYWJs ZQ0KPiBoYXJkd2FyZS1jb250cm9sbGVkIGJsaW5raW5nLiBXaGVuIHRoZSBjaGlwIGlzIG5vdCB0 cmFuc21pdHRpbmcgb3INCj4gcmVjZWl2aW5nIGFueXRoaW5nIHRoZSBMRUQgaXMgb2ZmLiBPdGhl cndpc2UgdGhlIExFRCB3aWxsIGJsaW5rDQo+IGZhc3RlciBvciB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