[Passpoint] Fast ANQP cache refresh for AP with bad WAN metrics
When WAN metrics of an AP report "at capacity" or "link down",
allow to refresh the ANQP entry within 10 minutes rather than 60
minutes, to allow the phone to connect sooner. These conditions
may change dynamically and a short window provides more
connection opportunities.
Bug: 162983167
Test: atest HSWanMetricsElementTest PasspointNetworkNominateHelperTest
ANQPDataTest
Test: Configure WAN metrics to link down on real Passpoint network
and confirm that ANQP-requests for that network are resent after
10 minutes.
Change-Id: If4bed6b0713066fedefc127296ba2c99f4c0e447
6 files changed