The ack_rssi_valid flag to set to 1 only when completion_status value is 0 which shows that the TX was successful. Change-Id: I9e520422995e374d7d35b9db0c060d1fce2f9067
@@ -2045,7 +2045,8 @@ static void dp_process_ppdu_stats_user_cmpltn_common_tlv(
tag_buf++;
- if (qdf_likely(ppdu_user_desc->completion_status)) {
+ if (qdf_likely(ppdu_user_desc->completion_status ==
+ HTT_PPDU_STATS_USER_STATUS_OK)) {
ppdu_desc->ack_rssi = dp_stats_buf->ack_rssi;
ppdu_user_desc->ack_rssi_valid = 1;
} else {