diff options
author | Ningyuan Wang | 2017-07-20 15:43:02 -0500 |
---|---|---|
committer | Ningyuan Wang | 2017-08-01 19:27:19 -0500 |
commit | 514a184b8ee7df61e656d76e9f2dd822524e887a (patch) | |
tree | df68c1de9ced2250d675865dd2e360f9ab3a3530 /client_interface_impl.cpp | |
parent | 30f40a88554ec7ce7a2ecc285579ec5cfdae8415 (diff) | |
download | system-connectivity-wificond-514a184b8ee7df61e656d76e9f2dd822524e887a.tar.gz system-connectivity-wificond-514a184b8ee7df61e656d76e9f2dd822524e887a.tar.xz system-connectivity-wificond-514a184b8ee7df61e656d76e9f2dd822524e887a.zip |
Retrieve scan plan capabilities from kernel
Bug: 63837760
Test: compile, unit test
Test: manually inserting logs to test it retrieves the correct
values.
Change-Id: I750bd287b4f1cb8df44b8d1367c69f7963a3d8dc
Diffstat (limited to 'client_interface_impl.cpp')
-rw-r--r-- | client_interface_impl.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/client_interface_impl.cpp b/client_interface_impl.cpp index 58edbbb..974ff17 100644 --- a/client_interface_impl.cpp +++ b/client_interface_impl.cpp | |||
@@ -164,6 +164,12 @@ void ClientInterfaceImpl::Dump(std::stringstream* ss) const { | |||
164 | << static_cast<int>(scan_capabilities_.max_num_sched_scan_ssids) << endl; | 164 | << static_cast<int>(scan_capabilities_.max_num_sched_scan_ssids) << endl; |
165 | *ss << "Max number of match sets for scheduled scan: " | 165 | *ss << "Max number of match sets for scheduled scan: " |
166 | << static_cast<int>(scan_capabilities_.max_match_sets) << endl; | 166 | << static_cast<int>(scan_capabilities_.max_match_sets) << endl; |
167 | *ss << "Maximum number of scan plans: " | ||
168 | << scan_capabilities_.max_num_scan_plans << endl; | ||
169 | *ss << "Max scan plan interval in seconds: " | ||
170 | << scan_capabilities_.max_scan_plan_interval << endl; | ||
171 | *ss << "Max scan plan iterations: " | ||
172 | << scan_capabilities_.max_scan_plan_iterations << endl; | ||
167 | *ss << "Device supports random MAC for single shot scan: " | 173 | *ss << "Device supports random MAC for single shot scan: " |
168 | << wiphy_features_.supports_random_mac_oneshot_scan << endl; | 174 | << wiphy_features_.supports_random_mac_oneshot_scan << endl; |
169 | *ss << "Device supports random MAC for scheduled scan: " | 175 | *ss << "Device supports random MAC for scheduled scan: " |