blob: a338c6a2c2c4345449f508171eb5be4f179fa3ed [file] [log] [blame]
Hai Shalom2b546f32018-11-08 16:35:19 -08001/*
2 * Copyright 2018 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.2;
18
19import @1.0::SupplicantStatus;
20import @1.1::ISupplicantStaIface;
21import @1.2::ISupplicantStaNetwork;
22
23/**
24 * Interface exposed by the supplicant for each station mode network
25 * interface (e.g wlan0) it controls.
26 */
27interface ISupplicantStaIface extends @1.1::ISupplicantStaIface {
28
29 /**
30 * Get Key management capabilities of the device
31 *
32 * @return status Status of the operation, and a bitmap of key management mask.
33 * Possible status codes:
34 * |SupplicantStatusCode.SUCCESS|,
35 * |SupplicantStatusCode.FAILURE_ARGS_INVALID|,
36 * |SupplicantStatusCode.FAILURE_UNKNOWN|,
37 * |SupplicantStatusCode.FAILURE_NETWORK_INVALID|
38 */
39 getKeyMgmtCapabilities()
40 generates (SupplicantStatus status, bitfield<KeyMgmtMask> keyMgmtMask);
41};
42