소스 검색

qcacmn: Remove redundant counter increments under RA match event

In the case of WOW resume due to RA match event, driver will
update the protocol and destination type WOW stats after parsing
the data packet. The same stats are again incremented under RA
match case in TX op that is called in wma_inc_wow_stats. This is
causing counters to increment twice for each packet. Therefore
remove the increment of wow stats from TX op case.

Remove redundant counter increments under RA match event in
target_if_cp_stats_inc_wake_lock_stats.

Change-Id: I10486d083175772f976542a38364ba964c8e1a87
CRs-Fixed: 2406975
Nachiket Kukade 6 년 전
부모
커밋
6943747a55
1개의 변경된 파일0개의 추가작업 그리고 6개의 파일을 삭제
  1. 0 6
      target_if/cp_stats/src/target_if_mc_cp_stats.c

+ 0 - 6
target_if/cp_stats/src/target_if_mc_cp_stats.c

@@ -406,12 +406,6 @@ static void target_if_cp_stats_inc_wake_lock_stats(uint32_t reason,
 		stats->mgmt_action++;
 		break;
 
-	case WOW_REASON_RA_MATCH:
-		stats->ipv6_mcast_wake_up_count++;
-		stats->ipv6_mcast_ra_stats++;
-		stats->icmpv6_count++;
-		break;
-
 	case WOW_REASON_NLOD:
 		stats->pno_match_wake_up_count++;
 		break;