问题
I am interested in scanning only a particular set of frequencies for a particular time interval (this is different from scanning interval in android api). Is there any high level api
or
user to kernel space communication interfaces, mechanisms (sysfs,iotctl,mmap etc.) (in a rooted device) that can allow me to specify the set of frequencies to be scanned for a particular interval of time. If I understand correctly the device supplicant carries this information?
Would very much appreciate if anyone can point me in right direction.
Thanks in advance!!
回答1:
See my answer on android.sx. Basically, install iw on your device and then call:
iw dev wlan0 scan freq 2417
However, I do not know how this interacts with the supplicant/connection manager. We use it to measure RSSI only.
来源:https://stackoverflow.com/questions/10680867/android-customize-wifi-scan