Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp1152626pxu; Thu, 8 Oct 2020 04:52:47 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwHVYdXppxmhcAQW3XkDRWcB4spsuatt44TzlhHwE9e504lFC7jOLjpeiewuWAxvHZOFTTb X-Received: by 2002:a17:906:4306:: with SMTP id j6mr8666895ejm.523.1602157967311; Thu, 08 Oct 2020 04:52:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1602157967; cv=none; d=google.com; s=arc-20160816; b=O1lmmkZpteW5usfrImaU1di760vQei8tJitOWjVpP/2oLFlTW9TdZj+dISKqqT0hxg v1GWqbg/UsTjADe594zwV6re5b5fush1vcZtAPMI3C14868O1/KETGNE9oHIrxmjRvOq vQwFR6XD1dCLv62DdkZvS4OeFN9rux5zHH02yDruEmZiFgVHOAGTHKXWYccnakf90ndn WoHyi1n3VNWgzGx2Z+Vgu8qwRLFygXCqHX9g+Z5dA8rhzqLZc3MN8JI395FOYBCBBR0T ZGQttHgm3YPMhkJ6AYKTYu786DptxkS6XJS5Zbthxf28aJMXRWc75UEPqxAbtootw6Oz tMhQ== 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=Jr3PpmPxf4YpQ1WSV2Kg/UqnZIP4x9uYIzuLKETeUII=; b=Ohkr7G29aBGpLUCEMiOsQ5Tj5gGEK4SCjMH/ZMLTIGkhemnFB3MRGGHALJ3tkm9kRF pZSj3nZ5lZHhqG3aCoG0cTmVU8+rQ7YDEvBegAH6S/QJBYiMFeHwxLUf5xzf7RLh6Z8E VtEVKAkxZJBzsjKLneIhEFVnn079LZFq2Sfad0NkGi76ZRC9tLIPxRUyaaKsSKzWCkH8 M8g0StnrcG/VMxM4tn/zZdPnueoBNm0DmxXzV1YDDxUfYdJcZsA2FBtmaCp0FqsXvWje 3uwm9KWJ4A/OmYucTDs45KeO+tz1U3cGINfcWbZhRZamhd3o+UGw5UFB0NiRCQS1wVLO LdDQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=SvekufCM; 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 l25si3555488ejx.603.2020.10.08.04.52.20; Thu, 08 Oct 2020 04:52: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=SvekufCM; 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 S1729414AbgJHLdT (ORCPT + 99 others); Thu, 8 Oct 2020 07:33:19 -0400 Received: from mailgw02.mediatek.com ([210.61.82.184]:47486 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1725900AbgJHLdS (ORCPT ); Thu, 8 Oct 2020 07:33:18 -0400 X-UUID: ca9769ddad064591a823f5ab43e20cad-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=Jr3PpmPxf4YpQ1WSV2Kg/UqnZIP4x9uYIzuLKETeUII=; b=SvekufCMaDF1iM0bYpExgpMV98SY+68bMJa0KRxnRL6FsA47S4RtYH9q1Yl/oyyFhAFzqpjYYTETPeXxAJkd9ahquPqJ4eimfltkvuKXHMDdGosTlNc5k+MLaI+Uu5DL6MbnfXUCQdXYYR6TBtBb4B4+OjwCjAQJdFkvN5YVwHo=; X-UUID: ca9769ddad064591a823f5ab43e20cad-20201008 Received: from mtkexhb01.mediatek.inc [(172.21.101.102)] 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 1925553963; Thu, 08 Oct 2020 19:33:16 +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; Thu, 8 Oct 2020 19:33:14 +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 06/10] mt76: testmode: add support for HE rate modes Date: Thu, 8 Oct 2020 19:29:00 +0800 Message-ID: <20201008112904.10620-6-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-MTK: N Content-Transfer-Encoding: base64 Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org RXh0ZW5kIGVudW0gbXQ3Nl90ZXN0bW9kZV90eF9tb2RlIHRvIHN1cHBvcnQgdmFyaW91cyBIRSBy YXRlIG1vZGVzLg0KDQpTaWduZWQtb2ZmLWJ5OiBTaGF5bmUgQ2hlbiA8c2hheW5lLmNoZW5AbWVk aWF0ZWsuY29tPg0KUmV2aWV3ZW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