summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/ath/ath11k/dp_tx.h
diff options
context:
space:
mode:
authorPradeep Kumar Chitrapu <quic_pradeepc@quicinc.com>2023-04-17 13:35:02 +0300
committerKalle Valo <quic_kvalo@quicinc.com>2023-04-19 17:23:22 +0300
commit6257c702264c44d74c6b71f0c62a7665da2dc356 (patch)
treedc60720a6955b9656833303130d76b76684dde53 /drivers/net/wireless/ath/ath11k/dp_tx.h
parent20487cc3ff36bbfa9505f0a078ba98f09abfc717 (diff)
wifi: ath11k: fix tx status reporting in encap offload mode
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: Pradeep Kumar Chitrapu <quic_pradeepc@quicinc.com> Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com> Link: https://lore.kernel.org/r/20230403195738.25367-2-quic_pradeepc@quicinc.com
Diffstat (limited to 'drivers/net/wireless/ath/ath11k/dp_tx.h')
-rw-r--r--drivers/net/wireless/ath/ath11k/dp_tx.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath11k/dp_tx.h b/drivers/net/wireless/ath/ath11k/dp_tx.h
index e87d65bfbf06..68a21ea9b934 100644
--- a/drivers/net/wireless/ath/ath11k/dp_tx.h
+++ b/drivers/net/wireless/ath/ath11k/dp_tx.h
@@ -13,6 +13,7 @@ struct ath11k_dp_htt_wbm_tx_status {
u32 msdu_id;
bool acked;
int ack_rssi;
+ u16 peer_id;
};
void ath11k_dp_tx_update_txcompl(struct ath11k *ar, struct hal_tx_status *ts);