I notice that if user stays on wifi setting screen, wifi layer will do continous scan every 6 seconds, and in wpa_supplicant, if there is no wifi link, and if there are some enabled wifi configurations (wifi network in wpa_supplicant.conf), it will restart scan every 5 seconds.
Let us assuming there are 3 wifi networks in wpa_supplicant.conf (ssid1, ssid2, and ssid3), then scan time line is ----|-------5s------|--1s--|-------5s------|--1s--|-------5s------|--1s--|-------5s------|--1s--|-------5s------|--1s--| scan1 scan2 scan3 scan4 scan5 scan6 scan7 scan8 scan9 scan10 scan11 If 14 channels are all scanned, and scan one time, at least 1s. It will leads to the situation, scan2 has not completed, but scan3 trigger starts. So could we disable wpa_supplicant scan if UI stays on wifi setting UI? at only just user not stay on wifi setting, then start wpa_supplicant continous scan? Anyone has some ideas? Best Regard Walker --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Discuss" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-discuss?hl=en -~----------~----~----~----~------~----~------~--~---
