blob: 38cdcf9612b531c316b67d7001c1234d841f1f96 [file] [log] [blame]
Jimmy Chen77f2c072020-10-14 23:46:36 +08001/*
2 * Copyright 2020 The Android Open Source Project
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17package android.hardware.wifi.supplicant@1.4;
18
19import @1.0::ISupplicantStaNetworkCallback;
20
21/**
22 * Callback Interface exposed by the supplicant service
23 * for each network (ISupplicantStaNetwork).
24 *
25 * Clients need to host an instance of this HIDL interface object and
26 * pass a reference of the object to the supplicant via the
27 * corresponding |ISupplicantStaNetwork.registerCallback_1_4| method.
28 */
29interface ISupplicantStaNetworkCallback extends @1.0::ISupplicantStaNetworkCallback {
30 /**
31 * WPA3™ Specification Addendum for WPA3 R3 - Table 3.
32 * Transition Disable Indication filled in the third
33 * 4-way handshake message.
34 */
35 enum TransitionDisableIndication : uint32_t {
36 USE_WPA3_PERSONAL = 1 << 0,
37 USE_SAE_PK = 1 << 1,
38 USE_WPA3_ENTERPRISE = 1 << 2,
39 USE_ENHANCED_OPEN = 1 << 3,
40 };
41
42 /**
43 * Used to notify WPA3 transition disable.
44 */
45 oneway onTransitionDisable(bitfield<TransitionDisableIndication> ind);
46};