On Aug 26, 10:38 pm, guru <[email protected]> wrote: > Hi Irfan, > > Thanks! I got piece of code where they are setting to 6 seconds. > > packages/apps/Settings/src/com/android/settings/wifi/WifiLayer.java > > /** The delay between scans when we're continually scanning. */ > private static final int CONTINUOUS_SCAN_DELAY_MS = 10000; > > it was 6000. to cross check i made it to 10000, it is taking 10 sec. > I have to check where they are setting to 15sec if we are outside the > wifi settings.
IIRC wpa_supplicant is involved here too. If the kernel wifi driver sends up a scan-completed event then wpa_supplicant will bubble it up immediately; otherwise wpa_supplicant waits until a certain amount of time has passed before notifying the upper layers that the scan results are ready. Matt -- unsubscribe: [email protected] website: http://groups.google.com/group/android-porting
