Handle NETWORK_NOT_FOUND event
When the number of NETWORK_NOT_FOUND event reaches the
threshold, temporarily disable the network from network
selection and move the ClientModeImpl state to disconnected.
Bug: 161196120
Test: atest com.android.server.wifi.SupplicantStaIfaceHalTest
Test: atest com.android.server.wifi.WifiMonitorTest
Test: atest com.android.server.wifi.ClientModeImplTest
Test: atest com.android.server.wifi.WifiBlocklistMonitorTest
Test: Manual- Triggered network not found event and verified the
event handling.
Change-Id: Iac7fc6c8294dd1c53ee9a789557c5adac3eb3467
13 files changed