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

rx ack does not get created for tx failed frames.
this is done with a check for completion status on the previous frame.

Change-Id: Idfff8aa8165542bb2ca2cf1370a201ccb057997e
This commit is contained in:
Ruben Columbus
2020-02-04 12:35:24 -08:00
parent 992e62ae73
commit 11ec57d57b

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);
}