Loading wifi/aidl/aidl_api/android.hardware.wifi/current/android/hardware/wifi/RttConfig.aidl +2 −2 Original line number Diff line number Diff line Loading @@ -48,6 +48,6 @@ parcelable RttConfig { int burstDuration; android.hardware.wifi.RttPreamble preamble; android.hardware.wifi.RttBw bw; int ntbMinMeasurementTimeMillis; int ntbMaxMeasurementTimeMillis; long ntbMinMeasurementTime; long ntbMaxMeasurementTime; } wifi/aidl/aidl_api/android.hardware.wifi/current/android/hardware/wifi/RttResult.aidl +2 −2 Original line number Diff line number Diff line Loading @@ -61,6 +61,6 @@ parcelable RttResult { android.hardware.wifi.RttBw packetBw; byte i2rTxLtfRepetitionCount; byte r2iTxLtfRepetitionCount; int ntbMinMeasurementTimeMillis; int ntbMaxMeasurementTimeMillis; long ntbMinMeasurementTime; long ntbMaxMeasurementTime; } wifi/aidl/android/hardware/wifi/RttConfig.aidl +10 −4 Original line number Diff line number Diff line Loading @@ -121,11 +121,17 @@ parcelable RttConfig { */ RttBw bw; /** * IEEE 802.11az Non-Trigger-based (non-TB) minimum measurement time in milliseconds. * IEEE 802.11az Non-Trigger-based (non-TB) minimum measurement time in units of 100 * microseconds. * * Reference: IEEE Std 802.11az-2022 spec, section 9.4.2.298 Ranging Parameters element. */ int ntbMinMeasurementTimeMillis; long ntbMinMeasurementTime; /** * IEEE 802.11az Non-Trigger-based (non-TB) maximum measurement time in milliseconds. * IEEE 802.11az Non-Trigger-based (non-TB) maximum measurement time in units of 10 * milliseconds. * * Reference: IEEE Std 802.11az-2022 spec, section 9.4.2.298 Ranging Parameters element. */ int ntbMaxMeasurementTimeMillis; long ntbMaxMeasurementTime; } wifi/aidl/android/hardware/wifi/RttResult.aidl +10 −6 Original line number Diff line number Diff line Loading @@ -156,8 +156,8 @@ parcelable RttResult { */ byte r2iTxLtfRepetitionCount; /** * Minimum non-trigger based (non-TB) dynamic measurement time in milliseconds assigned by the * IEEE 802.11az responder. * Minimum non-trigger based (non-TB) dynamic measurement time in units of 100 microseconds * assigned by the IEEE 802.11az responder. * * After initial non-TB negotiation, if the next ranging request for this peer comes in between * [ntbMinMeasurementTime, ntbMaxMeasurementTime], vendor software shall do the NDPA sounding Loading @@ -166,11 +166,13 @@ parcelable RttResult { * If the ranging request for this peer comes sooner than minimum measurement time, vendor * software shall return the cached result of the last measurement including the time stamp * |RttResult.timestamp|. * * Reference: IEEE Std 802.11az-2022 spec, section 9.4.2.298 Ranging Parameters element. */ int ntbMinMeasurementTimeMillis; long ntbMinMeasurementTime; /** * Maximum non-trigger based (non-TB) dynamic measurement time in milliseconds assigned by the * IEEE 802.11az responder. * Maximum non-trigger based (non-TB) dynamic measurement time in units of 10 milliseconds * assigned by the IEEE 802.11az responder. * * After initial non-TB negotiation, if the next ranging request for this peer comes in between * [ntbMinMeasurementTime, ntbMaxMeasurementTime], vendor software shall do the NDPA sounding Loading @@ -179,6 +181,8 @@ parcelable RttResult { * If the ranging request for this peer comes later than the maximum measurement time, vendor * software shall clean up any existing IEEE 802.11ax non-TB ranging session and re-do the * non-TB ranging negotiation. * * Reference: IEEE Std 802.11az-2022 spec, section 9.4.2.298 Ranging Parameters element. */ int ntbMaxMeasurementTimeMillis; long ntbMaxMeasurementTime; } wifi/aidl/default/aidl_struct_util.cpp +8 −8 Original line number Diff line number Diff line Loading @@ -2741,8 +2741,8 @@ bool convertAidlRttConfigToLegacyV3(const RttConfig& aidl_config, if (!convertAidlRttConfigToLegacy(aidl_config, &(legacy_config->rtt_config))) { return false; } legacy_config->ntb_min_measurement_time_millis = aidl_config.ntbMinMeasurementTimeMillis; legacy_config->ntb_max_measurement_time_millis = aidl_config.ntbMaxMeasurementTimeMillis; legacy_config->ntb_min_measurement_time = aidl_config.ntbMinMeasurementTime; legacy_config->ntb_max_measurement_time = aidl_config.ntbMaxMeasurementTime; return true; } Loading Loading @@ -2993,8 +2993,8 @@ bool convertLegacyVectorOfRttResultToAidl( aidl_result.packetBw = RttBw::BW_UNSPECIFIED; aidl_result.i2rTxLtfRepetitionCount = 0; aidl_result.r2iTxLtfRepetitionCount = 0; aidl_result.ntbMinMeasurementTimeMillis = 0; aidl_result.ntbMaxMeasurementTimeMillis = 0; aidl_result.ntbMinMeasurementTime = 0; aidl_result.ntbMaxMeasurementTime = 0; aidl_results->push_back(aidl_result); } return true; Loading @@ -3017,8 +3017,8 @@ bool convertLegacyVectorOfRttResultV2ToAidl( aidl_result.packetBw = convertLegacyRttBwToAidl(legacy_result->packet_bw); aidl_result.i2rTxLtfRepetitionCount = 0; aidl_result.r2iTxLtfRepetitionCount = 0; aidl_result.ntbMinMeasurementTimeMillis = 0; aidl_result.ntbMaxMeasurementTimeMillis = 0; aidl_result.ntbMinMeasurementTime = 0; aidl_result.ntbMaxMeasurementTime = 0; aidl_results->push_back(aidl_result); } return true; Loading @@ -3042,8 +3042,8 @@ bool convertLegacyVectorOfRttResultV3ToAidl( aidl_result.packetBw = convertLegacyRttBwToAidl(legacy_result->rtt_result.packet_bw); aidl_result.i2rTxLtfRepetitionCount = legacy_result->i2r_tx_ltf_repetition_count; aidl_result.r2iTxLtfRepetitionCount = legacy_result->r2i_tx_ltf_repetition_count; aidl_result.ntbMinMeasurementTimeMillis = legacy_result->ntb_min_measurement_time_millis; aidl_result.ntbMaxMeasurementTimeMillis = legacy_result->ntb_max_measurement_time_millis; aidl_result.ntbMinMeasurementTime = legacy_result->ntb_min_measurement_time; aidl_result.ntbMaxMeasurementTime = legacy_result->ntb_max_measurement_time; aidl_results->push_back(aidl_result); } return true; Loading Loading
wifi/aidl/aidl_api/android.hardware.wifi/current/android/hardware/wifi/RttConfig.aidl +2 −2 Original line number Diff line number Diff line Loading @@ -48,6 +48,6 @@ parcelable RttConfig { int burstDuration; android.hardware.wifi.RttPreamble preamble; android.hardware.wifi.RttBw bw; int ntbMinMeasurementTimeMillis; int ntbMaxMeasurementTimeMillis; long ntbMinMeasurementTime; long ntbMaxMeasurementTime; }
wifi/aidl/aidl_api/android.hardware.wifi/current/android/hardware/wifi/RttResult.aidl +2 −2 Original line number Diff line number Diff line Loading @@ -61,6 +61,6 @@ parcelable RttResult { android.hardware.wifi.RttBw packetBw; byte i2rTxLtfRepetitionCount; byte r2iTxLtfRepetitionCount; int ntbMinMeasurementTimeMillis; int ntbMaxMeasurementTimeMillis; long ntbMinMeasurementTime; long ntbMaxMeasurementTime; }
wifi/aidl/android/hardware/wifi/RttConfig.aidl +10 −4 Original line number Diff line number Diff line Loading @@ -121,11 +121,17 @@ parcelable RttConfig { */ RttBw bw; /** * IEEE 802.11az Non-Trigger-based (non-TB) minimum measurement time in milliseconds. * IEEE 802.11az Non-Trigger-based (non-TB) minimum measurement time in units of 100 * microseconds. * * Reference: IEEE Std 802.11az-2022 spec, section 9.4.2.298 Ranging Parameters element. */ int ntbMinMeasurementTimeMillis; long ntbMinMeasurementTime; /** * IEEE 802.11az Non-Trigger-based (non-TB) maximum measurement time in milliseconds. * IEEE 802.11az Non-Trigger-based (non-TB) maximum measurement time in units of 10 * milliseconds. * * Reference: IEEE Std 802.11az-2022 spec, section 9.4.2.298 Ranging Parameters element. */ int ntbMaxMeasurementTimeMillis; long ntbMaxMeasurementTime; }
wifi/aidl/android/hardware/wifi/RttResult.aidl +10 −6 Original line number Diff line number Diff line Loading @@ -156,8 +156,8 @@ parcelable RttResult { */ byte r2iTxLtfRepetitionCount; /** * Minimum non-trigger based (non-TB) dynamic measurement time in milliseconds assigned by the * IEEE 802.11az responder. * Minimum non-trigger based (non-TB) dynamic measurement time in units of 100 microseconds * assigned by the IEEE 802.11az responder. * * After initial non-TB negotiation, if the next ranging request for this peer comes in between * [ntbMinMeasurementTime, ntbMaxMeasurementTime], vendor software shall do the NDPA sounding Loading @@ -166,11 +166,13 @@ parcelable RttResult { * If the ranging request for this peer comes sooner than minimum measurement time, vendor * software shall return the cached result of the last measurement including the time stamp * |RttResult.timestamp|. * * Reference: IEEE Std 802.11az-2022 spec, section 9.4.2.298 Ranging Parameters element. */ int ntbMinMeasurementTimeMillis; long ntbMinMeasurementTime; /** * Maximum non-trigger based (non-TB) dynamic measurement time in milliseconds assigned by the * IEEE 802.11az responder. * Maximum non-trigger based (non-TB) dynamic measurement time in units of 10 milliseconds * assigned by the IEEE 802.11az responder. * * After initial non-TB negotiation, if the next ranging request for this peer comes in between * [ntbMinMeasurementTime, ntbMaxMeasurementTime], vendor software shall do the NDPA sounding Loading @@ -179,6 +181,8 @@ parcelable RttResult { * If the ranging request for this peer comes later than the maximum measurement time, vendor * software shall clean up any existing IEEE 802.11ax non-TB ranging session and re-do the * non-TB ranging negotiation. * * Reference: IEEE Std 802.11az-2022 spec, section 9.4.2.298 Ranging Parameters element. */ int ntbMaxMeasurementTimeMillis; long ntbMaxMeasurementTime; }
wifi/aidl/default/aidl_struct_util.cpp +8 −8 Original line number Diff line number Diff line Loading @@ -2741,8 +2741,8 @@ bool convertAidlRttConfigToLegacyV3(const RttConfig& aidl_config, if (!convertAidlRttConfigToLegacy(aidl_config, &(legacy_config->rtt_config))) { return false; } legacy_config->ntb_min_measurement_time_millis = aidl_config.ntbMinMeasurementTimeMillis; legacy_config->ntb_max_measurement_time_millis = aidl_config.ntbMaxMeasurementTimeMillis; legacy_config->ntb_min_measurement_time = aidl_config.ntbMinMeasurementTime; legacy_config->ntb_max_measurement_time = aidl_config.ntbMaxMeasurementTime; return true; } Loading Loading @@ -2993,8 +2993,8 @@ bool convertLegacyVectorOfRttResultToAidl( aidl_result.packetBw = RttBw::BW_UNSPECIFIED; aidl_result.i2rTxLtfRepetitionCount = 0; aidl_result.r2iTxLtfRepetitionCount = 0; aidl_result.ntbMinMeasurementTimeMillis = 0; aidl_result.ntbMaxMeasurementTimeMillis = 0; aidl_result.ntbMinMeasurementTime = 0; aidl_result.ntbMaxMeasurementTime = 0; aidl_results->push_back(aidl_result); } return true; Loading @@ -3017,8 +3017,8 @@ bool convertLegacyVectorOfRttResultV2ToAidl( aidl_result.packetBw = convertLegacyRttBwToAidl(legacy_result->packet_bw); aidl_result.i2rTxLtfRepetitionCount = 0; aidl_result.r2iTxLtfRepetitionCount = 0; aidl_result.ntbMinMeasurementTimeMillis = 0; aidl_result.ntbMaxMeasurementTimeMillis = 0; aidl_result.ntbMinMeasurementTime = 0; aidl_result.ntbMaxMeasurementTime = 0; aidl_results->push_back(aidl_result); } return true; Loading @@ -3042,8 +3042,8 @@ bool convertLegacyVectorOfRttResultV3ToAidl( aidl_result.packetBw = convertLegacyRttBwToAidl(legacy_result->rtt_result.packet_bw); aidl_result.i2rTxLtfRepetitionCount = legacy_result->i2r_tx_ltf_repetition_count; aidl_result.r2iTxLtfRepetitionCount = legacy_result->r2i_tx_ltf_repetition_count; aidl_result.ntbMinMeasurementTimeMillis = legacy_result->ntb_min_measurement_time_millis; aidl_result.ntbMaxMeasurementTimeMillis = legacy_result->ntb_max_measurement_time_millis; aidl_result.ntbMinMeasurementTime = legacy_result->ntb_min_measurement_time; aidl_result.ntbMaxMeasurementTime = legacy_result->ntb_max_measurement_time; aidl_results->push_back(aidl_result); } return true; Loading