Explorar o código

qcacmn: Set ack_rssi_valid to 1 for successful TX

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
Viyom Mittal %!s(int64=6) %!d(string=hai) anos
pai
achega
27fe1239d3
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      dp/wifi3.0/dp_htt.c

+ 2 - 1
dp/wifi3.0/dp_htt.c

@@ -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 {