Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp2144663rwl; Thu, 30 Mar 2023 06:39:35 -0700 (PDT) X-Google-Smtp-Source: AKy350YBxHVZ5cE0Q4owl3tdi4YmbH8mOzFQc3v4LbC9FkSym2/z/lpy0rqTUDluW2C4o+rV7ZGM X-Received: by 2002:aa7:c703:0:b0:4fa:b302:84d4 with SMTP id i3-20020aa7c703000000b004fab30284d4mr23668160edq.13.1680183575624; Thu, 30 Mar 2023 06:39:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680183575; cv=none; d=google.com; s=arc-20160816; b=YvkjssfihYZoy7CIYJO9GdPF6E/x1HLXq6iu1u9Xy8XlLk2KKu4NjYMZ7spMyxTcu/ NH6GZ2OvtasfFeXxtL+37DKJm8EPqD4YglKoMdPRXU3on1tuL+5WbfVc+vix/DufwBH0 lgxurv7Nv9eMvIC9ewQaEgOliDxbiLviMja8E4frvsmuUVCv+KpXsJofugtSiPBU1EtU WNcvnDP48aWsmoNTbhh0FYn4T6INx4bxgNNHD7nikrpzxsaNM9oIXGmWRK56NDybdfX5 lm4vpmjEcrW8+18A4zeAK4Q3O+x7hYAObuaXEypj1Wd4rPYQ/utiP+pwGeLIgyIBicaH 9iwA== 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:authenticated-by; bh=QIh1mTF2MTgyk8c8yIjXVUA5VQ9CHnvnnC9whNV+s3g=; b=X1FVCa326IMn3SzN2u8wc72RCXzxBCmeV1GuPKmk7bgoc11a24gFuAxxxyYsZm4/6c LpGgCfcL/HMoaM9tTBn0KyAcT3xQJgD+sMfyIz3YTonfKIKmFfD8txUWPaHtMeIuCntx PWTshJx5RDr9L8quP4+6A6VPy0i4bFX8lEx8t8jevlJkHjKNxKKvadF2KuDR5ttjrR0s hdZybA0OyxLfAgN+4gf7nk2PtsRw38JNeG6C/QU39bIKlGFKoMANw6wjj/k2mjKasq1L qakfyw0qKntq04ed+SbPzffCLN5Zypuj/zpCpZacsxs7okP4nbO5zJ5gPNGrZApwp+gz JrhA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id sd8-20020a170906ce2800b0092beba8fe87si34610750ejb.318.2023.03.30.06.39.20; Thu, 30 Mar 2023 06:39:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232035AbjC3Nex (ORCPT + 59 others); Thu, 30 Mar 2023 09:34:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43422 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232063AbjC3Ner (ORCPT ); Thu, 30 Mar 2023 09:34:47 -0400 Received: from rtits2.realtek.com.tw (rtits2.realtek.com [211.75.126.72]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 944B9A245 for ; Thu, 30 Mar 2023 06:34:41 -0700 (PDT) Authenticated-By: X-SpamFilter-By: ArmorX SpamTrap 5.77 with qID 32UDYGbF4015755, 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.81/5.90) with ESMTPS id 32UDYGbF4015755 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=OK); Thu, 30 Mar 2023 21:34:16 +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, 30 Mar 2023 21:34:33 +0800 Received: from localhost (172.16.16.62) 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, 30 Mar 2023 21:34:32 +0800 From: Ping-Ke Shih To: CC: Subject: [PATCH 0/4] wifi: rtw89: 8851b: adjust shared code to support 8851B Date: Thu, 30 Mar 2023 21:33:20 +0800 Message-ID: <20230330133324.19538-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.16.62] 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.0 required=5.0 tests=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 lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org 8851B is 802.11ax 1x1 80 MHz working on 2/5 GHz. Many settings are similar to existing chips 8852A and 8852B, so add 8851B expressions to do the same thing as other chips. Ping-Ke Shih (4): wifi: rtw89: read version of analog hardware wifi: rtw89: 8851b: fix TX path to path A for one RF path chip wifi: rtw89: mac: update MAC settings to support 8851b wifi: rtw89: pci: update PCI related settings to support 8851B drivers/net/wireless/realtek/rtw89/core.c | 10 ++++++ drivers/net/wireless/realtek/rtw89/core.h | 2 ++ drivers/net/wireless/realtek/rtw89/fw.c | 13 +++++-- drivers/net/wireless/realtek/rtw89/mac.c | 44 ++++++++++++++++------- drivers/net/wireless/realtek/rtw89/mac.h | 1 + drivers/net/wireless/realtek/rtw89/pci.c | 33 ++++++++++------- drivers/net/wireless/realtek/rtw89/reg.h | 2 ++ 7 files changed, 78 insertions(+), 27 deletions(-) -- 2.25.1