blob: 77526902698e2f345d5d6587b1434a9578761c13 [file] [log] [blame]
# Copyright 2019 The Fuchsia Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
################################################################################
# Cobalt Project: connectivity_wlan
# contact: tq-connectivity-eng@google.com
################################################################################
metric_definitions:
################################################################################
# RSNA Delay
#
# We log the delay of each RSN association process.
################################################################################
- id: 2
metric_name: rsna_delay
# RSNA delay in microseconds
metric_type: ELAPSED_TIME
metric_dimensions:
- dimension: rsna_result
event_codes:
0: success
reports:
############################################################################
# RSNA Delay histogram
#
# A fleet-wide histogram of RSNA delays, in microseconds.
############################################################################
- report_name: rsna_delay_histogram
report_type: INT_RANGE_HISTOGRAM
int_buckets:
linear:
floor: 0
num_buckets: 30
# 100,000 micros = 0.1s
step_size: 100000
system_profile_field: [BOARD_NAME, PRODUCT_NAME]
meta_data:
max_release_stage: GA
expiration_date: "2020/04/04"
################################################################################
# Association Delay
#
# We log the delay of the entire IEEE 802.11 association process. This
# includes configuring the hardware (switching channels etc.) and exchanging
# Authentication and Association frames with the access point. Does not include
# the RSN handshake.
################################################################################
- id: 3
metric_name: association_delay
# Association time in microseconds
metric_type: ELAPSED_TIME
metric_dimensions:
- dimension: association_result
event_codes:
0: success
reports:
############################################################################
# Association Delay histogram
#
# A fleet-wide histogram of association delays, in microseconds.
############################################################################
- report_name: association_delay_histogram
report_type: INT_RANGE_HISTOGRAM
int_buckets:
linear:
floor: 0
num_buckets: 30
# 100,000 micros = 0.1s
step_size: 100000
system_profile_field: [BOARD_NAME, PRODUCT_NAME]
meta_data:
max_release_stage: GA
expiration_date: "2020/04/04"
################################################################################
# Scan Delay
#
# We log the delay of each scanning process.
################################################################################
- id: 4
metric_name: scan_delay
# Scan delay in microseconds
metric_type: ELAPSED_TIME
reports:
############################################################################
# Scan Delay histogram
#
# A fleet-wide histogram of scan delays, in microseconds.
############################################################################
- report_name: scan_delay_histogram
report_type: INT_RANGE_HISTOGRAM
int_buckets:
linear:
floor: 0
num_buckets: 30
# 1,000,000 micros = 1s
step_size: 1000000
system_profile_field: [BOARD_NAME, PRODUCT_NAME]
meta_data:
max_release_stage: GA
expiration_date: "2020/04/04"
################################################################################
# Dispatcher Packet Counts
#
# We log the number of incoming, outgoing and dropped packets from the
# dispatcher, once per minute.
################################################################################
- id: 5
metric_name: dispatcher_packet_counts
metric_type: EVENT_COUNT
metric_dimensions:
- dimension: packet_type
event_codes:
0: in
1: out
2: dropped
reports:
############################################################################
# Dispatcher packet count fleet-wide sums
#
# The fleet-wide sum of packet counts by type.
#
# TODO(rudominer) Change the report type to NUMERIC_AGGREGATION when
# support for metrics of type EVENT_COUNT is added.
############################################################################
- report_name: dispatcher_packet_counts_fleetwide_sum
report_type: EVENT_COMPONENT_OCCURRENCE_COUNT
system_profile_field: [BOARD_NAME, PRODUCT_NAME]
meta_data:
max_release_stage: GA
expiration_date: "2020/04/04"
################################################################################
# Client Association RSSI [dBm]
#
# We log a histogram of RSSI for client association frames, in dBm,
# once per minute.
################################################################################
- id: 6
metric_name: client_assoc_rssi
# RSSI histogram for the client association frames in dBm. The buckets are
# -128, -127, ..., 0.
metric_type: INT_HISTOGRAM
int_buckets:
linear:
# Bucket 0 is the underflow bucket: (-infinity, -128]
# Bucket 1: -127
# Bucket 2: -126
# Bucket 128: 0
# Bucket 129 is the overflow bucket: [1, infinity)
floor: -127
num_buckets: 128
step_size: 1
reports:
############################################################################
# Fleet-wide histogram of the client association RSSI in dBm.
############################################################################
- report_name: client_assoc_rssi_fleetwide_histogram
report_type: INT_RANGE_HISTOGRAM
system_profile_field: [BOARD_NAME, PRODUCT_NAME]
meta_data:
max_release_stage: GA
expiration_date: "2020/04/04"
################################################################################
# Client Beacon RSSI [dBm]
#
# We log a histogram of RSSI for client beacon frames, in dBm,
# once per minute.
################################################################################
- id: 7
metric_name: client_beacon_rssi
# RSSI histogram for the client beacon frames in dBm. The buckets are
# -128, -127, ..., 0.
metric_type: INT_HISTOGRAM
int_buckets:
linear:
# Bucket 0 is the underflow bucket: (-infinity, -128]
# Bucket 1: -127
# Bucket 2: -126
# Bucket 128: 0
# Bucket 129 is the overflow bucket: [1, infinity)
floor: -127
num_buckets: 128
step_size: 1
reports:
############################################################################
# Fleet-wide histogram of the client beacon RSSI in dBm.
############################################################################
- report_name: client_beacon_rssi_fleetwide_histogram
report_type: INT_RANGE_HISTOGRAM
system_profile_field: [BOARD_NAME, PRODUCT_NAME]
meta_data:
max_release_stage: GA
expiration_date: "2020/04/04"
################################################################################
# Connection Delay
#
# We log the time until a connection is made (including scanning).
# More precisely, this is the period starting from the scanning initiation
# until the connection establishment (control port open in IEEE expression).
# This does not include DHCP delay.
################################################################################
- id: 8
metric_name: connection_delay
# Connection time in microseconds
metric_type: ELAPSED_TIME
metric_dimensions:
- dimension: connection_result
event_codes:
# Fuchsia defined error codes
0: success
1: fail
2: NO_MATCHING_BSS_FOUND
# IEEE error codes
1000: JOIN_FAILURE_TIMEOUT
2000: AUTHENTICATION_REFUSED
2001: AUTHENTICATION_ANTI_CLOGGING_TOKEN_REQUIRED
2002: AUTHENTICATION_FINITE_CYCLIC_GROUP_NOT_SUPPORTED
2003: AUTHENTICATION_REJECTED
2004: AUTHENTICATION_FAILURE_TIMEOUT
3000: ASSOCIATION_REFUSED_REASON_UNSPECIFIED
3001: ASSOCIATION_REFUSED_NOT_AUTHENTICATED
3002: ASSOCIATION_REFUSED_CAPABILITIES_MISMATCH
3003: ASSOCIATION_REFUSED_EXTERNAL_REASON
3004: ASSOCIATION_REFUSED_AP_OUT_OF_MEMORY
3005: ASSOCIATION_REFUSED_BASIC_RATES_MISMATCH
3006: ASSOCIATION_REJECTED_EMERGENCY_SERVICES_NOT_SUPPORTED
3007: ASSOCIATION_REFUSED_TEMPORARILY
4000: SCAN_NOT_SUPPORTED
4001: SCAN_INVALID_ARGS
4002: SCAN_INTERNAL_ERROR
5000: RSNA_TIMEOUT
reports:
############################################################################
# Connection Delay histogram
#
# A fleet-wide histogram of scan delays, in microseconds.
############################################################################
- report_name: connection_delay_histogram
report_type: INT_RANGE_HISTOGRAM
int_buckets:
linear:
floor: 0
num_buckets: 30
# 1,000,000 micros = 1s
step_size: 1000000
system_profile_field: [BOARD_NAME, PRODUCT_NAME]
meta_data:
max_release_stage: GA
expiration_date: "2020/04/04"
################################################################################
# MLME Rx/Tx frame count
#
# We log the count for inbound (Rx) and outbound (Tx) frames, once per minute
################################################################################
- id: 9
metric_name: mlme_rx_tx_frame_counts
metric_type: EVENT_COUNT
metric_dimensions:
- dimension: frame_type
event_codes:
0: rx
1: tx
reports:
############################################################################
# MLME Rx/Tx frame count fleet-wide sums
#
# The fleet-wide sum of frame counts by type.
#
# TODO(rudominer) Change the report type to NUMERIC_AGGREGATION when
# support for metrics of type EVENT_COUNT is added.
############################################################################
- report_name: mlme_rx_tx_frame_counts_fleetwide_sum
report_type: EVENT_COMPONENT_OCCURRENCE_COUNT
system_profile_field: [BOARD_NAME, PRODUCT_NAME]
meta_data:
max_release_stage: GA
expiration_date: "2020/04/04"
################################################################################
# MLME Rx/Tx frame bytes
#
# We log the number of bytes for inbound (Rx) and outbound (Tx) frames,
# once per minute
################################################################################
- id: 10
metric_name: mlme_rx_tx_frame_bytes
# TODO(rudominer) Change this to metric_type: SIZE when that type exists.
metric_type: EVENT_COUNT
metric_dimensions:
- dimension: frame_type
event_codes:
0: rx
1: tx
reports:
############################################################################
# MLME Rx/Tx frame count fleet-wide sums
#
# The fleet-wide sum of frame counts by type.
#
# TODO(rudominer) Change the report type to NUMERIC_AGGREGATION when
# support for metrics of type EVENT_COUNT (or SIZE) is added.
############################################################################
- report_name: mlme_rx_tx_frame_bytes_fleetwide_sum
report_type: EVENT_COMPONENT_OCCURRENCE_COUNT
system_profile_field: [BOARD_NAME, PRODUCT_NAME]
meta_data:
max_release_stage: GA
expiration_date: "2020/04/04"
################################################################################
# Neighbor networks count
#
# On each scan, we log the number of neighbor networks of each type found.
################################################################################
- id: 11
metric_name: neighbor_networks_count
metric_type: EVENT_COUNT
metric_dimensions:
- dimension: network_type
event_codes:
0: BSS
1: ESS
reports:
############################################################################
# Neighbor networks count histogram
#
# A fleet-wide histogram of count of neighbor networks found, for each type.
############################################################################
- report_name: neighbor_networks_count_histogram
report_type: INT_RANGE_HISTOGRAM
int_buckets:
linear:
floor: 0
num_buckets: 10
step_size: 10
system_profile_field: [BOARD_NAME, PRODUCT_NAME]
meta_data:
max_release_stage: GA
expiration_date: "2020/04/04"
################################################################################
# WLAN Standards count
#
# On each scan, we log the number of BSS neighbor networks found, by announced
# standard.
################################################################################
- id: 12
metric_name: neighbor_networks_wlan_standards_count
metric_type: EVENT_COUNT
metric_dimensions:
- dimension: wlan_standard_type
event_codes:
0: "802.11b"
1: "802.11g"
2: "802.11a"
3: "802.11n"
4: "802.11ac"
reports:
############################################################################
# WLAN Standards count fleet-wide sums
#
# The fleet-wide sum of counts of found BSS neighbor networks, by
# announced standard.
#
# TODO(rudominer) Change the report type to NUMERIC_AGGREGATION when
# support for metrics of type EVENT_COUNT is added.
############################################################################
- report_name: neighbor_networks_wlan_standards_count_fleetwide_sum
report_type: EVENT_COMPONENT_OCCURRENCE_COUNT
system_profile_field: [BOARD_NAME, PRODUCT_NAME]
############################################################################
# WLAN Standards count histogram
#
# A fleet-wide histogram of counts of BSS neighbor networks found, for each
# standard.
############################################################################
- report_name: neighbor_networks_wlan_standards_count_histogram
report_type: INT_RANGE_HISTOGRAM
int_buckets:
linear:
floor: 0
num_buckets: 10
step_size: 10
system_profile_field: [BOARD_NAME, PRODUCT_NAME]
meta_data:
max_release_stage: GA
expiration_date: "2020/04/04"
################################################################################
# Primary channels
#
# On each scan, we log the number of BSS neighbor networks found, by their
# primary channel.
################################################################################
- id: 13
metric_name: neighbor_networks_primary_channels_count
metric_type: EVENT_COUNT
metric_dimensions:
- dimension: channel
max_event_code: 255
reports:
############################################################################
# Primary channels fleet-wide sums
#
# The fleet-wide sum of counts of found BSS neighbor networks, by
# primary channel.
############################################################################
- report_name: neighbor_networks_primary_channels_count_fleetwide_sum
report_type: EVENT_COMPONENT_OCCURRENCE_COUNT
system_profile_field: [BOARD_NAME, PRODUCT_NAME]
meta_data:
max_release_stage: GA
expiration_date: "2020/04/04"
################################################################################
# Connection attempts
#
# On connection success, log the number of successive connection attempts that
# have been made to the same SSID since boot or the last connection success.
################################################################################
- id: 100
metric_name: connection_attempts
metric_type: EVENT_COUNT
reports:
- report_name: connection_attempts
report_type: NUMERIC_AGGREGATION
percentiles: [90, 95, 99]
system_profile_field: [BOARD_NAME, PRODUCT_NAME, CHANNEL, SYSTEM_VERSION]
meta_data:
max_release_stage: GA
expiration_date: "2020/04/04"
################################################################################
# Connection success with attempts breakdown
#
# On connection success, log count=1, with breakdown on how many attempts
# having been made to the same SSID since boot or the last connection success,
# as well as information about the network on the *last* connection attempt.
# (whether multiple BSS are found with same SSID, what the security type is,
# and which channel band the network is on).
################################################################################
- id: 101
metric_name: connection_success_with_attempts_breakdown
metric_type: EVENT_COUNT
metric_dimensions:
- dimension: attempts
event_codes:
0: One
1: Two
2: Three
3: Four
4: Five
5: MoreThanFive
- dimension: is_multi_bss
event_codes: &yes_no
0: "Yes"
1: "No"
- dimension: protection
event_codes: &protections
0: Unknown
1: Open
2: Wep
3: Wpa1
4: Wpa1Wpa2Personal
5: Wpa2Personal
6: Wpa2Wpa3Personal
7: Wpa3Personal
8: Wpa2Enterprise
9: Wpa3Enterprise
- dimension: channel_band
event_codes: &channel_bands
6: Band2Dot4Ghz
7: Band5Ghz
reports:
- report_name: connection_attempts
report_type: NUMERIC_AGGREGATION
system_profile_field: [BOARD_NAME, PRODUCT_NAME, CHANNEL, SYSTEM_VERSION]
meta_data:
max_release_stage: GA
expiration_date: "2020/04/04"
################################################################################
# Connection result
#
# When a connection attempt ends, log count=1 on whether it succeeds, fails,
# or gets canceled, along with the OUI of the network the user attempts to
# connect to (if connection attempt has found a candidate network)
################################################################################
- id: 110
metric_name: connection_result
metric_type: EVENT_COUNT
metric_dimensions:
- dimension: result
event_codes: &connection_result
0: Success
1: Canceled
2: Failed
reports:
- report_name: connection_result
report_type: NUMERIC_AGGREGATION
system_profile_field: [BOARD_NAME, PRODUCT_NAME, CHANNEL, SYSTEM_VERSION]
# Last updated: July 19, 2019 version of https://linuxnet.ca/ieee/oui/nmap-mac-prefixes
# Command: `awk '{print $1}' nmap-mac-prefixes.txt > ouis.txt`
candidate_file: fuchsia/connectivity_wlan/ouis.txt
- report_name: connection_result_per_device_with_board_product
report_type: PER_DEVICE_NUMERIC_STATS
aggregation_type: SUM
window_size:
- 1
- 7
system_profile_field: [BOARD_NAME, PRODUCT_NAME]
- report_name: connection_result_per_device_global
report_type: PER_DEVICE_NUMERIC_STATS
aggregation_type: SUM
window_size:
- 1
- 7
system_profile_field: []
meta_data:
max_release_stage: GA
expiration_date: "2020/04/04"
################################################################################
# Connection result post network selection
#
# When a connection attempt ends, provided that it has proceeded beyond the
# network selection steps, log count=1 on whether it succeeds, fails, or
# gets canceled, along with the AP profile and OUI of the network the user
# attempts to connect to.
################################################################################
- id: 111
metric_name: connection_result_post_network_selection
metric_type: EVENT_COUNT
metric_dimensions:
- dimension: result
event_codes: *connection_result
- dimension: is_multi_bss
event_codes: *yes_no
- dimension: protection
event_codes: *protections
- dimension: channel_band
event_codes: *channel_bands
reports:
- report_name: connection_result_post_network_selection
report_type: NUMERIC_AGGREGATION
system_profile_field: [BOARD_NAME, PRODUCT_NAME, CHANNEL, SYSTEM_VERSION]
candidate_file: fuchsia/connectivity_wlan/ouis.txt
meta_data:
max_release_stage: GA
expiration_date: "2020/04/04"
################################################################################
# Connection result per RSSI (post network selection)
#
# Same as "connection_result_post_network_selection" metric, but with RSSI
# dimension instead of AP profile.
################################################################################
- id: 112
metric_name: connection_result_per_rssi
metric_type: EVENT_COUNT
metric_dimensions:
- dimension: result
event_codes: *connection_result
- dimension: rssi
event_codes: &rssis
0: From127To90
1: From89To86
2: From85To83
3: From82To80
4: From79To77
5: From76To74
6: From73To71
7: From70To66
8: From65To61
9: From60To51
10: From50To1
11: "0"
reports:
- report_name: connection_result_per_rssi
report_type: NUMERIC_AGGREGATION
system_profile_field: [BOARD_NAME, PRODUCT_NAME, CHANNEL, SYSTEM_VERSION]
candidate_file: fuchsia/connectivity_wlan/ouis.txt
meta_data:
max_release_stage: GA
expiration_date: "2020/04/04"
################################################################################
# Connection failure
#
# When failed connecting to a network, log count=1 in this metric, which step
# failure happens at, and the OUI of the AP that client attempts to connect
# to (if connection attempt has found a candidate network).
################################################################################
- id: 113
metric_name: connection_failure
metric_type: EVENT_COUNT
metric_dimensions:
- dimension: fail_at
event_codes:
0: Scan
1: NetworkSelection
2: Join
3: Authentication
4: Association
5: EstablishRsna
- dimension: timeout
event_codes: *yes_no
reports:
- report_name: connection_failure
report_type: NUMERIC_AGGREGATION
system_profile_field: [BOARD_NAME, PRODUCT_NAME, CHANNEL, SYSTEM_VERSION]
candidate_file: fuchsia/connectivity_wlan/ouis.txt
meta_data:
max_release_stage: GA
expiration_date: "2020/04/04"
################################################################################
# Successive connection failure
#
# On connection failure, log count=1, along with how many successive failures
# have been seen connecting to the same SSID. Also log the OUI of the AP
# that client attempts to connect to (if connection attempt has found a
# candidate network).
################################################################################
- id: 120
metric_name: successive_connection_failure
metric_type: EVENT_COUNT
metric_dimensions:
- dimension: successive_failure_count
event_codes:
0: Two
1: Three
2: Four
3: Five
4: MoreThanFive
reports:
- report_name: successive_connection_failure
report_type: NUMERIC_AGGREGATION
system_profile_field: [BOARD_NAME, PRODUCT_NAME, CHANNEL, SYSTEM_VERSION]
candidate_file: fuchsia/connectivity_wlan/ouis.txt
- report_name: successive_connection_failure_per_device
report_type: PER_DEVICE_NUMERIC_STATS
aggregation_type: SUM
window_size:
- 1
- 7
system_profile_field: [BOARD_NAME, PRODUCT_NAME, CHANNEL, SYSTEM_VERSION]
meta_data:
max_release_stage: GA
expiration_date: "2020/04/04"
################################################################################
# Successive connection failure breakdown
#
# Same as "successive_connection_failure" metric, but with breakdown on type
# of failure.
################################################################################
- id: 121
metric_name: successive_connection_failure_breakdown
metric_type: EVENT_COUNT
metric_dimensions:
- dimension: successive_failure_count
event_codes:
0: Two
1: Three
2: Four
3: Five
4: MoreThanFive
- dimension: fail_at
event_codes:
0: Scan
1: NetworkSelection
2: Join
3: Authentication
4: Association
5: EstablishRsna
6: DifferentSteps
- dimension: timeout
event_codes:
0: "Yes"
1: "No"
2: DifferentCauses
reports:
- report_name: successive_connection_failure_breakdown
report_type: NUMERIC_AGGREGATION
system_profile_field: [BOARD_NAME, PRODUCT_NAME, CHANNEL, SYSTEM_VERSION]
candidate_file: fuchsia/connectivity_wlan/ouis.txt
- report_name: successive_connection_failure_breakdown_per_device
report_type: PER_DEVICE_NUMERIC_STATS
aggregation_type: SUM
window_size:
- 1
- 7
system_profile_field: [BOARD_NAME, PRODUCT_NAME, CHANNEL, SYSTEM_VERSION]
meta_data:
max_release_stage: GA
expiration_date: "2020/04/04"
################################################################################
# Scan result
#
# Once a scan finishes, log count=1. This includes join scan that happens
# during a connection attempt.
################################################################################
- id: 130
metric_name: scan_result
metric_type: EVENT_COUNT
metric_dimensions:
- dimension: scan_result
event_codes: &scan_result
0: Success
1: Failed
- dimension: scan_type
event_codes: &scan_types
0: Active
1: Passive
- dimension: is_join_scan
event_codes: *yes_no
- dimension: client_state
event_codes: &client_state_during_scan
0: Idle
1: Connected
reports:
- report_name: scan_result
report_type: NUMERIC_AGGREGATION
system_profile_field: [BOARD_NAME, PRODUCT_NAME, CHANNEL, SYSTEM_VERSION]
meta_data:
max_release_stage: GA
expiration_date: "2020/04/04"
################################################################################
# Scan failure
#
# Once a scan fails, log count=1. This includes a join scan failure that
# happens during a connection attempt.
################################################################################
- id: 131
metric_name: scan_failure
metric_type: EVENT_COUNT
metric_dimensions:
- dimension: error_code
event_codes:
0: NotSupported
1: InvalidArgs
2: InternalError
- dimension: scan_type
event_codes: *scan_types
- dimension: is_join_scan
event_codes: *yes_no
- dimension: client_state
event_codes: *client_state_during_scan
reports:
- report_name: scan_failure
report_type: NUMERIC_AGGREGATION
system_profile_field: [BOARD_NAME, PRODUCT_NAME, CHANNEL, SYSTEM_VERSION]
meta_data:
max_release_stage: GA
expiration_date: "2020/04/04"
################################################################################
# Network selection failure
#
# Once a connection attempt fails due to selecting network, log count=1.
# Also log OUI if a candidate network is found.
################################################################################
- id: 140
metric_name: network_selection_failure
metric_type: EVENT_COUNT
metric_dimensions:
- dimension: error_reason
event_codes:
0: NoScanResultWithSsid
1: InvalidPasswordArg
2: NoCompatibleNetwork
3: InternalError
reports:
- report_name: network_selection_failure
report_type: NUMERIC_AGGREGATION
system_profile_field: [BOARD_NAME, PRODUCT_NAME, CHANNEL, SYSTEM_VERSION]
candidate_file: fuchsia/connectivity_wlan/ouis.txt
meta_data:
max_release_stage: GA
expiration_date: "2020/04/04"
################################################################################
# No-compatible network failure - group cipher
#
# Once a connection attempt fails due to because no compatible network is
# found, log count=1 and the first group cipher used by the candidate network.
################################################################################
- id: 141
metric_name: no_compatible_network_failure_group_cipher
metric_type: EVENT_COUNT
metric_dimensions:
- dimension: group_cipher
event_codes: &dot11_ciphers
0: Unknown
1: GroupCipherSuite
2: Wep40
3: Tkip
4: Ccmp128
5: Wep104
6: BipCmac128
7: GroupAddressedTrafficNotAllowed
8: Gcmp128
9: Gcmp256
10: Ccmp256
11: BipGmac128
12: BipGmac256
13: BipCmac256
reports:
- report_name: numeric_aggregation
report_type: NUMERIC_AGGREGATION
system_profile_field: [BOARD_NAME, PRODUCT_NAME, CHANNEL, SYSTEM_VERSION]
candidate_file: fuchsia/connectivity_wlan/ouis.txt
meta_data:
max_release_stage: GA
expiration_date: "2020/08/30"
################################################################################
# No-compatible network failure - AKM
#
# Once a connection attempt fails due to because no compatible network is
# found, log count=1 and the AKM used by the candidate network.
################################################################################
- id: 142
metric_name: no_compatible_network_failure_akm
metric_type: EVENT_COUNT
metric_dimensions:
- dimension: akm
event_codes:
0: Unknown
1: Eap
2: Psk
3: FtEap
4: FtPsk
5: EapSha256
6: PskSha256
7: Tdls
8: Sae
9: FtSae
10: ApPeerKey
11: EapSuiteB
12: EapSuiteBSha384
13: FtEapSha384
reports:
- report_name: numeric_aggregation
report_type: NUMERIC_AGGREGATION
system_profile_field: [BOARD_NAME, PRODUCT_NAME, CHANNEL, SYSTEM_VERSION]
candidate_file: fuchsia/connectivity_wlan/ouis.txt
meta_data:
max_release_stage: GA
expiration_date: "2020/08/30"
################################################################################
# No-compatible network failure - pairwise cipher
#
# Once a connection attempt fails due to because no compatible network is
# found, log count=1 and the first pairwise cipher used by the candidate
# network.
################################################################################
- id: 143
metric_name: no_compatible_network_failure_pairwise_cipher
metric_type: EVENT_COUNT
metric_dimensions:
- dimension: pairwise_cipher
event_codes: *dot11_ciphers
reports:
- report_name: numeric_aggregation
report_type: NUMERIC_AGGREGATION
system_profile_field: [BOARD_NAME, PRODUCT_NAME, CHANNEL, SYSTEM_VERSION]
candidate_file: fuchsia/connectivity_wlan/ouis.txt
meta_data:
max_release_stage: GA
expiration_date: "2020/08/30"
################################################################################
# No-compatible network failure - suites
#
# Once a connection attempt fails due to because no compatible network is
# found, log count=1 and the first group cipher, AKM, first pairwise cipher
# used by the candidate network. Due to the limit on dimension combinations,
# only a subset of ciphers and AKMs is specified in this metric.
################################################################################
- id: 144
metric_name: no_compatible_network_failure_suites
metric_type: EVENT_COUNT
metric_dimensions:
- dimension: group_cipher
event_codes:
0: Others
1: Tkip
2: Ccmp128
- dimension: akm
event_codes:
0: Others
1: Eap
2: Psk
3: FtEap
4: FtPsk
5: EapSha256
6: PskSha256
7: Sae
8: EapSuiteBSha384
- dimension: pairwise_cipher
event_codes:
0: Others
1: Ccmp128
2: Gcmp256
reports:
- report_name: numeric_aggregation
report_type: NUMERIC_AGGREGATION
system_profile_field: [BOARD_NAME, PRODUCT_NAME, CHANNEL, SYSTEM_VERSION]
candidate_file: fuchsia/connectivity_wlan/ouis.txt
meta_data:
max_release_stage: GA
expiration_date: "2020/08/30"
################################################################################
# Authentication failure
#
# Once a connection attempt fails during an authentication step, log count=1,
# error code, AP profiles, and OUI of AP.
################################################################################
- id: 150
metric_name: authentication_failure
metric_type: EVENT_COUNT
metric_dimensions:
- dimension: error_code
event_codes: &auth_error_codes
0: Refused
1: AntiCloggingTokenRequired
2: FiniteCyclicGroupNotSupported
3: AuthenticationRejected
4: AuthFailureTimeout
- dimension: is_multi_bss
event_codes: *yes_no
- dimension: channel_band
event_codes: *channel_bands
- dimension: protection
event_codes: *protections
reports:
- report_name: authentication_failure
report_type: NUMERIC_AGGREGATION
system_profile_field: [BOARD_NAME, PRODUCT_NAME, CHANNEL, SYSTEM_VERSION]
candidate_file: fuchsia/connectivity_wlan/ouis.txt
meta_data:
max_release_stage: GA
expiration_date: "2020/04/04"
################################################################################
# Authentication failure per RSSI
#
# Like "authentication_failure" metric, but focus on RSSI breakdown instead.
################################################################################
- id: 151
metric_name: authentication_failure_per_rssi
metric_type: EVENT_COUNT
metric_dimensions:
- dimension: error_code
event_codes: *auth_error_codes
- dimension: rssi
event_codes: *rssis
- dimension: channel_band
event_codes: *channel_bands
reports:
- report_name: authentication_failure_per_rssi
report_type: NUMERIC_AGGREGATION
system_profile_field: [BOARD_NAME, PRODUCT_NAME, CHANNEL, SYSTEM_VERSION]
candidate_file: fuchsia/connectivity_wlan/ouis.txt
meta_data:
max_release_stage: GA
expiration_date: "2020/04/04"
################################################################################
# Association failure
#
# Once a connection attempt fails due to association timeout, log count=1 and
# error code, AP profiles, and OUI of AP.
################################################################################
- id: 160
metric_name: association_failure
metric_type: EVENT_COUNT
metric_dimensions:
- dimension: error_code
event_codes: &assoc_error_codes
0: RefusedReasonUnspecified
1: RefusedNotAuthenticated
2: RefusedCapabilitiesMismatch
3: RefusedExternalReason
4: RefusedApOutOfMemory
5: RefusedBasicRatesMismatch
6: RejectedEmergencyServicesNotSupported
7: RefusedTemporarily
- dimension: protection
event_codes: *protections
reports:
- report_name: association_failure
report_type: NUMERIC_AGGREGATION
system_profile_field: [BOARD_NAME, PRODUCT_NAME, CHANNEL, SYSTEM_VERSION]
candidate_file: fuchsia/connectivity_wlan/ouis.txt
meta_data:
max_release_stage: GA
expiration_date: "2020/04/04"
################################################################################
# Association failure per RSSI
#
# Like "association_failure" metric, but focus on RSSI breakdown instead.
################################################################################
- id: 161
metric_name: association_failure_per_rssi
metric_type: EVENT_COUNT
metric_dimensions:
- dimension: error_code
event_codes: *assoc_error_codes
- dimension: rssi
event_codes: *rssis
- dimension: channel_band
event_codes: *channel_bands
reports:
- report_name: association_failure_per_rssi
report_type: NUMERIC_AGGREGATION
system_profile_field: [BOARD_NAME, PRODUCT_NAME, CHANNEL, SYSTEM_VERSION]
candidate_file: fuchsia/connectivity_wlan/ouis.txt
meta_data:
max_release_stage: GA
expiration_date: "2020/04/04"
################################################################################
# Establish RSNA failure
#
# Once a connection attempt fails during establish RSNA step, log count=1 and
# OUI of AP.
################################################################################
- id: 170
metric_name: establish_rsna_failure
metric_type: EVENT_COUNT
metric_dimensions:
- dimension: protection
event_codes: *protections # For DRY, we reuse the same "protections" event
# codes. However, values like "Open" and "Wep"
# are invalid.
reports:
- report_name: establish_rsna_failure
report_type: NUMERIC_AGGREGATION
system_profile_field: [BOARD_NAME, PRODUCT_NAME, CHANNEL, SYSTEM_VERSION]
candidate_file: fuchsia/connectivity_wlan/ouis.txt
meta_data:
max_release_stage: GA
expiration_date: "2020/04/04"
################################################################################
# Establish RSNA failure high-level error
#
# Like establish_rsna_failure, but with high-level error reason.
################################################################################
- id: 171
metric_name: establish_rsna_failure_high_level_error
metric_type: EVENT_COUNT
metric_dimensions:
- dimension: protection
event_codes: *protections
- dimension: error
event_codes:
0: StartSupplicantFailed
1: KeyFrameExchangeTimeout
2: OverallTimeout
3: InternalError
reports:
- report_name: numeric_aggregation
report_type: NUMERIC_AGGREGATION
system_profile_field: [BOARD_NAME, PRODUCT_NAME, CHANNEL, SYSTEM_VERSION]
candidate_file: fuchsia/connectivity_wlan/ouis.txt
meta_data:
max_release_stage: GA
expiration_date: "2020/04/04"
################################################################################
# Establish RSNA failure low-level error
#
# Like establish_rsna_failure, but with low-level error reason.
################################################################################
- id: 172
metric_name: establish_rsna_failure_low_level_error
metric_type: EVENT_COUNT
metric_dimensions:
- dimension: protection
event_codes: *protections
############################################################################
# Error reasons from wlan-rsn crate's Error enum. Main difference is that
# errors with MessageNumber are combined into MessageSpecificError,
# with specific reasons logged in establish_rsna_failure_msg_specific_error
# instead.
############################################################################
- dimension: error
event_codes:
0: UnexpectedIoError
1: InvalidOuiLength
2: InvalidPmkidLength
3: InvalidSsidLen
4: InvalidPassphraseLen
5: InvalidPassphraseChar
6: IncompatibleConfig
7: InvalidBitSize
8: NonceError
9: PtkHierarchyInvalidPmkError
10: PtkHierarchyUnsupportedAkmError
11: PtkHierarchyUnsupportedCipherError
12: GtkHierarchyUnsupportedCipherError
13: InvalidAesKeywrapKeySize
14: InvalidAesKeywrapDataLength
15: WrongAesKeywrapKey
16: InvaidKeyDataLength
17: InvalidKeyData
18: UnknownAuthenticationMethod
19: InvalidNegotiatedAkm
20: UnknownKeyExchange
21: UnexpectedInitiationRequest
22: UnsupportedKeyDescriptor
23: InvalidKeyDescriptor
24: UnsupportedKeyDescriptorVersion
25: UnsupportedKeyDerivation
26: InvalidInstallBitGroupSmkHandshake
27: SecureBitWithUnknownPtk
28: SecureBitNotSetWithKnownPtkGtk
29: InvalidRequestBitAuthenticator
30: InvalidErrorBitAuthenticator
31: InvalidKeyAckBitSupplicant
32: InvalidMicBitForEncryptedKeyData
33: InvalidKeyLength
34: UnsupportedCipherSuite
35: UnsupportedAkmSuite
36: ComputingMicForUnprotectedFrame
37: MicSizesDiffer
38: InvalidMicSize
39: InvalidKeyDataContent
40: InvalidKeyDataLength
41: UnexpectedMic
42: InvalidMic
43: UnexpectedEncryptedKeyData
44: InvalidKeyReplayCounter
45: ErrorNonceDoesntMatch
46: PmksaNotEstablished
47: InvalidNonceSize
48: InvalidKeyDataRsne
49: BufferTooSmall
50: SmkHandshakeNotSupported
51: InvalidNegotiatedProtection
52: MessageSpecificError
reports:
- report_name: numeric_aggregation
report_type: NUMERIC_AGGREGATION
system_profile_field: [BOARD_NAME, PRODUCT_NAME, CHANNEL, SYSTEM_VERSION]
candidate_file: fuchsia/connectivity_wlan/ouis.txt
meta_data:
max_release_stage: GA
expiration_date: "2020/04/04"
################################################################################
# Establish RSNA failure msg-specific error
#
# Like establish_rsna_failure, but with error reason on specific message. This
# further breaks down MessageSpecificError from
# establish_rsna_failure_low_level_error.
################################################################################
- id: 173
metric_name: establish_rsna_failure_msg_specific_error
metric_type: EVENT_COUNT
metric_dimensions:
- dimension: protection
event_codes: *protections
- dimension: message_number
event_codes:
0: One
1: Two
2: Three
3: Four
- dimension: error
event_codes:
0: Unexpected4WayHandshakeMessage
1: InvalidInstallBitValue
2: InvalidKeyAckBitValue
3: InvalidKeyMicBitValue
4: InvalidSecureBitValue
5: InvalidErrorBitValue
6: InvalidRequestBitValue
7: InvalidEncryptedKeyDataBitValue
8: InvalidNonce
9: InvalidRsc
10: EmptyKeyData
11: InvalidIv
reports:
- report_name: numeric_aggregation
report_type: NUMERIC_AGGREGATION
system_profile_field: [BOARD_NAME, PRODUCT_NAME, CHANNEL, SYSTEM_VERSION]
candidate_file: fuchsia/connectivity_wlan/ouis.txt
meta_data:
max_release_stage: GA
expiration_date: "2020/04/04"
################################################################################
# Establish RSNA failure progress
#
# Like establish_rsna_failure, but breakdown on whether some steps have
# succeeded.
################################################################################
- id: 174
metric_name: establish_rsna_failure_progress
metric_type: EVENT_COUNT
metric_dimensions:
- dimension: protection
event_codes: *protections
- dimension: pmksa_established
event_codes: *yes_no
- dimension: ptksa_established
event_codes: *yes_no
- dimension: gtksa_established
event_codes: *yes_no
- dimension: esssa_established
event_codes: *yes_no
reports:
- report_name: numeric_aggregation
report_type: NUMERIC_AGGREGATION
system_profile_field: [BOARD_NAME, PRODUCT_NAME, CHANNEL, SYSTEM_VERSION]
candidate_file: fuchsia/connectivity_wlan/ouis.txt
meta_data:
max_release_stage: GA
expiration_date: "2020/04/04"
################################################################################
# Connection setup time (unit: microseconds)
#
# Once a connection attempt finishes, log amount of time it takes to complete.
################################################################################
- id: 200
metric_name: connection_setup_time
metric_type: ELAPSED_TIME
reports:
- report_name: connection_setup_time
report_type: NUMERIC_AGGREGATION
percentiles: [90, 95, 99]
system_profile_field: []
- report_name: connection_setup_time_per_board
report_type: NUMERIC_AGGREGATION
percentiles: [90, 95, 99]
system_profile_field: [BOARD_NAME]
- report_name: connection_time_per_product
report_type: NUMERIC_AGGREGATION
percentiles: [90, 95, 99]
system_profile_field: [PRODUCT_NAME]
meta_data:
max_release_stage: GA
expiration_date: "2020/04/04"
################################################################################
# Connection setup time per result (unit: microseconds)
#
# Once a connection attempt finishes, log amount of time it takes to complete,
# and whether it succeeds or fails.
################################################################################
- id: 201
metric_name: connection_setup_time_per_result
metric_type: ELAPSED_TIME
metric_dimensions:
- dimension: connection_result
event_codes: *connection_result
reports:
- report_name: connection_setup_time_per_result
report_type: NUMERIC_AGGREGATION
percentiles: [90, 95, 99]
system_profile_field: []
- report_name: connection_setup_time_per_result_per_board
report_type: NUMERIC_AGGREGATION
percentiles: [90, 95, 99]
system_profile_field: [BOARD_NAME]
- report_name: connection_setup_time_per_result_per_product
report_type: NUMERIC_AGGREGATION
percentiles: [90, 95, 99]
system_profile_field: [PRODUCT_NAME]
meta_data:
max_release_stage: GA
expiration_date: "2020/04/04"
################################################################################
# Connection setup time without scan (unit: microseconds)
#
# Once a connection attempt completes, log amount of time it takes starting
# from Join step (i.e., excluding the join scan and network selection time)
################################################################################
- id: 202
metric_name: connection_setup_time_without_scan
metric_type: ELAPSED_TIME
reports:
- report_name: connection_setup_time_without_scan
report_type: NUMERIC_AGGREGATION
percentiles: [90, 95, 99]
system_profile_field: []
- report_name: connection_setup_time_without_scan_per_board
report_type: NUMERIC_AGGREGATION
percentiles: [90, 95, 99]
system_profile_field: [BOARD_NAME]
- report_name: connection_setup_time_without_scan_per_product
report_type: NUMERIC_AGGREGATION
percentiles: [90, 95, 99]
system_profile_field: [PRODUCT_NAME]
meta_data:
max_release_stage: GA
expiration_date: "2020/04/04"
################################################################################
# Connection setup time without scan per result (unit: microseconds)
#
# Like "connection_time_without_scan", but with breakdown on connection result
################################################################################
- id: 203
metric_name: connection_setup_time_without_scan_per_result
metric_type: ELAPSED_TIME
metric_dimensions:
- dimension: connection_result
event_codes: *connection_result
reports:
- report_name: connection_setup_time_without_scan_per_result
report_type: NUMERIC_AGGREGATION
percentiles: [90, 95, 99]
system_profile_field: []
- report_name: connection_setup_time_without_scan_per_result_per_board
report_type: NUMERIC_AGGREGATION
percentiles: [90, 95, 99]
system_profile_field: [BOARD_NAME]
- report_name: connection_setup_time_without_scan_per_result_per_product
report_type: NUMERIC_AGGREGATION
percentiles: [90, 95, 99]
system_profile_field: [PRODUCT_NAME]
meta_data:
max_release_stage: GA
expiration_date: "2020/04/04"
################################################################################
# Connection time without scan per RSSI (unit: microseconds)
#
# Like "connection_time_without_scan", but with breakdown on RSSI
################################################################################
- id: 204
metric_name: connection_setup_time_without_scan_per_rssi
metric_type: ELAPSED_TIME
metric_dimensions:
- dimension: rssi
event_codes: *rssis
reports:
- report_name: connection_setup_time_without_scan_per_rssi
report_type: NUMERIC_AGGREGATION
percentiles: [90, 95, 99]
system_profile_field: []
- report_name: connection_setup_time_without_scan_per_rssi_per_board
report_type: NUMERIC_AGGREGATION
percentiles: [90, 95, 99]
system_profile_field: [BOARD_NAME]
- report_name: connection_setup_time_without_scan_per_rssi_per_product
report_type: NUMERIC_AGGREGATION
percentiles: [90, 95, 99]
system_profile_field: [PRODUCT_NAME]
meta_data:
max_release_stage: GA
expiration_date: "2020/04/04"
################################################################################
# Scan time (unit: microseconds)
#
# Once a discovery scan finishes, log amount of time it takes. Or, once a
# connection attempt finishes, log amount of time the join scan takes,
# provided that the join scan isn't canceled.
################################################################################
- id: 210
metric_name: scan_time
metric_type: ELAPSED_TIME
reports:
- report_name: scan_time
report_type: NUMERIC_AGGREGATION
percentiles: [90, 95, 99]
system_profile_field: []
- report_name: scan_time_per_board
report_type: NUMERIC_AGGREGATION
percentiles: [90, 95, 99]
system_profile_field: [BOARD_NAME]
- report_name: scan_time_per_product
report_type: NUMERIC_AGGREGATION
percentiles: [90, 95, 99]
system_profile_field: [PRODUCT_NAME]
meta_data:
max_release_stage: GA
expiration_date: "2020/04/04"
################################################################################
# Scan time per scan result (unit: microseconds)
#
# Like "scan_time", but with breakdown on scan result
################################################################################
- id: 211
metric_name: scan_time_per_result
metric_type: ELAPSED_TIME
metric_dimensions:
- dimension: scan_result
event_codes: *scan_result
reports:
- report_name: scan_time_per_result
report_type: NUMERIC_AGGREGATION
percentiles: [90, 95, 99]
system_profile_field: []
- report_name: scan_time_per_result_per_board
report_type: NUMERIC_AGGREGATION
percentiles: [90, 95, 99]
system_profile_field: [BOARD_NAME]
- report_name: scan_time_per_result_per_product
report_type: NUMERIC_AGGREGATION
percentiles: [90, 95, 99]
system_profile_field: [PRODUCT_NAME]
meta_data:
max_release_stage: GA
expiration_date: "2020/04/04"
################################################################################
# Scan time per scan type (unit: microseconds)
#
# Like "scan_time", but with breakdown on scan type (active vs passive scan).
################################################################################
- id: 212
metric_name: scan_time_per_scan_type
metric_type: ELAPSED_TIME
metric_dimensions:
- dimension: scan_type
event_codes: *scan_types
reports:
- report_name: scan_time_per_scan_type
report_type: NUMERIC_AGGREGATION
percentiles: [90, 95, 99]
system_profile_field: []
- report_name: scan_time_per_scan_type_per_board
report_type: NUMERIC_AGGREGATION
percentiles: [90, 95, 99]
system_profile_field: [BOARD_NAME]
- report_name: scan_time_per_scan_type_per_product
report_type: NUMERIC_AGGREGATION
percentiles: [90, 95, 99]
system_profile_field: [PRODUCT_NAME]
meta_data:
max_release_stage: GA
expiration_date: "2020/04/04"
################################################################################
# Scan time per join or discovery (unit: microseconds)
#
# Like "scan_time", but with breakdown on whether it's join scan or discovery
# scan.
################################################################################
- id: 213
metric_name: scan_time_per_join_or_discovery
metric_type: ELAPSED_TIME
metric_dimensions:
- dimension: is_join_scan
event_codes: *yes_no
reports:
- report_name: scan_time_per_join_or_discovery
report_type: NUMERIC_AGGREGATION
percentiles: [90, 95, 99]
system_profile_field: []
- report_name: scan_time_per_join_or_discovery_per_board
report_type: NUMERIC_AGGREGATION
percentiles: [90, 95, 99]
system_profile_field: [BOARD_NAME]
- report_name: scan_time_per_join_or_discovery_per_product
report_type: NUMERIC_AGGREGATION
percentiles: [90, 95, 99]
system_profile_field: [PRODUCT_NAME]
meta_data:
max_release_stage: GA
expiration_date: "2020/04/04"
################################################################################
# Scan time per client state (unit: microseconds)
#
# Like "scan_time", but with breakdown on client state when scan starts.
################################################################################
- id: 214
metric_name: scan_time_per_client_state
metric_type: ELAPSED_TIME
metric_dimensions:
- dimension: client_state
event_codes: *client_state_during_scan
reports:
- report_name: scan_time_per_client_state
report_type: NUMERIC_AGGREGATION
percentiles: [90, 95, 99]
system_profile_field: []
- report_name: scan_time_per_client_state_per_board
report_type: NUMERIC_AGGREGATION
percentiles: [90, 95, 99]
system_profile_field: [BOARD_NAME]
- report_name: scan_time_per_client_state_per_product
report_type: NUMERIC_AGGREGATION
percentiles: [90, 95, 99]
system_profile_field: [PRODUCT_NAME]
meta_data:
max_release_stage: GA
expiration_date: "2020/04/04"
################################################################################
# Authentication time (unit: microseconds)
#
# Once a connection attempt finishes, log amount of time it takes for
# authentication step to complete.
################################################################################
- id: 220
metric_name: authentication_time
metric_type: ELAPSED_TIME
reports:
- report_name: authentication_time
report_type: NUMERIC_AGGREGATION
percentiles: [90, 95, 99]
system_profile_field: []
- report_name: authentication_time_per_board
report_type: NUMERIC_AGGREGATION
percentiles: [90, 95, 99]
system_profile_field: [BOARD_NAME]
- report_name: authentication_time_per_product
report_type: NUMERIC_AGGREGATION
percentiles: [90, 95, 99]
system_profile_field: [PRODUCT_NAME]
meta_data:
max_release_stage: GA
expiration_date: "2020/04/04"
################################################################################
# Authentication time per RSSI (unit: microseconds)
#
# Like "authentication_time", but with breakdown on RSSI.
################################################################################
- id: 221
metric_name: authentication_time_per_rssi
metric_type: ELAPSED_TIME
metric_dimensions:
- dimension: rssi
event_codes: *rssis
reports:
- report_name: authentication_time_per_rssi
report_type: NUMERIC_AGGREGATION
percentiles: [90, 95, 99]
system_profile_field: []
- report_name: authentication_time_per_rssi_per_board
report_type: NUMERIC_AGGREGATION
percentiles: [90, 95, 99]
system_profile_field: [BOARD_NAME]
- report_name: authentication_time_per_rssi_per_product
report_type: NUMERIC_AGGREGATION
percentiles: [90, 95, 99]
system_profile_field: [PRODUCT_NAME]
meta_data:
max_release_stage: GA
expiration_date: "2020/04/04"
################################################################################
# Association time (unit: microseconds)
#
# Log amount of time it takes for an association step to complete.
################################################################################
- id: 230
metric_name: association_time
metric_type: ELAPSED_TIME
reports:
- report_name: association_time
report_type: NUMERIC_AGGREGATION
percentiles: [90, 95, 99]
system_profile_field: []
- report_name: association_time_per_board
report_type: NUMERIC_AGGREGATION
percentiles: [90, 95, 99]
system_profile_field: [BOARD_NAME]
- report_name: association_time_per_product
report_type: NUMERIC_AGGREGATION
percentiles: [90, 95, 99]
system_profile_field: [PRODUCT_NAME]
meta_data:
max_release_stage: GA
expiration_date: "2020/04/04"
################################################################################
# Association time per RSSI (unit: microseconds)
#
# Like "association_time", but with breakdown on RSSI.
################################################################################
- id: 231
metric_name: association_time_per_rssi
metric_type: ELAPSED_TIME
metric_dimensions:
- dimension: rssi
event_codes: *rssis
reports:
- report_name: association_time_per_rssi
report_type: NUMERIC_AGGREGATION
percentiles: [90, 95, 99]
system_profile_field: []
- report_name: association_time_per_rssi_per_board
report_type: NUMERIC_AGGREGATION
percentiles: [90, 95, 99]
system_profile_field: [BOARD_NAME]
- report_name: association_time_per_rssi_per_product
report_type: NUMERIC_AGGREGATION
percentiles: [90, 95, 99]
system_profile_field: [PRODUCT_NAME]
meta_data:
max_release_stage: GA
expiration_date: "2020/04/04"
################################################################################
# Establish RSNA time (unit: microseconds)
#
# Log amount of time it takes for an establish RSNA step to complete
################################################################################
- id: 240
metric_name: establish_rsna_time
metric_type: ELAPSED_TIME
metric_dimensions:
reports:
- report_name: establish_rsna_time
report_type: NUMERIC_AGGREGATION
percentiles: [90, 95, 99]
system_profile_field: []
- report_name: establish_rsna_time_per_board
report_type: NUMERIC_AGGREGATION
percentiles: [90, 95, 99]
system_profile_field: [BOARD_NAME]
- report_name: establish_rsna_time_per_product
report_type: NUMERIC_AGGREGATION
percentiles: [90, 95, 99]
system_profile_field: [PRODUCT_NAME]
meta_data:
max_release_stage: GA
expiration_date: "2020/04/04"
################################################################################
# Establish RSNA time per RSSI (unit: microseconds)
#
# Like "establish_rsna_time", but with breakdown on RSSI.
################################################################################
- id: 241
metric_name: establish_rsna_time_per_rssi
metric_type: ELAPSED_TIME
metric_dimensions:
- dimension: rssi
event_codes: *rssis
reports:
- report_name: establish_rsna_time_per_rssi
report_type: NUMERIC_AGGREGATION
percentiles: [90, 95, 99]
system_profile_field: []
- report_name: establish_rsna_time_per_rssi_per_board
report_type: NUMERIC_AGGREGATION
percentiles: [90, 95, 99]
system_profile_field: [BOARD_NAME]
- report_name: establish_rsna_time_per_rssi_per_product
report_type: NUMERIC_AGGREGATION
percentiles: [90, 95, 99]
system_profile_field: [PRODUCT_NAME]
meta_data:
max_release_stage: GA
expiration_date: "2020/04/04"
################################################################################
# Connection queued time (unit: microseconds)
#
# In SME, a connection attempt may sit idle while waiting for an existing scan
# to finish. This logs the duration from when SME receives a connection
# attempt to when it actually starts (with the join scan step)
################################################################################
- id: 250
metric_name: connection_queued_time
metric_type: ELAPSED_TIME
reports:
- report_name: connection_queued_time
report_type: NUMERIC_AGGREGATION
percentiles: [90, 95, 99]
system_profile_field: []
- report_name: connection_queued_time_per_board
report_type: NUMERIC_AGGREGATION
percentiles: [90, 95, 99]
system_profile_field: [BOARD_NAME]
- report_name: connection_queued_time_per_product
report_type: NUMERIC_AGGREGATION
percentiles: [90, 95, 99]
system_profile_field: [PRODUCT_NAME]
meta_data:
max_release_stage: GA
expiration_date: "2020/04/04"
################################################################################
# Connection gap time (unit: microseconds)
#
# This metric logs the time it takes from when the client last disconnects
# (whether it's manual disconnect or connection drop) to when the client
# reconnects. This is logged when a client connects successfully.
#
# This metric does not measure the gap from device boot to when client first
# connects, or when client disconnects to when device shuts down. This metric
# is also not logged for the case where a previous disconnect happened
# automatically while connecting to a network, but this may change in the
# future.
################################################################################
- id: 260
metric_name: connection_gap_time
metric_type: ELAPSED_TIME
reports:
- report_name: numeric_aggregation
report_type: NUMERIC_AGGREGATION
percentiles: [90, 95, 99]
system_profile_field: []
meta_data:
max_release_stage: GA
expiration_date: "2020/04/04"
################################################################################
# Connection gap time breakdown (unit: microseconds)
#
# Same as connection_gap_time metric but with breakdown on whether reconnects
# happens on same SSID and what the previous disconnect was.
################################################################################
- id: 261
metric_name: connection_gap_time_breakdown
metric_type: ELAPSED_TIME
metric_dimensions:
- dimension: ssids
event_codes:
0: SameSsid
1: DifferentSsids
- dimension: previous_disconnect_cause
event_codes:
0: Manual
1: Drop
reports:
- report_name: numeric_aggregation
report_type: NUMERIC_AGGREGATION
percentiles: [90, 95, 99]
system_profile_field: []
meta_data:
max_release_stage: GA
expiration_date: "2020/04/04"
################################################################################
# Connection count by duration
#
# When first connected, log count=1. At each connection duration milestone,
# log count=1.
################################################################################
- id: 300
metric_name: connection_count_by_duration
metric_type: EVENT_COUNT
metric_dimensions:
- dimension: connected_time
event_codes: &connected_milestones
0: Connected
1: ConnectedOneMinute
2: ConnectedTenMinute
3: ConnectedThirtyMinute
4: ConnectedOneHour
5: ConnectedThreeHours
6: ConnectedSixHours
7: ConnectedTwelveHours
8: ConnectedOneDay
9: ConnectedTwoDays
10: ConnectedThreeDays
reports:
- report_name: connection_count_by_duration
report_type: NUMERIC_AGGREGATION
system_profile_field: [BOARD_NAME, PRODUCT_NAME, CHANNEL, SYSTEM_VERSION]
- report_name: connection_count_by_duration_per_device
report_type: PER_DEVICE_NUMERIC_STATS
aggregation_type: SUM
window_size:
- 1
- 7
system_profile_field: [BOARD_NAME, PRODUCT_NAME, CHANNEL, SYSTEM_VERSION]
meta_data:
max_release_stage: GA
expiration_date: "2020/04/04"
################################################################################
# Lost connection counts
#
# Whenever client sees an unexpected disconnect, log count=1, with breakdown
# on how long that connection has lasted.
################################################################################
- id: 301
metric_name: lost_connection_count
metric_type: EVENT_COUNT
metric_dimensions:
- dimension: connected_time
event_codes:
0: LessThanOneMinute
1: LessThanTenMinutes
2: LessThanThirtyMinutes
3: LessThanOneHour
4: LessThanThreeHours
5: LessThanSixHours
6: AtLeastSixHours
- dimension: rssi
event_codes: *rssis
reports:
- report_name: lost_connection_count
report_type: NUMERIC_AGGREGATION
system_profile_field: [BOARD_NAME, PRODUCT_NAME, CHANNEL, SYSTEM_VERSION]
candidate_file: fuchsia/connectivity_wlan/ouis.txt
meta_data:
max_release_stage: GA
expiration_date: "2020/04/04"
################################################################################
# Connection uptime ping
#
# Periodically, we log this event for each time milestone that the current
# connection has already passed. Once the connection has passed a given time
# milestone, we continue to log that milestone repeatedly as long as the
# connection continues.
#
# The main difference between "connection_count_by_duration" metric and this
# metric is that the former logs each milestone only once in the same
# connected session, whereas this metric may log each milestone multiple times.
# This metric is primarily intended for per-device stats.
################################################################################
- id: 302
metric_name: connection_uptime_ping
metric_type: EVENT_OCCURRED
metric_dimensions:
- dimension: connected_time
event_codes: *connected_milestones
max_event_code: 10
reports:
- report_name: unique_n_day_actives
report_type: UNIQUE_N_DAY_ACTIVES
local_privacy_noise_level: NONE
window_size:
- 1
- 7
system_profile_field: [BOARD_NAME, PRODUCT_NAME, CHANNEL, SYSTEM_VERSION]
meta_data:
max_release_stage: GA
expiration_date: "2020/04/04"