浏览代码

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;