瀏覽代碼

qcacmn: Populate mpdu_failed stats

Calculate mpdu_failed by subtracting
mpdu_tried with mpdu_success

Change-Id: Ic8a757729f3b352578d33c35d73158cffa64b78d
phadiman 5 年之前
父節點
當前提交
f09509b3f4
共有 1 個文件被更改,包括 4 次插入0 次删除
  1. 4 0
      dp/wifi3.0/dp_htt.c

+ 4 - 0
dp/wifi3.0/dp_htt.c

@@ -2225,6 +2225,10 @@ static void dp_process_ppdu_stats_user_cmpltn_common_tlv(
 	ppdu_user_desc->mpdu_success =
 	HTT_PPDU_STATS_USER_CMPLTN_COMMON_TLV_MPDU_SUCCESS_GET(*tag_buf);
 
+	ppdu_user_desc->mpdu_failed =
+	HTT_PPDU_STATS_USER_CMPLTN_COMMON_TLV_MPDU_TRIED_GET(*tag_buf) -
+						ppdu_user_desc->mpdu_success;
+
 	tag_buf++;
 
 	ppdu_user_desc->long_retries =