OSDN Git Service

Add two more parameters too RIL_REQUEST_SETUP_DATA_CALL, DO NOT MERGE.
authorWink Saville <wink@google.com>
Thu, 20 Jan 2011 06:37:56 +0000 (22:37 -0800)
committerWink Saville <wink@google.com>
Thu, 20 Jan 2011 06:37:56 +0000 (22:37 -0800)
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

include/telephony/ril.h

index d4b947d..31a25e4 100644 (file)
@@ -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
  *