Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp2687399pxb; Fri, 5 Nov 2021 03:02:46 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzT6zJXO1vW7HSdpJ+DtVGFQGZrO9HTopSQDcF15fr3BCWsaCsTcco73bZFxqYGV9oshrwi X-Received: by 2002:a05:6638:3384:: with SMTP id h4mr6817912jav.4.1636106566172; Fri, 05 Nov 2021 03:02:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1636106566; cv=none; d=google.com; s=arc-20160816; b=0ZUQ3XWhDtYP4tTwrIOUtzF9V50pv048y0YU9MgYa7f6OuRRt9LiAJHCZIS8b4E8Iv PXnWKkV8GdsAltiy5Sz8NNA65sYJxofJk36D7L61nDSPAnZUqGZD5S7oAuN5rgbNkXgR S1x1FcnxLdpoZ2DObC5riDqCYbRDLWXwv0/wwuyvZGDbWCBLRdnZwZKkufK6dxUyeMWv qCZTwmPcwCBu2elkME9C/f/yXWnzYqbbvsw8/YqWLhNAQsdhf02ICAXvFnzQKkxcIZVJ eZ6mKulvZ7a78yBoLAjTQbRtL/v1/mdFEokqjRevvGHLqnqvwsv0FS0Us6NMkL2aFryY wFLg== 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; bh=hQFRB0BTNj95RcQSRXU/LsyqEiG+gcde4o2zK4iRZBs=; b=JegPbGOfzWjcSWJprGk33fXn4T+wbkzLZQFmIKhOI4aXS7TMTgYHXbr16ZAiIluHav RBPqxkGO9qD/k7aIzo0CciAMldW2v5OE8YbEvU9n2aD3G4JqCffPnfqevCDskxUAsvvI XwcwHqE38bVlO6lQtQ43k7nbmCZ2KIMAbx7qhDSVk336frGvXaqAbBf1y+ncZT7WAjGh ZlZWuuwSZMFNlEcvIQEFKBUlUyUd29VW0peT6xYtyEAGC/l1Kpej4Vfb0rUMp8lV7kUC XHBzJqy7FqOnodBVYryesRzDGpJgQ6y49xx/2EasMNhg7l2jKiv8nBrXCNuFFusgYTXs pPlg== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (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 u18si13979745jat.31.2021.11.05.03.02.28; Fri, 05 Nov 2021 03:02:46 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233019AbhKEKE7 (ORCPT + 67 others); Fri, 5 Nov 2021 06:04:59 -0400 Received: from mailgw01.mediatek.com ([60.244.123.138]:48778 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S232883AbhKEKE7 (ORCPT ); Fri, 5 Nov 2021 06:04:59 -0400 X-UUID: 8c5bbb419a004f5b9ae622348dd699a6-20211105 X-UUID: 8c5bbb419a004f5b9ae622348dd699a6-20211105 Received: from mtkcas10.mediatek.inc [(172.21.101.39)] by mailgw01.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 1323446366; Fri, 05 Nov 2021 18:02:16 +0800 Received: from MTKMBS34N1.mediatek.inc (172.27.4.172) by mtkmbs10n1.mediatek.inc (172.21.101.34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.2.792.15; Fri, 5 Nov 2021 18:02:14 +0800 Received: from MTKCAS32.mediatek.inc (172.27.4.184) by MTKMBS34N1.mediatek.inc (172.27.4.172) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Fri, 5 Nov 2021 18:02:12 +0800 Received: from mcddlt001.gcn.mediatek.inc (10.19.240.15) by MTKCAS32.mediatek.inc (172.27.4.170) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Fri, 5 Nov 2021 18:02:12 +0800 From: Bo Jiao To: Felix Fietkau CC: linux-wireless , Ryder Lee , Xing Song , Sujuan Chen , Shayne Chen , "Evelyn Tsai" , linux-mediatek , Bo Jiao Subject: [PATCH v2 00/11] add mt7916 support Date: Fri, 5 Nov 2021 18:01:59 +0800 Message-ID: X-Mailer: git-send-email 2.17.0 MIME-Version: 1.0 Content-Type: text/plain X-MTK: N Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org From: Bo Jiao This adds support for mt7916 PCIe-based device, which shares the same driver with MT7915. The maximum number of client connections is extended to 512. mt7916 is capable of WIFI6@160MHz, simultaneous dual-band and all WiFi6 R2 features. Bo Jiao (11): mt76: mt7915: add mt7915_mmio_probe() as a common probing function mt76: mt7915: refine register definition mt76: mt7915: rework dma.c to adapt mt7916 changes mt76: mt7915: add firmware support for mt7916 mt76: mt7915: rework eeprom.c to adapt mt7916 changes mt76: mt7915: enlarge wcid size to 544 mt76: mt7915: add txfree event v3 mt76: mt7915: update rx rate reporting for mt7916 mt76: mt7915: update mt7915_chan_mib_offs for mt7916 mt76: mt7915: add mt7916 calibrated data support mt76: mt7915: add device id for mt7916 drivers/net/wireless/mediatek/mt76/dma.c | 13 +- drivers/net/wireless/mediatek/mt76/mt76.h | 3 +- .../wireless/mediatek/mt76/mt7915/debugfs.c | 20 +- .../net/wireless/mediatek/mt76/mt7915/dma.c | 380 ++++++--- .../wireless/mediatek/mt76/mt7915/eeprom.c | 87 +- .../wireless/mediatek/mt76/mt7915/eeprom.h | 9 +- .../net/wireless/mediatek/mt76/mt7915/init.c | 76 +- .../net/wireless/mediatek/mt76/mt7915/mac.c | 273 ++++--- .../net/wireless/mediatek/mt76/mt7915/mac.h | 14 +- .../net/wireless/mediatek/mt76/mt7915/main.c | 11 +- .../net/wireless/mediatek/mt76/mt7915/mcu.c | 98 ++- .../net/wireless/mediatek/mt76/mt7915/mcu.h | 8 +- .../net/wireless/mediatek/mt76/mt7915/mmio.c | 757 ++++++++++++++++-- .../wireless/mediatek/mt76/mt7915/mt7915.h | 37 +- .../net/wireless/mediatek/mt76/mt7915/pci.c | 243 +----- .../net/wireless/mediatek/mt76/mt7915/regs.h | 670 +++++++++++----- .../wireless/mediatek/mt76/mt7915/testmode.c | 58 +- 17 files changed, 1908 insertions(+), 849 deletions(-) -- 2.18.0