Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp175962ybz; Wed, 15 Apr 2020 06:43:43 -0700 (PDT) X-Google-Smtp-Source: APiQypJTwnmnDpKahV8rhFDYDOskELT5YSfXmVUUm900S9l+zxjkWQu4jdsPrbI5cMXqOUtrr7nX X-Received: by 2002:a50:d308:: with SMTP id g8mr24869799edh.88.1586958223325; Wed, 15 Apr 2020 06:43:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586958223; cv=none; d=google.com; s=arc-20160816; b=jEV7OEzZJx/tf9YJSKrYv80H6bEpbALLl1k/RHSfSwILN5frKNMw/UZICMBdkswuhm Zmjn+Ebegv+TlaaQcG33kgcTED6ydKmpBDnNJdfvpLrRZS7mfniDarxTCqq3Ky3VC6sW APjoEwAczCQUQVBMAUKs7Qf0oYyw+NBFVDZP+SjHNItCinbuTKiBb8bvaWqCQzPsKruW M328fTPFXM7WgpYs6IObi5aOwrfwO90XfKumPh/165sySKigdlUvhhT53nuSosLzig28 AnL9nqcQc+TVkji5aLOSNxv3UaukfTteukuevWmc8MPfxMJ3EQ/KQbo9D+Fcxs3LSz9k GGCw== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=mSGpAGM49/jBq7DcTtS4TX909nmcMPSQojWT8RF6fPI=; b=GtczWEALvgwE0gCX0cn/0ajECYgVd2BZhzQbRsq05KHhufvyp5RJ3RG2CbC7zCScum xTx7wyIVFAh1hBejVPaFLZ7T15+6iv92W5GVCO8/J6DiXE3wIdXPwX+rvXatVxMXOorB ybRs1psN7BShnxfgTalpPLPl/uivq7VIwDmtSaWB75Ptl+1rldzSYytBd3KyeEpV8Q8Q 46UEue/XXMn7UFbYHoJ+W5GOQfYoH4LJV5jxYTMfhkQghDB3adPdB7lERy7mLJMtVAiS nuQn3wtW1Vg9Kv0URlIcywAMXJ3I+NLx2UrqIkvo766HulUHZsKNlpKo7sOx1YXIHLZS AN7A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b="iTr4VM/l"; spf=pass (google.com: best guess record for 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 i17si1156567edu.511.2020.04.15.06.43.15; Wed, 15 Apr 2020 06:43:43 -0700 (PDT) Received-SPF: pass (google.com: best guess record for 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="iTr4VM/l"; spf=pass (google.com: best guess record for 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 S2633595AbgDNVCr (ORCPT + 99 others); Tue, 14 Apr 2020 17:02:47 -0400 Received: from mailgw01.mediatek.com ([210.61.82.183]:3408 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S2633570AbgDNVBy (ORCPT ); Tue, 14 Apr 2020 17:01:54 -0400 X-UUID: 37fc1b7080d240e686f5869c9944791b-20200415 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:References:In-Reply-To:Message-ID:Date:Subject:CC:To:From; bh=mSGpAGM49/jBq7DcTtS4TX909nmcMPSQojWT8RF6fPI=; b=iTr4VM/lG11MI6TpDq+yFnOsUwDQ1hYA8S1h1wrYuRozrwEqF3XqfuK3zSNROHMZATobQ81FZ1e3pJ6iBADHJjydK/aVaGqGWiiMvtrIJa3u21xYksQ35AU/voAFZe2JhGLBMR2/VRISANC5BBrSpBAT6QKzuFK9jy3ZIR63o1o=; X-UUID: 37fc1b7080d240e686f5869c9944791b-20200415 Received: from mtkexhb01.mediatek.inc [(172.21.101.102)] by mailgw01.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.10 Build 0809 with TLS) with ESMTP id 1846290569; Wed, 15 Apr 2020 05:01:35 +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; Wed, 15 Apr 2020 05:01:33 +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; Wed, 15 Apr 2020 05:01:32 +0800 From: Ryder Lee To: Felix Fietkau , Lorenzo Bianconi CC: Shayne Chen , YF Luo , Yiwei Chung , Chih-Min Chen , Evelyn Tsai , Sean Wang , , , Ryder Lee Subject: [PATCH v2 12/18] mt76: mt7915: add Rx radiotap header support Date: Wed, 15 Apr 2020 05:01:10 +0800 Message-ID: <6234fc31b88a3e58b255b776748bf9fff9f46cae.1586895593.git.ryder.lee@mediatek.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: References: 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 bWFjODAyMTEgZXhwZWN0cyB0aGUgZGVmaW5pdGlvbiBvZiB3aGF0IEhFIHJhdGUgaW5mbyBpcyBh dmFpbGFibGUNCmluc2lkZSBhc3RydWN0IHByZXBlbmRlZCB0byB0aGUgc2tiLg0KDQpTaWduZWQt b2ZmLWJ5OiBSeWRlciBMZWUgPHJ5ZGVyLmxlZUBtZWRpYXRlay5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