From e3ee7500f35fc607a79e53aa73d40501f0196a43 Mon Sep 17 00:00:00 2001 From: Mahesh KKV Date: Wed, 27 Dec 2023 14:43:20 -0800 Subject: [PATCH] Update TWT related comments Bug: 317805772 Test: m Change-Id: I29800e8ecbbce245d2038eb098890b8b2c1ecbf1 --- wifi/aidl/android/hardware/wifi/TwtCapabilities.aidl | 8 ++++++++ wifi/aidl/android/hardware/wifi/TwtRequest.aidl | 6 ++++++ 2 files changed, 14 insertions(+) diff --git a/wifi/aidl/android/hardware/wifi/TwtCapabilities.aidl b/wifi/aidl/android/hardware/wifi/TwtCapabilities.aidl index 4012c3ed73..5db5e817a0 100644 --- a/wifi/aidl/android/hardware/wifi/TwtCapabilities.aidl +++ b/wifi/aidl/android/hardware/wifi/TwtCapabilities.aidl @@ -18,6 +18,14 @@ package android.hardware.wifi; /** * Target Wake Time (TWT) Capabilities supported. + * + * TWT allows Wi-Fi stations to manage activity in a network by scheduling to operate at different + * times. This minimizes the contention and reduces the required amount of time that a station + * utilizing a power management mode needs to be awake. + * + * IEEE 802.11ax standard defines two modes of TWT operation: + * - Individual TWT (default mode of operation if TWT requester is supported) + * - Broadcast TWT */ @VintfStability parcelable TwtCapabilities { diff --git a/wifi/aidl/android/hardware/wifi/TwtRequest.aidl b/wifi/aidl/android/hardware/wifi/TwtRequest.aidl index b063da3911..3338dee6e7 100644 --- a/wifi/aidl/android/hardware/wifi/TwtRequest.aidl +++ b/wifi/aidl/android/hardware/wifi/TwtRequest.aidl @@ -31,6 +31,9 @@ parcelable TwtRequest { int minWakeDurationMicros; /** * Maximum TWT wake duration in microseconds. + * + * As per IEEE 802.11ax spec, section 9.4.2.199 TWT element, the maximum wake duration is + * 65280 microseconds. */ int maxWakeDurationMicros; /** @@ -39,6 +42,9 @@ parcelable TwtRequest { long minWakeIntervalMicros; /** * Maximum TWT wake interval in microseconds. + * + * As per IEEE 802.11ax spec, section 9.4.2.199 TWT element, the maximum wake interval is + * 65535 * 2^31 microseconds. */ long maxWakeIntervalMicros; }