OSDN Git Service

Add bool field |associated| to ScanResult class
authorNingyuan Wang <nywang@google.com>
Tue, 20 Sep 2016 17:41:30 +0000 (10:41 -0700)
committerNingyuan Wang <nywang@google.com>
Tue, 20 Sep 2016 17:45:27 +0000 (10:45 -0700)
commita3c2d9dec385a231ec7f88bff00860b365a814b1
tree606d7917d7f3f134705553786587520262fe25f1
parenta12253e46c1328548c4b37d7f365b4009a6e5776
Add bool field |associated| to ScanResult class

Once we have the knowledge if this BSS is associated or not,
we can update our local cache of connection frequency.
wificond can provide this cached frequency upon polling instead of
sending a costly NL80211_CMD_GET_SURVEY message.

Bug: 31595463
Test: compile, manual test

Change-Id: Ic0188a82da4643e9a9c3c6751b5863b1797a732e
scanning/scan_result.cpp
scanning/scan_result.h
scanning/scan_utils.cpp