Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp2295798rwd; Fri, 26 May 2023 04:51:10 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4OIggQoFAeB+8MbSyGGGuQ7XuXXFtpa0UDAtcECYHgzeWxAd22f5heKQu3k5ZMs+cmHlf7 X-Received: by 2002:a05:6a00:1825:b0:623:8592:75c4 with SMTP id y37-20020a056a00182500b00623859275c4mr3257040pfa.29.1685101870579; Fri, 26 May 2023 04:51:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685101870; cv=none; d=google.com; s=arc-20160816; b=F8EMT/nOlBFPx2BiycMEgJVu37m6LlWrNNlynIorYRyP3/qOIg+efRHHNnEoRewKAI Gn7xdCDN+akQeG/qU4OvuD6CyA3tk7wZNBNQQI7W4uvz12nh6e1bhgIevDJcrqkRRdn+ WF6NGwCGe+Slz2seHnoKQ48FrK2RbSpl+ncmAizsvPfgfz4G9Zjp0ACnMBbeEGhjSTUb MbkKqZ2A4PJ1VqegGbYrJBfV1Qh8Pf1LNF9TOTJo2sgGo4apvuV6m+lVZeOazMvl9T9R BxXIYa4c3W0Iz0ZnQqyx3SlCjK6SZjZOHx95zY3a2Ouke+c7ilwlj13bAd58HGI3lbQO Q6hQ== 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-id:user-agent:content-language:accept-language:in-reply-to :references:message-id:date:thread-index:thread-topic:subject:cc:to :from:authenticated-by; bh=eFEowR+V9eeevWDsWFjlq1gd+qLcm4zT7GaqpRVUlO4=; b=i0HiuaEtM6BapO2HM7k+ziYEvDVu07YOViQigkGqdgSCTj9xKQPTiUQKxVENdd5p7g zuHtWV8x7b3y++tSnPRKfVCK8fd0/w641nytltGHEWAiv/FVoA3Gydqlj97lWGWhIld9 WhWyTt/Ch1YKQhkjqaMEUPsYfwJiUqOil97gmU0k1I2Be2YQjJ9Lbq3oIp+n1vEMdDPB ybk7A12U3LZHu+ZIyV8EW4z7OagbeVMztDYVdX9sBMrlJ8YwvPlaAO+8PwDDT3lisphd NfG+NlYrCxX/jvHXqfaxWezpz496P+hdLI23vjAfQ2dSFI+dnwUYnFpP/4fzQg+Xy0zb hs+Q== 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 u27-20020a63b55b000000b0053f212830aesi515393pgo.311.2023.05.26.04.51.03; Fri, 26 May 2023 04:51:10 -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 S237269AbjEZLqh (ORCPT + 62 others); Fri, 26 May 2023 07:46:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39950 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236715AbjEZLqg (ORCPT ); Fri, 26 May 2023 07:46:36 -0400 Received: from rtits2.realtek.com.tw (rtits2.realtek.com [211.75.126.72]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E4AF2A7 for ; Fri, 26 May 2023 04:46:34 -0700 (PDT) Authenticated-By: X-SpamFilter-By: ArmorX SpamTrap 5.77 with qID 34QBkAMD1003985, 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 34QBkAMD1003985 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=OK); Fri, 26 May 2023 19:46:10 +0800 Received: from RTEXMBS02.realtek.com.tw (172.21.6.95) 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.17; Fri, 26 May 2023 19:46:22 +0800 Received: from RTEXMBS04.realtek.com.tw (172.21.6.97) by RTEXMBS02.realtek.com.tw (172.21.6.95) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.7; Fri, 26 May 2023 19:46:21 +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; Fri, 26 May 2023 19:46:21 +0800 From: Ping-Ke Shih To: "kvalo@kernel.org" CC: "linux-wireless@vger.kernel.org" Subject: Re: [PATCH 5/5] wifi: rtw89: use struct to access register-based H2C/C2H Thread-Topic: [PATCH 5/5] wifi: rtw89: use struct to access register-based H2C/C2H Thread-Index: AQHZjKk/VL7hv4hb3keNsgPN8Joo/69rLL3hgADDLIA= Date: Fri, 26 May 2023 11:46:21 +0000 Message-ID: <709fd6a89f3f4a637410c0974b32154a8a1b89fe.camel@realtek.com> References: <20230522122513.13559-1-pkshih@realtek.com> <20230522122513.13559-6-pkshih@realtek.com> <87cz2ol7i5.fsf@kernel.org> In-Reply-To: <87cz2ol7i5.fsf@kernel.org> Accept-Language: en-US, zh-TW Content-Language: zh-TW X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Evolution 3.36.1-2 x-originating-ip: [125.224.76.140] x-kse-serverinfo: RTEXMBS02.realtek.com.tw, 9 x-kse-antispam-interceptor-info: fallback x-kse-antivirus-interceptor-info: fallback Content-Type: text/plain; charset="utf-8" Content-ID: Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-KSE-AntiSpam-Interceptor-Info: fallback X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,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 T24gVGh1LCAyMDIzLTA1LTI1IGF0IDE5OjA3ICswMzAwLCBLYWxsZSBWYWxvIHdyb3RlOg0KPiAN Cj4gUGluZy1LZSBTaGloIDxwa3NoaWhAcmVhbHRlay5jb20+IHdyaXRlczoNCj4gDQo+ID4gVGhl IHJlZ2lzdGVyLWJhc2VkIEgyQy9DMkggYXJlIHVzZWQgdG8gZXhjaGFuZ2UgY29tbWFuZHMgYW5k IGV2ZW50cyB3aXRoDQo+ID4gZmlybXdhcmUuIFRoZSBleGNoYW5nZSBkYXRhIGlzIGxpbWl0ZWQs IGJ1dCBpdCBpcyByZWxhdGl2ZWx5IHNpbXBsZSwNCj4gPiBiZWNhdXNlIGl0IGNhbiB3b3JrIGJl Zm9yZSBIQ0kgaW5pdGlhbGl6YXRpb24uIFRvIG1ha2UgdGhlc2UgY29kZSBjbGVhbiwNCj4gPiB1 c2Ugc3RydWN0IHRvIGFjY2VzcyB0aGVtLiBUaGlzIHBhdGNoIGRvZXNuJ3QgY2hhbmdlIGxvZ2lj IGF0IGFsbC4NCj4gPiANCj4gPiBTaWduZWQtb2ZmLWJ5OiBQaW5nLUtlIFNoaWggPHBrc2hpaEBy ZWFsdGVrLmNvbT4NCj4gDQo+IFsuLi5dDQo+IA0KPiA+IC0tLSBhL2RyaXZlcnMvbmV0L3dpcmVs ZXNzL3JlYWx0ZWsvcnR3ODkvZncuaA0KPiA+ICsrKyBiL2RyaXZlcnMvbmV0L3dpcmVsZXNzL3Jl YWx0ZWsvcnR3ODkvZncuaA0KPiA+IEBAIC0xOCwxNSArMTgsNTEgQEAgZ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