Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp878510pxb; Wed, 27 Oct 2021 14:19:25 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzI5LwXqQHtk+mVyRFq3ugHY4l/cNyHU8e5A+0kIe21SlyP66b9gUW5rC6Vw8JYI5k4L/TL X-Received: by 2002:a17:906:1498:: with SMTP id x24mr66825ejc.250.1635369565365; Wed, 27 Oct 2021 14:19:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635369565; cv=none; d=google.com; s=arc-20160816; b=YSZpSKgB/Iy9mkmrNFaI5NqKsHZS5hyxT35yXKDbNzRpUlkvXxknAoYC8NhllP0JQd buuvIZOVxd3nBYrCq5OG1BaUynHuyprQnX7ktHY84kd3rTPSoEnBugAIVPq42yJZVc0B xlIf+vIgWJeFnXkHBHdkefozMkBeV43Xs5W8MyVJhjsJK6xzaKIzfWedu57o3EFxuUnP 2aBYtsUfRSRjWvFO0b0JjNGAosEaBUDxTTDF39pEtHsy4VeWCEhwseZSabbYhuM+y3YB AmXDjYA9LuEcHArkExHh4ydiZ5sIG+E01N+ZwVs4ZAp97+Ri7rnhoyLczC9TV9ilnG/1 iT5Q== 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=RJXd7mtEieqy0plqqp0tl+hOcN0Nf+0h5tq8abyhi0Y=; b=wcqId5xK1zXNEw23DlWRvsydzy2rATp29zHmJRHDwWaq2SkZYnUoEQJJ/Q7t9zUytW 6EJHau1bqb1wsPoHNwyGOMbFs2h2FMlWv9GSb6zIzqHJs2sIFFnQdmj/X7YmDApMjOEb iTv2MJofeKfDJTsQUyFIw7YTr52nhxmjuDSc4vAXXb0CHxSAn3TI7IqaGOkcFL2/2H/w BkMJ9QGXESZ0nhEG0e7ngTyZDrukzQ7y3yqOKEeW73xB1hpKAelPCszZG0kXl19nlSVx wVRtg0+C6hvgt6X8gcYCFs9jlTPQJhVS154SqLsehAG5pU/jOXMi4iA1kvmo9rLINsaD n5bw== 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 cz17si1176743edb.110.2021.10.27.14.19.07; Wed, 27 Oct 2021 14:19:25 -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 S241183AbhJ0JML (ORCPT + 67 others); Wed, 27 Oct 2021 05:12:11 -0400 Received: from mailgw02.mediatek.com ([210.61.82.184]:58956 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S241170AbhJ0JMK (ORCPT ); Wed, 27 Oct 2021 05:12:10 -0400 X-UUID: 05cba0b1299a43c5962cba66c43bb001-20211027 X-UUID: 05cba0b1299a43c5962cba66c43bb001-20211027 Received: from mtkcas10.mediatek.inc [(172.21.101.39)] by mailgw02.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 1586080354; Wed, 27 Oct 2021 17:09:40 +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; Wed, 27 Oct 2021 17:09:39 +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; Wed, 27 Oct 2021 16:40:32 +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; Wed, 27 Oct 2021 16:40:31 +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 00/11] add mt7916 support Date: Wed, 27 Oct 2021 16:40:08 +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 | 6 +- .../wireless/mediatek/mt76/mt7915/debugfs.c | 20 +- .../net/wireless/mediatek/mt76/mt7915/dma.c | 388 ++++++--- .../wireless/mediatek/mt76/mt7915/eeprom.c | 94 ++- .../wireless/mediatek/mt76/mt7915/eeprom.h | 9 +- .../net/wireless/mediatek/mt76/mt7915/init.c | 66 +- .../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, 1907 insertions(+), 858 deletions(-) -- 2.18.0