Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp1040708ybb; Fri, 10 Apr 2020 15:52:41 -0700 (PDT) X-Google-Smtp-Source: APiQypKztTNlZz1sjvz6B1IrTzcjcULfCk1FGCSq5ovlEvsOSYn4jTdxH5AsoL/wsrZjIi6zUuXm X-Received: by 2002:ac8:73c7:: with SMTP id v7mr1385500qtp.383.1586559161799; Fri, 10 Apr 2020 15:52:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586559161; cv=none; d=google.com; s=arc-20160816; b=agv+cKcXZB6uzA3R8ZGXoMgWipFoH9df9Z047R7N2M1Zu0P78GM4VO0H2GqUmPP/op ejABxeUG6TsCtQKtlF6FCah6hLx6eFkCNoBQLPsibPR4mRODYHNZAYXFCHIz2168wAgC comeSar8Pbhs+QCf4qWiyvkgGqa02wevBb65k/MEtkyQ74AJ67nlIS3SBQvCvWtt9K08 lGUNSC1oU0EKseAWY0RPmx0uJXJ+DnB+XhjWTjpLlmGojmfu4nANVABykUgKW040XWjd MWcAsUUUynBxMKRYP3JuoLmfxhjQZKr7Ukg6gjQF8VP+V8KExU9b/HG8uJbLFB9Lf+iV jsqQ== 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=oObplImmavcTva7D2A2N6IVXbjIf17SETkg9WgxQcH4=; b=IgRxJZN40yRT022OEZoNENJevh1PoWmx1FaEct5PxO1k5Aqw12cj+4ZJj422UFhGdU 88ifaFLkjrivKCxd6FABJRTQX83TVDJUdR24BrOmMN2d3TyFPs8s3xW0/TU6ZJ7duLpW 7ZyR0lOtdK07KTCtuspwvaFdNOMgSB8fENz33mtdTQeXqw5qApm4vbd7+rJQJI9EvTJ+ 6jeJe6dsbl7Sls+++Rz2zLWWVcsYPAtg3p6PJFiIP4Py0TSn5OCl6sTxyrmay1clKt2H eQ2g+hwHXZo3UPI8KJyVAUwoqQBilk/AxZgzzv/GKXMjj44erh8JP1zVD6nyvp5qlViA HAfg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=hry5VUaE; 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 d32si1777328qve.13.2020.04.10.15.52.10; Fri, 10 Apr 2020 15:52:41 -0700 (PDT) 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=hry5VUaE; 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 S1726715AbgDJWvx (ORCPT + 99 others); Fri, 10 Apr 2020 18:51:53 -0400 Received: from mailgw02.mediatek.com ([210.61.82.184]:57795 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726687AbgDJWvw (ORCPT ); Fri, 10 Apr 2020 18:51:52 -0400 X-UUID: 790f1598c1ad4382be1ac5765eb7e6ee-20200411 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=oObplImmavcTva7D2A2N6IVXbjIf17SETkg9WgxQcH4=; b=hry5VUaETiujfcd7/0SVYV04vgjJb5+N5GvQfVTbDChxR4uVzhZ4WyrJNpQI+LRZQ5rbmmRuE9VYZ9JCTuJMsG9CgH9UI6Ksba4ryiCzoWQhbytQ40HBCXrGtHZQVvU8lZXE9MSQtzNDdwhc/5CPfeS9j0aZqR7z7n8oGSpk96A=; X-UUID: 790f1598c1ad4382be1ac5765eb7e6ee-20200411 Received: from mtkcas11.mediatek.inc [(172.21.101.40)] by mailgw02.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.10 Build 0809 with TLS) with ESMTP id 2078917484; Sat, 11 Apr 2020 06:51:46 +0800 Received: from MTKCAS06.mediatek.inc (172.21.101.30) by mtkmbs08n1.mediatek.inc (172.21.101.55) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Sat, 11 Apr 2020 06:51:34 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by MTKCAS06.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Sat, 11 Apr 2020 06:51:33 +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 v1 02/16] mt76: add support for HE RX rate reporting Date: Sat, 11 Apr 2020 06:51:17 +0800 Message-ID: <4c05d871befdad461c56d090ddf06bbd3954ef35.1586558901.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 QWRkIHN1cHBvcnQgZm9yIGVuY29kaW5nIGFuZCByZXBvcnRpbmcgSEUgUlggcmF0ZXMuDQoNClNp Z25lZC1vZmYtYnk6IFJ5ZGVyIExlZSA8cnlkZXIubGVlQG1lZGlhdGVrLmNvbT4NCi0tLQ0KIGRy aXZlcnMvbmV0L3dpcmVsZXNzL21lZGlh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