From 039090c264aaf838a497cd3714a6f6171c550557 Mon Sep 17 00:00:00 2001 From: Surabhi Vishnoi Date: Fri, 26 Mar 2021 12:54:20 +0530 Subject: [PATCH] qcacld-3.0: Set retry flag in frame ctrl in tx data pkts If the retry count is more than zero then set the retry flag in frame control of tx data packets in packet capture mode. Change-Id: Ie1ecfc30c30946d97c92ee2612c825f8d3539f25 CRs-Fixed: 2932130 --- components/pkt_capture/core/src/wlan_pkt_capture_data_txrx.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/components/pkt_capture/core/src/wlan_pkt_capture_data_txrx.c b/components/pkt_capture/core/src/wlan_pkt_capture_data_txrx.c index eaf8a485f6c3..1d89abd8702b 100644 --- a/components/pkt_capture/core/src/wlan_pkt_capture_data_txrx.c +++ b/components/pkt_capture/core/src/wlan_pkt_capture_data_txrx.c @@ -1278,6 +1278,9 @@ pkt_capture_tx_data_cb( wh->i_fc[1] &= ~IEEE80211_FC1_WEP; + if (tx_retry_cnt) + wh->i_fc[1] |= IEEE80211_FC1_RETRY; + new_hdsize = sizeof(struct ieee80211_frame); if (wh->i_fc[0] & QDF_IEEE80211_FC0_SUBTYPE_QOS) {