WifiNative: Allow in-place switch from connectivity to scan only mode
This allows an in-place modification of the client interface type. This
helps to get rid of the ScanOnlyModeManager.
Also, stop requesting low priority STA iface from HalDeviceManager for
ScanOnly mode.
Bug: 139939529
Test: atest com.android.server.wifi.WifiNativeInterfaceManagementTest
Test: Manual verification by hacking ScanOnlyModeManager &
ClientModeManager to use the new transition API.
Change-Id: I3b8ce63442a46f0f9927af238a1ac722fa13b2a5
2 files changed