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

Commit 0ef2ab8e 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

Change-Id: I2d35a1b1f326f5231fafa42db87c2812b71515d8
parents 1640a5d7 b6df5fe2
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;
}