[PASSPOINT] Add metrics to determine deployment/avail of Passpoint

Add metrics which will help determine Passpoint availability in the
wild. The metrics measure the percentage of time a Passpoint network
is visible to user - by collecting historgrams of observations per
scan result.

Bug: 66951771
Test: unit test
Change-Id: I8c91f490a533f90a4f0630e1cb461e1d2643358b
This commit is contained in:
Etan Cohen
2017-10-09 10:27:44 -07:00
parent f73f9ed570
commit c462a7a4c1

View File

@@ -336,6 +336,34 @@ message WifiLog {
// Count of connection attempts that were initiated unsuccessfully
optional int32 num_open_network_connect_message_failed_to_send = 82;
// Histogram counting instances of scans with N many HotSpot 2.0 R1 APs
repeated NumConnectableNetworksBucket observed_hotspot_r1_aps_in_scan_histogram = 83;
// Histogram counting instances of scans with N many HotSpot 2.0 R2 APs
repeated NumConnectableNetworksBucket observed_hotspot_r2_aps_in_scan_histogram = 84;
// Histogram counting instances of scans with N many unique HotSpot 2.0 R1 ESS.
// Where ESS is defined as the (HESSID, ANQP Domain ID), (SSID, ANQP Domain ID) or
// (SSID, BSSID) tuple depending on AP configuration (in the above priority
// order).
repeated NumConnectableNetworksBucket observed_hotspot_r1_ess_in_scan_histogram = 85;
// Histogram counting instances of scans with N many unique HotSpot 2.0 R2 ESS.
// Where ESS is defined as the (HESSID, ANQP Domain ID), (SSID, ANQP Domain ID) or
// (SSID, BSSID) tuple depending on AP configuration (in the above priority
// order).
repeated NumConnectableNetworksBucket observed_hotspot_r2_ess_in_scan_histogram = 86;
// Histogram counting number of HotSpot 2.0 R1 APs per observed ESS in a scan
// (one value added per unique ESS - potentially multiple counts per single
// scan!)
repeated NumConnectableNetworksBucket observed_hotspot_r1_aps_per_ess_in_scan_histogram = 87;
// Histogram counting number of HotSpot 2.0 R2 APs per observed ESS in a scan
// (one value added per unique ESS - potentially multiple counts per single
// scan!)
repeated NumConnectableNetworksBucket observed_hotspot_r2_aps_per_ess_in_scan_histogram = 88;
}
// Information that gets logged for every WiFi connection.