linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] wifi: ath12k: fbx: Add missing htt_metadata flag in ath12k_dp_tx()
@ 2025-01-24 11:33 Nicolas Escande
  2025-01-25 20:23 ` Nicolas Escande
                   ` (3 more replies)
  0 siblings, 4 replies; 10+ messages in thread
From: Nicolas Escande @ 2025-01-24 11:33 UTC (permalink / raw)
  To: ath12k; +Cc: linux-wireless

When AP-VLAN was added, we did not add HTT_TCL_META_DATA_VALID_HTT flag to
the tx_info's meta_data_flags . Without this flag the firmware seems to
reject all the broadcast (ap-vlan) frames. So lets add it same as ath11k
did it in commit 5e8a373c8699 ("ath11k: Add support for dynamic vlan")

Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.4.1-00199-QCAHKSWPL_SILICONZ-1

Fixes: 26dd8ccdba4d ("wifi: ath12k: dynamic VLAN support")
Signed-off-by: Nicolas Escande <nico.escande@gmail.com>
---
 drivers/net/wireless/ath/ath12k/dp_tx.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/net/wireless/ath/ath12k/dp_tx.c b/drivers/net/wireless/ath/ath12k/dp_tx.c
index 00437736e0322..0d7a079f4c6d1 100644
--- a/drivers/net/wireless/ath/ath12k/dp_tx.c
+++ b/drivers/net/wireless/ath/ath12k/dp_tx.c
@@ -368,6 +368,7 @@ int ath12k_dp_tx(struct ath12k *ar, struct ath12k_link_vif *arvif,
 		add_htt_metadata = true;
 		msdu_ext_desc = true;
 		ti.flags0 |= u32_encode_bits(1, HAL_TCL_DATA_CMD_INFO2_TO_FW);
+		ti.meta_data_flags |= HTT_TCL_META_DATA_VALID_HTT;
 		ti.encap_type = HAL_TCL_ENCAP_TYPE_RAW;
 		ti.encrypt_type = HAL_ENCRYPT_TYPE_OPEN;
 	}
-- 
2.48.1


^ permalink raw reply related	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2025-02-20 21:41 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-24 11:33 [PATCH] wifi: ath12k: fbx: Add missing htt_metadata flag in ath12k_dp_tx() Nicolas Escande
2025-01-25 20:23 ` Nicolas Escande
2025-02-12  4:07 ` Vasanthakumar Thiagarajan
2025-02-12  4:09   ` Vasanthakumar Thiagarajan
2025-02-19 17:58 ` Jeff Johnson
2025-02-19 18:33   ` Nicolas Escande
2025-02-20 15:18     ` Jeff Johnson
2025-02-20 15:46     ` Jeff Johnson
2025-02-20 17:49       ` Nicolas Escande
2025-02-20 21:40 ` Jeff Johnson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).