summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSrinivas Girigowda <sgirigow@qca.qualcomm.com>2016-07-27 17:08:49 -0700
committerAnjaneedevi Kapparapu <akappa@codeaurora.org>2016-07-28 14:36:57 +0530
commita0f5c291b22e41cd3671ace27fcee57aca2e3e55 (patch)
treecde05bc565738d5bbef7a80f5a576bfe2db7c514
parent1fa3bc68a12c7c4337a7c9af31864edfa6cfd5d6 (diff)
qcacld-2.0: Increment wow wakeup counter wow_ipv6_mcast_wake_up_count
Currently when the firmware sends WOW_REASON_RA_MATCH event, only wow_ipv6_mcast_ra_stats is incremented. Since it is a ipv6 multicast RA packet which is waking up the APPS, we also need to increment wow_ipv6_mcast_wake_up_count to report the correct statistics. Change-Id: I7b5181ec1c8548ff9e7d4d56a59ac3814040c187 CRs-Fixed: 1047268
-rw-r--r--CORE/SERVICES/WMA/wma.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/CORE/SERVICES/WMA/wma.c b/CORE/SERVICES/WMA/wma.c
index 49b2e682e586..538bba22ab0e 100644
--- a/CORE/SERVICES/WMA/wma.c
+++ b/CORE/SERVICES/WMA/wma.c
@@ -20849,7 +20849,7 @@ static void wma_extscan_wow_event_callback(void *handle, void *event,
*/
static void wma_wow_wake_up_stats_display(tp_wma_handle wma)
{
- WMA_LOGA("uc %d bc %d v4_mc %d v6_mc %d ra %d ns %d na %d pno_match %d pno_complete %d gscan %d low_rssi %d rssi_breach %d icmp %d icmpv6 %d oem %d",
+ WMA_LOGA("uc %d bc %d v4_mc %d v6_mc %d ra %d ns %d na %d pno_match %d pno_complete %d gscan %d low_rssi %d rssi_breach %d icmp %d icmpv6_uc_bc %d oem %d",
wma->wow_ucast_wake_up_count,
wma->wow_bcast_wake_up_count,
wma->wow_ipv4_mcast_wake_up_count,
@@ -20959,6 +20959,7 @@ static void wma_wow_wake_up_stats(tp_wma_handle wma, uint8_t *data,
case WOW_REASON_RA_MATCH:
wma->wow_ipv6_mcast_ra_stats++;
+ wma->wow_ipv6_mcast_wake_up_count++;
break;
case WOW_REASON_NLOD: