qcacmn: Add case to increment ICMP req frames in stats
Currently while processing wakeup stats, the driver doesnot increment the icmpv4 packet count in case of a ICMP req frame. This causes only the unicast packet counts to be incremented. Add a case in function ucfg_mc_cp_stats_inc_wake_lock_stats_by_protocol to increment the count in the above mentioned case also. Change-Id: I0ee3e6e91f3bc7a8d9043af1af46739037cb7678 CRs-Fixed: 2439237
This commit is contained in:

committed by
nshrivas

vanhempi
afdb8f4fb5
commit
791789e341
@@ -156,6 +156,7 @@ QDF_STATUS ucfg_mc_cp_stats_inc_wake_lock_stats_by_protocol(
|
||||
vdev_mc_stats = vdev_cp_stats_priv->vdev_stats;
|
||||
stats = &vdev_mc_stats->wow_stats;
|
||||
switch (protocol) {
|
||||
case QDF_PROTO_ICMP_REQ:
|
||||
case QDF_PROTO_ICMP_RES:
|
||||
stats->icmpv4_count++;
|
||||
break;
|
||||
|
Viittaa uudesa ongelmassa
Block a user