Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp4408669rwb; Mon, 21 Nov 2022 07:18:11 -0800 (PST) X-Google-Smtp-Source: AA0mqf55j3RclOrGNe/sOsBW6daFz3/6luEboB2nGwO04UCJ+TuRbOiX1mGKn+CBL9ly6KHEcH2N X-Received: by 2002:a17:906:348b:b0:78d:9e04:d8c2 with SMTP id g11-20020a170906348b00b0078d9e04d8c2mr15565424ejb.614.1669043891044; Mon, 21 Nov 2022 07:18:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669043891; cv=none; d=google.com; s=arc-20160816; b=Dk1L2Ozmo1incTJNgNnpSBCOuYwdEUirms7sQbahgiqlym1qv1Q1PqNXG/MRQ+G8dU I3pT2LRAX4giSjB8ewMZLtg/dE/Khc/OXK631LD6O4uEaXkIrr9iT3v6C0D0siBDp3/r N+jVCyVs7VN3cO0dJdGzAs2Cgbi2cUc98QUxp1TYwgqenx6/S5oKO2pzgBOuDa6mds5n PP629UMjUrf6VNKxFVGUFCFYaHYv5xqlN35g58NUaollkqqkgrdOtRQ3gdn6x88Wo9nd fnzajmF4VpCPDhnSln375+Ts5DDYED5dn1IQt4ijCk0ckK4HdaJos301ThgmBXINaBtM Y2vw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:message-id:in-reply-to :date:references:subject:cc:to:from:dkim-signature; bh=fGebd1rUeOMj770NrIE5vgThdwkmsTmGyemQcE1Q1ak=; b=axQLouKTgI4ERrbn2jCL4Pt717t0MtN+mQFXuQ3ODXBkvUYzICJyPMBT0UK0b3v7wJ xF0awxDzOnhsXTvaP1Y9LLm7yveHvwG12yfC3+U59qJlRGpG1gfxfvn9sXxqpAD237ip fomLWQer+JI39ZmsrQXY7Q5GsacsFs3megA8gvBvGu/bCRB+hH1STo4YmBvrTHikis3U 1wRXsDlzGON2RgrCFMIjyoFMstcmGG8vbb6D0YNQ9JD8NXuDGery99wBxShIVoathoSG /jii82zOrcMI1Gwi0i2kC2aBFF229j2TXJOgWXFUeTn2bDLSko3C+ZejBsu5JfvqddfX lh5w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=msGnioqL; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id sh35-20020a1709076ea300b00797e151e571si10896050ejc.36.2022.11.21.07.17.51; Mon, 21 Nov 2022 07:18:11 -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=@kernel.org header.s=k20201202 header.b=msGnioqL; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232039AbiKUPOB (ORCPT + 68 others); Mon, 21 Nov 2022 10:14:01 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38162 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232172AbiKUPNh (ORCPT ); Mon, 21 Nov 2022 10:13:37 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0D00A639D for ; Mon, 21 Nov 2022 07:07:49 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 9B236612AC for ; Mon, 21 Nov 2022 15:07:48 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A3C22C433C1; Mon, 21 Nov 2022 15:07:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1669043268; bh=XCK2rE8lqFjARxnE3wTynZRLe02wfehU9M5s+cBsfng=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=msGnioqL0kQMTGlFbKAWlEEgigrzzJDswh7OLTbQMDV28I5gRXDo1Vw5HSk97S32L ciPWJX2GJa1sR9eUiXhpiOidEW8AI2/JS09T9iF788+KuYamOmPDVDSkLR+cDHB4hT uWT3YDSJLV4RC3wbcUZXZIH8Yq32QAeUxFyAbrn+NeDl1kW3ZbN9OaVEePcu17DimV kJwcFqRmUi8AKOOXAm7pDAKEj5zAn4BJwOG+rGrJlhC5+Ewv27CrWBFMQhDWdcjHSm ID/K6wVRHPhCAGx13SPnHN+bzO34QHmURkaCwzWnhlAiwhVrkWM/D/iC2JTsPk4vP3 lofEO/GCFwvYw== From: Kalle Valo To: Shayne Chen Cc: Felix Fietkau , linux-wireless , Lorenzo Bianconi , Ryder Lee , Evelyn Tsai , Bo Jiao , linux-mediatek , Peter Chiu , Howard Hsu , MeiChia Chiu , StanleyYP Wang , Money Wang Subject: Re: [PATCH v2 9/9] wifi: mt76: mt7996: add driver for MediaTek Wi-Fi 7 (802.11be) devices References: <20221110093525.29649-1-shayne.chen@mediatek.com> <20221110093525.29649-10-shayne.chen@mediatek.com> Date: Mon, 21 Nov 2022 17:07:40 +0200 In-Reply-To: <20221110093525.29649-10-shayne.chen@mediatek.com> (Shayne Chen's message of "Thu, 10 Nov 2022 17:35:25 +0800") Message-ID: <87ilj8pcqr.fsf@kernel.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS 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 Shayne Chen writes: > Add MediaTek new mac80211 driver mt7996 for Wi-Fi 7 (802.11be) devices. > The driver first supports Filogic 680 PCI device, which is a Wi-Fi 7 > chipset supporting concurrent tri-band operation at 6 GHz, 5 GHz, and > 2.4 GHz with 4x4 antennas on each band. > > Currently, mt7996 only supports tri-band HE or older mode. > EHT mode and more variants of Filogic 680 support will be introduced > in further patches. > > Reviewed-by: Ryder Lee > Co-developed-by: Peter Chiu > Signed-off-by: Peter Chiu > Co-developed-by: Bo Jiao > Signed-off-by: Bo Jiao > Co-developed-by: Howard Hsu > Signed-off-by: Howard Hsu > Co-developed-by: MeiChia Chiu > Signed-off-by: MeiChia Chiu > Co-developed-by: StanleyYP Wang > Signed-off-by: StanleyYP Wang > Co-developed-by: Money Wang > Signed-off-by: Money Wang > Co-developed-by: Evelyn Tsai > Signed-off-by: Evelyn Tsai > Signed-off-by: Shayne Chen > --- > drivers/net/wireless/mediatek/mt76/Kconfig | 1 + > drivers/net/wireless/mediatek/mt76/Makefile | 1 + > .../net/wireless/mediatek/mt76/mt7996/Kconfig | 12 + > .../wireless/mediatek/mt76/mt7996/Makefile | 6 + > .../wireless/mediatek/mt76/mt7996/debugfs.c | 851 ++++ > .../net/wireless/mediatek/mt76/mt7996/dma.c | 360 ++ > .../wireless/mediatek/mt76/mt7996/eeprom.c | 229 ++ > .../wireless/mediatek/mt76/mt7996/eeprom.h | 75 + > .../net/wireless/mediatek/mt76/mt7996/init.c | 816 ++++ > .../net/wireless/mediatek/mt76/mt7996/mac.c | 2468 ++++++++++++ > .../net/wireless/mediatek/mt76/mt7996/mac.h | 398 ++ > .../net/wireless/mediatek/mt76/mt7996/main.c | 1325 +++++++ > .../net/wireless/mediatek/mt76/mt7996/mcu.c | 3428 +++++++++++++++++ > .../net/wireless/mediatek/mt76/mt7996/mcu.h | 662 ++++ > .../net/wireless/mediatek/mt76/mt7996/mmio.c | 385 ++ > .../wireless/mediatek/mt76/mt7996/mt7996.h | 516 +++ > .../net/wireless/mediatek/mt76/mt7996/pci.c | 222 ++ > .../net/wireless/mediatek/mt76/mt7996/regs.h | 533 +++ > 18 files changed, 12288 insertions(+) This patch is too big, please split it. One patch per file is a good rule of thumb. I did see some suspicious static variables in pci.c, but otherwise I basically skipped everything. -- https://patchwork.kernel.org/project/linux-wireless/list/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches