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
This commit is contained in:

committed by
nshrivas

parent
a092ad1662
commit
6943747a55
@@ -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;
|
||||
|
Reference in New Issue
Block a user