Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp5403132pxu; Thu, 22 Oct 2020 01:01:27 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyoKJGQbib3Z1OR5a0YgzDJv2x7OwSL1wmN/1+tHJcMjGlJSdWu99BP9FkuJcVwcIV5BsYa X-Received: by 2002:a50:fb06:: with SMTP id d6mr1121547edq.312.1603353687661; Thu, 22 Oct 2020 01:01:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603353687; cv=none; d=google.com; s=arc-20160816; b=INugU6qQEqrfVNsGRh5kOwXJE8pV9RGvg9FNuxUyN/HoeTy+ESD3uM3n2705vhrWzL L9ltL0NU0KfQATiLx6w5MKFOcKmKvFYxuqoOy4K69U0BvHO49hz3Ch90P3KbElDSvk0L 6IrH0NxhVzEAvHeBYMj8R7lgh2/BfDPD1kkfh9unPOTIQx+YW81EcxzQBoi7Wj89tLs2 jbxoOY52dMXfZFfMWlSpGGuB2UwPWO/f6XdyIp60xgb5zXyB5ockvBVQJ99EhYSZv9h5 VWNPxSy49wJAgIo1TrlnhRi75qxUPytyUbOcrSWntH0dU/Od+39HwwQm3UZxfibc6XEp YCrA== 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=iNIipU0ZxanZPyeSUASXC7eGaaSMbyMfqYUWwlgan0JUa7u5L5dna0hEjwlBx+4oGC kuNWB/kwATq/4iy0f2E3OXjjsMDN8OKWhpbCu+TMxCPXbW1nMYaU7RHk42JR+e4SwTK6 FHHURFhpX3EV6XQYwDdHZMVSSMwCCwhReBFRWYrG0tdtfZaI/fs36C5nhbzkUUDZx6Ev +XjbvRbgLvjNnbHZaXz1VaHa6yQHVloJ1Ay2v3OIQBx26eNtDKFA5rAmE3uNLAZZGUQO MlTKJSPoAyvbh+CKIntKD9evXP/+/LVxtAydKhqRXTr5NRxfS8i7BuUCRdf+YzJxWEv8 t+VQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=QjyjYIZi; 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 v22si498124edd.30.2020.10.22.01.00.54; Thu, 22 Oct 2020 01:01:27 -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=QjyjYIZi; 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 S2895037AbgJVC2o (ORCPT + 99 others); Wed, 21 Oct 2020 22:28:44 -0400 Received: from mailgw02.mediatek.com ([210.61.82.184]:42999 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S2895024AbgJVC2o (ORCPT ); Wed, 21 Oct 2020 22:28:44 -0400 X-UUID: a7a294863bf843d0ad90e6f9866579b8-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=qecDgwq7YOsnxkF3T1NRIYX5PYBamH5VlKjTlQTAni4=; b=QjyjYIZinhgIysPFnTUtFJePbkA6GOiaatQqId/Z3G/7Zzy+fScwuWXeT05R8lqyIc0XN6IZv3xc1GdmYXYbDtbwnsieVMjSacyA4/+A76MmF9GS+QZ1lr17sqQ/d/wJ+xYxqWw0WnFMgjjKNDR9jxBMd0r8zMs1Ceo2id+nGug=; X-UUID: a7a294863bf843d0ad90e6f9866579b8-20201022 Received: from mtkcas10.mediatek.inc [(172.21.101.39)] 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 1149144031; Thu, 22 Oct 2020 10:28:40 +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; Thu, 22 Oct 2020 10:28:38 +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 04/10] mt76: testmode: add support for LTF and GI combinations for HE mode Date: Thu, 22 Oct 2020 10:28:14 +0800 Message-ID: <20201022022820.3077-4-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-MTK: N Content-Transfer-Encoding: base64 Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org UHJlcGFyZSBmb3Igc2V0dGluZyBkaWZmZXJlbnQgTFRGICgxeCwgMngsIGFuZCA0eCkgYW5kIEdJ ICgwLjh1cywNCjEuNnVzLCAzLjJ1cykgY29tYmluYXRpb25zIGluIEhFIHJhdGUgbW9kZS4NCg0K UmV2aWV3ZWQtYnk6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