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 [email protected]; 18 19import [email protected]::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 * [email protected]::LinkCapacityEstimate:secondaryDownlinkCapacityKbps 32 * or [email protected]::LinkCapacityEstimate:secondaryUplinkCapacityKbps 33 * when given from 34 * [email protected]::RadioIndication:currentLinkCapacityEstimate 35 * - Calling [email protected]::IRadio.setNrDualConnectivityState 36 * or querying [email protected]::IRadio.isNrDualConnectivityEnabled 37 * - Requesting [email protected]::IRadio.setDataThrottling() 38 * - Providing [email protected]::SlicingConfig through 39 * [email protected]::getSlicingConfig() 40 * - Providing [email protected]::PhysicalChannelConfig through 41 * [email protected]::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