Lines Matching refs:ret
46 wifi_error ret; in wifi_get_rtt_capabilities() local
74 ret = (wifi_error)lowiWifiHalApi->get_rtt_capabilities(iface, capabilities); in wifi_get_rtt_capabilities()
75 if (ret != WIFI_SUCCESS) in wifi_get_rtt_capabilities()
77 "returned error:%d. Exit.", ret); in wifi_get_rtt_capabilities()
79 return ret; in wifi_get_rtt_capabilities()
89 wifi_error ret; in wifi_rtt_range_request() local
129 ret = (wifi_error)lowiWifiHalApi->rtt_range_request(id, iface, in wifi_rtt_range_request()
132 if (ret != WIFI_SUCCESS) in wifi_rtt_range_request()
134 "returned error:%d. Exit.", ret); in wifi_rtt_range_request()
136 return ret; in wifi_rtt_range_request()
145 wifi_error ret; in wifi_rtt_range_cancel() local
179 ret = (wifi_error)lowiWifiHalApi->rtt_range_cancel(id, num_devices, addr); in wifi_rtt_range_cancel()
180 if (ret != WIFI_SUCCESS) in wifi_rtt_range_cancel()
182 "returned error:%d. Exit.", ret); in wifi_rtt_range_cancel()
184 return ret; in wifi_rtt_range_cancel()
191 wifi_error ret; in wifi_set_lci() local
219 ret = lowiWifiHalApi->rtt_set_lci(id, iface, lci); in wifi_set_lci()
220 if (ret != WIFI_SUCCESS) in wifi_set_lci()
221 ALOGE("%s: returned error:%d. Exit.", __FUNCTION__, ret); in wifi_set_lci()
223 return ret; in wifi_set_lci()
230 wifi_error ret; in wifi_set_lcr() local
258 ret = lowiWifiHalApi->rtt_set_lcr(id, iface, lcr); in wifi_set_lcr()
259 if (ret != WIFI_SUCCESS) in wifi_set_lcr()
260 ALOGE("%s: returned error:%d. Exit.", __FUNCTION__, ret); in wifi_set_lcr()
262 return ret; in wifi_set_lcr()
271 wifi_error ret; in wifi_rtt_get_responder_info() local
290 ret = lowiWifiHalApi->rtt_get_responder_info(iface, responder_info); in wifi_rtt_get_responder_info()
291 if (ret != WIFI_SUCCESS) in wifi_rtt_get_responder_info()
292 ALOGE("%s: returned error:%d. Exit.", __FUNCTION__, ret); in wifi_rtt_get_responder_info()
294 return ret; in wifi_rtt_get_responder_info()
311 wifi_error ret; in wifi_enable_responder() local
329 ret = lowiWifiHalApi->enable_responder(id, iface, channel_hint, in wifi_enable_responder()
332 if (ret != WIFI_SUCCESS) in wifi_enable_responder()
333 ALOGE("%s: returned error:%d. Exit.", __FUNCTION__, ret); in wifi_enable_responder()
335 return ret; in wifi_enable_responder()
346 wifi_error ret; in wifi_disable_responder() local
364 ret = lowiWifiHalApi->disable_responder(id, iface); in wifi_disable_responder()
365 if (ret != WIFI_SUCCESS) in wifi_disable_responder()
366 ALOGE("%s: returned error:%d. Exit.", __FUNCTION__, ret); in wifi_disable_responder()
368 return ret; in wifi_disable_responder()