浏览代码

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
Ruben Columbus 5 年之前
父节点
当前提交
11ec57d57b
共有 1 个文件被更改,包括 3 次插入1 次删除
  1. 3 1
      dp/wifi3.0/dp_tx_capture.c

+ 3 - 1
dp/wifi3.0/dp_tx_capture.c

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