Check deauth reason and FW alert for abnormal disconnection

1)To improve abnormal disconnection detection, add deauth reason and FW
alert check. The list of reason codes is configurable through a 64-bit
mask and FW alert valid time is also configurable.
2)Move other abnormal connection failure and disconnection detection timing related parameters to DeviceConfig.
3)Log last rssi poll valid time in wifi metrics.
4)Reduce default value of rssi poll valid time from 3.1s to 2.1s
5)Reduce default value of scan rssi valid time for stationary state from
20s to 8s because mobility state detection could be delayed.

Updated-PDD: TRUE
Bug: 159178185
Test: atest com.android.server.wifi
Change-Id: I6e131f149d242e5dbf0b8b0087303e85ed428f9f
Merged-In: Ifbd5519841d616651cacc846056eda6ff64393e0
10 files changed