summaryrefslogtreecommitdiffstats
path: root/service/java/com/android/server/wifi/WifiMonitor.java
diff options
context:
space:
mode:
authorRoshan Pius <rpius@google.com>2016-01-27 17:36:42 -0800
committerThe Android Automerger <android-build@google.com>2016-02-24 13:21:18 -0800
commit7a0e978a5ba16f237c7ef8aac9cb6154d2d183bd (patch)
treef70eceabead4b76c790bd4798cc1bb6e3b284f2b /service/java/com/android/server/wifi/WifiMonitor.java
parent76eb4f1ad5a51038c2d18fb9eb13d0e0ab6dfc60 (diff)
downloadframeworks_opt_net_wifi-7a0e978a5ba16f237c7ef8aac9cb6154d2d183bd.tar.gz
frameworks_opt_net_wifi-7a0e978a5ba16f237c7ef8aac9cb6154d2d183bd.tar.bz2
frameworks_opt_net_wifi-7a0e978a5ba16f237c7ef8aac9cb6154d2d183bd.zip
DO NOT MERGE Update network priorities before PNO is triggered
The max SSID watch list size for PNO supported by wlan drivers is fixed to a certain size. wpa_supplicant sorts this SSID watch list based on the priorities assigned to those networks. This may result in us losing some frequently used networks from the PNO list because they have lower priorities. This is a side effect of how we assign priorities to network configuration as they're added. So before we trigger PNO, re-sort the network list based on the 'numAssociation' value and assign them relative priorities. This will make sure that the PNO SSID watch list contains all the frequent SSID's to which we were connected to. PS: This change has a side-effect of ignoring the configured priorities during PNO. BUG: 26763375 Change-Id: I2c82254b2cb83aef0dd4da9e7d9b2eb5b376bead Cherry-picked from: https://partner-android-review.googlesource.com/#/c/529355
Diffstat (limited to 'service/java/com/android/server/wifi/WifiMonitor.java')
0 files changed, 0 insertions, 0 deletions