Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp3979904pxu; Mon, 12 Oct 2020 06:32:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzEk09mLLaJ6UMtguBKEDXCChWtxLYahVrIW/XeY2iRYnyvtSn3mYwM9QOYA0FRRR5h0yaP X-Received: by 2002:a17:906:e116:: with SMTP id gj22mr29261799ejb.313.1602509565256; Mon, 12 Oct 2020 06:32:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1602509565; cv=none; d=google.com; s=arc-20160816; b=h9KCK8zrsetwMNUfnYTNdIstIUaaqr6rhKQ8LpuZIBuUt54ElvzpuuFNYrzmGkGIve wgGwaEyEMAN9KzTAyvxA4GKkdlXseguAGA8zeEVL+4cbjoiXdB4Cw28H+bqHah60ZnBQ 9D5gW3DbYfw1clfwB5i7s/BqsAXH3HYw/DY9KxA6qYXjJYIu7HHabQJKnmR+NrkFpCgk iOyY5PkDkeNTrNzvhyKEldNK2pcVrPM8e/HKTqF78UsTZYYBRX4NNSDNdSkfVfvO29Wz +3w/JrCKi0BK92hAtJGxNfxQYpKFusBheH5fPkZOKU3ECI1LTTT1kJV6ss4qysQXpWCO FK7Q== 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=1C3zflfx2s+KzWYaoiZsMJZCys0IJqzAQ1/HIbiKSH4=; b=QuSEu4Co+y+6NxLEeXyQdWTssmaVdAdBQ3n9i6pu0ZwSLurAm14QLmWMUat/kqlkvj HOGrrXNweEK9Bn7AnTpbX9ydrrJoMaY5jX7Z71ENoQH1iS0YSJYhyiZ4ICNTe8zdLaPB mMEyPXYfP4JAwj9CgbH9rCyvPUONMzdKu629jlJ+SPf6XFf68QyBL27NOzRsYnwICh64 4og49HZfK2ax/yGzfDfim1PjGzAZSevTr0zc4AD86qmonlbUyiM8BJB/H+UrCJaJOwrx miKAMdJwUR6D0lKZCarpRFyTUy5FmKhmDg+Fyg1bkXchP46NVY5nwr8Aok6auRFe2JNW HjsA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=nrwVA56P; 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 b24si8291371edt.22.2020.10.12.06.32.20; Mon, 12 Oct 2020 06:32:45 -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=nrwVA56P; 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 S1730275AbgJLM4Z (ORCPT + 99 others); Mon, 12 Oct 2020 08:56:25 -0400 Received: from mailgw01.mediatek.com ([210.61.82.183]:53174 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1730208AbgJLM4L (ORCPT ); Mon, 12 Oct 2020 08:56:11 -0400 X-UUID: e1f391d727cc4484a3c6f1dccbedb75c-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=1C3zflfx2s+KzWYaoiZsMJZCys0IJqzAQ1/HIbiKSH4=; b=nrwVA56PKRW/3Lm7az6+09ziwK/flcBJNV8WskDtHFLmUAHHIDJSVqWukFbRiZfWVgoV6JsYpwRPNAaLvoWx+yxnOjW+Rf7VYjI/HgH/99/EesQrNLN16psDlx6UXWA+ubtGHy1vRJSXoCwjmSNvunal35hnOpCXGt4McJnI9Mk=; X-UUID: e1f391d727cc4484a3c6f1dccbedb75c-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 865597481; 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:56 +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:56 +0800 From: Shayne Chen To: Felix Fietkau CC: linux-wireless , Lorenzo Bianconi , Ryder Lee , Evelyn Tsai , linux-mediatek , Shayne Chen Subject: [PATCH v3 06/10] mt76: testmode: add support for HE rate modes Date: Mon, 12 Oct 2020 20:53:59 +0800 Message-ID: <20201012125403.8608-6-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 RXh0ZW5kIGVudW0gbXQ3Nl90ZXN0bW9kZV90eF9tb2RlIHRvIHN1cHBvcnQgdmFyaW91cyBIRSBy YXRlIG1vZGVzLg0KDQpSZXZpZXdlZC1ieTogUnlkZXIgTGVlIDxyeWRlci5sZWVAbWVkaWF0ZWsu Y29tPg0KU2lnbmVkL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