Received: by 2002:a05:7412:2a91:b0:fc:a2b0:25d7 with SMTP id u17csp596398rdh; Wed, 14 Feb 2024 06:17:34 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVIgGoN6fB7iEINLyZDnU2U+Km2dhot80JY0WCLQDm+Vsi1eOcO8FUgZ706bzuai8qH1lD5EyJQE7bkqERiXzMhnhG4VisgiyTapMNQjA== X-Google-Smtp-Source: AGHT+IErcVyygA0wojuBFwJCwffbBIN1w4SxE+eEYgoi4SyHMh0VFeN+ZGKLYoiVi2FIQKT0jTJF X-Received: by 2002:a05:6a00:1e02:b0:6e0:d2a9:2905 with SMTP id gx2-20020a056a001e0200b006e0d2a92905mr2862977pfb.6.1707920253842; Wed, 14 Feb 2024 06:17:33 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707920253; cv=pass; d=google.com; s=arc-20160816; b=Kvk7jmdWW6XkNLoNjBPDTyTwQT3AQaY1MG0p/BXhmdAzw5+0FB3w+LTlA20qd4JREb s7y7snTbqGaHAB0Odx3tbVoLNMGCy6gNiM9PY4Oqq5j5sGHoEMC1CjxtL0gY798mWNEl 9hTt0EHWpM591icwUZHHJOMsjDXoY9rBh2x2zXBHgdtEbT80GhIuEIX5Eg+8/mg7z+SW zVlH7EIbJOulMJMYbz7CQTLrH4KSrG98o044I5LQh4VWznSIOGEI3Csd4wCUqzicLNA2 75zxQeeLmogLJZKMG/mKVPEYbJqd7Jx8HuqREIzWAcXihtC1eFrs+u6RBUIFehGWhJsL wAjQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=aUsO+IzRJ5+2bOn6TgFrFIgxHQIR2wb0vuBdLhpxUdI=; fh=PD1gzRZAQFlYmf6rVVKLqTXl4aGh5QpL04F2lYzaGxw=; b=v/73mOzhcnLdquCo4Ly5i3/cpNV/Jt9W0lvjXbH7hJOrjB+wqscseXU8xny7yJD2bO M4Xt3+71LX05SRZHseWb6oEMGhD08LilEu+pCWn2OJLzm7D9pNYzvdC5AA9SyjJnZZiC qYgn6IOX7211ebBkFwhEyM6FI5NPoECWOMHf7LQgbp8yvX7cn23InEouraPnmnJk27R9 f7a/MkDXigCsO+YaLlTeL7DBkaneNpqKQbvq0B+wS48Vn2AmSum0MDdgsAUunDqPA9KH bMQfEoFoFsgsuGWO0i++nRf7/g1A2ZSCNxDKsfVLLAG5DPt64PMksNRf5ge5jnJQ+XLF gQfQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@narfation.org header.s=20121 header.b="sHSn/v46"; arc=pass (i=1 spf=pass spfdomain=narfation.org dkim=pass dkdomain=narfation.org dmarc=pass fromdomain=narfation.org); spf=pass (google.com: domain of linux-wireless+bounces-3587-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-wireless+bounces-3587-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=narfation.org X-Forwarded-Encrypted: i=2; AJvYcCUChg8aoxx7ov9ENcFV/qcRhNmloTPH3r34ZQHMtNvGU8CzcnWpaJPzZIYesPsaC5QpM9Jb906fCGPYo63Osd83okvA7gUf9ePIc2+NKw== Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id j20-20020a056a00175400b006e07450370csi8532975pfc.69.2024.02.14.06.17.33 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Feb 2024 06:17:33 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless+bounces-3587-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@narfation.org header.s=20121 header.b="sHSn/v46"; arc=pass (i=1 spf=pass spfdomain=narfation.org dkim=pass dkdomain=narfation.org dmarc=pass fromdomain=narfation.org); spf=pass (google.com: domain of linux-wireless+bounces-3587-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-wireless+bounces-3587-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=narfation.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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 82C5E2832F2 for ; Wed, 14 Feb 2024 14:17:33 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9AFD1524CA; Wed, 14 Feb 2024 14:17:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=narfation.org header.i=@narfation.org header.b="sHSn/v46" X-Original-To: linux-wireless@vger.kernel.org Received: from dvalin.narfation.org (dvalin.narfation.org [213.160.73.56]) (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 DF3A845C15 for ; Wed, 14 Feb 2024 14:17:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=213.160.73.56 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707920249; cv=none; b=cYToW+tbyQH+Ca1MmOSiOWscbJG4h7j2zHrdAXDkn6BEKcUandYMgIKK9a7nSquYV+B/rKUQD3gn1AkazpHmatp6oIT9ark5I6wQSGv6V/sdhONq6eGJiMi73nZgn9tU18grx851lTc5xKigWQjCqdYTRGZ2vdunTqkNl1cOKrM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707920249; c=relaxed/simple; bh=kKI5nDHznsvepT7WX3hKw0v1bt52p6U4Vm34fGClZtc=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=OJxpIOnJ5LTkQQYQAKEG7x28V+eQassEjVJxwndtObZ6e9CQ50mTSQqFj746HsG6dNO/HRFjr0EDYKOrqkE1dJYQWVxFC7hLxXbK7c0oHpoBQZ54KC7zUrJGNRn5DaiNldZFCE5ScN964TG5kDIr4JFTef1sIKWe8xcqqzwn6FE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=narfation.org; spf=pass smtp.mailfrom=narfation.org; dkim=pass (1024-bit key) header.d=narfation.org header.i=@narfation.org header.b=sHSn/v46; arc=none smtp.client-ip=213.160.73.56 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=narfation.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=narfation.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=narfation.org; s=20121; t=1707920239; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=aUsO+IzRJ5+2bOn6TgFrFIgxHQIR2wb0vuBdLhpxUdI=; b=sHSn/v46EYiEniftvRMf+ygjBfZUDonOOnp8yXl2pR0fghGLjRYP5BKSucLu16jkYFSeSy 7EInFSYSV7TntobV6/Eunz9vLjVR5aejY/+Q1B3FTSQI8lpx33h4lfmIbbZ8+zPSxBnQiC p1g1jLJve1KtG6vfY7MuSj/RXL1NUas= From: Sven Eckelmann To: ath12k@lists.infradead.org, Raj Kumar Bhagat Cc: linux-wireless@vger.kernel.org, Ganesh Babu Jothiram , Raj Kumar Bhagat Subject: Re: [PATCH v3 12/13] wifi: ath12k: Read board id to support split-PHY QCN9274 Date: Wed, 14 Feb 2024 15:17:11 +0100 Message-ID: <23399810.6Emhk5qWAg@ripper> In-Reply-To: <20240129065724.2310207-13-quic_rajkbhag@quicinc.com> References: <20240129065724.2310207-1-quic_rajkbhag@quicinc.com> <20240129065724.2310207-13-quic_rajkbhag@quicinc.com> Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart2595327.Lt9SDvczpP"; micalg="pgp-sha512"; protocol="application/pgp-signature" --nextPart2595327.Lt9SDvczpP Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii"; protected-headers="v1" From: Sven Eckelmann Date: Wed, 14 Feb 2024 15:17:11 +0100 Message-ID: <23399810.6Emhk5qWAg@ripper> In-Reply-To: <20240129065724.2310207-13-quic_rajkbhag@quicinc.com> MIME-Version: 1.0 On Monday, 29 January 2024 07:57:23 CET Raj Kumar Bhagat wrote: > diff --git a/drivers/net/wireless/ath/ath12k/fw.c b/drivers/net/wireless/ath/ath12k/fw.c > index fbcf40c97792..5be4b2d4a19d 100644 > --- a/drivers/net/wireless/ath/ath12k/fw.c > +++ b/drivers/net/wireless/ath/ath12k/fw.c > @@ -119,6 +119,13 @@ static int ath12k_fw_request_firmware_api_n(struct ath12k_base *ab, [...] > + case ATH12K_FW_IE_AMSS_DUALMAC_IMAGE: > + ath12k_dbg(ab, ATH12K_DBG_BOOT, > + "found dualmac fw image ie (%zd B)\n", > + ie_len); > + ab->fw.amss_dualmac_data = data; > + ab->fw.amss_dualmac_len = ie_len; > + break; > default: > ath12k_warn(ab, "Unknown FW IE: %u\n", ie_id); > break; > @@ -371,16 +375,43 @@ int ath12k_mhi_register(struct ath12k_pci *ab_pci) [...] > + if (dualmac) { > + if (ab->fw.amss_dualmac_data && ab->fw.amss_dualmac_len > 0) { > + /* use MHI firmware file from firmware-N.bin */ > + mhi_ctrl->fw_data = ab->fw.amss_dualmac_data; > + mhi_ctrl->fw_sz = ab->fw.amss_dualmac_len; > + } else { > + ath12k_warn(ab, "dualmac firmware IE not present in firmware-N.bin\n"); > + ret = -ENOENT; > + goto free_controller; > + } I saw this now already multiple times that the source code was referencing the firmware-N.bin (like we had with ath10k). But they aren't published anywhere. I can't find a single one at: * https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/tree/ath11k * https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/tree/ath12k * https://github.com/kvalo/ath11k-firmware * https://github.com/quic/upstream-wifi-fw So I find it odd that the new code now seems to depend on it without actually providing these files anywhere. Might be good to have these soon in linux-firmware.git. Kind regards, Sven --nextPart2595327.Lt9SDvczpP Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEF10rh2Elc9zjMuACXYcKB8Eme0YFAmXMy2gACgkQXYcKB8Em e0b/fBAApivgxL1eB/xBoiFI5KRag3uRnne7oFJYEr/cWtmYKmTkQtGRMjymqbJY qH24K2itQRxTbZtuJmz0YMAKT1wGleuy4bKDVtDrprDsDesvuaFV81tt6fBllIbb 9Kk0JlbVTcV9rvjciEHO6mvjuajTgh6dmXS1XgYwOER3wZijLOf+GEon7XmDUOaz tdAS6dtmVPo+uXsKNpEAImV91n45aTF01xY3pXOGEWWVIKPqi5eJgIG4w8zLJa1b Jao/ACKGRKGSxHKrJJWQ3YTim62eK595PLyj949U725oxClqg4N96uY3qElyNk1q iYrUtcsvOwMHSMVVRXQunznD3isXNprC7M0mX45spmUGXTAmxLP2y6CCiSQXEyXo wjczNbhHoFZlSKLi8/hY0zvFwn3Ep+0oegKNBhjZMgUj8yiwHvIKeGkR667c4PEb lUJ4FZA08gDHEp0r4li0LXcf7Sz1qa4QIo+brX+UVFXU67aMoI/wPY153gteQLmf xx8AHegi9P+SavuZ3Dc321/icQQdFugjF7L2msvRHmqaFvBSYFfqpxVxhbXz5kPX OcbT9TuT2Ne0GZcISxBp7uqYaW67dwY/EYwgmhfIgiJ6RXNgW935ROiBiHsu86ZD jo3JB5cxvSe0XL0XGhVOs8WZPkBMYlqusS9ZfwQEnZGxjqjTK+E= =Ic38 -----END PGP SIGNATURE----- --nextPart2595327.Lt9SDvczpP--