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

Commit 34081b36 authored by Swarn Singh's avatar Swarn Singh Committed by Gabriel Biren
Browse files

wifi: Add support for QoS SCS policy feature

This commit defines supplicant AIDL APIs needed for QoS SCS policy
feature.

Bug: 236182432
Test: atest VtsHalWifiSupplicantStaIfaceTargetTest \
            VtsHalWifiSupplicantStaNetworkTargetTest \
	    VtsHalWifiSupplicantP2pIfaceTargetTest

Change-Id: I88c79a11edc70f9c7b662ae81594c0fc66d558b8
parent 7cd927c4
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -96,4 +96,8 @@ interface ISupplicantStaIface {
  void stopDppResponder(in int ownBootstrapId);
  void stopRxFilter();
  android.hardware.wifi.supplicant.SignalPollResult[] getSignalPollResults();
  android.hardware.wifi.supplicant.QosPolicyScsRequestStatus[] addQosPolicyRequestForScs(in android.hardware.wifi.supplicant.QosPolicyScsData[] qosPolicyData);
  android.hardware.wifi.supplicant.QosPolicyScsRequestStatus[] removeQosPolicyForScs(in byte[] scsPolicyIds);
  android.hardware.wifi.supplicant.QosPolicyScsRequestStatus[] removeAllQosPoliciesForScs();
  const int MAX_POLICIES_PER_QOS_SCS_REQUEST = 16;
}
+1 −0
Original line number Diff line number Diff line
@@ -74,6 +74,7 @@ interface ISupplicantStaIfaceCallback {
  oneway void onDppConnectionStatusResultSent(in android.hardware.wifi.supplicant.DppStatusErrorCode code);
  oneway void onBssFrequencyChanged(in int frequencyMhz);
  oneway void onSupplicantStateChanged(in android.hardware.wifi.supplicant.SupplicantStateChangeData stateChangeData);
  oneway void onQosPolicyResponseForScs(in android.hardware.wifi.supplicant.QosPolicyScsResponseStatus[] qosPolicyScsResponseStatus);
  @Backing(type="int") @VintfStability
  enum MloLinkInfoChangeReason {
    TID_TO_LINK_MAP = 0,
+1 −0
Original line number Diff line number Diff line
@@ -43,4 +43,5 @@ parcelable QosPolicyClassifierParams {
  android.hardware.wifi.supplicant.ProtocolNextHeader protocolNextHdr;
  byte[] flowLabelIpv6;
  String domainName;
  byte dscp;
}
+1 −0
Original line number Diff line number Diff line
@@ -41,4 +41,5 @@ enum QosPolicyClassifierParamsMask {
  PROTOCOL_NEXT_HEADER = 16,
  FLOW_LABEL = 32,
  DOMAIN_NAME = 64,
  DSCP = 128,
}
+25 −0
Original line number Diff line number Diff line
///////////////////////////////////////////////////////////////////////////////
// THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE.                          //
///////////////////////////////////////////////////////////////////////////////

// This file is a snapshot of an AIDL file. Do not edit it manually. There are
// two cases:
// 1). this is a frozen version file - do not edit this in any case.
// 2). this is a 'current' file. If you make a backwards compatible change to
//     the interface (from the latest frozen version), the build system will
//     prompt you to update this file with `m <name>-update-api`.
//
// You must not make a backward incompatible change to any AIDL file built
// with the aidl_interface module type with versions property set. The module
// type is used to build AIDL files in a way that they can be used across
// independently updatable components of the system. If a device is shipped
// with such a backward incompatible change, it has a high risk of breaking
// later when a module using the interface is updated, e.g., Mainline modules.

package android.hardware.wifi.supplicant;
@VintfStability
parcelable QosPolicyScsData {
  byte policyId;
  byte userPriority;
  android.hardware.wifi.supplicant.QosPolicyClassifierParams classifierParams;
}
Loading