aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Williams <dcbw@redhat.com>2016-01-11 12:01:49 -0600
committerDan Williams <dcbw@redhat.com>2016-01-11 12:12:18 -0600
commit4ff70bbd7e3cd62810322f4d273a03d8f3943248 (patch)
tree2240447173e7204dd4c1593cb8cb284cc00aa802
parent6d77c4c4a407fa4417c003467c81188069fcd208 (diff)
downloadexternal_libqmi-4ff70bbd7e3cd62810322f4d273a03d8f3943248.zip
external_libqmi-4ff70bbd7e3cd62810322f4d273a03d8f3943248.tar.gz
external_libqmi-4ff70bbd7e3cd62810322f4d273a03d8f3943248.tar.bz2
wds: add GetPDNThrottleInfo message
-rw-r--r--data/qmi-service-wds.json36
-rw-r--r--src/libqmi-glib/qmi-enums-wds.h12
2 files changed, 47 insertions, 1 deletions
diff --git a/data/qmi-service-wds.json b/data/qmi-service-wds.json
index 73a7782..e4a9b22 100644
--- a/data/qmi-service-wds.json
+++ b/data/qmi-service-wds.json
@@ -1168,6 +1168,40 @@
"type" : "TLV",
"format" : "guint8",
"public-format" : "QmiWdsAutoconnectSettingRoaming" } ],
- "output" : [ { "common-ref" : "Operation Result" } ] }
+ "output" : [ { "common-ref" : "Operation Result" } ] },
+
+ // *********************************************************************************
+ { "name" : "Get PDN Throttle Info",
+ "type" : "Message",
+ "service" : "WDS",
+ "id" : "0x006C",
+ "version" : "1.12",
+ "input" : [ { "name" : "Network Type",
+ "id" : "0x01",
+ "mandatory" : "yes",
+ "type" : "TLV",
+ "format" : "guint8",
+ "public-format" : "QmiWdsDataSystemNetworkType" } ],
+ "output" : [ { "common-ref" : "Operation Result" },
+ { "name" : "Info",
+ "id" : "0x10",
+ "mandatory" : "no",
+ "type" : "TLV",
+ "format" : "array",
+ "array-element" : { "name" : "Element",
+ "format" : "struct",
+ "contents" : [ { "name" : "IPv4 Throttled",
+ "format" : "gint8",
+ "public-format" : "gboolean" },
+ { "name" : "IPv6 Throttled",
+ "format" : "gint8",
+ "public-format" : "gboolean" },
+ { "name" : "IPv4 Throttle Time Left MS",
+ "format" : "guint32" },
+ { "name" : "IPv6 Throttle Time Left MS",
+ "format" : "guint32" },
+ { "name" : "APN",
+ "format" : "string" } ] },
+ "prerequisites": [ { "common-ref" : "Success" } ] } ] }
]
diff --git a/src/libqmi-glib/qmi-enums-wds.h b/src/libqmi-glib/qmi-enums-wds.h
index a505771..cafdb09 100644
--- a/src/libqmi-glib/qmi-enums-wds.h
+++ b/src/libqmi-glib/qmi-enums-wds.h
@@ -773,6 +773,18 @@ typedef enum {
} QmiWdsNetworkType;
/**
+ * QmiWdsDataSystemNetworkType:
+ * @QMI_WDS_DATA_SYSTEM_NETWORK_TYPE_3GPP2: 3GPP2 network type.
+ * @QMI_WDS_DATA_SYSTEM_NETWORK_TYPE_3GPP: 3GPP network type.
+ *
+ * Network type of the data system.
+ */
+typedef enum {
+ QMI_WDS_DATA_SYSTEM_NETWORK_TYPE_3GPP = 0,
+ QMI_WDS_DATA_SYSTEM_NETWORK_TYPE_3GPP2 = 1,
+} QmiWdsDataSystemNetworkType;
+
+/**
* QmiWdsRat3gpp2:
* @QMI_WDS_RAT_3GPP2_NONE: Unknown, to be ignored.
* @QMI_WDS_RAT_3GPP2_CDMA1X: CDMA 1x.