From patchwork Sun Jun 14 18:27:43 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ryder Lee X-Patchwork-Id: 11603407 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id BA621912 for ; Sun, 14 Jun 2020 18:37:57 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 918FF206B7 for ; Sun, 14 Jun 2020 18:37:57 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="nBCht6rs"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=mediatek.com header.i=@mediatek.com header.b="DB5uIEK/" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 918FF206B7 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=mediatek.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-mediatek-bounces+patchwork-linux-mediatek=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:To :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=pRf90cn+MxHN1md/i4vDBh9mp0JZDu2NVXKwX5i/V1w=; b=nBCht6rsHANd+l nhXtqw+XhCecVc8n3VjaK9vS18Zv3U4s0lBqmnAy/thO2pmHnmjqRqIT+0zMThqo+xUXKxgJ3XrQW JVFxq7TqGIpd8gYYskT7F9GcK/nMlHbeT+zurOm5WGpeMGsXbdH8J3pDYm0Nr9pairrfHTNAyRfNv 70qgZw1+wKswukNzNtVvUJDm36edGRVTVvZwYHHhwsVMqPtxuJYLHcIa+WB6qFAN2zOnGn6UqqDKr U50IQxsHX4G2Gc/2rETx45HRzjS4NBHLg7wAoXYD356Fh1o2p7heqQ0GJ+u7wAqn0V6xwpP86vC4H l/6qFiK8iiLxmWHgUJIg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jkXW0-0004sb-EN; Sun, 14 Jun 2020 18:37:56 +0000 Received: from mailgw01.mediatek.com ([216.200.240.184]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jkXVx-0004sA-VG for linux-mediatek@lists.infradead.org; Sun, 14 Jun 2020 18:37:55 +0000 X-UUID: 865763a2e7e042a1b9762a0f665cd2a0-20200614 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:Message-ID:Date:Subject:CC:To:From; bh=BJmFZxpc5gJCz9bp1c2mprgDExNZVkRketLDbjwuhBA=; b=DB5uIEK/BdCnCXAZwofRYD6R9QJUrE6LX+j7JliI8NpJV25I2MVOapQ1340UTdEkflXlSgiHacfYL0HAAh3TgwUZmAu4vVXmRYjur9ZxJL+lSGCpmgulD29ZaOqK0wbyvemqboztmbwVk5CSl6WVHR7annfS5JLTHiNIk02GJsY=; X-UUID: 865763a2e7e042a1b9762a0f665cd2a0-20200614 Received: from mtkcas66.mediatek.inc [(172.29.193.44)] by mailgw01.mediatek.com (envelope-from ) (musrelay.mediatek.com ESMTP with TLS) with ESMTP id 2051720676; Sun, 14 Jun 2020 10:37:34 -0800 Received: from mtkmbs08n2.mediatek.inc (172.21.101.56) by MTKMBS62DR.mediatek.inc (172.29.94.18) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Sun, 14 Jun 2020 11:27:45 -0700 Received: from mtkcas07.mediatek.inc (172.21.101.84) by mtkmbs08n2.mediatek.inc (172.21.101.56) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Mon, 15 Jun 2020 02:27:43 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by mtkcas07.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Mon, 15 Jun 2020 02:27:45 +0800 From: Ryder Lee To: Felix Fietkau , Lorenzo Bianconi Subject: [PATCH v3 0/4] mt7915: add MU-MIMO support Date: Mon, 15 Jun 2020 02:27:43 +0800 Message-ID: X-Mailer: git-send-email 2.18.0 MIME-Version: 1.0 X-TM-SNTS-SMTP: 51BD0B510CE7B4BDB95B28DDD489A5BBB0D09640FBCC167C46E2AB553BF6D0ED2000:8 X-MTK: N X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200614_113754_010204_20267D9F X-CRM114-Status: UNSURE ( 4.53 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on bombadil.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 MIME_BASE64_TEXT RAW: Message text disguised using base64 encoding -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain 0.0 UNPARSEABLE_RELAY Informational: message has unparseable relay lines X-BeenThere: linux-mediatek@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-mediatek@lists.infradead.org, Sean Wang , linux-wireless@vger.kernel.org, Ryder Lee , Shayne Chen Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+patchwork-linux-mediatek=patchwork.kernel.org@lists.infradead.org This series adds MU-MIMO support. changes since v3: - add patch 1/4 to avoid open coded and fix a wrong WMM parameter assignment. - cleanup unused sta_rec_mu_edca_tlv. - fix a wrong enum number "MT_LMAC_BMC0 = 0x10", changes since v2: - move CONFIG_MAC80211_DEBUGFS fixup into patch 1/3 Ryder Lee (4): mt76: mt7915: add missing CONFIG_MAC80211_DEBUGFS mt76: mt7915: add a fixed AC queue mapping mt76: mt7915: add MU-MIMO support mt76: mt7915: use ieee80211_tx_queue_params to avoid open coded .../wireless/mediatek/mt76/mt7915/debugfs.c | 11 ++- .../net/wireless/mediatek/mt76/mt7915/mac.c | 2 +- .../net/wireless/mediatek/mt76/mt7915/mac.h | 10 -- .../net/wireless/mediatek/mt76/mt7915/main.c | 7 +- .../net/wireless/mediatek/mt76/mt7915/mcu.c | 91 ++++++++++++++++--- .../net/wireless/mediatek/mt76/mt7915/mcu.h | 6 +- .../wireless/mediatek/mt76/mt7915/mt7915.h | 34 +++++-- .../net/wireless/mediatek/mt76/mt7915/regs.h | 5 + 8 files changed, 127 insertions(+), 39 deletions(-)