Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp1152684pxu; Thu, 8 Oct 2020 04:52:53 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzPTCIHPSDcmH2Uia3TglH5WnCmal8Et/TDh3aGHMzxEXYHx8UmCY8yxQS7LPZQlubqJgai X-Received: by 2002:aa7:d61a:: with SMTP id c26mr8456630edr.303.1602157973601; Thu, 08 Oct 2020 04:52:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1602157973; cv=none; d=google.com; s=arc-20160816; b=PeT5UenbAdhlVi4pHmntPJL+5VHAI8ffyArlW5EVNdOP5xjKyKb5g612INl7mhz+Af cYAIxRdGjdoH+5dZq3g2d3g/O4pZLqpR5ldCVJuzR+zrreGo7D/UiCIW4N/2y4MgP+OI revIko5ZsI4ta/UBNuyKoNCpaOQKl+r0JejOK60/kr17ufX6gv6AsvhYy0ZHjAE3HUGI nDNnLrOV4R5jUQpBDpp+VvJE5YjUbnOLbLuToRabbZaVL+Pgq2VVnmbNhftY6YiZo2Xz /0kbciuV6Uwv3dRQdqS7ep4TMxfAWHVpzQNLe7TjMuQ1gu9B1A3sKMlZYvkCxuaG4Vas Jb9Q== 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=F1jwZyVWjGfteV215egS8IvKIzerZKXvELEJE9I9jpc=; b=BUAZKZ3LWcBBS71PxQyioIwDBdq1X1CkFikMNFoyAdcKdZNhLClpFB1mJINOnCJlOn /tpPtlGbm5PBa+0QH8zBmDqUpvCvo/CARg8z0PJo5S93JJChTviWIXydNZ0gBh3DB7Cg D56i4+21c9vyEuShSPApe7Kl14b8i5uEZ99RnIoMmlyD2CgQkDOYwTXc51towlAwLBQ1 j5bZ5PvIv6/IuEgv/O8nRx4Gn9LXlWJngDGGVhwbaWjT00GDVynQIHf2B51kTwvLUtt1 J2wTcWF/Hphx/hw2ILJerlbYntSohD5OgZjleMNT7qWrMafT6F+iVYpHvzFjk93/5vrI YSMw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=XuFrK3Px; 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 e8si3672236ejj.575.2020.10.08.04.52.28; Thu, 08 Oct 2020 04:52:53 -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=XuFrK3Px; 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 S1729845AbgJHLd0 (ORCPT + 99 others); Thu, 8 Oct 2020 07:33:26 -0400 Received: from mailgw01.mediatek.com ([210.61.82.183]:33957 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1729371AbgJHLdZ (ORCPT ); Thu, 8 Oct 2020 07:33:25 -0400 X-UUID: cfde5cca1149461ba7b6c781a006dbd1-20201008 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=F1jwZyVWjGfteV215egS8IvKIzerZKXvELEJE9I9jpc=; b=XuFrK3PxYppyj/JJEBpyOtAFzk+HNni+7BlgZPGYbemo14LLgKee1/yu8nkSUdvvKAgB9Qh7pRwY/LWAPmrac0CsyiqkGMXP5f8BMl1JcUWYpBjh5dOLiPX0+jkh/dhI0CrD7Sa3cUXvmB5L73pXu0D0AmIMZJWEDLosh41lAbQ=; X-UUID: cfde5cca1149461ba7b6c781a006dbd1-20201008 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 1793352374; Thu, 08 Oct 2020 19:33:16 +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; Thu, 8 Oct 2020 19:33:12 +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, 8 Oct 2020 19:33:13 +0800 From: Shayne Chen To: Felix Fietkau CC: linux-wireless , Lorenzo Bianconi , Ryder Lee , Evelyn Tsai , linux-mediatek , Shayne Chen Subject: [PATCH 04/10] mt76: testmode: add support for LTF and GI combinations for HE mode Date: Thu, 8 Oct 2020 19:28:58 +0800 Message-ID: <20201008112904.10620-4-shayne.chen@mediatek.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20201008112904.10620-1-shayne.chen@mediatek.com> References: <20201008112904.10620-1-shayne.chen@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain X-TM-SNTS-SMTP: C3C0E9B56D9D097B2370C7EFE95DACB02B1E6B9FB76BD7EA8A5BB162E0D965282000:8 X-MTK: N Content-Transfer-Encoding: base64 Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org UHJlcGFyZSBmb3Igc2V0dGluZyBkaWZmZXJlbnQgTFRGICgxeCwgMngsIGFuZCA0eCkgYW5kIEdJ ICgwLjh1cywNCjEuNnVzLCAzLjJ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