]> git.ipfire.org Git - thirdparty/linux.git/commit
wifi: ath12k: Fix the handling of TX packets in Ethernet mode
authorNithyanantham Paramasivam <nithyanantham.paramasivam@oss.qualcomm.com>
Fri, 18 Jul 2025 02:55:11 +0000 (08:25 +0530)
committerJeff Johnson <jeff.johnson@oss.qualcomm.com>
Sat, 19 Jul 2025 16:14:44 +0000 (09:14 -0700)
commit192c8e9a131f1772a635c3c5df4cb592bd7b3e8b
tree9261f6fdaa1b6a97fc32f619a84074f208ebc403
parent1a50c5ca394ab1b3a30094eda2354bcfc00f9909
wifi: ath12k: Fix the handling of TX packets in Ethernet mode

Currently, in the transmit (TX) direction, EAPOL, QoS NULL,
and multicast frames are sent in native Wi-Fi (802.11) format.
However, when the virtual interface is configured in Ethernet
mode, transmission fails for packets enqueued in native Wi-fi format.

To address this issue, the firmware should be instructed to
treat these packets as RAW type packets, ensuring proper
handling even when the interface operates in Ethernet mode.

Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.4.1-00217-QCAHKSWPL_SILICONZ-1
Tested-on: WCN7850 hw2.0 PCI WLAN.HMT.1.0.c5-00481-QCAHMTSWPL_V1.0_V2.0_SILICONZ-3

Signed-off-by: Nithyanantham Paramasivam <nithyanantham.paramasivam@oss.qualcomm.com>
Reviewed-by: Vasanthakumar Thiagarajan <vasanthakumar.thiagarajan@oss.qualcomm.com>
Link: https://patch.msgid.link/20250718025513.32982-2-nithyanantham.paramasivam@oss.qualcomm.com
[fix indentation]
Signed-off-by: Jeff Johnson <jeff.johnson@oss.qualcomm.com>
drivers/net/wireless/ath/ath12k/dp_tx.c
drivers/net/wireless/ath/ath12k/mac.c