Blocklist the BSSID if disassociation imminent bit is set

If the received BTM frame with disassociation imminent bit set
doesn't have MBO assoc retry delay attribute, block list
the BSSID for a fixed duration of 5mins. This is to avoid
re-connection attempt to same BSSID, which may result in either
a connection failure or receiving another BTM frame with
disassoc-imminent bit set soon after connection.
Also renamed the blocklist duration variable to make code
more inclusive.

Bug: 162671127
Test: atest com.android.server.wifi.ClientModeImplTest
Change-Id: I6f61b406081b9022070aea7fd2a2b20c04017702
5 files changed