Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp11144721pxu; Thu, 31 Dec 2020 01:00:14 -0800 (PST) X-Google-Smtp-Source: ABdhPJws54NXf+SoLpKxZAVulwPaIyvWbCjSI0dZQC/C6giR73K1HKwRSbtsUuFWQ6Zc9TglFp3S X-Received: by 2002:a05:6402:1d15:: with SMTP id dg21mr53254881edb.280.1609405214514; Thu, 31 Dec 2020 01:00:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609405214; cv=none; d=google.com; s=arc-20160816; b=VxWtDn7bhZCVyMqGcBT2unY1QnntzKbLb/2wehykceTBIRS83YJgT9J+2mojrZ8Ak+ 7HIPh9JAAci+t2BzLggXEWaj1hpbLqc4flMUodUZtkDFayIXTOjJoJSTZkfcr1tzwWZs QJ1r6N+ezoZRWooxObICitqR5kObD04uf5Oa8CsKgrqkCukbKgIX0Z4h5NGPm/CALBZf z2GiyNhaS5Bdfr2wtgxs11aXBqY1bv5uQJnENtVosLbxADq6AOQk518k1jIgCr/VRtib F3OMNDeeD90qh3QKRDxGiiT9B/d/OUkfwgOOXNG8pFcCg/EuRdv05HI9QMalKB2asPFU x+rQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:date:cc:to:from:subject:message-id :dkim-signature; bh=+l0F3UfPINeuQQDthlZCRT/biWv4vrO3YtRXXQfQwck=; b=bt3Fq55wEI7bx038u+3iPo2ymNYzFixRaU4SDmfQzS33T2Fb/b3PQo5LDDLf5hldu0 qes/tAAtXVdnmguL7TL8+dhfNZDe5SXCd5jKflYEtgEnBP+prQ6aZO3jd9KbUcg1CqwV 2gr9YpJGfb8RhRadqJGWjCtZ0ac0sw2iBe75T22OKasM76LOy6ag38OcbGw5+5EM03Eg CYaTXfX0s4nuIqZY79+E5H1BToXUCL9PDUu3SgiLcPQXgqgDIaNEsHC6yYjmOiANmaTS lqLnsrSzzvlrbFXzjzwQUNuOnPBN76Vmbml5zxElVKzC9KsEkOBTihapOC4utYl4JOyQ +yZw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=S7N8NI3X; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a23si24865529edn.292.2020.12.31.00.59.51; Thu, 31 Dec 2020 01:00:14 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=S7N8NI3X; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726588AbgLaI4d (ORCPT + 99 others); Thu, 31 Dec 2020 03:56:33 -0500 Received: from mailgw02.mediatek.com ([210.61.82.184]:49170 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726290AbgLaI4d (ORCPT ); Thu, 31 Dec 2020 03:56:33 -0500 X-UUID: e22e6e7170c24da6a260f82eca253b48-20201231 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Transfer-Encoding:MIME-Version:Content-Type:References:In-Reply-To:Date:CC:To:From:Subject:Message-ID; bh=+l0F3UfPINeuQQDthlZCRT/biWv4vrO3YtRXXQfQwck=; b=S7N8NI3Xg189PNdurdRvFAoVpT3UKa2gNkHcWbxk3bFKlvXqKw5ZLytfMWOvo4rq8a88sT59lL1+XeZPFUHvN/+E6k2oy0qcsgfHdysCF0XTpef0MDs/S2MMxDh4qDoeimAbnXKXy4T+LL1TWs+PitVVGaj2dCfpgVSLrMsLQ+Y=; X-UUID: e22e6e7170c24da6a260f82eca253b48-20201231 Received: from mtkcas10.mediatek.inc [(172.21.101.39)] by mailgw02.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.14 Build 0819 with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 703152868; Thu, 31 Dec 2020 16:55:48 +0800 Received: from mtkcas11.mediatek.inc (172.21.101.40) by mtkmbs06n2.mediatek.inc (172.21.101.130) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Thu, 31 Dec 2020 16:55:46 +0800 Received: from [172.21.77.33] (172.21.77.33) by mtkcas11.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Thu, 31 Dec 2020 16:55:46 +0800 Message-ID: <1609404946.23449.15.camel@mtkswgap22> Subject: Re: [PATCH -next v4 02/13] mt76: mt7921: add MCU support From: Ryder Lee To: CC: , , , , , , , , , , Lorenzo Bianconi Date: Thu, 31 Dec 2020 16:55:46 +0800 In-Reply-To: <38dc730fe632525472456816dd51620d9b3ba547.1609347310.git.objelf@gmail.com> References: <38dc730fe632525472456816dd51620d9b3ba547.1609347310.git.objelf@gmail.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.2.3-0ubuntu6 MIME-Version: 1.0 X-TM-SNTS-SMTP: 349190E50DED03C0D3D922A6AEB26916EB510F5C7EE67374E4672B8003FCD22F2000:8 X-MTK: N Content-Transfer-Encoding: base64 Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org T24gVGh1LCAyMDIwLTEyLTMxIGF0IDAyOjA2ICswODAwLCBzZWFuLndhbmdAbWVkaWF0ZWsuY29t IHdyb3RlOg0KPiBGcm9tOiBTZWFuIFdhbmcgPHNlYW4ud2FuZ0BtZW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