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

Commit 334419a5 authored by Gabriel Biren's avatar Gabriel Biren
Browse files

Incorporate Native API council feedback into

the Wifi HALs.

Reccomended changes are documented in ag/30514762.

Bug: 380921292
Test: m
Change-Id: I6ea74d8cbd6be9c48474c47713cb9fbcc6ca6240
parent 640bd198
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -22,12 +22,13 @@ package android.hardware.wifi;
@VintfStability
parcelable PasnConfig {
    /**
     * Base Authentication and Key Management (AKM) protocol used for PASN as defined in |Akm|.
     * Base Authentication and Key Management (AKM) protocol used for PASN. Represented as
     * at bitmap of |Akm|.
     */
    long baseAkm;
    /**
     * Pairwise cipher suite used for the PTKSA (Pairwise Transient Key Security Association)
     * as defined in |CipherSuite|
     * Pairwise cipher suite used for the PTKSA (Pairwise Transient Key Security Association).
     * Represented as a bitmap of |CipherSuite|.
     */
    long cipherSuite;
    /**
+4 −3
Original line number Diff line number Diff line
@@ -222,12 +222,13 @@ parcelable RttResult {
     */
    boolean isSecureLtfEnabled;
    /**
     * Base Authentication and Key Management (AKM) protocol used for PASN as defined in |Akm|.
     * Base Authentication and Key Management (AKM) protocol used for PASN. Represented as
     * at bitmap of |Akm|.
     */
    long baseAkm;
    /**
     * Pairwise cipher suite used for the PTKSA (Pairwise Transient Key Security Association)
     * as defined in |CipherSuite|
     * Pairwise cipher suite used for the PTKSA (Pairwise Transient Key Security Association).
     * Represented as a bitmap of |CipherSuite|.
     */
    long cipherSuite;
    /**
+3 −1
Original line number Diff line number Diff line
@@ -41,7 +41,9 @@ aidl_interface {
            ],
            min_sdk_version: "30",
            lint: {
                baseline_filename: "lint-baseline.xml",
                // Disable linter to avoid error about fixed size arrays.
                // Interface will only be accessed on devices >= T.
                enabled: false,
            },
        },
        ndk: {
+1 −1
Original line number Diff line number Diff line
@@ -41,5 +41,5 @@ parcelable ApInfo {
  android.hardware.wifi.hostapd.Generation generation;
  byte[] apIfaceInstanceMacAddress;
  @nullable android.hardware.wifi.common.OuiKeyedData[] vendorData;
  @nullable byte[] mldMacAddress;
  @nullable byte[6] mldMacAddress;
}
+1 −1
Original line number Diff line number Diff line
@@ -67,5 +67,5 @@ parcelable ApInfo {
    /**
     * MAC Address of the multiple link device (MLD) which apIfaceInstance is associated with.
     */
    @nullable byte[] mldMacAddress;
    @nullable byte[6] mldMacAddress;
}