Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp3714419pxu; Sun, 11 Oct 2020 21:40:21 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzY7rOKYTZrbxsO6K+KRCNq5+CPAsPhPikBhfvOjwamPg2GFgKDrl+Q1ZLAihRHBXUVwuok X-Received: by 2002:a17:906:5e49:: with SMTP id b9mr25965677eju.436.1602477620728; Sun, 11 Oct 2020 21:40:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1602477620; cv=none; d=google.com; s=arc-20160816; b=pWtafS0DB1tDfwF/EnAVZgZZfnEgJyIHT5Fso6nS2rh0lrnzndk+FYTvYKCnBBCbOO iOXqUjWLcXJsbRTYe4MauX+21+TV/wTli2ygCmOf2XHzhRjYk1bEelkQEKDzB/3CaCUO C1Hxv0YQnyETGkJR9HhcBHtCugM1LAmbVpeoVAl5QNc5Q9UL/roOCYhq0wd3msN0v9Ir tTmpq4cxUJgjQ2q+ROKpctcBF152O5RxlYYFZ0xyr5s3Nscm1LPRPI3KtuqhaEETANip wbzY+RiGoYNudIGVNG/A/7w69o0MRXPq9nHXCQr+txyJEXI2ufYinfwdDNquo5lPr8cb w9Zw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=1C3zflfx2s+KzWYaoiZsMJZCys0IJqzAQ1/HIbiKSH4=; b=MBdGfPycR1JAzOYnoltf8GsNEJ9jOI7BwhNfNptVwzFqUXHAF9WahnyQLDMKExe3yU Mmg01tC2tCb1TVve2jQmtaD7thnODxZxif/JK0d3hL3yYuQnywBzz4OoXY/SpeaO8ik/ 6ACyE6Z8bBDA1EzxcmV4cx+9BDLo0WUIq6K5hb1QvQORWvXMBcwlBAVszyxRiSGs8zfl O5jrqunHvyWtn/hiMhUQf6gPmvEZp+uemU5uSOTJYAJsIKvqx60+kAZE5tB+RngqqJgh +ib2t8PHsNeHEraaimBm2t4hGUR14U30Wmt5M5LP6TadrnzRzFvUL+Jhe4TOUSv5ZVWU dTTQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=LrtCxUQo; 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 o9si12346463edj.182.2020.10.11.21.39.41; Sun, 11 Oct 2020 21:40:20 -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=LrtCxUQo; 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 S1727167AbgJLD0e (ORCPT + 99 others); Sun, 11 Oct 2020 23:26:34 -0400 Received: from mailgw02.mediatek.com ([210.61.82.184]:54570 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726371AbgJLD0e (ORCPT ); Sun, 11 Oct 2020 23:26:34 -0400 X-UUID: a1155154aa1a4a69bc7abeb4487fc605-20201012 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=1C3zflfx2s+KzWYaoiZsMJZCys0IJqzAQ1/HIbiKSH4=; b=LrtCxUQodyQApQ8B+pqUs+z8j7R8XaS5Qcl+nu8JLL7RzUEHMdFOEtOs4eCowg54GKDJ5Nd7j9X63D7O6jgwggijNq/qgETEZprzcL+olovjaDKPVpnOtZ9A58h1ClSJVMx7cTcVxO0JabFq8HarXItrzSVE6QpHAqIaQsFw9A4=; X-UUID: a1155154aa1a4a69bc7abeb4487fc605-20201012 Received: from mtkexhb01.mediatek.inc [(172.21.101.102)] by mailgw02.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.14 Build 0819 with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 560125108; Mon, 12 Oct 2020 11:26:29 +0800 Received: from mtkcas08.mediatek.inc (172.21.101.126) by mtkmbs02n2.mediatek.inc (172.21.101.101) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Mon, 12 Oct 2020 11:26:25 +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.1497.2 via Frontend Transport; Mon, 12 Oct 2020 11:26:25 +0800 From: Shayne Chen To: Felix Fietkau CC: linux-wireless , Lorenzo Bianconi , Ryder Lee , Evelyn Tsai , linux-mediatek , Shayne Chen Subject: [PATCH v2 06/10] mt76: testmode: add support for HE rate modes Date: Mon, 12 Oct 2020 11:25:34 +0800 Message-ID: <20201012032538.21314-6-shayne.chen@mediatek.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20201012032538.21314-1-shayne.chen@mediatek.com> References: <20201012032538.21314-1-shayne.chen@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain X-TM-SNTS-SMTP: 09CC6FF2875DF2C761E7C19B27DC23A6E7DAC8E7C99941BBD19E3BBBE80905B82000:8 X-MTK: N Content-Transfer-Encoding: base64 Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org RXh0ZW5kIGVudW0gbXQ3Nl90ZXN0bW9kZV90eF9tb2RlIHRvIHN1cHBvcnQgdmFyaW91cyBIRSBy YXRlIG1vZGVzLg0KDQpSZXZp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