Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp1036093ybt; Wed, 17 Jun 2020 21:47:56 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy8BI1yU/3qwReo60MfKYTfDlUGbfCeHhqbFjA08CVUzz7hXCfhTc+AExUqOQGRkfu0VL7M X-Received: by 2002:a05:6402:8d8:: with SMTP id d24mr2263821edz.287.1592455676221; Wed, 17 Jun 2020 21:47:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592455676; cv=none; d=google.com; s=arc-20160816; b=nR6fFmYRu1pLjXFfJVt1X+hbcw1QxHoLaIPkq/EM7IGAI1NQVRfljS/U6alUJN/Wz2 f6cS/yX6ld6rSeDCMOH2ouM+rXXlw/Shna4jLzRBRR4claWSUhk2gtvxjyEVAzCGXMIw fiHw3keR4TQdZgf6oMnP8WcQDNtQlnBJCU/GxBwe5AtRPvaj7QDEqhuIWXxZVg+Nyvuv JNpfxVqf66P0ngnoJcICJbFa4QT7IxRruo3DIqaH9xZoR7D+qkx6JIKjpQNPqff1oqIa s6lxUri1Z+Od1eioqlVqrI9frXTsWP72cazKICIN9N9LeFDytLTbiuIu2r9ORI1hdlDh /XFQ== 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=1MJwtjnSozcDYpnLZs9rWfOmBAurwZU/5UszGVVbHtU=; b=AMmfluGC94l2nGm6FcdffXyANckNM7B5pdhZXOefP721/zK7odykSV28tku0dJsby0 9/ou8dj5foY0dLzaiigsFeCEnkbKDv3qpxj7AsxUB8SBbZ0nZ4qWbBBLX8UgjwR6hxgK aqhZC6To7ou6Hl/Xf5UVFzfeY/9X6GoMghaHe5xB+3TxQo9a8KbjPmszs5Ks5yhv4aBE JQjVruAnoa3qiUw3nH4aWCvNuQd5L7Eu5AdaXi4dZZSL7s5U8OZLIDl0SJSGOq5o64ku 5P82t+sOdOggVaLjM5bY54n7gwZZwF3RUMA84F42vDdLRQ2FjEPjzL+8e+GxXgfX+Pie UUVw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=WrfHfUt+; 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 w23si1101990ejn.709.2020.06.17.21.47.13; Wed, 17 Jun 2020 21:47:56 -0700 (PDT) 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=WrfHfUt+; 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 S1726008AbgFREmB (ORCPT + 99 others); Thu, 18 Jun 2020 00:42:01 -0400 Received: from mailgw01.mediatek.com ([210.61.82.183]:23495 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1725889AbgFREmA (ORCPT ); Thu, 18 Jun 2020 00:42:00 -0400 X-UUID: 5971061ac49e4891af81536e92a18e19-20200618 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=1MJwtjnSozcDYpnLZs9rWfOmBAurwZU/5UszGVVbHtU=; b=WrfHfUt+7GD2i73rfx/e1He2JQckiYIfI2kSYsUzQtTqXWA0S3Qg2lAWu9YA75VEE3/CJ8FekrqSGisyUwinVQ2UoLObzsav+1XscKb1jCipR3AULtKbUURY9HXFtuGVR5TnlSeZaDk1mZoj+uQFref481oHLYUG6m4YbuCmW3c=; X-UUID: 5971061ac49e4891af81536e92a18e19-20200618 Received: from mtkexhb02.mediatek.inc [(172.21.101.103)] by mailgw01.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.10 Build 0809 with TLS) with ESMTP id 1506349876; Thu, 18 Jun 2020 12:41:57 +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.1497.2; Thu, 18 Jun 2020 12:41:54 +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.1497.2 via Frontend Transport; Thu, 18 Jun 2020 12:41:53 +0800 From: Ryder Lee To: Felix Fietkau , Lorenzo Bianconi , Sean Wang CC: Shayne Chen , , , Ryder Lee Subject: [PATCH] mt76: mt7615: add .set_tsf callback Date: Thu, 18 Jun 2020 12:41:48 +0800 Message-ID: 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 SXQgaXMgdXNlZnVsIGZvciBJQlNTIE1lc2ggdG8gYWRqdXN0IHRfY2xvY2tkcmlmdC4NCg0KU2ln bmVkLW9mZi1ieTogUnlkZXIgTGVlIDxyeWRlci5sZWVAbWVkaWF0ZWsuY29tPg0KLS0tDQogLi4u L25ldC93aXJlbGVzcy9tZWRpYXRlay9tdDc2L210NzYxNS9tYWluLmMgIHwgMjEgKysrKysrKysr KysrKysrKysrKw0KIC4uLi9uZXQvd2lyZWxlc3MvbWVkaWF0ZWsvbXQ3Ni9tdDc2MTUvcmVncy5o ICB8ICAxICsNCiAyIGZpbGVzIG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