Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp5403488pxu; Thu, 22 Oct 2020 01:02:02 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz/99itd+kX056JNei51xIP/TIFEujuZvs/dZx7WuaSpDUGljZcsj0Q/LLt9dL8BfD/5ZVE X-Received: by 2002:a1c:9a93:: with SMTP id c141mr1402000wme.168.1603353721821; Thu, 22 Oct 2020 01:02:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603353721; cv=none; d=google.com; s=arc-20160816; b=pUAj+r7IqK3aOnferBoA/HHLJVABE9uHQF4lmgNOSaj9sKxeSBVE1oG2664fLeNJO4 UM7UdPdhYNqLiU9UcwLKyY9jqcAU7M6bAUE431iI5E+W4EPukIC3qNK2YntV+kqJspL3 2rdmlhOFK2EQNxWYZqnMfjO8bC6n9x2UU6VC/Lc9i1A5gOt2DVBk0XIISEcQNjwIC9Wm dP1GU7xzXk2IwCYJk6IewLDQKQwXd1l/xbD3emBNNlTVFYCw53FrfDy4ioHkOEa3SdNL JFV6Pa/Symyuw7YVsLrRmZQkzkhNYj//Kd8DvXeZgNoa1Lps4n3dpQiFcvHxVpZ2s+Ke HdrQ== 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=DIyXeAPZURPA5CDH4ku4jEUx9MkeaF13ZxElyl1iSLRqNCh+RSz1zfcsAkrcGnnj3J B9x6IOyD+bwtAIRI+dfFmpXHKG6teHOIjp8CL/wSrvYiJ76nVC9EbBxF2kpXon1xAOY6 HeXDyfQOe77BcGJ7Y2OrGLP/AVSfEHh+nWZCUva9H7KSFW8UzHVcdl3mOOmm2aTTxYDp oflQQZzOkRMv17oMaETm6iawm7dLPo/e5kn1bVQGlywf7Xybdcdi7R0AjhXvGmJYxRiw 8nS0mVfmIAQ9iVPXWAOp6129OucnByogX7A+7BFDILzFYFJ+ehhRzq/DRhrBurKL56bw H/fg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=KVhdITy+; 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 l90si478001edl.249.2020.10.22.01.01.38; Thu, 22 Oct 2020 01:02:01 -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=KVhdITy+; 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 S2895049AbgJVC2r (ORCPT + 99 others); Wed, 21 Oct 2020 22:28:47 -0400 Received: from mailgw01.mediatek.com ([210.61.82.183]:53853 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S2895024AbgJVC2p (ORCPT ); Wed, 21 Oct 2020 22:28:45 -0400 X-UUID: e0e577315544412fbbe482a786011ef3-20201022 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=KVhdITy+VRuEPG/xu6vdyqttqgbBY7mvoZw3y9Wt2um0NwSJanXxgObv++1qiWq1pN03av2ECOjCTu96fN5lFGHOkYoDTb9G1muOcXaMti7DPJ4tSW7FTa/qCEuYHSiwWjiRjcSvDetUTtB9PUOS3oMY4/8Us6RMNMGG9SjriIU=; X-UUID: e0e577315544412fbbe482a786011ef3-20201022 Received: from mtkcas10.mediatek.inc [(172.21.101.39)] by mailgw01.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 1013835773; Thu, 22 Oct 2020 10:28:41 +0800 Received: from mtkcas08.mediatek.inc (172.21.101.126) by mtkmbs08n2.mediatek.inc (172.21.101.56) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Thu, 22 Oct 2020 10:28:39 +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; Thu, 22 Oct 2020 10:28:39 +0800 From: Shayne Chen To: Felix Fietkau CC: linux-wireless , Lorenzo Bianconi , Ryder Lee , Evelyn Tsai , linux-mediatek , Shayne Chen Subject: [PATCH v4 06/10] mt76: testmode: add support for HE rate modes Date: Thu, 22 Oct 2020 10:28:16 +0800 Message-ID: <20201022022820.3077-6-shayne.chen@mediatek.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20201022022820.3077-1-shayne.chen@mediatek.com> References: <20201022022820.3077-1-shayne.chen@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain X-TM-SNTS-SMTP: C3A55069E0B1027D563AE34F0CF8DCBF0152EB397EC21C2BA2FE6F08BCAA06012000:8 X-MTK: N Content-Transfer-Encoding: base64 Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org RXh0ZW5kIGVudW0gbXQ3Nl90ZXN0bW9kZV90eF9tb2RlIHRvIHN1cHBvcnQgdmFyaW91cyBIRSBy YXRlIG1vZGVzLg0KDQpSZXZpZXdlZC1ieTog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