blob: d269427a6dc888bc904a9f3b4e593a52af4115a5 [file] [log] [blame]
Ahmed ElArabawyeeb53382019-10-10 20:18:31 -07001/*
2 * Copyright 2019 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@1.4;
18
19import @1.0::WifiStatus;
20import @1.0::IWifiIface;
21import @1.3::IWifiChip;
22import IWifiRttController;
23
24/**
25 * Interface that represents a chip that must be configured as a single unit.
26 */
27interface IWifiChip extends @1.3::IWifiChip {
28 /**
29 * Create a RTTController instance.
30 *
31 * RTT controller can be either:
32 * a) Bound to a specific iface by passing in the corresponding |IWifiIface|
33 * object in |iface| param, OR
34 * b) Let the implementation decide the iface to use for RTT operations by
35 * passing null in |iface| param.
36 *
37 * @param boundIface HIDL interface object representing the iface if
38 * the responder must be bound to a specific iface, null otherwise.
39 * @return status WifiStatus of the operation.
40 * Possible status codes:
41 * |WifiStatusCode.SUCCESS|,
42 * |WifiStatusCode.ERROR_WIFI_CHIP_INVALID|
43 */
44 createRttController_1_4(IWifiIface boundIface)
45 generates (WifiStatus status, IWifiRttController rtt);
46};