From patchwork Mon Feb 14 07:11:23 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Aaron Ma X-Patchwork-Id: 1592261 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=canonical.com header.i=@canonical.com header.a=rsa-sha256 header.s=20210705 header.b=YAcdd9k5; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.ubuntu.com (client-ip=91.189.94.19; helo=huckleberry.canonical.com; envelope-from=kernel-team-bounces@lists.ubuntu.com; receiver=) Received: from huckleberry.canonical.com (huckleberry.canonical.com [91.189.94.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4JxwQ15xjcz9sFn for ; Mon, 14 Feb 2022 18:11:53 +1100 (AEDT) Received: from localhost ([127.0.0.1] helo=huckleberry.canonical.com) by huckleberry.canonical.com with esmtp (Exim 4.86_2) (envelope-from ) id 1nJVWN-0007fD-7V; Mon, 14 Feb 2022 07:11:39 +0000 Received: from smtp-relay-canonical-1.internal ([10.131.114.174] helo=smtp-relay-canonical-1.canonical.com) by huckleberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1nJVWM-0007f6-Gf for kernel-team@lists.ubuntu.com; Mon, 14 Feb 2022 07:11:38 +0000 Received: from localhost.localdomain (unknown [222.129.35.96]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-canonical-1.canonical.com (Postfix) with ESMTPSA id 2767A3FD13 for ; Mon, 14 Feb 2022 07:11:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1644822698; bh=ZjDTokrdDxSwwUS29OExY5yUs4u2LDGlLcJD1Nicm1E=; h=From:To:Subject:Date:Message-Id:MIME-Version; b=YAcdd9k5rAH+8ykW6bOE5zssKxSj5r8iBk0lYsosl1cVOMEW26P4KhMBlvZTrRiDz 67Na1mYJBMAaQ1fN9tqYg3FrCAGpymys7KMVTI0PpqveiA1ftBnfaP86KukQd6JLYx 37u0W3UqvBN2IF6GgYXQByX+0RgtpxlLlVMZaU9YOG/Wbxkw0+5VrKFRqspcCmQs4l 7WkT9vdblBXd+OEuba2WTF2tV9cBxEppo4e1GLQ9D+Q6YnEifZoYVn+vuLhmk10j+7 IsXnrrBu8/KOIr+iWaL4W04n+LnSazMPcsoofFaKGQlIK/vbOoFibwLsm0l3sa3600 o9qHsTx6+LTUg== From: Aaron Ma To: kernel-team@lists.ubuntu.com Subject: [PATCH 0/3 v2][SRU][J] Add basic support of MT7922 Date: Mon, 14 Feb 2022 15:11:23 +0800 Message-Id: <20220214071126.374662-1-aaron.ma@canonical.com> X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: "kernel-team" BugLink: https://bugs.launchpad.net/bugs/1958151 [Impact] No driver is loaded for MT7922, and fw is missing too. [Fix] Add basic support of MT7922, and add ID of AMD RZ616/RZ608. Enable 160Mhz channel. [Test] Verified on RZ616, it works fine, suspend OK. iperf test result looks fine. Bluetooth works fine. [Where problems could occur] It may break MT7921 wifi support which shares mt7921e driver. Almost the code is specific for MT7922, checking security fw is based on MT7922 fw. Resend for Jammy since the BT patch is already merged by stable updates. Deren Wu (3): mt76: mt7921: Add mt7922 support mt76: mt7921: add support for PCIe ID 0x0608/0x0616 mt76: mt7921: introduce 160 MHz channel bandwidth support .../net/wireless/mediatek/mt76/mt76_connac.h | 7 +- .../wireless/mediatek/mt76/mt7921/eeprom.c | 1 + .../net/wireless/mediatek/mt76/mt7921/init.c | 4 ++ .../net/wireless/mediatek/mt76/mt7921/main.c | 12 ++++ .../net/wireless/mediatek/mt76/mt7921/mcu.c | 71 +++++++++++++++++-- .../wireless/mediatek/mt76/mt7921/mt7921.h | 3 + .../net/wireless/mediatek/mt76/mt7921/pci.c | 5 ++ 7 files changed, 98 insertions(+), 5 deletions(-)