Received: by 2002:ab2:b82:0:b0:1f3:401:3cfb with SMTP id 2csp820472lqh; Thu, 28 Mar 2024 18:56:36 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCW593M/OX4NyrpBSU4qUbYm91HTcHYgFMaG0eHXB5RrKBv57Qz/vHFlYn7qQkIXCwiYwswrju2GFxyJVWGzM9pPSGJ9R34AD0L4nUlbaA== X-Google-Smtp-Source: AGHT+IFp1/LWfO+QIAoH8omox/rDkWpWKEunDd5sXKdkd4x2bNVFknuRvT0AteN2nkGP409v8I/A X-Received: by 2002:a05:6808:2f08:b0:3c3:e7bb:9e6f with SMTP id gu8-20020a0568082f0800b003c3e7bb9e6fmr1276988oib.20.1711677396039; Thu, 28 Mar 2024 18:56:36 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711677396; cv=pass; d=google.com; s=arc-20160816; b=A5lSDLEhbmiq9Bb8WpwbwdCwb+o9v8Rmt6weIvW7Oe9srPSnXNA5RGWOqBUbmgLWk0 20TWeGK25VgtZBbl+zgL/u2p1DkPhkDCvOvm0OPSD9mFt1TXdMZbkNMYAC4GtFYuUVqE GB6xVw69vvQjpwcfWvG/W9wC62YRqB8aFtIAvw/Lw7Y9vBjjCeg7pK7ZPTBxxZpq2hA/ NePdl2kcIHJaG2zHL1Wtj49XL5iFEiJX8IOb/xVozs6gR58rutI42ceSED7yFk3dXegD nS+7kp1WO6HoepzP0zkaRDzlIXt6W2RmgrF7l9CdSVWowJKuvN34n9OIQg/t2B5ZjqXC ylpw== ARC-Message-Signature: i=2; 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=56C1ZnBOMSaSLYYrm8fiu3QSkMLIyOeh2XWBPp8Eo3g=; fh=ww0D5vLQBB1uvGzpEYhbKWPKxDvHJfaqbwKWCOEiQeE=; b=CuQ6ncIszcxY05SuwLOpbSHVOphU7GS4kLJcqvzfifEUhF7Xtd+SuhELXlUixRryNB KpU6ofhHDnUk/dpDWKgZTa/RvuKLV0wPUjkdguHmxAuEr8RLmVSVqlNcLBkZwqOPvO7g 7E/JngXY9AMQqmcfr8Oqy2vhnP00Ful87n0h/KYzPYsTDJE1LRIx4PzEXG/Y93K4Daqd JdjlQFhSF//UbBIoZIBg+LgE0uICaxCBQK3HOW80lf4biXHlTBbygu4OvWztGGLdhSfJ i1CWzHWZ9Oe2ahnh3n/95Xw2m/VJJlG4i7dHydM76HBwY75rDYyPBz5rm9y/+RBmuFVf QvrA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=realtek.com); spf=pass (google.com: domain of linux-wireless+bounces-5513-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-5513-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id n18-20020ac85a12000000b004315ac38b48si2883690qta.100.2024.03.28.18.56.35 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Mar 2024 18:56:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless+bounces-5513-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=realtek.com); spf=pass (google.com: domain of linux-wireless+bounces-5513-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-5513-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id BBA0C1C268B3 for ; Fri, 29 Mar 2024 01:56:35 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 75A0C3A1CD; Fri, 29 Mar 2024 01:54:17 +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 9CAED39855 for ; Fri, 29 Mar 2024 01:54:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=211.75.126.72 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711677257; cv=none; b=C2Jxn09GOBgy/j2iEO4R6sJUjQQTjqzKmCxVDmyAt8roQAQxpnVoplnEMWLZnxxo53Olmd2yLWJFzFLUbMh1Tzg9umvueN+BcJxJ3ng1Tg2+EAwfv7rj3dD1PzSOslDFJmRTCskEpF1eeNtVWG81u4oKMSF/1PsHH1ynunqC77w= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711677257; c=relaxed/simple; bh=91mbm98HWmsv7hU1aB6s5Vzek8PcL85SqRNkaXKyvF4=; h=From:To:CC:Subject:Date:Message-ID:MIME-Version:Content-Type; b=qMRjHkCetEgGVskrYkNVFtWcyQo07TLyHJpY4dVbf2i8Eh9jwjl8pGgjeDE9NIP+C2AqHOlYCFY35PTsT/ftGMzE9s0qjrk93nORm+dHm+W2VnLwG8QhXCQTXgEuciEA50XeaX4CQBUOFlbW0E1nP7T1WxgwrVPeeAtUpME1Q7E= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=realtek.com; spf=pass smtp.mailfrom=realtek.com; arc=none smtp.client-ip=211.75.126.72 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 42T1sCT813183191, 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.95/5.92) with ESMTPS id 42T1sCT813183191 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Fri, 29 Mar 2024 09:54:12 +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_256_GCM_SHA384) id 15.1.2507.35; Fri, 29 Mar 2024 09:54:12 +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, 29 Mar 2024 09:54:11 +0800 From: Ping-Ke Shih To: CC: , Subject: [PATCH 0/4] wifi: rtw89: improve compatibility of download firmware and PCI PHY Date: Fri, 29 Mar 2024 09:52:47 +0800 Message-ID: <20240329015251.22762-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) RTL8852BE was reported possibly failed to download firmware during stressed suspend/resume test. Add retry mechanism to avoid this rare failure caused by abnormal hardware state. For RTL8852CE, set PCI PHY parameters to improve compatibility to avoid card lost during stressed reboot test. Since some parameters are only needed by certain platforms, add quirks for them. Also, update 5.9GHz TX power table of IC for RTL8852C. Chia-Yuan Li (1): wifi: rtw89: download firmware with five times retry Ping-Ke Shih (2): wifi: rtw89: 8852c: add quirk to set PCI BER for certain platforms wifi: rtw89: 8852c: disable PCI PHY EQ to improve compatibility Zong-Zhe Yang (1): wifi: rtw89: 8852c: update TX power tables to R69 drivers/net/wireless/realtek/rtw89/core.c | 18 ++++ drivers/net/wireless/realtek/rtw89/core.h | 10 ++ drivers/net/wireless/realtek/rtw89/fw.c | 27 ++++-- drivers/net/wireless/realtek/rtw89/pci.c | 91 +++++++++++++++++++ drivers/net/wireless/realtek/rtw89/pci.h | 13 +++ .../net/wireless/realtek/rtw89/rtw8851be.c | 1 + .../net/wireless/realtek/rtw89/rtw8852ae.c | 1 + .../net/wireless/realtek/rtw89/rtw8852be.c | 1 + .../wireless/realtek/rtw89/rtw8852c_table.c | 90 +++++++++--------- .../net/wireless/realtek/rtw89/rtw8852ce.c | 23 +++++ .../net/wireless/realtek/rtw89/rtw8922ae.c | 1 + 11 files changed, 225 insertions(+), 51 deletions(-) -- 2.25.1