Received: by 2002:a89:2c3:0:b0:1ed:23cc:44d1 with SMTP id d3csp569201lqs; Tue, 5 Mar 2024 09:44:41 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUhp4eChJrSTiXQDLokZamhmhX6a1XOO6na8OpYWKZksh8FYahLu7Qn9lMW6kKM0sY+EA4hmYqupj8Bt5f92wW1OTkF97oj4nsg8MYrMg== X-Google-Smtp-Source: AGHT+IE0OEpFzljjgTBu98iCpS3ZmFzcAE/36Ab+utPz2/laYIiM9QLuExDaT35wlnqn+NAA6MHC X-Received: by 2002:a17:906:1948:b0:a45:7f1e:14ee with SMTP id b8-20020a170906194800b00a457f1e14eemr3654812eje.47.1709660680863; Tue, 05 Mar 2024 09:44:40 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709660680; cv=pass; d=google.com; s=arc-20160816; b=YRqVDLsD/eFZ73daPKAMAbX7IsMly5pyxq+i9SM+PpeCLK2stjt/LVNRhZtRKjsOsE YzQInuPFDXMjQMeGialR7I+YEGSyIjWParU4x1ltC/WYazTaFegoQEn0uRVAgVJLgd0t nTGvT0vM4BW5oqcZXzj+YgLCBEuVVx9kFBcMUil1vCk4TINmOeLJFZAKWlgtTeV9gVJ7 ERqtgWPGePspCR1j1xo/l7hQDF4BTEXhr51at0BO/if89xLelwBCyOVaNECN0fAqR6Ri 7ntO5DhY1U0eiMfyPPh2h7wnvFAdpVU6n3ucVmbKnINBLPGDKdh4Ck+qLhJF1267JKTd 0DFw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=date:message-id:user-agent:cc:to:references:in-reply-to:from :subject:content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:dkim-signature; bh=RURX2DbXlz2auP/xvwaJRHZLtlt4UsFHeqw9QCU5Vg4=; fh=BAoayEV38i5t3uFYkVe/B/PHRUQ1bFagi3tvjFlFNG8=; b=BARilR0chGw3lcUio5A0tXWrKhQintoWsBxrFxSqzy3QDqk3RgXOjmjOiF6Np/BD+5 KvENpro83wwTvV5g1ttCz8+D9Z6XVGkkA+hzg3mzkJ764jykcqlHuapHnsrqWfzXOkEd yx2YTCwAxXD+4HtHZJCglu5U5jExyQB9coOtSkokWPann2mD7OH7gMrJElChcvgXoGQg lycRXEtNhI+smx5fXNt6VLFbcrvyWPPvNPcadbaqRXN1Y3MuphAojebHss3RYgmNOG1x tBdWgxg6GXfod229a0Kx6DCIirfZPYKgkgyaaXI2cqw074zF1Hf2fWz9V1QygWlsrldK uqcQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=mQhMvmem; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-wireless+bounces-4390-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-wireless+bounces-4390-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id kg27-20020a17090776fb00b00a430bc2d1ccsi5055849ejc.280.2024.03.05.09.44.40 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Mar 2024 09:44:40 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless+bounces-4390-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=mQhMvmem; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-wireless+bounces-4390-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-wireless+bounces-4390-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=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 am.mirrors.kernel.org (Postfix) with ESMTPS id 963BA1F21924 for ; Tue, 5 Mar 2024 17:44:40 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0A74917555; Tue, 5 Mar 2024 17:44:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="mQhMvmem" X-Original-To: linux-wireless@vger.kernel.org Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DB2DC171A7 for ; Tue, 5 Mar 2024 17:44:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709660676; cv=none; b=mwdZBjeH+nW6AF5hYrz84HRmhPmPjPTmmqGq3SYDKerfA6JXtzrl2W6x/c7PX3N+z0DKnSH7Qtd3zpmIAYHq3pid1bLwVFkPuykQ4pBuQKGWoZl+zDq2jWowkx9PYra7bItwqhhCHahHkVjfjTGuxp4n5WeAJOB4z9/SR57mToQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709660676; c=relaxed/simple; bh=oHSZ0G4oxwj88r+yIh5oS1t3YVffBNY0r0XjVs2okSI=; h=Content-Type:MIME-Version:Subject:From:In-Reply-To:References:To: Cc:Message-ID:Date; b=YO2zysHU/gD6fMAF+fkmroUaNFOouLs6NpILWUMpCLRRz/D8wsYLIgEzmQ+92o+OVdMF1e/qOadCbb21HmYuwGpHmU/Kmn5ciTKabLOiuY8FsZY7/6z9cNYTMUyGF5tdCpUXi18adQLvoSSYc8jyiQO/4mEAWjFBWu6ykvWv7qU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=mQhMvmem; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 52F5CC433C7; Tue, 5 Mar 2024 17:44:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1709660676; bh=oHSZ0G4oxwj88r+yIh5oS1t3YVffBNY0r0XjVs2okSI=; h=Subject:From:In-Reply-To:References:To:Cc:Date:From; b=mQhMvmem+uWTmhgyZDtw3WSaiZVuS+zbTsBArxGv3omtGSTebmohU1ZPIcXPjDa+f i4Sg+ES+TCZpuRWUsvfSjNLcQhV+q9YvCNtfwDUXVS1mIS5TcyPTc30E9IJPLupohx Zto80Cl8BlTYuEnTH2fl8fqwblLcoYcEh5jTK63q0EoeScna5BCjJp71dtOPacUYi9 H3MKObhKIH3q8KhuJE8Rd8wvThd+7plgMenHX7L64tsysHKVwjHXnmqPj2CAYBAtoq lIUpYZCsEWHb7e26RPWCwpgX0tkfEYQjD8pf+aKeoygCpj4pnaRbqvbK1jQEQC7pA9 SL3MsC8k2Dv6A== Content-Type: text/plain; charset="utf-8" Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [PATCH v2 1/4] wifi: rtw88: 8821cu: Fix firmware upload fail From: Kalle Valo In-Reply-To: References: To: Bitterblue Smith Cc: "linux-wireless@vger.kernel.org" , Ping-Ke Shih , Sascha Hauer , Sean Mollet User-Agent: pwcli/0.1.1-git (https://github.com/kvalo/pwcli/) Python/3.11.2 Message-ID: <170966067347.365498.17993816555428778650.kvalo@kernel.org> Date: Tue, 5 Mar 2024 17:44:35 +0000 (UTC) Bitterblue Smith wrote: > RTL8822CU, RTL8822BU, and RTL8821CU need an extra register write after > reading and writing certain addresses. > > Without this, the firmware upload fails approximately more than 50% of > the time. > > Tested with RTL8811CU (Tenda U9 V2.0) which is the same as RTL8821CU > but without Bluetooth. > > Fixes: a82dfd33d123 ("wifi: rtw88: Add common USB chip support") > Signed-off-by: Bitterblue Smith > Acked-by: Ping-Ke Shih 4 patches applied to wireless-next.git, thanks. 41a7acb7dde8 wifi: rtw88: 8821cu: Fix firmware upload fail 605d7c0b05ee wifi: rtw88: 8821cu: Fix connection failure e1dfa21427ba wifi: rtw88: 8821c: Fix beacon loss and disconnect c238adbc578e wifi: rtw88: 8821c: Fix false alarm count -- https://patchwork.kernel.org/project/linux-wireless/patch/f12ed39d-28e8-4b8b-8d22-447bcf295afc@gmail.com/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches