From 62e09288486b6030c0668e502be148a571111f43 Mon Sep 17 00:00:00 2001 From: Sathish Kumar Date: Mon, 24 Oct 2016 11:11:13 +0530 Subject: [PATCH] qcacmn: Abstract RTT related operations out of WMI layer Currently, RTT related operations to change report type and number of measurements are done in the WMI layer. Abstract these operations out of WMI layer and keep it in the WIN host API layer to make the RTT WMI API generic. Change-Id: I9b73830912c6c2b3d0908788f1f6a77b7f43dcaa --- wmi/src/wmi_unified_non_tlv.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/wmi/src/wmi_unified_non_tlv.c b/wmi/src/wmi_unified_non_tlv.c index db2d65cbe4..f74de83736 100644 --- a/wmi/src/wmi_unified_non_tlv.c +++ b/wmi/src/wmi_unified_non_tlv.c @@ -4551,13 +4551,6 @@ send_rtt_meas_req_test_cmd_non_tlv(wmi_unified_t wmi_handle, WMI_RTT_SPS_SET(head->req_id, 1); WMI_RTT_NUM_STA_SET(head->sta_num, param->req_num_req); - if (param->req_report_type < WMI_RTT_AGGREAGET_REPORT_NON_CFR) { - /* In command line, 0 - FAC, 1 - CFR, need to revert here */ - param->req_report_type ^= 1; - } - - if (param->num_measurements == 0) - param->num_measurements = 25; body = &(head->body[0]); WMI_RTT_VDEV_ID_SET(body->measure_info, 0);