qcacmn: Print proto type for ICMP/ICMPv6 packets

Propagation from qcacld-2.0 to qcacmn.

Print proto type for ICMP and ICMPv6 packets which
cause wow wakeup in HOST driver.

Change-Id: I6d8cf8ad65652205bfad1a3531daf48a42a79350
CRs-Fixed: 1080772
This commit is contained in:
Himanshu Agarwal 2016-10-21 15:09:49 +05:30
commit 0bf10fa3b2

View file

@ -615,6 +615,9 @@ __qdf_nbuf_data_get_icmp_subtype(uint8_t *data)
subtype = (uint8_t)(*(uint8_t *)
(data + ICMP_SUBTYPE_OFFSET));
QDF_TRACE(QDF_MODULE_ID_QDF, QDF_TRACE_LEVEL_DEBUG,
"ICMP proto type: 0x%02x", subtype);
switch (subtype) {
case ICMP_REQUEST:
proto_subtype = QDF_PROTO_ICMP_REQ;
@ -647,6 +650,9 @@ __qdf_nbuf_data_get_icmpv6_subtype(uint8_t *data)
subtype = (uint8_t)(*(uint8_t *)
(data + ICMPV6_SUBTYPE_OFFSET));
QDF_TRACE(QDF_MODULE_ID_QDF, QDF_TRACE_LEVEL_DEBUG,
"ICMPv6 proto type: 0x%02x", subtype);
switch (subtype) {
case ICMPV6_REQUEST:
proto_subtype = QDF_PROTO_ICMPV6_REQ;