Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp3979895pxu; Mon, 12 Oct 2020 06:32:44 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxApp91PZPiSh4bCLmcJX5Z2KuRDzoMfG+nVD7n0HaiqRmMCZoexQtvHb6e9Zv4T3TraWWZ X-Received: by 2002:a17:906:7254:: with SMTP id n20mr26850822ejk.382.1602509564249; Mon, 12 Oct 2020 06:32:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1602509564; cv=none; d=google.com; s=arc-20160816; b=FVApqLGeHXEzhpn+rxi8Omzj98tts2aU/aDR+4mfAu+CGaPfrM073CdmGVqPW3CYct UPq32AJ743c3ory6qoeD5IHavyVt2/oZyRyxqCVwF2TONdsuZt7sT2f3VibwgyNPI0Ys Xa9HkdxjOOgRKgB//KdzZRGLXowmtViQPVYHFAp6rzpM1NaFvfowvDtR9GjY7j8Jvr2k 1FZEpC3JgmWRiUPaN/CK+FNiUddX8gYPIS2OypHTZTOGNi76shDMLjY73sVzU/FSlqxj NytlkssLFGPY8m3uds+sM4YsqKPgA3g513+OH81RXxpKUA+d1tRL1IG1UI6b/J1/5cBv ChYQ== 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=c6MfdgOjL0OQqPfKlvztVpo+fBLwtuEqIS8QJka5W/caCF/DD6/xlHVXjtsPmmP5rd CDBOrA+o3GGEu3zA0nuU32Qw2AeGLeAbJljUQcDCljLu2tfnrGy38YsDkZhVDwcJVdG+ S6ZzP81iC8+PtR8JcXNGmTTRa16RdV/I566SOduTRBXVM1JepGAdh8c4hXET1d4ncCYs hQtQfU9I6A65M63U0BZB2Q7ZJCUmshd3c8uNMwJdiHoeoVELgLr2tZCRv/icBz2ik3CP g1t7CtPStJApo5MDKb7FUhlRR2CheR/Cm1K67a5uMhuzqNZzK9koq1EPTJvsq3hzuUNt ZM/w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=DYfrKXdR; 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 o21si12121007ejr.500.2020.10.12.06.32.19; Mon, 12 Oct 2020 06:32:44 -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=DYfrKXdR; 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 S1729214AbgJLM4Y (ORCPT + 99 others); Mon, 12 Oct 2020 08:56:24 -0400 Received: from mailgw01.mediatek.com ([210.61.82.183]:53196 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1730210AbgJLM4M (ORCPT ); Mon, 12 Oct 2020 08:56:12 -0400 X-UUID: 77f1a41c0030438c816350baa9cc25f9-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=DYfrKXdRu0XoWrLIJUKrM+OyryKLKx6t5NU4U72zi/d2lVCJeXhJt0VZEFyT6UAxQ0bwtinmqsI+BZxVzS73qHNQYL1zCuKdmrpkep0ur8UjtC+OsrLspokXB0iEO9XgdzGwcGui4DyEpQanPVliyzm8rrglJ4LGpjVrtQL9gcc=; X-UUID: 77f1a41c0030438c816350baa9cc25f9-20201012 Received: from mtkexhb02.mediatek.inc [(172.21.101.103)] 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 1281218485; Mon, 12 Oct 2020 20:55:58 +0800 Received: from mtkcas08.mediatek.inc (172.21.101.126) by mtkmbs02n1.mediatek.inc (172.21.101.77) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Mon, 12 Oct 2020 20:55:55 +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 20:55:55 +0800 From: Shayne Chen To: Felix Fietkau CC: linux-wireless , Lorenzo Bianconi , Ryder Lee , Evelyn Tsai , linux-mediatek , Shayne Chen Subject: [PATCH v3 04/10] mt76: testmode: add support for LTF and GI combinations for HE mode Date: Mon, 12 Oct 2020 20:53:57 +0800 Message-ID: <20201012125403.8608-4-shayne.chen@mediatek.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20201012125403.8608-1-shayne.chen@mediatek.com> References: <20201012125403.8608-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 UmV2aWV3ZWQtYnk6IFJ5ZGVyI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