Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp3207797rdb; Tue, 6 Feb 2024 10:06:37 -0800 (PST) X-Google-Smtp-Source: AGHT+IHtCk45HVhtMjJsbBUPNG0+wlDlSGlRboqFgK+RP5nbhebO8ZfgcoyzI9c858I4wKW7Ym5N X-Received: by 2002:a05:620a:530d:b0:785:546b:7dc3 with SMTP id oo13-20020a05620a530d00b00785546b7dc3mr3575399qkn.9.1707242797100; Tue, 06 Feb 2024 10:06:37 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707242797; cv=pass; d=google.com; s=arc-20160816; b=cfeXuWckaNJu9TGOZW74ebiudOiXnfe14ZjPo/jiuZyWaHXbW1gR3Z5lJRcnxEglTQ pRQeZpv/xZNl4vY5QAx9GDiUqM91sKsEWrQjpLI16YyZP+yrz2v9NyVYyAy6lIp/rBh/ TZ0fqCWUsN6AsoRiW8wdcvCTXm7zKlVrfoaLKl9UHHjH+KBdgeVmTUc8Ctv/47gu8IRR VvVN1KHRoy1J4rYQU4QDddQldWfJaCvR6TP4uDzce3VQZtbzyOly+XOJxSuN8xdHdhs4 zvrwJ9CMTHTIJ1MLI14C1A5hfJCEb5DzXVLSxr0IcQ8tk44I9GK8fymGqTOB8piA/Wq6 QV9g== 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=uOI3u+CRsZmwh+4dGc1W4GYxUkBPTFjV9xx5eGjOGoM=; fh=Nvk77cDbi75Zcgo3xlmAZxjkrrfQutdumfjc3XFLkJU=; b=zKECjuFj60ELU7idWvPtOnDgEpwHwGF64KICoXzKqv3RN5MKR/X/UKV3xMOFFyRDrE k0whDRAJ8LE0M0HHYdSKA7ejoWLvzShWm7FhVeeNj4mkk2TxBGISujtltpX0f2DTs0aq onLX0adEwYDpyGQbMtyV4Bvr9JR9RV0OQAhSZE3tNO9+BDqhbdt4oQWk/RfXH1g6BOGy 2xzfHOpyFDvmChGKUuhCGuw0zTajVH0BWP5dBGwkOax/3eJzQyIgF8XnsmFuJXfsqpQr ZNCco7lnuBMTceCocgvW+E/FbGYLKlPusxz1loi3WqF9pxfbOc18s9e4M7PrUsBrZu6I r5zg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=OMroMUgm; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-wireless+bounces-3247-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-wireless+bounces-3247-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org X-Forwarded-Encrypted: i=1; AJvYcCXjHRl9R7AFx67gt5cDryPSPEBC9hh7fTN52iU6vZ+Q+7CHSz03ktQgegSBNO9pnFffnkbzIgVRel+Z51EKfCnHgjHZIGAkNFgT05d/2g== Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id m24-20020a05620a221800b00785600cc3b4si2718135qkh.135.2024.02.06.10.06.36 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Feb 2024 10:06:37 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless+bounces-3247-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=OMroMUgm; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-wireless+bounces-3247-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-wireless+bounces-3247-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id C43CB1C22FFB for ; Tue, 6 Feb 2024 18:06:36 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D2F35DF5A; Tue, 6 Feb 2024 18:06:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="OMroMUgm" 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 AF814DF56 for ; Tue, 6 Feb 2024 18:06:33 +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=1707242793; cv=none; b=MNyNWOQ2Od8Yo90/t0KUwnDwiMmStd/x4gx6TGXZd3An2lNxD99EDP9f7FkQFdH3DM1BoRsKB0ZGPLgmz9hx0az1gUOjo/P1Dx6egP8yvgDBbRcVmJ56OTAXLElKp5atpw/Q4HgXc+hpO0Tf0/2Uz7REPmOptrkXLr4rz1orJFE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707242793; c=relaxed/simple; bh=5gj2VcJqPALoxtQRmPAWqTM59hfQsY+gk1AqpFUyAx8=; h=Content-Type:MIME-Version:Subject:From:In-Reply-To:References:To: Cc:Message-ID:Date; b=MIjhJGljGXagylo8ylmnDRlPwU1Xx+YJVGeT2/yV7NO0uNf31j6FPa4lMahnsL8SsU5NjM34wDOCZipFfSQc4fSvQa2GRMCPNmnugmS3HyYgPc5q0+uv8eaVGdL887smPd4eg9tC3/yvY351YsI4rghPjE/ZyW+2GF1dIrwI+KE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=OMroMUgm; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id A6CCEC433C7; Tue, 6 Feb 2024 18:06:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1707242793; bh=5gj2VcJqPALoxtQRmPAWqTM59hfQsY+gk1AqpFUyAx8=; h=Subject:From:In-Reply-To:References:To:Cc:Date:From; b=OMroMUgmU3pAYg0479FxTJKKt5PEHGXhaFVXWZHgumOAyRPPGHbPWC5SUbfg8BN7o 6oLpBzXhtZO1/Sw6VfUHJTk2X0cwvYgsJRVPSWDmRzfz4FfWtowWMN1gzIw2spaKhW 0tJs62nsLiD2oE5hTrAnXPTtDVj+a+TsOtySIi+CGCV5d/EK1o7Hl1YG0mWfUjZJlI vQxe4BoTjaE0jW+afizMoYIilJYJRcOng0ecWrTYzE3z8YDCmzBrBVuvSl5Vdpsj42 0ki9CHj2Dum+wxeXTfxVIy+9NU3OF8Km9pUJdyEhC4Ghxwb3QnrDrW2FlSoisHdL6G ML7+AoLBn9VvQ== 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: rtw89: fw: consider checksum length of security data From: Kalle Valo In-Reply-To: <20240204012627.9647-2-pkshih@realtek.com> References: <20240204012627.9647-2-pkshih@realtek.com> To: Ping-Ke Shih Cc: User-Agent: pwcli/0.1.1-git (https://github.com/kvalo/pwcli/) Python/3.11.2 Message-ID: <170724279068.1979906.13141395871215620226.kvalo@kernel.org> Date: Tue, 6 Feb 2024 18:06:32 +0000 (UTC) Ping-Ke Shih wrote: > The newer firmware file provides security data with checksum, so we need to > consider the length. Otherwise it will fail to validate total firmware > length resulting in failed to probe. > > Signed-off-by: Ping-Ke Shih 4 patches applied to wireless-next.git, thanks. dedf78efd288 wifi: rtw89: fw: consider checksum length of security data 5462b8505f53 wifi: rtw89: fw: read firmware secure information from efuse 12ff5e1cca33 wifi: rtw89: fw: parse secure section from firmware file 43f8a4dc40a7 wifi: rtw89: fw: download firmware with key data for secure boot -- https://patchwork.kernel.org/project/linux-wireless/patch/20240204012627.9647-2-pkshih@realtek.com/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches