Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp3714576pxu; Sun, 11 Oct 2020 21:40:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx/wYtKy6u+n0EXvCSxROy3bM2KQ7Ta4fwo/m9xXaW+5NpeJMaMnAjTj4CQB3jP8F/HGQBu X-Received: by 2002:a50:a452:: with SMTP id v18mr11874356edb.143.1602477647786; Sun, 11 Oct 2020 21:40:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1602477647; cv=none; d=google.com; s=arc-20160816; b=ez/2GMDkZvoinO8RNAb0uUbHUT3ffCAq7VRvJi/OHf0rBZ1zhrNxq8k9hdmgmSsri8 47BrloarzxOteHHbFK5qhEXtNMCPS6Z0VkuwSvXObyb2s54Mq33S2KIqB4GOtfxUfJqB pwhqcM+m7PTAFBVug+8KO4KoJo9pOMrnfur1Mq+eDRkmvG9Mx0AOayETeESfe5X9rCnt 9COI08EhJ/6hqkPZuWEtEjPxDEiM6CcVccfZt2RIxnrrancXej7kcKtVi6Kw1A6up0kA /Q6Kwf3g4zNm5IHnvdKoSNrWdJ9dXPVglY8jFbR0MDAv7P6o4WDxM7CbDlB6ktjUBNFq MQ+Q== 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=qecDgwq7YOsnxkF3T1NRIYX5PYBamH5VlKjTlQTAni4=; b=ONr6UU11PcYOMI9rNNQLLdsidA/awcdl4Hnt49PcQGGTD4+Edi2jZ9cAQ7crSmeorQ tf5s/OMpmaxD2m4KE4EBdfpa1N6lTnzFKtxBlohCOPwKqMakGvorPg8WB5JiyRYq3jWA ESZisDZ3qRxfghp1HYnmXrQd0HsD9CPougBM2fvbZ461kBaxqNMSjyOUF05WOOg+Mrod OflWdT2/RAVMFEmEOQf6ew5BV5sEy3/cWk5cFEKK2LF0IWQ62RnN66CeZvV/Lf4dMfEX QzuOlfNbUXdNW3Ouy3i4XHZfFxUaLXTZBIdOSo8fLRK6tAORCCBOI5Dndwyqy0ULH5cy WTEw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b="GpVmq/W/"; 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 z14si1995923ejc.750.2020.10.11.21.40.23; Sun, 11 Oct 2020 21:40:47 -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="GpVmq/W/"; 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 S1727164AbgJLD0a (ORCPT + 99 others); Sun, 11 Oct 2020 23:26:30 -0400 Received: from mailgw01.mediatek.com ([210.61.82.183]:56414 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726371AbgJLD03 (ORCPT ); Sun, 11 Oct 2020 23:26:29 -0400 X-UUID: 93240418ad194ec8ae7ddf122d38c73a-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=qecDgwq7YOsnxkF3T1NRIYX5PYBamH5VlKjTlQTAni4=; b=GpVmq/W/v1fFODpnN4p6gg/AazYmm29VTNEntsMt+wn50wWdgYBL2Vg6zmDL7Ve4q6/PNXjTOVlmvxKWfIuLENss2pgjYb/neFXrFa4M2cIXcBQZJxl+UamGTEj8c/F1GTCn0fsHljlnVvtPNDRJ/5OVklLbkGKIrOajXGOfAg8=; X-UUID: 93240418ad194ec8ae7ddf122d38c73a-20201012 Received: from mtkcas07.mediatek.inc [(172.21.101.84)] 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 1651988112; Mon, 12 Oct 2020 11:26:24 +0800 Received: from mtkcas08.mediatek.inc (172.21.101.126) by mtkmbs06n1.mediatek.inc (172.21.101.129) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Mon, 12 Oct 2020 11:26:23 +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:21 +0800 From: Shayne Chen To: Felix Fietkau CC: linux-wireless , Lorenzo Bianconi , Ryder Lee , Evelyn Tsai , linux-mediatek , Shayne Chen Subject: [PATCH v2 04/10] mt76: testmode: add support for LTF and GI combinations for HE mode Date: Mon, 12 Oct 2020 11:25:32 +0800 Message-ID: <20201012032538.21314-4-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-MTK: N Content-Transfer-Encoding: base64 Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org UHJlcGFyZSBmb3Igc2V0dGluZyBkaWZmZXJlbnQgTFRGICgxeCwgMngsIGFuZCA0eCkgYW5kIEdJ ICgwLjh1cywNCjEuNnVzLCAzLjJ1cykgY29tYmluYXRpb25zIGluIEhFIHJhdGUgbW9kZS4NCg0K UmV2aWV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