Received: by 2002:a05:7412:a9a2:b0:e2:908c:2ebd with SMTP id o34csp377288rdh; Thu, 26 Oct 2023 05:02:12 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGfjaFjUyR4XQKSoREjYd3T7RQi8/al2RMZ2n7FkmdcT8xu7CfrgL7eRwFucfXk4kZlp92k X-Received: by 2002:a25:b305:0:b0:da0:c49a:5fdf with SMTP id l5-20020a25b305000000b00da0c49a5fdfmr339365ybj.7.1698321732016; Thu, 26 Oct 2023 05:02:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698321731; cv=none; d=google.com; s=arc-20160816; b=AXLmO7+mTqk/GuaiA/MWuXZQ/6fk8OeqzUyjXD1XhZ4NcLzrhBOl1dyL64k6/f8hMi 7xTg6slGSsLbWABgphwjevaJ7QacJzior+4lSm5ud49v4QuaW87Rxe9TB/alc0hvtbNq CxEzPv0u+b/kFEbiUTr2bowYMWqg0gy9MymsM06al3DUu7/LwgzTHJuX1NKkubYDcDiw VpTaj+nG0PiHSSahoYL9z/h/Hk6Puhb0LBVfCnbzLnubhU5tektlTwSn/Mg5H0Ps5RJo XiHBCuJL5lbwaASpFpDXux1NS9k6TaRJf4WP4vzhxJesd4DdYlJRG5qWwnflLrdsy7qG 0Nwg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=chzMl/MW8BdXIhpBF70ADGLUFXuYTBv3AatxOg/vL4g=; fh=119R0DZRwIns1LRpqAK2A6izyPVjL4TEe6VydCwW0T8=; b=0otnkImQpc/oPRnPJP7lkUK05xZouWT5p4InFe4EABYY8nKeRFi+FIl91rhCmlE6Jw HsKEzLQhFUP5p8QKAUjMJo0QfSPrNUF03/IGKYdgQJIm88jAmtkyz7lyT1SPk1+ns0yq 7g5Ia1K5C10Wf1FA1ZXpqEDSKW3x7qLYOmRnyBPXtyzjSzUaRj3CiWGOWpGUjS2PVDpG fNpnvLA6v/4Wjy6inUt9CBrscQXPbN+9+X1IVxydv9Sb4vDUALx9+2uqNPsI+ccpXUXe jSWZ/IlH91JB6gP2C9af1Ej9EWXlysnA3yDuA/XWre9hwPyVDS7BX/w2/4mmhltYfDWV dhBA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Return-Path: Received: from agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id j125-20020a255583000000b00da0ad860b8csi1622269ybb.457.2023.10.26.05.01.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Oct 2023 05:02:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 8E07F81822CB; Thu, 26 Oct 2023 05:01:42 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231148AbjJZMBm (ORCPT + 52 others); Thu, 26 Oct 2023 08:01:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53766 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230434AbjJZMBl (ORCPT ); Thu, 26 Oct 2023 08:01:41 -0400 Received: from rtits2.realtek.com.tw (rtits2.realtek.com [211.75.126.72]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1D7C791 for ; Thu, 26 Oct 2023 05:01:35 -0700 (PDT) X-SpamFilter-By: ArmorX SpamTrap 5.78 with qID 39QC1HSA02779270, This message is accepted by code: ctloc85258 Received: from mail.realtek.com (rtexh36506.realtek.com.tw[172.21.6.27]) by rtits2.realtek.com.tw (8.15.2/2.93/5.92) with ESMTPS id 39QC1HSA02779270 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 26 Oct 2023 20:01:18 +0800 Received: from RTEXMBS04.realtek.com.tw (172.21.6.97) by RTEXH36506.realtek.com.tw (172.21.6.27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.17; Thu, 26 Oct 2023 20:01:18 +0800 Received: from [127.0.1.1] (172.16.17.48) by RTEXMBS04.realtek.com.tw (172.21.6.97) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.7; Thu, 26 Oct 2023 20:01:17 +0800 From: Ping-Ke Shih To: CC: Subject: [PATCH 0/4] wifi: rtw89: add 8922AE PCI entry and used functions Date: Thu, 26 Oct 2023 20:00:45 +0800 Message-ID: <20231026120049.9187-1-pkshih@realtek.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Originating-IP: [172.16.17.48] X-ClientProxiedBy: RTEXMBS02.realtek.com.tw (172.21.6.95) To RTEXMBS04.realtek.com.tw (172.21.6.97) X-KSE-ServerInfo: RTEXMBS04.realtek.com.tw, 9 X-KSE-AntiSpam-Interceptor-Info: fallback X-KSE-Antivirus-Interceptor-Info: fallback X-KSE-AntiSpam-Interceptor-Info: fallback X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Thu, 26 Oct 2023 05:01:42 -0700 (PDT) 8922AE is a PCIe 802.11be WiFi adapter that is 2x2 20/40/80/160MHz bandwidth on 2/5/6GHz bands. This patchset is to add the PCI entry and add functions that are different from existing WiFi 6 chips. Currently only a little stuff is added, so I don't add it to Makefile/Kconfig for now. Ping-Ke Shih (4): wifi: rtw89: 8922ae: add 8922AE PCI entry and basic info wifi: rtw89: pci: define PCI ring address for WiFi 7 chips wifi: rtw89: pci: add new RX ring design to determine full RX ring efficiently wifi: rtw89: pci: generalize code of PCI control DMA IO for WiFi 7 drivers/net/wireless/realtek/rtw89/pci.c | 130 ++++++++++---- drivers/net/wireless/realtek/rtw89/pci.h | 168 ++++++++++++++++++ drivers/net/wireless/realtek/rtw89/reg.h | 22 +++ .../net/wireless/realtek/rtw89/rtw8851be.c | 1 + .../net/wireless/realtek/rtw89/rtw8852ae.c | 2 + .../net/wireless/realtek/rtw89/rtw8852be.c | 2 + .../net/wireless/realtek/rtw89/rtw8852ce.c | 2 + .../net/wireless/realtek/rtw89/rtw8922ae.c | 79 ++++++++ 8 files changed, 372 insertions(+), 34 deletions(-) create mode 100644 drivers/net/wireless/realtek/rtw89/rtw8922ae.c -- 2.25.1