From: Wink Saville Date: Thu, 20 Jan 2011 06:37:56 +0000 (-0800) Subject: Add two more parameters too RIL_REQUEST_SETUP_DATA_CALL, DO NOT MERGE. X-Git-Tag: android-x86-4.4-r1~80^2^2 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=b58c9bfe09830442088f8ddd4d8742e8be84c308;hp=a79372347720af52d8cf10ad296a85597ea1e7fc;p=android-x86%2Fhardware-ril.git Add two more parameters too RIL_REQUEST_SETUP_DATA_CALL, DO NOT MERGE. Add DNS and gateway as parameters to RIL_REQUEST_SETUP_DATA_CALL so that system properties aren't used for passing these to the ril. System properties that are read right after a write doesn't always see the result of the write. Another words writing system properties are not not sequentially consistent. Bug: 3364487 Change-Id: I408e56cd8cf943dfb5d71a21a274fcfd14571b7b --- diff --git a/include/telephony/ril.h b/include/telephony/ril.h index d4b947d..31a25e4 100644 --- a/include/telephony/ril.h +++ b/include/telephony/ril.h @@ -1326,8 +1326,12 @@ typedef struct { * ((char **)response)[0] indicating PDP CID, which is generated by RIL. This Connection ID is * used in GSM/UMTS and CDMA * ((char **)response)[1] indicating the network interface name for GSM/UMTS or CDMA - * ((char **)response)[2] a space-separated list of IP addresses for this interface for GSM/UMTS - * and NULL for CDMA + * ((char **)response)[2] a space-separated list of numeric IPv4 or IPv6 addresses expressed in + * java InetAddress parseable representation for this interface + * ((char **)response)[3] a space-separated list of numeric IPv4 or IPv6 DNS addresses expressed in + * java InetAddress parseable representation + * ((char **)response)[4] a single numeric gateway address expressed in java InetAddress parseable + * representation for the first address of response[2] * * FIXME may need way to configure QoS settings *