Home
last modified time | relevance | path

Searched refs:legacy_status (Results 1 – 9 of 9) sorted by relevance

/hardware/interfaces/wifi/aidl/default/
Dwifi_sta_iface.cpp40 legacy_hal::wifi_error legacy_status = legacy_hal_.lock()->setDfsFlag(ifname_, true); in WifiStaIface() local
41 if (legacy_status != legacy_hal::WIFI_SUCCESS) { in WifiStaIface()
398 legacy_hal::wifi_error legacy_status = legacy_hal_.lock()->twtRegisterEvents( in registerTwtEventCallbackInternal() local
403 if (legacy_status == legacy_hal::WIFI_ERROR_NOT_SUPPORTED) { in registerTwtEventCallbackInternal()
404 LOG(INFO) << "twtRegisterEvents is not supported" << legacy_status; in registerTwtEventCallbackInternal()
405 } else if (legacy_status != legacy_hal::WIFI_SUCCESS) { in registerTwtEventCallbackInternal()
406 LOG(ERROR) << "twtRegisterEvents failed - %d" << legacy_status; in registerTwtEventCallbackInternal()
408 return createWifiStatusFromLegacyError(legacy_status); in registerTwtEventCallbackInternal()
421 legacy_hal::wifi_error legacy_status; in getFeatureSetInternal() local
423 std::tie(legacy_status, legacy_feature_set) = in getFeatureSetInternal()
[all …]
Dwifi_rtt_controller.cpp166 legacy_hal::wifi_error legacy_status = legacy_hal_.lock()->startRttRangeRequestV3( in rangeRequestInternal() local
169 if (legacy_status != legacy_hal::WIFI_ERROR_NOT_SUPPORTED) { in rangeRequestInternal()
170 return createWifiStatusFromLegacyError(legacy_status); in rangeRequestInternal()
218 legacy_status = legacy_hal_.lock()->startRttRangeRequest( in rangeRequestInternal()
220 return createWifiStatusFromLegacyError(legacy_status); in rangeRequestInternal()
231 legacy_hal::wifi_error legacy_status = in rangeCancelInternal() local
233 return createWifiStatusFromLegacyError(legacy_status); in rangeCancelInternal()
237 legacy_hal::wifi_error legacy_status; in getCapabilitiesInternal() local
239 std::tie(legacy_status, legacy_caps_v3) = legacy_hal_.lock()->getRttCapabilitiesV3(ifname_); in getCapabilitiesInternal()
241 if (legacy_status == legacy_hal::WIFI_ERROR_NOT_SUPPORTED) { in getCapabilitiesInternal()
[all …]
Dwifi_chip.cpp255 legacy_hal::wifi_error legacy_status; in retrieveDynamicIfaceCombination() local
257 std::tie(legacy_status, legacy_matrix) = in retrieveDynamicIfaceCombination()
259 if (legacy_status != legacy_hal::WIFI_SUCCESS) { in retrieveDynamicIfaceCombination()
261 << legacyErrorToString(legacy_status); in retrieveDynamicIfaceCombination()
668 legacy_hal::wifi_error legacy_status; in getFeatureSetInternal() local
672 std::tie(legacy_status, legacy_feature_set) = in getFeatureSetInternal()
674 if (legacy_status != legacy_hal::WIFI_SUCCESS) { in getFeatureSetInternal()
675 return {0, createWifiStatusFromLegacyError(legacy_status)}; in getFeatureSetInternal()
677 std::tie(legacy_status, legacy_logger_feature_set) = in getFeatureSetInternal()
679 if (legacy_status != legacy_hal::WIFI_SUCCESS) { in getFeatureSetInternal()
[all …]
Dwifi_nan_iface.cpp617 legacy_hal::wifi_error legacy_status = in registerCallbackHandlers() local
619 if (legacy_status != legacy_hal::WIFI_SUCCESS) { in registerCallbackHandlers()
831 legacy_hal::wifi_error legacy_status = legacy_hal_.lock()->nanGetCapabilities(ifname_, cmd_id); in getCapabilitiesRequestInternal() local
832 return createWifiStatusFromLegacyError(legacy_status); in getCapabilitiesRequestInternal()
842 legacy_hal::wifi_error legacy_status = in enableRequestInternal() local
844 return createWifiStatusFromLegacyError(legacy_status); in enableRequestInternal()
854 legacy_hal::wifi_error legacy_status = in configRequestInternal() local
856 return createWifiStatusFromLegacyError(legacy_status); in configRequestInternal()
860 legacy_hal::wifi_error legacy_status = legacy_hal_.lock()->nanDisableRequest(ifname_, cmd_id); in disableRequestInternal() local
861 return createWifiStatusFromLegacyError(legacy_status); in disableRequestInternal()
[all …]
Dwifi.cpp370 legacy_hal::wifi_error legacy_status = hal->initialize(); in initializeModeControllerAndLegacyHal() local
371 if (legacy_status != legacy_hal::WIFI_SUCCESS) { in initializeModeControllerAndLegacyHal()
377 << " error: " << legacyErrorToString(legacy_status); in initializeModeControllerAndLegacyHal()
378 return createWifiStatusFromLegacyError(legacy_status); in initializeModeControllerAndLegacyHal()
387 legacy_hal::wifi_error legacy_status = legacy_hal::WIFI_SUCCESS; in stopLegacyHalAndDeinitializeModeController() local
395 << " error: " << legacyErrorToString(legacy_status); in stopLegacyHalAndDeinitializeModeController()
396 legacy_status = tmp; in stopLegacyHalAndDeinitializeModeController()
402 if (legacy_status != legacy_hal::WIFI_SUCCESS) { in stopLegacyHalAndDeinitializeModeController()
404 return createWifiStatusFromLegacyError(legacy_status); in stopLegacyHalAndDeinitializeModeController()
Dwifi_iface_util.cpp56 legacy_hal::wifi_error legacy_status; in setMacAddress() local
58 std::tie(legacy_status, legacy_feature_set) = in setMacAddress()
Dwifi_ap_iface.cpp93 legacy_hal::wifi_error legacy_status = legacy_hal_.lock()->setCountryCode( in setCountryCodeInternal() local
95 return createWifiStatusFromLegacyError(legacy_status); in setCountryCodeInternal()
Daidl_struct_util.cpp141 const legacy_hal::wifi_ring_buffer_status& legacy_status, in convertLegacyDebugRingBufferStatusToAidl() argument
147 aidl_status->ringName = safeConvertChar(reinterpret_cast<const char*>(legacy_status.name), in convertLegacyDebugRingBufferStatusToAidl()
148 sizeof(legacy_status.name)); in convertLegacyDebugRingBufferStatusToAidl()
152 if (flag & legacy_status.flags) { in convertLegacyDebugRingBufferStatusToAidl()
157 aidl_status->ringId = legacy_status.ring_id; in convertLegacyDebugRingBufferStatusToAidl()
158 aidl_status->sizeInBytes = legacy_status.ring_buffer_byte_size; in convertLegacyDebugRingBufferStatusToAidl()
161 if (legacy_status.written_bytes >= legacy_status.read_bytes) { in convertLegacyDebugRingBufferStatusToAidl()
162 aidl_status->freeSizeInBytes = legacy_status.ring_buffer_byte_size - in convertLegacyDebugRingBufferStatusToAidl()
163 (legacy_status.written_bytes - legacy_status.read_bytes); in convertLegacyDebugRingBufferStatusToAidl()
165 aidl_status->freeSizeInBytes = legacy_status.read_bytes - legacy_status.written_bytes; in convertLegacyDebugRingBufferStatusToAidl()
[all …]
Daidl_struct_util.h45 const legacy_hal::wifi_ring_buffer_status& legacy_status,