Browse Source

qcacmn: Fix non-QOS seq number in PPDU stats

Sequence number should be obtained from user_compln_ack_ba_stats_tlv
in HTT PPDU stats messages since enq_bitmap TLVs are not sent for
non-QOS frames.

Change-Id: I2d5ddb8c7397953081df94f77f0bd8a30a581b11
Karunakar Dasineni 5 years ago
parent
commit
fc8fac5233
1 changed files with 6 additions and 1 deletions
  1. 6 1
      dp/wifi3.0/dp_htt.c

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

@@ -2584,7 +2584,12 @@ static void dp_process_ppdu_stats_user_compltn_ack_ba_status_tlv(
 
 	ppdu_user_desc->success_msdus = ppdu_user_desc->num_msdu;
 
-	tag_buf += 2;
+	tag_buf++;
+	ppdu_user_desc->start_seq =
+		HTT_PPDU_STATS_USER_CMPLTN_ACK_BA_STATUS_TLV_START_SEQ_GET(
+			*tag_buf);
+
+	tag_buf++;
 	ppdu_user_desc->success_bytes = *tag_buf;
 
 	/* increase successful mpdu counter */