Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp177630ybz; Wed, 15 Apr 2020 06:45:35 -0700 (PDT) X-Google-Smtp-Source: APiQypLOcF9RORoGZ6u7vrNjWBYOGiVDnNnxtfrwVf128h9SQ1rZUqkWTsta4VkVw25JW7aKOqvK X-Received: by 2002:a50:d718:: with SMTP id t24mr23571646edi.171.1586958334961; Wed, 15 Apr 2020 06:45:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586958334; cv=none; d=google.com; s=arc-20160816; b=nxEJYxZ+Obd9Z/I7gU2D50+RIVOANJ4jclTMJJpCQpYo5heViIKWW+vOVmSWFjs8lX Eojy1/1CL/xIEXWpLyEN9joU9ufwg/PxqIeWM+fi3/8bpOL5t7ExBa/69o73CcwW/wAM 5fy8kfUyiPIc+hPC95kOdp7z9zVKHSHHDhTpTyGVtWxvxud41oyHyE3J2akKRozR0vfW fBMhCbEI/Ak5+72NbV6G8TmwdQO8MtyL9fbIA+gj4G7Y7Ab9Pht7uqm7xuIFjh7De2v/ nTPHA36KXZXJ79rLiMKJoFTZjmfac9y1OvsEwEbNhdifBspxZS+C1vOaOsicPPdlx2Pu AHUQ== 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=DazsjGBiS0D/u0KylrAt15ErhbNL/UmrjwovBIizHYAq7KzdE0xdzwItlh6qc1V8YK oUXbAuwzYAYWegJbaGZiXCG1J27v3ByTi/8/iwjvDyWLM2C7GOeirE5EHRkHw9s6mwuy FID/26Dnm/4iRebFPT0tkhQ4qdWPMr5xT2lMh7TuDvTnBrbUSTBhQaCM+D4zGaGUA5Ft E2DBwPgcoVL3Q5Pk8Brgrfb9OvEAGOHPk2fJNSAK2s9wrnfnche5K5S9AC6b4BGjCyct zG5vBNTOxIIrr3MmYxudhN2pl4qK/DCB0UvVz9qrYVBXgTQLE8mly00l5shLQyN3IKBJ gAjA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=mEuYxw7v; 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 h62si11227137edd.413.2020.04.15.06.45.10; Wed, 15 Apr 2020 06:45:34 -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=mEuYxw7v; 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 S2633562AbgDNVBm (ORCPT + 99 others); Tue, 14 Apr 2020 17:01:42 -0400 Received: from mailgw02.mediatek.com ([210.61.82.184]:16032 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S2633557AbgDNVB1 (ORCPT ); Tue, 14 Apr 2020 17:01:27 -0400 X-UUID: 49c47fb9103f456abd2c040eb1d84027-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=oObplImmavcTva7D2A2N6IVXbjIf17SETkg9WgxQcH4=; b=mEuYxw7vTErWNdf3ConxmpCXJfQotBIloRofY8EOd5wxQsdk54myc0Xp/hPK9xYKvtKrURywRP4IW7rSK+ivv5AOW4hpITqqU4dvienHJEKrNIXrvGWk0rVVKk7o8wEfkrak6pARlxwMuEWiy5a6fXapZl4/XWxSno60+9EbwoM=; X-UUID: 49c47fb9103f456abd2c040eb1d84027-20200415 Received: from mtkexhb01.mediatek.inc [(172.21.101.102)] by mailgw02.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.10 Build 0809 with TLS) with ESMTP id 388822282; Wed, 15 Apr 2020 05:01:21 +0800 Received: from mtkcas07.mediatek.inc (172.21.101.84) by mtkmbs06n1.mediatek.inc (172.21.101.129) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 15 Apr 2020 05:01:19 +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:18 +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 02/18] mt76: add support for HE RX rate reporting Date: Wed, 15 Apr 2020 05:01:00 +0800 Message-ID: <1f9ed54786ea8f7933a1c720d631c1051b53f2cf.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 QWRkIHN1cHBvcnQgZm9yIGVuY29kaW5nIGFuZCByZXBvcnRpbmcgSEUgUlggcmF0ZXMuDQoNClNp Z25lZC1vZmYtYnk6IFJ5ZGVyIExlZSA8cnlkZXIubGVlQG1lZGlhdGVrLmNvbT4NCi0tLQ0KIGRy aXZlcnMvbmV0L3dpcmVsZXNzL21lZGlhdGVrL210N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