Merge "Add documentation for Aware suspend & resume" into udc-dev am: 73ab317336

Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/23148733

Change-Id: Ic04d4ce19c8557cdad1cd2a75f3c2017c3abdf28
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Mahesh KKV
2023-05-11 15:25:13 +00:00
committed by Automerger Merge Worker

View File

@@ -243,7 +243,10 @@ interface IWifiNanIface {
void terminateDataPathRequest(in char cmdId, in int ndpInstanceId);
/**
* Start the suspension of a discovery service.
* Start the suspension of a discovery service. During the suspend state, the Wi-Fi Aware
* device must not transmit or receive frames for this session including any active NDPs. If
* all discovery sessions are suspended then the Wi-Fi Aware device must not transmit or
* receive any Wi-Fi Aware frames.
* Asynchronous response is with |IWifiNanIfaceEventCallback.notifySuspendResponse|.
*
* @param cmdId Command Id to use for this invocation.
@@ -256,7 +259,10 @@ interface IWifiNanIface {
void suspendRequest(in char cmdId, in byte sessionId);
/**
* Stop the suspension of a discovery service.
* Stop the suspension of a discovery service. Resume cancels an ongoing suspend for this Wi-Fi
* Aware discovery session and automatically resumes the session and any associated NDPs to the
* state before they were suspended. The Wi-Fi Aware resume operation should be faster than
* recreating the corresponding discovery session and NDPs with the same benefit of power.
* Asynchronous response is with |IWifiNanIfaceEventCallback.notifyResumeResponse|.
*
* @param cmdId Command Id to use for this invocation.