OSDN Git Service

telephony: add input data information in ril.h
authorAnkit N <ankit.tarot@gmail.com>
Wed, 7 Dec 2016 15:35:43 +0000 (21:05 +0530)
committerAnkit Navik <ankit.tarot@gmail.com>
Wed, 7 Dec 2016 15:56:34 +0000 (15:56 +0000)
Add input data information for RIL_REQUEST_SET_INITIAL_ATTACH_APN.

include/telephony/ril.h

index 0cadea5..6ad96a2 100644 (file)
@@ -4654,6 +4654,20 @@ typedef struct {
  * RIL_REQUEST_SET_INITIAL_ATTACH_APN
  *
  * Set an apn to initial attach network
+ *
+ * "data" is a const char **
+ * ((const char **)data)[0] is the APN to connect if radio technology is LTE
+ * ((const char **)data)[1] 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".
+ * ((const char **)data)[2] is the PAP / CHAP auth type. Values:
+ *                          0 => PAP and CHAP is never performed.
+ *                          1 => PAP may be performed; CHAP is never performed.
+ *                          2 => CHAP may be performed; PAP is never performed.
+ *                          3 => PAP / CHAP may be performed - baseband dependent.
+ * ((const char **)data)[3] is the username for APN, or NULL
+ * ((const char **)data)[4] is the password for APN, or NULL
+ *
  * "response" is NULL
  *
  * Valid errors: