blob: 15eefed82cbb2d133292e295c2700eca89b1e845 [file] [log] [blame]
Daniel Bright3529f262020-11-12 16:11:29 -08001/*
2 * Copyright (C) 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.radio.config@1.3;
18
19import android.hardware.radio@1.6::RadioResponseInfo;
20import @1.2::IRadioConfigResponse;
Daniel Bright3529f262020-11-12 16:11:29 -080021
22/**
23 * Interface declaring response functions to solicited radio config requests.
24 */
25interface IRadioConfigResponse extends @1.2::IRadioConfigResponse {
26 /**
27 * @param info Response info struct containing response type, serial no. and error
Zoey Chenf03a62f2021-04-12 13:53:05 +080028 * @param modemReducedFeatureSet1 True indicates that the modem does NOT support the following
29 * features.
30 * - Providing either
31 * android.hardware.radio@1.6::LinkCapacityEstimate:secondaryDownlinkCapacityKbps
32 * or android.hardware.radio@1.6::LinkCapacityEstimate:secondaryUplinkCapacityKbps
33 * when given from
34 * android.hardware.radio@1.6::RadioIndication:currentLinkCapacityEstimate
35 * - Calling android.hardware.radio@1.6::IRadio.setNrDualConnectivityState
36 * or querying android.hardware.radio@1.6::IRadio.isNrDualConnectivityEnabled
37 * - Requesting android.hardware.radio@1.6::IRadio.setDataThrottling()
38 * - Providing android.hardware.radio@1.6::SlicingConfig through
39 * android.hardware.radio@1.6::getSlicingConfig()
Daniel Bright3529f262020-11-12 16:11:29 -080040 *
41 * Valid errors returned:
42 * RadioError:NONE
43 * RadioError:RADIO_NOT_AVAILABLE
44 * RadioError:INTERNAL_ERR
45 */
46 oneway getHalDeviceCapabilitiesResponse(RadioResponseInfo info,
Zoey Chenf03a62f2021-04-12 13:53:05 +080047 bool modemReducedFeatureSet1);
Daniel Bright3529f262020-11-12 16:11:29 -080048};