<div dir="ltr">Hi,<div><br></div><div>I am working with wpa_supplicant 0.6.x provided along with the Android source git. I am working on supplicant for NexusOne phone.</div><div><br></div><div>In driver_wext.c file and in the method &quot;wpa_driver_wext_set_cscan_params&quot;, there is the code to do passive channel scanning.</div>

<div>So by default of 250 ms dwell time, if my understanding is right, Android takes close to 3.5 sec to do one full-channel scan and return the results.</div><div><br></div><div>My question is, how can I do scanning for only one specified channel ? So basically I would do scanning for 250 ms only and then return results.</div>

<div><br></div><div>Also the previous scan results are cached somewhere, so whenever the phone screen is turned on, we check the cached results first to speed-up association else do new scanning.</div><div>How are the cache results changed, how periodically ?</div>

<div><br></div><div>I would be happy if any of you can help me understand these phenomenon&#39;s.</div><div><br></div><div>Thanks for your time !</div><div><br></div><div>Sincerely,</div><div>Nithy</div></div>