Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 52861fed authored by Etan Cohen's avatar Etan Cohen Committed by android-build-merger
Browse files

Merge "[RTT][AWARE] Support new legacy error codes for Aware RTT" into pi-dev am: b6df5fe2

am: 0ef2ab8e

Change-Id: I807aa5017e2240dfddd87e85fbe8ad9d37f73425
parents 143fd4cd 0ef2ab8e
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -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;
}