Commit 1cccd28a authored by Pradeep Kumar Chitrapu's avatar Pradeep Kumar Chitrapu Committed by Greg Kroah-Hartman
Browse files

wifi: ath11k: fix tx status reporting in encap offload mode



[ Upstream commit 6257c702 ]

ieee80211_tx_status() treats packets in 802.11 frame format and
tries to extract sta address from packet header. When tx encap
offload is enabled, this becomes invalid operation. Hence, switch
to using ieee80211_tx_status_ext() after filling in station
address for handling both 802.11 and 802.3 frames.

Tested-on: QCN9074 hw1.0 PCI WLAN.HK.2.7.0.1-01744-QCAHKSWPL_SILICONZ-1

Signed-off-by: default avatarPradeep Kumar Chitrapu <quic_pradeepc@quicinc.com>
Signed-off-by: default avatarKalle Valo <quic_kvalo@quicinc.com>
Link: https://lore.kernel.org/r/20230403195738.25367-2-quic_pradeepc@quicinc.com


Stable-dep-of: 29d15589 ("wifi: ath11k: Cleanup mac80211 references on failure during tx_complete")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent dc1ab657
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment