summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorYeshwanth Sriram Guntuka <ysriramg@codeaurora.org>2017-10-06 13:01:57 +0530
committerNandini Suresh <snandini@codeaurora.org>2017-10-12 14:22:14 -0700
commitca2862d351a38cf5bed0631cb09a018cf827d457 (patch)
tree5c413bd89ae398d73388a0941ed69e8595d40c2a /utils
parentc73cd7db11fdb791370099cf6d60ead04a28f395 (diff)
downloadqca-wfi-host-cmn-ca2862d351a38cf5bed0631cb09a018cf827d457.tar.gz
qcacmn: Add host diag events for wow stats
Propagation from qcacld-2.0 to qcacld-3.0 Add diag event for wow packet counters stats. The event EVENT_WLAN_POWERSAVE_WOW_STATS will be used to inform the wow stats packet counters. Change-Id: I9d1760aa6b790544b9879e7ef18d4f5359e0e245 CRs-Fixed: 1087714
Diffstat (limited to 'utils')
-rw-r--r--utils/host_diag_log/inc/host_diag_core_event.h50
1 files changed, 50 insertions, 0 deletions
diff --git a/utils/host_diag_log/inc/host_diag_core_event.h b/utils/host_diag_log/inc/host_diag_core_event.h
index ddfa1c962..c5ea694d7 100644
--- a/utils/host_diag_log/inc/host_diag_core_event.h
+++ b/utils/host_diag_log/inc/host_diag_core_event.h
@@ -196,6 +196,56 @@ typedef struct {
} host_event_wlan_powersave_wow_payload_type;
/*-------------------------------------------------------------------------
+ Event ID: EVENT_WLAN_POWERSAVE_WOW_STATS
+ ------------------------------------------------------------------------*/
+/**
+ * host_event_wlan_powersave_wow_stats - Structure holding wow stats information
+ * @wow_ucast_wake_up_count: wow unicast packet wakeup count
+ * @wow_bcast_wake_up_count: wow broadcast packet wakeup count
+ * @wow_ipv4_mcast_wake_up_count: wow ipv4 multicast packet wakeup count
+ * @wow_ipv6_mcast_wake_up_count: wow ipv6 multicast packet wakeup count
+ * @wow_ipv6_mcast_ra_stats: wow ipv6 multicast router advertisement
+ * packet wakeup count
+ * @wow_ipv6_mcast_ns_stats: wow ipv6 multicast Neighbor Solicitation
+ * packet wakeup count
+ * @wow_ipv6_mcast_na_stats: wow ipv6 multicast address space
+ * packet wakeup count
+ * @wow_pno_match_wake_up_count: wow preferred network offload match
+ * packet wakeup count
+ * @wow_pno_complete_wake_up_count: wow preferred network offload complete
+ * packet wakeup count
+ * @wow_gscan_wake_up_count: wow external scan packet wakeup count
+ * @wow_low_rssi_wake_up_count: wow low rssi packet wakeup count
+ * @wow_rssi_breach_wake_up_count: wow rssi breach packet wakeup count
+ * @wow_icmpv4_count: wow icmpv4 packet count
+ * @wow_icmpv6_count: wow icmpv6 packet count
+ * @wow_oem_response_wake_up_count: wow oem response packet wakeup count
+ *
+ * This structure contains the wow stats information related to diag event
+ */
+struct host_event_wlan_powersave_wow_stats {
+ uint32_t wow_ucast_wake_up_count;
+ uint32_t wow_bcast_wake_up_count;
+ uint32_t wow_ipv4_mcast_wake_up_count;
+ uint32_t wow_ipv6_mcast_wake_up_count;
+ uint32_t wow_ipv6_mcast_ra_stats;
+ uint32_t wow_ipv6_mcast_ns_stats;
+ uint32_t wow_ipv6_mcast_na_stats;
+ uint32_t wow_pno_match_wake_up_count;
+ uint32_t wow_pno_complete_wake_up_count;
+ uint32_t wow_gscan_wake_up_count;
+ uint32_t wow_low_rssi_wake_up_count;
+ uint32_t wow_rssi_breach_wake_up_count;
+ uint32_t wow_icmpv4_count;
+ uint32_t wow_icmpv6_count;
+ uint32_t wow_oem_response_wake_up_count;
+ uint32_t Reserved_1;
+ uint32_t Reserved_2;
+ uint32_t Reserved_3;
+ uint32_t Reserved_4;
+};
+
+/*-------------------------------------------------------------------------
Event ID: EVENT_WLAN_BTC
------------------------------------------------------------------------*/
typedef struct {