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

Commit 7d422812 authored by maheshkkv's avatar maheshkkv
Browse files

Add HAL support for IEEE 802.11 az ranging

Bug: 295619650
Test: m
Change-Id: Ieba17a1414afa8fddca7d0d87e786c760c6789e5
parent 3cb30e7b
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -42,4 +42,9 @@ parcelable RttCapabilities {
  android.hardware.wifi.RttPreamble preambleSupport;
  android.hardware.wifi.RttBw bwSupport;
  byte mcVersion;
  android.hardware.wifi.RttPreamble azPreambleSupport;
  android.hardware.wifi.RttBw azBwSupport;
  boolean ntbInitiatorSupported;
  boolean ntbResponderSupported;
  int maxTxLtfRepetitionCount;
}
+3 −0
Original line number Diff line number Diff line
@@ -48,4 +48,7 @@ parcelable RttConfig {
  int burstDuration;
  android.hardware.wifi.RttPreamble preamble;
  android.hardware.wifi.RttBw bw;
  int ntbMinMeasurementTimeMillis;
  int ntbMaxMeasurementTimeMillis;
  int txLtfRepetitionCount;
}
+1 −0
Original line number Diff line number Diff line
@@ -34,6 +34,7 @@
package android.hardware.wifi;
@Backing(type="int") @VintfStability
enum RttPreamble {
  INVALID = 0,
  LEGACY = 0x1,
  HT = 0x2,
  VHT = 0x4,
+3 −0
Original line number Diff line number Diff line
@@ -59,4 +59,7 @@ parcelable RttResult {
  android.hardware.wifi.WifiInformationElement lcr;
  int channelFreqMHz;
  android.hardware.wifi.RttBw packetBw;
  int txLtfRepetitionCount;
  int ntbMinMeasurementTimeMillis;
  int ntbMaxMeasurementTimeMillis;
}
+2 −0
Original line number Diff line number Diff line
@@ -36,4 +36,6 @@ package android.hardware.wifi;
enum RttType {
  ONE_SIDED = 1,
  TWO_SIDED = 2,
  TWO_SIDED_11MC = TWO_SIDED /* 2 */,
  TWO_SIDED_11AZ_NTB = 3,
}
Loading