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

Commit e817aeb6 authored by Gabriel Biren's avatar Gabriel Biren
Browse files

Update comments to indicate whether NAN enums

are used as an enum or a bitmask.

Bug: 267819850
Test: m
Change-Id: I6625d017a5563f82e87a2ee9300bb2d880b9242a
parent 175e8835
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -37,7 +37,7 @@ parcelable NanBootstrappingRequest {
    byte[6] peerDiscMacAddr;

    /**
     * Bootstrapping method in the request, one of the |NanBootstrappingMethod|
     * One of |NanBootstrappingMethod| indicating the bootstrapping method in the request.
     */
    NanBootstrappingMethod requestBootstrappingMethod;

+1 −1
Original line number Diff line number Diff line
@@ -48,7 +48,7 @@ parcelable NanBootstrappingRequestInd {
    int bootstrappingInstanceId;

    /**
     * Bootstrapping method in the incoming request, one of the |NanBootstrappingMethod|
     * One of |NanBootstrappingMethod| indicating the bootstrapping method in the incoming request.
     */
    NanBootstrappingMethod requestBootstrappingMethod;
}
+2 −1
Original line number Diff line number Diff line
@@ -31,7 +31,8 @@ parcelable NanDataPathSecurityConfig {
     */
    NanDataPathSecurityType securityType;
    /**
     * Cipher type for data-paths. If |securityType| is |NanDataPathSecurityType.OPEN| then must
     * One of |NanCipherSuiteType| indicating the cipher type for data-paths.
     * If |securityType| is |NanDataPathSecurityType.OPEN|, then this must
     * be set to |NanCipherSuiteType.NONE|. Otherwise a non-|NanCipherSuiteType.NONE| cipher suite
     * must be specified.
     */
+2 −1
Original line number Diff line number Diff line
@@ -34,7 +34,8 @@ parcelable NanPairingConfig {
     */
    boolean enablePairingVerification;
    /**
     * The set of supported bootstrapping methods. The |NanBootstrappingMethod| bit fields are used.
     * Bitmap of |NanBootstrappingMethod| values indicating the set of
     * supported bootstrapping methods.
     */
    int supportedBootstrappingMethods;
}
+2 −2
Original line number Diff line number Diff line
@@ -49,8 +49,8 @@ parcelable NanPairingSecurityConfig {
     */
    NanPairingAkm akm;
    /**
     * Cipher type for pairing. Need to be one of the |NanCipherSuiteType.PUBLIC_KEY_PASN_128_MASK|
     * or |NanCipherSuiteType.PUBLIC_KEY_PASN_256_MASK|
     * Cipher type for pairing. Must be one of |NanCipherSuiteType.PUBLIC_KEY_PASN_128_MASK|
     * or |NanCipherSuiteType.PUBLIC_KEY_PASN_256_MASK|.
     */
    NanCipherSuiteType cipherType;
}
Loading