Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp10730646ybl; Fri, 27 Dec 2019 01:00:42 -0800 (PST) X-Google-Smtp-Source: APXvYqykGX6boNq6gFUCWBxb5e+acdqXJbICcTdwn7zxyHI+71jnCS8dfn4kWlJ5g+YFocTRCVWw X-Received: by 2002:a05:6830:160c:: with SMTP id g12mr54006540otr.82.1577437242779; Fri, 27 Dec 2019 01:00:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1577437242; cv=none; d=google.com; s=arc-20160816; b=iuszfjHPMrguLov+mVHIQDQetc72dGn/ZWT9jrgnhRC8muPYoCtgE0tyma+wszFc7E VzWws8b42S0lXPEAa8iW34kqyjHtgnRgeBIVwN3kbpfbxzEQJhlXeaDzF0fgjJMnTd5J OhGhmB2eTcZVQWyh/8dm9/81ZToue1VpPZEMxvPPc6VJlh+mT0tTgCLixlfbXkRIyvbY ldOHBBxQx8SxLXthz274HA60htOyHDO251J9WAHDLARwPZ/vAQ9N9ZZtx/TSjNeU1+g7 NrGAbvon/LlQ/tpznmDgJPxYJmuxnRLBYMCO3LuqiceE8V9iO7foMv39LnF3Ml27Dup5 nh0A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=wEhcdasdHQ1MGhAkqC1Xmfme5mB/fjPet8BYixdocfA=; b=Nypuupy0/CrCuw56LJrIDJx4zUuN1MHO4ZGPPVaR9KxYUu4DbD6t/2/ECCXxhqPQc4 dxD0HqG3WlJZkxDyGTOFztqnk00JAS7WB7FeklrOGIZHj6kX4wfhck96L9dxt/OJkZn2 xL17tfI4fw17xYm3Z3+IxJH0NWVWO9xtuscLs9p67k4YxTs4ZRRETljLPs+ZjyhmgSEK OIbi+K/T86waMAa77TaH+CGsW62FTZaOy/Xp3ernbg48OFsHVnL81VGj7iysSFxcmkFx K+t5CA7OzPED5UC1710hfcXXKyL1pjG5sS387zdzhK/3b5PpVYFx2qAd92HOxYAZoOhw UiBg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=GF3FPAaZ; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 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. [209.132.180.67]) by mx.google.com with ESMTP id s5si8020702oic.116.2019.12.27.01.00.28; Fri, 27 Dec 2019 01:00:42 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=GF3FPAaZ; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 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 S1726343AbfL0JAW (ORCPT + 99 others); Fri, 27 Dec 2019 04:00:22 -0500 Received: from mailgw01.mediatek.com ([210.61.82.183]:62155 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726297AbfL0JAV (ORCPT ); Fri, 27 Dec 2019 04:00:21 -0500 X-UUID: 954e0df1a1164a75b568aaaac63a13bf-20191227 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID:Date:Subject:CC:To:From; bh=wEhcdasdHQ1MGhAkqC1Xmfme5mB/fjPet8BYixdocfA=; b=GF3FPAaZOVMOJ++CfNLvJvI7A2OCGcv6n1d8Mh8CW9iZECasLbOw5QqiSFzcRDXbndZz1cJJy4rhzwH/Ygznd9zM5D68Hdk1nNJ2R7cz6j85R/mAqVK486sJTXLnygFH6cIs2VktL121qK306Lxfx+2lggDMqTBnfrrQfcvsYZU=; X-UUID: 954e0df1a1164a75b568aaaac63a13bf-20191227 Received: from mtkcas07.mediatek.inc [(172.21.101.84)] by mailgw01.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.10 Build 0809 with TLS) with ESMTP id 402121409; Fri, 27 Dec 2019 17:00:17 +0800 Received: from mtkcas07.mediatek.inc (172.21.101.84) by mtkmbs08n1.mediatek.inc (172.21.101.55) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Fri, 27 Dec 2019 17:00:55 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by mtkcas07.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1395.4 via Frontend Transport; Fri, 27 Dec 2019 16:59:59 +0800 From: Ryder Lee To: Felix Fietkau , Lorenzo Bianconi CC: Shayne Chen , Roy Luo , Sean Wang , , , Ryder Lee Subject: [PATCH 1/3] mt76: mt7615: report TSF information Date: Fri, 27 Dec 2019 17:00:07 +0800 Message-ID: <7d450f0c4fec3c7242804e47f9bce13255e7f28d.1577411732.git.ryder.lee@mediatek.com> X-Mailer: git-send-email 2.18.0 MIME-Version: 1.0 Content-Type: text/plain X-MTK: N Content-Transfer-Encoding: base64 Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org VGhpcyBhZGRzIGEgLmdldF90c2YoKSBjYWxsYmFjayB0byByZXBvcnQgVFNGIHRpbWUuDQoNClNp Z25lZC1vZmYtYnk6IFJ5ZGVyIExlZSA8cnlkZXIubGVlQG1lZGlhdGVrLmNvbT4NCi0tLQ0KIC4u Li9uZXQvd2lyZWxlc3MvbWVkaWF0ZWsvbXQ3Ni9tdDc2MTUvbWFpbi5jICB8IDIxICsrKysrKysr KysrKysrKysrKysNCiAxIGZpbGUgY2hh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