|
@@ -250,34 +250,77 @@ static void target_if_cp_stats_inc_wake_lock_stats(uint32_t reason,
|
|
|
case WOW_REASON_UNSPECIFIED:
|
|
|
(*unspecified_wake_count)++;
|
|
|
break;
|
|
|
+
|
|
|
+ case WOW_REASON_ASSOC_REQ_RECV:
|
|
|
+ stats->mgmt_assoc++;
|
|
|
+ break;
|
|
|
+
|
|
|
+ case WOW_REASON_DISASSOC_RECVD:
|
|
|
+ stats->mgmt_disassoc++;
|
|
|
+ break;
|
|
|
+
|
|
|
+ case WOW_REASON_ASSOC_RES_RECV:
|
|
|
+ stats->mgmt_assoc_resp++;
|
|
|
+ break;
|
|
|
+
|
|
|
+ case WOW_REASON_REASSOC_REQ_RECV:
|
|
|
+ stats->mgmt_reassoc++;
|
|
|
+ break;
|
|
|
+
|
|
|
+ case WOW_REASON_REASSOC_RES_RECV:
|
|
|
+ stats->mgmt_reassoc_resp++;
|
|
|
+ break;
|
|
|
+
|
|
|
+ case WOW_REASON_AUTH_REQ_RECV:
|
|
|
+ stats->mgmt_auth++;
|
|
|
+ break;
|
|
|
+
|
|
|
+ case WOW_REASON_DEAUTH_RECVD:
|
|
|
+ stats->mgmt_deauth++;
|
|
|
+ break;
|
|
|
+
|
|
|
+ case WOW_REASON_ACTION_FRAME_RECV:
|
|
|
+ stats->mgmt_action++;
|
|
|
+ break;
|
|
|
+
|
|
|
case WOW_REASON_RA_MATCH:
|
|
|
stats->ipv6_mcast_wake_up_count++;
|
|
|
stats->ipv6_mcast_ra_stats++;
|
|
|
stats->icmpv6_count++;
|
|
|
break;
|
|
|
+
|
|
|
case WOW_REASON_NLOD:
|
|
|
stats->pno_match_wake_up_count++;
|
|
|
break;
|
|
|
+
|
|
|
case WOW_REASON_NLO_SCAN_COMPLETE:
|
|
|
stats->pno_complete_wake_up_count++;
|
|
|
break;
|
|
|
+
|
|
|
case WOW_REASON_LOW_RSSI:
|
|
|
stats->low_rssi_wake_up_count++;
|
|
|
break;
|
|
|
+
|
|
|
case WOW_REASON_EXTSCAN:
|
|
|
stats->gscan_wake_up_count++;
|
|
|
break;
|
|
|
+
|
|
|
case WOW_REASON_RSSI_BREACH_EVENT:
|
|
|
stats->rssi_breach_wake_up_count++;
|
|
|
break;
|
|
|
+
|
|
|
case WOW_REASON_OEM_RESPONSE_EVENT:
|
|
|
stats->oem_response_wake_up_count++;
|
|
|
+ break;
|
|
|
+
|
|
|
case WOW_REASON_11D_SCAN:
|
|
|
stats->scan_11d++;
|
|
|
break;
|
|
|
+
|
|
|
case WOW_REASON_CHIP_POWER_FAILURE_DETECT:
|
|
|
stats->pwr_save_fail_detected++;
|
|
|
break;
|
|
|
+
|
|
|
default:
|
|
|
break;
|
|
|
}
|