Connected MAC Randomization Metrics Proto
1) Add "is_mac_randomization_on" that indicates if Connected MAC Randomization is turned on/off when the proto is created. 2) Add "TYPE_MAC_CHANGE" as a new trigger event for StaEvent. This will occur whenever we are dynamically changing the MAC address for Connected MAC Randomization. Bug: 73666905 Test: Unittest. Change-Id: Ifef0908f668e39531ebe5a38588f8e3713c047a9
This commit is contained in:
@@ -435,6 +435,9 @@ message WifiLog {
|
||||
|
||||
// Wi-Fi RTT metrics
|
||||
optional WifiRttLog wifi_rtt_log = 110;
|
||||
|
||||
// Flag which indicates if Connected MAC Randomization is enabled
|
||||
optional bool is_mac_randomization_on = 111 [default = false];
|
||||
}
|
||||
|
||||
// Information that gets logged for every WiFi connection.
|
||||
@@ -748,6 +751,9 @@ message StaEvent {
|
||||
// The NetworkAgent score for wifi has changed in a way that may impact
|
||||
// connectivity
|
||||
TYPE_SCORE_BREACH = 16;
|
||||
|
||||
// Framework changed Sta interface MAC address
|
||||
TYPE_MAC_CHANGE = 17;
|
||||
}
|
||||
|
||||
enum FrameworkDisconnectReason {
|
||||
|
||||
Reference in New Issue
Block a user