Disable network after consecutive failures

Temporarily disable a WifiConfiguration that experiences consecutive
connection failures. This will speedup blocklisting when a network is
failing consecutively. Also serves as a "catch all" to make sure that we
will eventually block a network that is having problems.

Bug: 176476582
Test: atest com.android.server.wifi

Change-Id: I2fd19a8c2197e3d824771ee5eb301ddaeecf064d
4 files changed