blob: f6aee3153a1787025bd9cad42d533f922885ae18 [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()
SongFerngWang0f2a75b2021-04-21 04:36:11 +080040 * - Providing android.hardware.radio@1.6::PhysicalChannelConfig through
41 * android.hardware.radio@1.6::IRadioIndication.currentPhysicalChannelConfigs_1_6()
Daniel Bright3529f262020-11-12 16:11:29 -080042 *
43 * Valid errors returned:
44 * RadioError:NONE
45 * RadioError:RADIO_NOT_AVAILABLE
46 * RadioError:INTERNAL_ERR
47 */
48 oneway getHalDeviceCapabilitiesResponse(RadioResponseInfo info,
Zoey Chenf03a62f2021-04-12 13:53:05 +080049 bool modemReducedFeatureSet1);
Daniel Bright3529f262020-11-12 16:11:29 -080050};