summaryrefslogtreecommitdiffstats
path: root/include/telephony/ril.h
diff options
context:
space:
mode:
authorMatt Wagantall <mwagantall@cyngn.com>2016-02-17 13:33:31 -0800
committerMatt Wagantall <mwagantall@cyngn.com>2016-02-17 13:38:51 -0800
commit01c8bfb0c4ab279ae836fe064bc37c84f333e42c (patch)
tree61fb3821d23afad31b3af1f5d1850f898a22a8e4 /include/telephony/ril.h
parent09b05fe9489fe6699e4d196832d637d1dd933a56 (diff)
parentaacb69b826718c61cd3bf07f8d0ee2f734582b47 (diff)
downloadandroid_hardware_ril-01c8bfb0c4ab279ae836fe064bc37c84f333e42c.tar.gz
android_hardware_ril-01c8bfb0c4ab279ae836fe064bc37c84f333e42c.tar.bz2
android_hardware_ril-01c8bfb0c4ab279ae836fe064bc37c84f333e42c.zip
Merge tag 'LA.BF64.1.2.2-03240-8x94.0' into HEAD
"LA.BF64.1.2.2-03240-8x94.0" Issue-Id: SAMBAR-1280 Change-Id: I3b7e32c045f21ca629a154cb1868331308385757
Diffstat (limited to 'include/telephony/ril.h')
-rw-r--r--include/telephony/ril.h32
1 files changed, 31 insertions, 1 deletions
diff --git a/include/telephony/ril.h b/include/telephony/ril.h
index dae869b..f80ff07 100644
--- a/include/telephony/ril.h
+++ b/include/telephony/ril.h
@@ -728,6 +728,8 @@ typedef enum {
PDP_FAIL_TETHERED_CALL_ACTIVE = -6, /* data call was disconnected by modem because tethered
mode was up on same APN/data profile - no retry until
tethered call is off */
+ PDP_FAIL_IPV4_CALL_THROTTLED = -7,
+ PDP_FAIL_IPV6_CALL_THROTTLED = -8,
PDP_FAIL_ERROR_UNSPECIFIED = 0xffff, /* retry silently */
} RIL_DataCallFailCause;
@@ -1500,6 +1502,12 @@ typedef struct {
uint32_t rx_mode_time_ms;
} RIL_ActivityStatsInfo;
+typedef struct {
+ uint8_t p2; /* P2 parameter */
+ char * aidPtr; /* AID value, See ETSI 102.221 and 101.220*/
+
+} RIL_CafOpenChannelParams;
+
/**
* RIL_REQUEST_GET_SIM_STATUS
*
@@ -4546,8 +4554,30 @@ typedef struct {
*/
#define RIL_REQUEST_SIM_GET_ATR 136
-/***********************************************************************/
+/**
+ * RIL_REQUEST_CAF_SIM_OPEN_CHANNEL_WITH_P2
+ *
+ * Open a new logical channel and select the given application. This command
+ * reflects TS 27.007 "open logical channel" operation (+CCHO). This request
+ * also specifies the P2 parameter.
+ *
+ * "data" is a const RIL_CafOpenChannelParam *
+ *
+ * "response" is int *
+ * ((int *)data)[0] contains the session id of the logical channel.
+ * ((int *)data)[1] onwards may optionally contain the select response for the
+ * open channel command with one byte per integer.
+ *
+ * Valid errors:
+ * SUCCESS
+ * RADIO_NOT_AVAILABLE
+ * GENERIC_FAILURE
+ * MISSING_RESOURCE
+ * NO_SUCH_ELEMENT
+ */
+#define RIL_REQUEST_CAF_SIM_OPEN_CHANNEL_WITH_P2 137
+/***********************************************************************/
#define RIL_UNSOL_RESPONSE_BASE 1000