Daniel Bright | 3529f26 | 2020-11-12 16:11:29 -0800 | [diff] [blame] | 1 | /* |
| 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 | |
| 17 | package android.hardware.radio.config@1.3; |
| 18 | |
| 19 | import android.hardware.radio@1.6::RadioResponseInfo; |
| 20 | import @1.2::IRadioConfigResponse; |
Daniel Bright | 3529f26 | 2020-11-12 16:11:29 -0800 | [diff] [blame] | 21 | |
| 22 | /** |
| 23 | * Interface declaring response functions to solicited radio config requests. |
| 24 | */ |
| 25 | interface IRadioConfigResponse extends @1.2::IRadioConfigResponse { |
| 26 | /** |
| 27 | * @param info Response info struct containing response type, serial no. and error |
Zoey Chen | f03a62f | 2021-04-12 13:53:05 +0800 | [diff] [blame] | 28 | * @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() |
SongFerngWang | 0f2a75b | 2021-04-21 04:36:11 +0800 | [diff] [blame] | 40 | * - Providing android.hardware.radio@1.6::PhysicalChannelConfig through |
| 41 | * android.hardware.radio@1.6::IRadioIndication.currentPhysicalChannelConfigs_1_6() |
Daniel Bright | 3529f26 | 2020-11-12 16:11:29 -0800 | [diff] [blame] | 42 | * |
| 43 | * Valid errors returned: |
| 44 | * RadioError:NONE |
| 45 | * RadioError:RADIO_NOT_AVAILABLE |
| 46 | * RadioError:INTERNAL_ERR |
| 47 | */ |
| 48 | oneway getHalDeviceCapabilitiesResponse(RadioResponseInfo info, |
Zoey Chen | f03a62f | 2021-04-12 13:53:05 +0800 | [diff] [blame] | 49 | bool modemReducedFeatureSet1); |
Daniel Bright | 3529f26 | 2020-11-12 16:11:29 -0800 | [diff] [blame] | 50 | }; |