summaryrefslogtreecommitdiff
path: root/wifi/1.0/default/hidl_struct_util.cpp
diff options
context:
space:
mode:
authorRoshan Pius <rpius@google.com>2017-02-24 08:07:42 -0800
committerRoshan Pius <rpius@google.com>2017-02-28 15:35:40 -0800
commit8c0c8e9aa030c8bdc2922a24c8304ddaed43a615 (patch)
treec337a263327751023d4aee8e23739cdceb9cc8c6 /wifi/1.0/default/hidl_struct_util.cpp
parentb541affafb516e7e7b147bba363daedfdb3f031f (diff)
wifi: Few minor interface changes
Changes in the CL: 1. Add the buckets scanned bitmask to bgscan. 2. exposed the legacy HAL constants for Bgscan in the HIDL interface. 3. Add a stop method for ring buffer logging. Bug: 35752950 Bug: 33194311 Test: Compiles Change-Id: Idb2031c33c5a237d7447410fb733f8e408a17288
Diffstat (limited to 'wifi/1.0/default/hidl_struct_util.cpp')
-rw-r--r--wifi/1.0/default/hidl_struct_util.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/wifi/1.0/default/hidl_struct_util.cpp b/wifi/1.0/default/hidl_struct_util.cpp
index 726f0119a5..82364cbe7e 100644
--- a/wifi/1.0/default/hidl_struct_util.cpp
+++ b/wifi/1.0/default/hidl_struct_util.cpp
@@ -338,7 +338,6 @@ bool convertHidlGscanParamsToLegacy(
hidl_scan_params.reportThresholdPercent;
legacy_scan_params->report_threshold_num_scans =
hidl_scan_params.reportThresholdNumScans;
- // TODO(b/33194311): Expose these max limits in the HIDL interface.
if (hidl_scan_params.buckets.size() > MAX_BUCKETS) {
return false;
}
@@ -366,7 +365,6 @@ bool convertHidlGscanParamsToLegacy(
convertHidlGscanReportEventFlagToLegacy(flag);
}
}
- // TODO(b/33194311): Expose these max limits in the HIDL interface.
if (hidl_bucket_spec.frequencies.size() > MAX_CHANNELS) {
return false;
}