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 17package android.hardware.radio.config@1.3; 18 19import android.hardware.radio@1.6::RadioResponseInfo; 20import @1.2::IRadioConfigResponse; 21 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 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() 40 * - Providing android.hardware.radio@1.6::PhysicalChannelConfig through 41 * android.hardware.radio@1.6::IRadioIndication.currentPhysicalChannelConfigs_1_6() 42 * 43 * Valid errors returned: 44 * RadioError:NONE 45 * RadioError:RADIO_NOT_AVAILABLE 46 * RadioError:INTERNAL_ERR 47 */ 48 oneway getHalDeviceCapabilitiesResponse(RadioResponseInfo info, 49 bool modemReducedFeatureSet1); 50}; 51