Recurring scan with scan_interval stopped after type=only

Mikael Kanstrup mikael.kanstrup at gmail.com
Thu Apr 16 06:54:18 EDT 2015


Hi,

I was digging into the wifi scan behavior on Android Lollipop when I
noticed that requesting scan with TYPE=ONLY stops the recurring scans
with time interval set by scan_interval. Is this intentional behavior
or an unwanted side-effect of the command?

What I see running standalone wpa_supplicant on my PC is the following:

- Start wpa_supplicant
- wpa_cli scan_interval 10
- wpa_cli scan

Now every 10th second after receiving the scan results a new scan is
requested. Just as expected

The I run:
- wpa_cli scan type=only

If there is no ongoing scan a special scan with no attempt to connect
is initiated. Again just what I expected. Though following this scan
there's no recurring "normal" scans. Intentional or not?

/Mikael


More information about the HostAP mailing list