diff options
| author | Himanshu Agarwal <himanaga@codeaurora.org> | 2017-01-31 13:16:52 +0530 |
|---|---|---|
| committer | qcabuildsw <qcabuildsw@localhost> | 2017-02-03 23:37:03 -0800 |
| commit | 1b3211510831dc6ab4b53c150307b26649ee285a (patch) | |
| tree | f2b3702314c4118b66c73f5fe0b6d838bad7bab0 | |
| parent | 671d0e6d234da3bb0aac8a8589360d494914874e (diff) | |
qcacld-3.0: Add support to dump ICMPV6 RS and RA in wow wakeup stats
Propagation from qcacld-2.0 to qcacld-3.0.
Add support to dump information for ICMPV6 RS and RA packets in
wow wakeup stats.
Change-Id: I1a2852189664fff31e29b487d7a8c66ee83931c5
CRs-Fixed: 1115364
| -rw-r--r-- | core/wma/src/wma_features.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/core/wma/src/wma_features.c b/core/wma/src/wma_features.c index 7695f50e3818..fd80a7b6b7f3 100644 --- a/core/wma/src/wma_features.c +++ b/core/wma/src/wma_features.c @@ -2795,6 +2795,14 @@ wma_pkt_proto_subtype_to_string(enum qdf_proto_subtype proto_subtype) return "ICMPV6 REQUEST"; case QDF_PROTO_ICMPV6_RES: return "ICMPV6 RESPONSE"; + case QDF_PROTO_ICMPV6_RS: + return "ICMPV6 RS"; + case QDF_PROTO_ICMPV6_RA: + return "ICMPV6 RA"; + case QDF_PROTO_ICMPV6_NS: + return "ICMPV6 NS"; + case QDF_PROTO_ICMPV6_NA: + return "ICMPV6 NA"; case QDF_PROTO_IPV4_UDP: return "IPV4 UDP Packet"; case QDF_PROTO_IPV4_TCP: @@ -2987,6 +2995,10 @@ static void wma_wow_parse_data_pkt_buffer(uint8_t *data, case QDF_PROTO_ICMPV6_REQ: case QDF_PROTO_ICMPV6_RES: + case QDF_PROTO_ICMPV6_RS: + case QDF_PROTO_ICMPV6_RA: + case QDF_PROTO_ICMPV6_NS: + case QDF_PROTO_ICMPV6_NA: WMA_LOGD("WOW Wakeup: %s rcvd", wma_pkt_proto_subtype_to_string(proto_subtype)); if (buf_len >= WMA_IPV6_PKT_INFO_GET_MIN_LEN) { |
