blob: 7179fea9e29eb29bb11c233403a9a87d2fe8daa2 [file] [log] [blame]
/*
* Copyright (C) 2021 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package android.hardware.wifi.supplicant;
/**
* Possible mask of values for PairwiseCipher param.
* See /external/wpa_supplicant_8/src/common/defs.h for
* the historical values (starting at WPA_CIPHER_NONE).
*/
@VintfStability
@Backing(type="int")
enum PairwiseCipherMask {
NONE = 1 << 0,
TKIP = 1 << 3,
CCMP = 1 << 4,
/**
* GCMP-128 Pairwise Cipher
*/
GCMP_128 = 1 << 6,
/**
* SMS4 Pairwise Cipher
*/
SMS4 = 1 << 7,
/**
* GCMP-256 Pairwise Cipher
*/
GCMP_256 = 1 << 8,
}