WifiDiagnostics: propagate events to LastMileLogger
In order for LastMileLogger to actually be useful,
LML needs to receive notifications about connection
events.
Update WifiDiagnostics, to propagate events from
WifiStateMachine, to LastMileLogger.
While there: make the |mLog| field final. (I
probably should have made that field final in the
first place.)
Bug: 34362951
Test: tests/wifitests/runtests.sh and manual
Manual testing:
- boot with new code
- connect to GoogleGuest
$ adb shell dumpsys > >(egrep 'rdev_connect') 2>/dev/null
<...>-5220 [004] ...1 83.714720: rdev_connect: phy0, netdev:wlan0(5), bssid: 6c:f3:7f:ae:8b:f1, ssid: GoogleGuest, auth type: 0, privacy: false, wpa versions: 0, flags: 0
Change-Id: If1c6b50f866d892c4a95ac94398bfe0680e5a51a
3 files changed