Received: by 2002:a05:7412:e794:b0:fa:551:50a7 with SMTP id o20csp2032025rdd; Thu, 11 Jan 2024 18:11:08 -0800 (PST) X-Google-Smtp-Source: AGHT+IFN5Fx/Z8vhgKdDcT2eaYc5pff0mKIOnBA9nKloVSXJGQLSjq/icCyDwBn7ke+rq5Iyciyz X-Received: by 2002:a05:6808:1309:b0:3b8:44e3:dfda with SMTP id y9-20020a056808130900b003b844e3dfdamr322275oiv.3.1705025468032; Thu, 11 Jan 2024 18:11:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1705025467; cv=none; d=google.com; s=arc-20160816; b=tb0YjSSlFuX9M3CEn/wnAiLcxy8zXqBhyuBXWBhkO9yXL0SIGF21TSs1RqguKQUCXj 3FDes28eFlbLT5vArvH7TVyQRw9Bg2DCKIr00Ml5iUsXCR50c8+2dryfA2mgTJAFxQv6 XXwoD6DMvDxZbUmuZ9w0oY1P0AdHZeoUHrDgEt6tXSJrZIOidnLpIuBhgO+mUESftaG2 XV3cgCrvgEYIiuCao0/otuqxR58u9cc6yj77lWYxnHR0ccM4sWJBNQOh5DlL/rvqwaOf qj8+Ni1KonXFVfmj5a73kOCjDm1RtQyxyXliAcz6Eezao5+oa/QFvUDQAB4PsNUqEmPr r9Ow== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from; bh=iQX8cOuoVqNTJaB+EcmYzmsDhy8bigQLyDvjkYhhmN0=; fh=/r/x0QoRfbSwAsE/aR2TpjkkUWoXXV+YQraRc6pQAxA=; b=bWC7pO+l7rXQ7H+MmDzikYLhfd0hUlsV24vrBz7vyTZjEs3mYLwml//fIFPgWtfNEP +6ITALoOvU7fLAvvenTP0NNnBfp/fo6wQd+VJ3lfS1EBlbv3zvZEsAUzq1OPaSHLm5kr 4RYK2zhb3Jms3BvUSrUajmvCCVcLaR8CKeXPUhB2S6Kd3+hfZTsVPrV3Fcg1FwDvQXh3 OXgmRVyUmY8k/A4x8LlNQSlh9k4OY/OIywv/W2cjlIVePatTjqgT87g3KbPPvvZKVBRP cIGPQgk3CFRiaIglkoM6W18MfTdheyqU+t2+G/vhJjERNxp4ABlMTjY4kWGCrYDctSPu 1FeA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-wireless+bounces-1764-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-wireless+bounces-1764-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id bw20-20020a056a02049400b005be3683ec6asi2560530pgb.184.2024.01.11.18.11.07 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Jan 2024 18:11:07 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless+bounces-1764-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-wireless+bounces-1764-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-wireless+bounces-1764-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 2E8AAB234BA for ; Fri, 12 Jan 2024 02:11:04 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 684FCED7; Fri, 12 Jan 2024 02:11:00 +0000 (UTC) X-Original-To: linux-wireless@vger.kernel.org Received: from rtits2.realtek.com.tw (rtits2.realtek.com [211.75.126.72]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 429081108 for ; Fri, 12 Jan 2024 02:10:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=realtek.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=realtek.com X-SpamFilter-By: ArmorX SpamTrap 5.78 with qID 40C2Apd362061254, This message is accepted by code: ctloc85258 Received: from mail.realtek.com (rtexh36505.realtek.com.tw[172.21.6.25]) by rtits2.realtek.com.tw (8.15.2/2.95/5.92) with ESMTPS id 40C2Apd362061254 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 12 Jan 2024 10:10:51 +0800 Received: from RTEXMBS04.realtek.com.tw (172.21.6.97) by RTEXH36505.realtek.com.tw (172.21.6.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2375.32; Fri, 12 Jan 2024 10:10:51 +0800 Received: from [127.0.1.1] (172.21.69.94) by RTEXMBS04.realtek.com.tw (172.21.6.97) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.35; Fri, 12 Jan 2024 10:10:51 +0800 From: Ping-Ke Shih To: CC: , Subject: [PATCH 0/6] wifi: rtw89: 8922a: implement more chip_ops for 8922A Date: Fri, 12 Jan 2024 10:10:27 +0800 Message-ID: <20240112021033.20104-1-pkshih@realtek.com> X-Mailer: git-send-email 2.25.1 Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: RTEXMBS02.realtek.com.tw (172.21.6.95) To RTEXMBS04.realtek.com.tw (172.21.6.97) X-KSE-ServerInfo: RTEXH36505.realtek.com.tw, 9 X-KSE-AntiSpam-Interceptor-Info: fallback X-KSE-Antivirus-Interceptor-Info: fallback X-KSE-AntiSpam-Interceptor-Info: fallback Introduce MLO/DBCC mode variable that is used to configure PHY mode for various application. The later implementation of chip_ops will reference the mode to set registers. Though we have not really enabled MLO. Other patches are chips_ops to enable BB/RF, set TX power and BT coexistence helpers. Also, define chip specified registers that are used by common logic flow. Chung-Hsuan Hung (1): wifi: rtw89: 8922a: add BTG functions to assist BT coexistence to control TX/RX Ping-Ke Shih (5): wifi: rtw89: add mlo_dbcc_mode for WiFi 7 chips wifi: rtw89: 8922a: add chip_ops::{enable,disable}_bb_rf wifi: rtw89: 8922a: add chip_ops related to BB init wifi: rtw89: 8922a: add register definitions of H2C, C2H, page, RRSR and EDCCA wifi: rtw89: 8922a: add TX power related ops drivers/net/wireless/realtek/rtw89/core.c | 3 + drivers/net/wireless/realtek/rtw89/core.h | 42 ++ drivers/net/wireless/realtek/rtw89/phy.c | 1 + drivers/net/wireless/realtek/rtw89/phy.h | 10 + drivers/net/wireless/realtek/rtw89/reg.h | 195 ++++++- drivers/net/wireless/realtek/rtw89/rtw8851b.c | 1 + drivers/net/wireless/realtek/rtw89/rtw8852a.c | 1 + drivers/net/wireless/realtek/rtw89/rtw8852b.c | 1 + drivers/net/wireless/realtek/rtw89/rtw8852c.c | 1 + drivers/net/wireless/realtek/rtw89/rtw8922a.c | 514 ++++++++++++++++++ 10 files changed, 768 insertions(+), 1 deletion(-) -- 2.25.1