mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 16:16:15 -04:00
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:
parent
f596d93747
commit
0bf10fa3b2
1 changed files with 6 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue