mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 11:36:00 +00:00
Merge "[RTT][AWARE] Support new legacy error codes for Aware RTT" into pi-dev
This commit is contained in:
@@ -2342,6 +2342,10 @@ RttStatus convertLegacyRttStatusToHidl(legacy_hal::wifi_rtt_status status) {
|
||||
return RttStatus::NO_WIFI;
|
||||
case legacy_hal::RTT_STATUS_FAIL_FTM_PARAM_OVERRIDE:
|
||||
return RttStatus::FAIL_FTM_PARAM_OVERRIDE;
|
||||
case legacy_hal::RTT_STATUS_NAN_RANGING_PROTOCOL_FAILURE:
|
||||
return RttStatus::FAILURE; // TODO: add HIDL enumeration
|
||||
case legacy_hal::RTT_STATUS_NAN_RANGING_CONCURRENCY_NOT_SUPPORTED:
|
||||
return RttStatus::FAILURE; // TODO: add HIDL enumeration
|
||||
};
|
||||
CHECK(false) << "Unknown legacy status: " << status;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user