OSDN Git Service

Add interfaces for getting available channels to WifiScannerImpl
authorNingyuan Wang <nywang@google.com>
Mon, 5 Dec 2016 21:25:28 +0000 (13:25 -0800)
committerNingyuan Wang <nywang@google.com>
Fri, 9 Dec 2016 19:40:01 +0000 (11:40 -0800)
commit87a24f50bf8565f456763780650ee4c0f5318065
tree5fc67f0edc412d2064fb26e5f2499cd8696a707f
parent3b94529d89de94ab74aca6cbac6cdddaa117dde8
Add interfaces for getting available channels to WifiScannerImpl

This adds the following three aidl interfaces to wificond ScannerImpl:

int[] getAvailable2gChannels();
int[] getAvailable5gNonDFSChannels();
int[] getAvailableDFSChannels();

This also adds the corresponding integration tests.

Bug: 33297764
Test: compile, unit tests, integration tests

Change-Id: Idb14740769aa2ab368f311ae099b53005382a007
Android.mk
aidl/android/net/wifi/IWifiScannerImpl.aidl
scanning/scanner_impl.cpp
scanning/scanner_impl.h
tests/integration/scanner_test.cpp [new file with mode: 0644]