From patchwork Mon Jan 9 16:57:18 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shayne Chen X-Patchwork-Id: 13093894 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6585EC5479D for ; Mon, 9 Jan 2023 17:06:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237072AbjAIRGv (ORCPT ); Mon, 9 Jan 2023 12:06:51 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52872 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237305AbjAIQ6Q (ORCPT ); Mon, 9 Jan 2023 11:58:16 -0500 Received: from mailgw02.mediatek.com (unknown [210.61.82.184]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EE1003D9F2 for ; Mon, 9 Jan 2023 08:58:10 -0800 (PST) X-UUID: ea974d9368e1477ba92d184d3eab62e5-20230110 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Type:MIME-Version:Message-ID:Date:Subject:CC:To:From; bh=jgWuyzHGOSAVwU15GuO4419LueIVeRqiTnENyk75Yws=; b=qAjCXFc5YtNe97oNtu/aIA/K8XoSLkNV7lp456+/AeE/IenL9vhatnNtQpl7RXVCFxzDEgelzGTSTJ1zssn1AhBGyfXMXutzfIJ/dN3PYmuDDoReY/5Zm2D74hRUJB//oD5N6m4SqV8NSWZxKXprfosHP6ibQntn5oCzHzPHZLg=; X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.17,REQID:b97ffe7c-5e58-4ca6-9c86-5d3e53495daf,IP:0,U RL:0,TC:0,Content:0,EDM:0,RT:0,SF:0,FILE:0,BULK:0,RULE:Release_Ham,ACTION: release,TS:0 X-CID-META: VersionHash:543e81c,CLOUDID:a0c84af5-ff42-4fb0-b929-626456a83c14,B ulkID:nil,BulkQuantity:0,Recheck:0,SF:102,TC:nil,Content:0,EDM:-3,IP:nil,U RL:1,File:nil,Bulk:nil,QS:nil,BEC:nil,COL:0,OSI:0,OSA:0 X-CID-BVR: 0 X-UUID: ea974d9368e1477ba92d184d3eab62e5-20230110 Received: from mtkmbs11n2.mediatek.inc [(172.21.101.187)] by mailgw02.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384 256/256) with ESMTP id 1257736131; Tue, 10 Jan 2023 00:58:05 +0800 Received: from mtkmbs11n1.mediatek.inc (172.21.101.186) by mtkmbs13n1.mediatek.inc (172.21.101.193) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.792.15; Tue, 10 Jan 2023 00:58:04 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by mtkmbs11n1.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.2.792.15 via Frontend Transport; Tue, 10 Jan 2023 00:58:04 +0800 From: Shayne Chen To: Felix Fietkau CC: linux-wireless , Lorenzo Bianconi , Ryder Lee , Evelyn Tsai , Bo Jiao , linux-mediatek , Shayne Chen Subject: [PATCH 00/13] Add EHT support for mt7996 Date: Tue, 10 Jan 2023 00:57:18 +0800 Message-ID: <20230109165731.682-1-shayne.chen@mediatek.com> X-Mailer: git-send-email 2.18.0 MIME-Version: 1.0 X-MTK: N Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org This series adds initial EHT support for mt7996 driver, which currently covers features of EHT SU mode. More EHT features are work in progress and will be introduced in further patches. This series is based on the following series: - wifi: mt76: mt7996: fix chainmask calculation in mt7996_set_antenna() https://patchwork.kernel.org/project/linux-wireless/patch/20221223101348.11504-1-shayne.chen@mediatek.com/ MeiChia Chiu (1): wifi: mt76: mt7996: add EHT beamforming support Shayne Chen (12): wifi: mt76: add EHT phy type wifi: mt76: connac: add CMD_CBW_320MHZ wifi: mt76: connac: add helpers for EHT capability wifi: mt76: connac: add cmd id related to EHT support wifi: mt76: increase wcid size to 1088 wifi: mt76: add EHT rate stats for ethtool wifi: mt76: mt7996: add variants support wifi: mt76: mt7996: add helpers for wtbl and interface limit wifi: mt76: mt7996: rework capability init wifi: mt76: mt7996: add EHT capability init wifi: mt76: mt7996: add support for EHT rate report wifi: mt76: mt7996: enable EHT support in firmware drivers/net/wireless/mediatek/mt76/mt76.h | 11 +- .../net/wireless/mediatek/mt76/mt76_connac.h | 2 + .../wireless/mediatek/mt76/mt76_connac_mcu.c | 46 ++ .../wireless/mediatek/mt76/mt76_connac_mcu.h | 12 +- .../wireless/mediatek/mt76/mt7996/debugfs.c | 8 +- .../wireless/mediatek/mt76/mt7996/eeprom.c | 27 ++ .../net/wireless/mediatek/mt76/mt7996/init.c | 400 +++++++++++------- .../net/wireless/mediatek/mt76/mt7996/mac.c | 36 +- .../net/wireless/mediatek/mt76/mt7996/main.c | 10 +- .../net/wireless/mediatek/mt76/mt7996/mcu.c | 186 +++++++- .../net/wireless/mediatek/mt76/mt7996/mcu.h | 16 + .../wireless/mediatek/mt76/mt7996/mt7996.h | 25 +- 12 files changed, 591 insertions(+), 188 deletions(-)