Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp153031rwr; Wed, 19 Apr 2023 04:56:09 -0700 (PDT) X-Google-Smtp-Source: AKy350YCt+uKu3zClOo7R69bqmqvZZOgkGAXUXvu6sT/K4joeFk1OpjpnmmadFq1uZNTyE37bknw X-Received: by 2002:a05:6a21:99a8:b0:f0:5c64:2665 with SMTP id ve40-20020a056a2199a800b000f05c642665mr3556072pzb.17.1681905369220; Wed, 19 Apr 2023 04:56:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681905369; cv=none; d=google.com; s=arc-20160816; b=typrRtx57eBWKwCdgIG5seHj3F2oen1iEXRr7acvWtRqExLaAOlWUj6gqZfwPwyB+s lO7OHqNMKF/iEsrHsj5ty0rudzINbj72IA9yHtNU68LVJT8nLRSWOg2btfzAr7tiyOCX BYoDaxe5W1tlRzbg3jkoi7+s24Fj0GjQoUdW+2NxkW18LIU8CLobOfQH/q1Ews1XVQDS 1pdc0FPfvFnW6loWe/VjGYiVp8rD+pdXn7aVLUNe+08S8lK9fYzOxZEc1dva0mrPJngr aOYnHz/9ACZdHuHAtQAWwNggez4ezdBXPXZr4OmC26yGU8xCLoLOZn6xNSPy43Z6OYDb +vww== 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:message-id :date:thread-index:thread-topic:subject:cc:to:from:authenticated-by; bh=7zpik2uVMnixABQCKytpVh71nZLX+rAFj1pMMsvcW6I=; b=cduQ6MZCvpONQwY3J9iER3l+bq8XNu+Be6hD+7OOkOnR8C+6pPoKXVy9mOQX5JFyZm duxfuXkck1jc+Y06muAm8gFgkPLLgSSo796GwC2jQqrztbsFCg/2JV+qnvBTvmXYVZJI t/uxDn+htH0ry2ldY3nnD5yzeCFlXfrSIlJS9VaJPb/xMxBSMup+3Z4yZaTq3U+imq/x mbPyNv5EisbbdbbQ9YCdI9e5PqC/TONz10t7Pvv4YbSK9Fk7+nA/ilYC9ngccVGLsFS+ 8RTvdpHBmQzZkrBGUcIOcTGCpmeoYp3YZblWF77JDpBj16rMMozPybnTfXPq/770IlBR ZWcg== 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 b23-20020a63eb57000000b004fb96b91c57si16216670pgk.125.2023.04.19.04.55.58; Wed, 19 Apr 2023 04:56:09 -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 S232955AbjDSLqP (ORCPT + 64 others); Wed, 19 Apr 2023 07:46:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41292 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232957AbjDSLqO (ORCPT ); Wed, 19 Apr 2023 07:46:14 -0400 Received: from rtits2.realtek.com.tw (rtits2.realtek.com [211.75.126.72]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D930C14478 for ; Wed, 19 Apr 2023 04:46:08 -0700 (PDT) Authenticated-By: X-SpamFilter-By: ArmorX SpamTrap 5.77 with qID 33JBk1auD009741, 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 33JBk1auD009741 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=OK); Wed, 19 Apr 2023 19:46:01 +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; Wed, 19 Apr 2023 19:46:01 +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; Wed, 19 Apr 2023 19:46:01 +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; Wed, 19 Apr 2023 19:46:01 +0800 From: Ping-Ke Shih To: "kvalo@kernel.org" CC: "linux-wireless@vger.kernel.org" , "Kevin Yang" Subject: [PATCH 4/5] wifi: rtw89: mac: handle C2H receive/done ACK in interrupt context Thread-Topic: [PATCH 4/5] wifi: rtw89: mac: handle C2H receive/done ACK in interrupt context Thread-Index: AQHZcrSDVkC0UVs+FEqeKc7x9ArKXQ== Date: Wed, 19 Apr 2023 11:46:01 +0000 Message-ID: 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: [172.16.16.139] 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 RnJvbTogWm9uZy1aaGUgWWFuZyA8a2V2aW5feWFuZ0ByZWFsdGVrLmNvbT4NCg0KV2UgaGF2ZSBz b21lIE1BQyBIMkNzIChob3N0IHRvIGNoaXAgcGFja2V0cyksIHdoaWNoIGhhdmUgbm8gY2xlYXIN CmluZGl2aWR1YWwgQzJIcyAoY2hpcCB0byBob3N0IHBhY2tldHMpIHRvIGluZGljYXRlIEZXIGV4 ZWN1dGlvbg0KcmVzcG9uc2UsIGJ1dCB0aGV5IGFyZSBnb2luZyB0byByZXF1aXJlIHRvIHdhaXQg Zm9yIEZXIGNvbXBsZXRpb24uDQpTbywgd2UgaGF2ZSB0byBkZWFsIHdpdGggdGhpcyB2aWEgY29t bW9uIE1BQyBDMkggcmVjZWl2ZS9kb25lIEFDS3MuDQoNClRoaXMgY29tbWl0IGNoYW5nZXMgdGhl IGNvbnRleHQsIHdoZXJlIGNvbW1vbiBNQUMgQzJIIHJlY2VpdmUvZG9uZQ0KQUNLIGhhbmRsZXJz IGFyZSBleGVjdXRlZCwgdG8gaW50ZXJydXB0IGNvbnRleHQuIEFuZCwgY29kZSBjb21tZW50cw0K YXJlIGFkZGVkIHRvIHByZXZlbnQgZnV0dXJlIGNvbW1pdHMgZnJvbSB1c2luZyBpdCBpbmNvcnJl Y3RseS4NCg0KU2lnbmVkLW9mZi1ieTogWm9uZy1aaGUgWWFuZyA8a2V2aW5feWFuZ0ByZWFsdGVr LmNvbT4NClNpZ25lZC1vZmYtYnk6IFBpbmctS2UgU2hpaCA8cGtzaGloQHJlYWx0ZWsuY29tPg0K LS0tDQogZHJpdmVycy9uZXQvd2lyZWxlc3MvcmVhbHRlay9ydHc4OS9tYWMuYyB8IDEyICsrKysr KysrKysrKw0KIDEgZmlsZSBjaGFuZ2VkLCAxMiBpbnNlcnRpb25zKCspDQoNCmRpZmYgLS1naXQg YS9kcml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