return ret;
}
+static int set_detection_window(unsigned int detection_window)
+{
+ FUNC_ENTER;
+
+ retv_if(NULL == uas_cbs, UAS_STATUS_NOT_READY);
+
+ wifi_location_detection_window = detection_window;
+
+ FUNC_EXIT;
+ return UAS_STATUS_SUCCESS;
+}
+
static uas_api_t wifi_location_api = {
.init = init,
.deinit = deinit,
.start_detection = start_detection,
.stop_detection = stop_detection,
.set_low_power_mode = NULL,
- .set_detection_window = NULL,
+ .set_detection_window = set_detection_window,
.set_detection_threshold = NULL,
.scan_active_devices = NULL,
.cancel_active_device_scan = NULL,