Merge "qca-wifi: support for rx ack recreation frame for tx failed frames"

This commit is contained in:
Linux Build Service Account
2020-02-10 18:39:17 -08:00
committed by Gerrit - the friendly Code Review server

View File

@@ -1730,7 +1730,9 @@ void dp_send_data_to_stack(struct dp_pdev *pdev,
qdf_nbuf_free(tx_capture_info.mpdu_nbuf);
}
if (ppdu_desc->resp_type == HTT_PPDU_STATS_ACK_EXPECTED_E)
if (ppdu_desc->resp_type == HTT_PPDU_STATS_ACK_EXPECTED_E &&
ppdu_desc->user[0].completion_status ==
HTT_PPDU_STATS_USER_STATUS_OK)
dp_gen_ack_rx_frame(pdev, &tx_capture_info);
}