Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp11661547ybl; Fri, 27 Dec 2019 19:09:11 -0800 (PST) X-Google-Smtp-Source: APXvYqyK+Y2+pxADl8Pxm3RDmm6lV0+QMVn1za5YYDfqKC+xndkijMd8aTeL/hbuCnvCX9kSLF49 X-Received: by 2002:a05:6830:1cd3:: with SMTP id p19mr56721318otg.118.1577502551164; Fri, 27 Dec 2019 19:09:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1577502551; cv=none; d=google.com; s=arc-20160816; b=E0UY+DMKxz4cyHQPX6mqrbrr/g6W7XlTIK7vcmzR0y39fh/ohT3cXtBrau0YQPdrT8 z+aueWdby1PzYqUGH2oTVgaSG5iw/QBTrXlnNlb8ZfpxrLI/7ueDe0cIw9sSR3NTeKzJ ynDdudcSnFbBqxOE6q3zNjN3S0JednzM5ajohJstKNYIH8QrYx9n9rt+pKFHF/rlxdYT RrQfiLYZg+sAsfD+GWlGrOWBcepr9WokUScl85jYHpE/T/dZkVVHyycJvtL6xZW4mxkt wL5/x/YXEbgN+aHNNQm7d17NKgTPEIKfGlMjFPcsTto9Lfa4ocxSI9KoC6vb36l1Uj5I VC5Q== 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=uSTVEK+nsIniuJAECvz0aav3uObqmPZflDTTEqMVwi4=; b=O1Z4stDqt/yXr5597qMaaxUwfmu7oxyBsSShad0e9v30MPq+IeX+AjHAU0D11VRaq/ ChEFF7U1FYLw9zFI62gGeR2mFUWtGBj/YT2A6B7CT2QuZc+SbHc1xBCs4zdjFFO+04aw 2RlaQ8ZnMxtamHx2y1MLmXiVyyEIK9NdW9cT47IT5CMIbF7mJdiZMuMypCWpZNxDlrW6 eO/TmDEfZEQDnhcb5XRq3a0Lc4Ytmctuccme/uROEl1BS22GdKxwe7kOA6K2DFLVeoV7 g4lXquY9lYDsGzgRSQBFYeZc5KB9SWBsNK6m8MpwEei/CfGRgspuncbzCf1cYF2R5dYg L+Rw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b="V1Fmr/vx"; 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 s5si9467178oic.116.2019.12.27.19.08.46; Fri, 27 Dec 2019 19:09:11 -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="V1Fmr/vx"; 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 S1726075AbfL1DGc (ORCPT + 99 others); Fri, 27 Dec 2019 22:06:32 -0500 Received: from mailgw02.mediatek.com ([210.61.82.184]:42727 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1725957AbfL1DGc (ORCPT ); Fri, 27 Dec 2019 22:06:32 -0500 X-UUID: 6e18bea4fded4b338d5f7cdaee77f323-20191228 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=uSTVEK+nsIniuJAECvz0aav3uObqmPZflDTTEqMVwi4=; b=V1Fmr/vxZ1I7HA7CDRWwWElz89uYJHWOgd0RFarg6OXXEmDbNvuk28r/dofIdTkkAltENQzQIQmdg9tFUhc1yk0IeEMxMJgHlGA2uuswkjYR3cLIpWcyHN7tqEUgSfgjDh2QV8u1i5Hh6UIpddLznEB5kHLMH8RpOhy3RGPxu3s=; X-UUID: 6e18bea4fded4b338d5f7cdaee77f323-20191228 Received: from mtkcas08.mediatek.inc [(172.21.101.126)] by mailgw02.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.10 Build 0809 with TLS) with ESMTP id 1878609012; Sat, 28 Dec 2019 11:06:26 +0800 Received: from mtkcas08.mediatek.inc (172.21.101.126) by mtkmbs08n1.mediatek.inc (172.21.101.55) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Sat, 28 Dec 2019 11:07:07 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by mtkcas08.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1395.4 via Frontend Transport; Sat, 28 Dec 2019 11:05:49 +0800 From: Ryder Lee To: Felix Fietkau , Lorenzo Bianconi CC: Shayne Chen , Roy Luo , Sean Wang , , , Ryder Lee Subject: [PATCH v1 1/3] mt76: mt7615: report TSF information Date: Sat, 28 Dec 2019 11:05:10 +0800 Message-ID: <769aba6e014b8e7650c3909d6adb8427c1d5c5ae.1577501739.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 VGhpcyBhZGRzIGEgZ2V0X3RzZigpIGNhbGxiYWNrIGZvciBpYnNzLg0KDQpTaWduZWQtb2ZmLWJ5 OiBSeWRlciBMZWUgPHJ5ZGVyLmxlZUBtZWRpYXRlay5jb20+DQotLS0NCmNoYW5nZXMgc2luY2Ug djEgLSBtb2RpZnkgY29tbWl0IG1zZyBhbmQgdmFyaWFibGUgbmFtZS4NCi0tLQ0KIC4uLi9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