From mboxrd@z Thu Jan 1 00:00:00 1970 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 3787725C6EC; Tue, 27 May 2025 17:48: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=1748368116; cv=none; b=X8tzMunenaKMrmL3+AvCwTryFzwIj0+R6HcoRs7b9UtA6Gi8uVHkcLDWCy1ycpfWb3aGBQWjuwsi5aYk10LlSRqpOpVufhuVXlCn81OJQ0ZrT2Vk8NXtTULpjeRXpbkkZ0OFK1diSK6yDK8uc5zdAJpb+8nk7avPT8eeDS4xVjQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1748368116; c=relaxed/simple; bh=1X5j6N9ZL4QIOPmG9xZ9OdZnU06Tu2cMlk92z7vwiNo=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=To+g9LpnzaDk1qGwmQUMc9N4Gg2k29qPZwPfS7xeKPALAkhf01kPFPPNr8CZsg1PTl3LN4CWR0WzCY8HP4y4qBtKxlqvq0jS1qqEGmHCqHMd6MwZb2gUAv0FPBYHB65DIF4pwaf9ji44mHsbC6hsVw36UVsRteEvmcjMZ+i/f10= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=S5jTlqdG; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="S5jTlqdG" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 99B55C4CEEA; Tue, 27 May 2025 17:48:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1748368116; bh=1X5j6N9ZL4QIOPmG9xZ9OdZnU06Tu2cMlk92z7vwiNo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=S5jTlqdG+wKS4I1x9tm7QhiG/6ZWpbTQCJv+wiQHU+YOusSnIxx0My/WHfwqoMAif UHu2UWC0ttT71YSmxZWD2wTo3QKMWHcaWD6U4xEBDRi4cus7r2qhBV/2Bh61DjW/yb V4+Wr1fYNQybUk+/u0NnE9w3S4QO+0qWizidFLwk= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Nicolas Escande , Vasanthakumar Thiagarajan , Jeff Johnson , Sasha Levin Subject: [PATCH 6.14 603/783] wifi: ath12k: fix ath12k_hal_tx_cmd_ext_desc_setup() info1 override Date: Tue, 27 May 2025 18:26:40 +0200 Message-ID: <20250527162537.712492910@linuxfoundation.org> X-Mailer: git-send-email 2.49.0 In-Reply-To: <20250527162513.035720581@linuxfoundation.org> References: <20250527162513.035720581@linuxfoundation.org> User-Agent: quilt/0.68 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: patches@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 6.14-stable review patch. If anyone has any objections, please let me know. ------------------ From: Nicolas Escande [ Upstream commit df11edfba49e5fb69f4c9e7cb76082b89c417f78 ] Since inception there is an obvious typo laying around in ath12k_hal_tx_cmd_ext_desc_setup(). Instead of initializing + adding flags to tcl_ext_cmd->info1, we initialize + override. This will be needed in the future to make broadcast frames work with ethernet encapsulation. Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.4.1-00199-QCAHKSWPL_SILICONZ-1 Signed-off-by: Nicolas Escande Reviewed-by: Vasanthakumar Thiagarajan Link: https://patch.msgid.link/20250127071306.1454699-1-nico.escande@gmail.com Signed-off-by: Jeff Johnson Signed-off-by: Sasha Levin --- drivers/net/wireless/ath/ath12k/dp_tx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wireless/ath/ath12k/dp_tx.c b/drivers/net/wireless/ath/ath12k/dp_tx.c index 75608ae027afe..a39bfb959797a 100644 --- a/drivers/net/wireless/ath/ath12k/dp_tx.c +++ b/drivers/net/wireless/ath/ath12k/dp_tx.c @@ -117,7 +117,7 @@ static void ath12k_hal_tx_cmd_ext_desc_setup(struct ath12k_base *ab, le32_encode_bits(ti->data_len, HAL_TX_MSDU_EXT_INFO1_BUF_LEN); - tcl_ext_cmd->info1 = le32_encode_bits(1, HAL_TX_MSDU_EXT_INFO1_EXTN_OVERRIDE) | + tcl_ext_cmd->info1 |= le32_encode_bits(1, HAL_TX_MSDU_EXT_INFO1_EXTN_OVERRIDE) | le32_encode_bits(ti->encap_type, HAL_TX_MSDU_EXT_INFO1_ENCAP_TYPE) | le32_encode_bits(ti->encrypt_type, -- 2.39.5