diff options
author | Sanket Padawe <sanketpadawe@google.com> | 2016-12-07 14:40:03 -0800 |
---|---|---|
committer | Sanket Padawe <sanketpadawe@google.com> | 2016-12-07 14:40:03 -0800 |
commit | 1a7eae777b8f43bfdf8e6808b762f97b5be42389 (patch) | |
tree | 0530d6a8594b7111b2161a65d9d32ba5c72564e1 /radio | |
parent | 022bb405fedd4bd7ec929b0bf08f820d09f89aa7 (diff) | |
download | platform_hardware_interfaces-1a7eae777b8f43bfdf8e6808b762f97b5be42389.tar.gz platform_hardware_interfaces-1a7eae777b8f43bfdf8e6808b762f97b5be42389.tar.bz2 platform_hardware_interfaces-1a7eae777b8f43bfdf8e6808b762f97b5be42389.zip |
Add missing function to telephony HIDL interface.
+ fix some comments as per specs.
Test: No test
Bug: 32020264
Change-Id: If8e83a7465e608e28f7e149025da5ede30924602
Diffstat (limited to 'radio')
-rw-r--r-- | radio/1.0/IRadio.hal | 4 | ||||
-rw-r--r-- | radio/1.0/IRadioResponse.hal | 9 | ||||
-rw-r--r-- | radio/1.0/types.hal | 9 |
3 files changed, 16 insertions, 6 deletions
diff --git a/radio/1.0/IRadio.hal b/radio/1.0/IRadio.hal index f29b916f20..62bc840695 100644 --- a/radio/1.0/IRadio.hal +++ b/radio/1.0/IRadio.hal @@ -382,7 +382,7 @@ interface IRadio { * override the one in the profile. empty string indicates no APN overrride. * @param user is the username for APN, or empty string * @param password is the password for APN, or empty string - * @param authType is the PAP / CHAP auth type. Values: + * @param authType is the PAP / CHAP auth type. * @param protocol is the connection type to request must be one of the * PDP_type values in TS 27.007 section 10.1.1. * For example, "IP", "IPV6", "IPV4V6", or "PPP". @@ -1272,7 +1272,7 @@ interface IRadio { * @param protocol is the connection type to request must be one of the * PDP_type values in TS 27.007 section 10.1.1. * For example, "IP", "IPV6", "IPV4V6", or "PPP". - * @param authType is the PAP / CHAP auth type. Values: + * @param authType is the PAP / CHAP auth type. * @param user is the username for APN, or empty string * @param password is the password for APN, or empty string * diff --git a/radio/1.0/IRadioResponse.hal b/radio/1.0/IRadioResponse.hal index c49286b3c0..e25a30c986 100644 --- a/radio/1.0/IRadioResponse.hal +++ b/radio/1.0/IRadioResponse.hal @@ -1934,4 +1934,13 @@ interface IRadioResponse { */ oneway getAllowedCarriersResponse(RadioResponseInfo info, bool allAllowed, CarrierRestrictions carriers); + + /* + * Acknowldege the receipt of radio request sent to the vendor. This must be sent only for + * radio request which take long time to respond. + * For more details, refer https://source.android.com/devices/tech/connect/ril.html + * + * @param serial Serial no. of the request whose acknowledgement is sent. + */ + oneway requestAcknowledgement(int32_t serial); }; diff --git a/radio/1.0/types.hal b/radio/1.0/types.hal index 194733a7ae..9c4b4537ca 100644 --- a/radio/1.0/types.hal +++ b/radio/1.0/types.hal @@ -1126,16 +1126,17 @@ struct Dial { }; struct GsmSignalStrength { - uint32_t signalStrength; // Valid values are (0-31, 99) as defined in - // TS 27.007 8.5 + uint32_t signalStrength; // Valid values are (0-61, 99) as defined in + // TS 27.007 8.69 uint32_t bitErrorRate; // bit error rate (0-7, 99) as defined in TS 27.007 8.5 int32_t timingAdvance; // Timing Advance in bit periods. 1 bit period = 48/13 us. // INT_MAX denotes invalid value }; struct WcdmaSignalStrength{ - int32_t signalStrength; // Valid values are (0-31, 99) as defined in TS 27.007 8.5 - int32_t bitErrorRate; // bit error rate (0-7, 99) as defined in TS 27.007 8.5 + int32_t signalStrength; // Valid values are (0-96, 99) as defined in + // TS 27.007 8.69 + int32_t bitErrorRate; // bit error rate (0-49, 99) as defined in TS 27.007 8.69 }; struct CdmaSignalStrength { |