Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp772064rdb; Fri, 2 Feb 2024 03:45:29 -0800 (PST) X-Google-Smtp-Source: AGHT+IHxW211ikUr+kRHeKKttp7goSHWPk9x4eMjUmfziXKxZB/G99J7SdPsDw1NLe76vpPtuD28 X-Received: by 2002:a17:906:719a:b0:a36:6faf:2470 with SMTP id h26-20020a170906719a00b00a366faf2470mr1331144ejk.61.1706874329600; Fri, 02 Feb 2024 03:45:29 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706874329; cv=pass; d=google.com; s=arc-20160816; b=Wv/vNFdfN1cm3CQtLIjRASDu58V8opFDNgtnC7bVTeMz8fmSIY34mlo9O/mfj2R/52 +dqCylHzuEuK+VZS/ImvojERQKIYdbuvIvxW43PApnA41Sqf0M8+wtHOrN/ghbaCbD40 NRZgy1/kL6HgM0MS4fqp6W5H6Ts0pX8ka/gAY5vZ6BInR4Zbf+OSaIKkginOuwkshCHw vqWMJsP2k4ShTrqa4QvcLbXmz1KJvLpdiMYYJ1WP93X4vJEU3AtAPwUtpYG2wpRKLe3A nMyQ/xqq50Ua6hjgyKxaqFcMWJzrZL2dWljoGCUDGiSZXVHcbdMUexSKmoX/gMl25nQW L7aw== 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=AO0MWTRFxpRMchPNzjlTP+FC8Sbw5/dCirH5IsXaLUc=; fh=3Ne41R/pYcjr1ZJY6ruplRqJFHxyiZAQDsylsi777Q0=; b=VktfPZg4Vkk0el5Pa4w2/1DMvYdPZMT7YvhM+Nj9LUjPJl6qV+Q8Ed3beribU/u4b1 A0Iq/i0+9ZLrmZtIMZNWNHZdsJraUiYjSB2kcGBuUafWsM2Fx7v9+AMhUtLnLIvNrhi2 vc2+nqPFIAkiysq7lWS7C0wpcu8SlXlobq2UQdEKvYDbcPAvRGLN7ca843n9ecvAkX4o Cb9sLeNT57x64DWuyYY8o8j56Rsz91Max9JfaZ84LgH6G4uv4qF69aIMZAiXjIbiFn++ u7umN7GnmRYC5HDwsib8bILktCPq+S5NuhBcopFxUtS/MOy9mQws1gZ3pXPFf7AH0Jal DHdA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=lOKjlCv7; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-wireless+bounces-3014-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-wireless+bounces-3014-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; AJvYcCUHaoxGnrb9xKupnyJtjkD2ftjCK6wJnymS+RZFY4aQgoCWI1E5UBqtVT8kQq6340i0j10mcrm2lLSKWlWjVC3lGhmHaJ8mQ1KKggFqjA== Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id gx22-20020a170906f1d600b00a318b894edfsi703102ejb.620.2024.02.02.03.45.29 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 02 Feb 2024 03:45:29 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless+bounces-3014-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=lOKjlCv7; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-wireless+bounces-3014-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-wireless+bounces-3014-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 4C3191F28FD1 for ; Fri, 2 Feb 2024 11:45:29 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2C50A779F1; Fri, 2 Feb 2024 11:43:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="lOKjlCv7" 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 064035FDC3 for ; Fri, 2 Feb 2024 11:43:07 +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=1706874188; cv=none; b=liPvaGLuMFjJMLUGQtmD6rqpEyGW1X2bOg9V5hyFasOkyNm0csPLHN2Pt/UO/XtnQsZaBVFXe0dBiw0NuyZpYcOyJ6DXO49PhS4JfTclGyihvBhPS7XrWeN9e8VGxRNowUd/BS9c5m4IMbQA/9RO7TzJc6+l9A968em5qNVR84w= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706874188; c=relaxed/simple; bh=XydI6xT5hhzbAD6CD+gBysVeg8PlHDgGQwcXTq31HfI=; h=Content-Type:MIME-Version:Subject:From:In-Reply-To:References:To: Cc:Message-ID:Date; b=rfgv+qHq/ek549M1EPhWEC3tQCw9ciVLJdDpdWIJhlrZgxP/t8nk8QwYfD9xbiNGSF0kC+bMpVb8z8+x+91vD+kJCMcWRMJt3BwswZWKpneR3ygovHCwHql+w/L0MQ9+t00zDOZhfhdp4a35dWDSnKhZQFVA/EWOU3oA1qXpRqU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=lOKjlCv7; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 936C7C433F1; Fri, 2 Feb 2024 11:43:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1706874187; bh=XydI6xT5hhzbAD6CD+gBysVeg8PlHDgGQwcXTq31HfI=; h=Subject:From:In-Reply-To:References:To:Cc:Date:From; b=lOKjlCv7rq2w8m+UOTFXL/XfRRUT6NlPNKc+2cUGHuGhRwVP98Z8xwq6omHyXF56/ YfI4StYFfh27NqLf46IrnTRrxIkdiVi/EbSnrsxb9YDZQRCSHaGhnVlL+TpuGt1b5h GOfWXj90AiklO5xTLGrQDrB3zztJmimmIx+f0YrTMxKwVk4Z6YXNKcC9fhOaushG5v okDVuY8cWOrsAXCiQBVT0fPzGNMFrulfZjVcdqvlSNaeStF0GkuhB2MnHtTnoIRFTG uAcm7duw1ndSNqUDGDZZlM/hN3VjOxS2wuX4Qu4toLAFw0PW7gXMThPS/2ECU1lCgC URyL0IFmXf+7Q== 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] wifi: ath12k: add firmware-2.bin support From: Kalle Valo In-Reply-To: <20240123122812.3811251-1-quic_rajkbhag@quicinc.com> References: <20240123122812.3811251-1-quic_rajkbhag@quicinc.com> To: Raj Kumar Bhagat Cc: , , Raj Kumar Bhagat User-Agent: pwcli/0.1.1-git (https://github.com/kvalo/pwcli/) Python/3.11.2 Message-ID: <170687418485.3200018.10517939278018200198.kvalo@kernel.org> Date: Fri, 2 Feb 2024 11:43:06 +0000 (UTC) Raj Kumar Bhagat wrote: > Firmware IE containers can dynamically provide various information > what firmware supports. Also it can embed more than one image so > updating firmware is easy, user just needs to update one file in > /lib/firmware/. > > The firmware API 2 or higher will use the IE container format, the > current API 1 will not use the new format but it still is supported > for some time. Firmware API 2 files are named as firmware-2.bin > (which contains both amss.bin and m3.bin images) and API 1 files are > amss.bin and m3.bin. > > Currently ath12k PCI driver provides firmware binary (amss.bin) path to > MHI driver, MHI driver reads firmware from filesystem and boots it. Add > provision to read firmware files from ath12k driver and provide the amss.bin > firmware data and size to MHI using a pointer. > > Currently enum ath12k_fw_features is empty, the patches adding features will > add the flags. > > Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.0.1-00029-QCAHKSWPL_SILICONZ-1 > > Signed-off-by: Raj Kumar Bhagat > Acked-by: Jeff Johnson > Signed-off-by: Kalle Valo Patch applied to ath-next branch of ath.git, thanks. 12f491cd6d81 wifi: ath12k: add firmware-2.bin support -- https://patchwork.kernel.org/project/linux-wireless/patch/20240123122812.3811251-1-quic_rajkbhag@quicinc.com/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches