Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp6503712rwl; Mon, 9 Jan 2023 09:07:51 -0800 (PST) X-Google-Smtp-Source: AMrXdXumzTp5pxCTVR7Avh155I9z8PozfABevs432vrmFdvSlzzj0g/QKYiBoLiOQfqnvNUopunS X-Received: by 2002:a17:90a:4f4d:b0:225:c711:c40f with SMTP id w13-20020a17090a4f4d00b00225c711c40fmr59619864pjl.30.1673284071258; Mon, 09 Jan 2023 09:07:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673284071; cv=none; d=google.com; s=arc-20160816; b=o7/cjM8m6Eqjzn/WMW1w4vuj+4FKDKnyBGfmmxaJW0AQ9kg52s0gk2gRZMhYNMptmi lgmyAsDD9QcY7qvXCRIm5RNkfGWHYxPluWD2A8snP7Ld2AmDNFdUAY4Dda2cwhZTemOw zwag/zBftsmlK2RmPz5CYwXXevylIqDpX+n3vAoMSvnAq31g38ifT6BI/tZ3DJYQPv7g O76Fzh5EUuwKocJgzv/MnsPV6e51F1x/Ax3CpY/zF/bMYdRoDpy8BGgd7ZClEEtgIT4H bNhst2pR1oAsazPOwmcbBqadshahuIu5XgT0DpbbrVylfbaYZQnTFuSSAEUA6jCP5t0m u3ug== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from :dkim-signature; bh=jgWuyzHGOSAVwU15GuO4419LueIVeRqiTnENyk75Yws=; b=p7/eUUYGkpAjGm/esaFr01CgXJpuvb/I9uuKWafWO7G0IGX8XeBKNO6MK55Z7la3TH UUfsKrCYwi/bD0anJN+4bldSqIdPcSlmivdkSiZMpwNWr3dS9NCHVfiPdJV9HrXKvLUL Y326RQ4AL1K0CFY1kO1lGN3OJ56BTmq8rW4MzMwk9Ukgl72J8hy6h9P5ggVMjz4PejK5 5vkeQ1CYeEPUNA3JCDl8/8e9+EdPimSYp1i5AwUYpGbJXBXwhL9qE6DFF4GMkhbsRxYr IQaIrq6H8kjJ+6Fua0/jYK+rkxJYCxfTB4OtuaAwRelje9SofmyVOHjJ9lHRa1ky294u TKaQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=qAjCXFc5; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=mediatek.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id v25-20020a637a19000000b004b0db80f37esi5790685pgc.517.2023.01.09.09.07.43; Mon, 09 Jan 2023 09:07:51 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=qAjCXFc5; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237072AbjAIRGv (ORCPT + 65 others); 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 Content-Type: text/plain X-MTK: N X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, T_SPF_TEMPERROR,UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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(-) -- 2.25.1