Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 01ad38b9 authored by Jong Wook Kim's avatar Jong Wook Kim
Browse files

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
parent a991071d
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -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 {