From: Oskari Lemmela Date: Tue, 12 Oct 2021 05:16:35 +0000 (+0300) Subject: uqmi: sync data from libqmi project X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=7880de81e1ef84428851b66039afda3fd3e24936;p=project%2Fuqmi.git uqmi: sync data from libqmi project Sync all json and header files from libqmi project. Update code to adapt changes in libqmi files. Signed-off-by: Oskari Lemmela --- diff --git a/commands-uim.c b/commands-uim.c index 859da68..d99bce9 100644 --- a/commands-uim.c +++ b/commands-uim.c @@ -24,9 +24,9 @@ static enum qmi_cmd_result cmd_uim_verify_pin1_prepare(struct qmi_dev *qmi, struct qmi_request *req, struct qmi_msg *msg, char *arg) { struct qmi_uim_verify_pin_request data = { - QMI_INIT_SEQUENCE(session_information, + QMI_INIT_SEQUENCE(session, .session_type = QMI_UIM_SESSION_TYPE_CARD_SLOT_1, - "" + .application_identifier_n = 0 ), QMI_INIT_SEQUENCE(info, .pin_id = QMI_UIM_PIN_ID_PIN1, @@ -42,9 +42,9 @@ static enum qmi_cmd_result cmd_uim_verify_pin2_prepare(struct qmi_dev *qmi, struct qmi_request *req, struct qmi_msg *msg, char *arg) { struct qmi_uim_verify_pin_request data = { - QMI_INIT_SEQUENCE(session_information, + QMI_INIT_SEQUENCE(session, .session_type = QMI_UIM_SESSION_TYPE_CARD_SLOT_1, - "" + .application_identifier_n = 0 ), QMI_INIT_SEQUENCE(info, .pin_id = QMI_UIM_PIN_ID_PIN2, diff --git a/commands-wda.c b/commands-wda.c index 3b2530a..92fa6c2 100644 --- a/commands-wda.c +++ b/commands-wda.c @@ -74,6 +74,7 @@ cmd_wda_get_data_format_cb(struct qmi_dev *qmi, struct qmi_request *req, struct static enum qmi_cmd_result cmd_wda_get_data_format_prepare(struct qmi_dev *qmi, struct qmi_request *req, struct qmi_msg *msg, char *arg) { - qmi_set_wda_get_data_format_request(msg); + struct qmi_wda_get_data_format_request data_req = {}; + qmi_set_wda_get_data_format_request(msg, &data_req); return QMI_CMD_REQUEST; } diff --git a/commands-wds.c b/commands-wds.c index 34b1c9f..3aecefd 100644 --- a/commands-wds.c +++ b/commands-wds.c @@ -182,15 +182,15 @@ cmd_wds_get_packet_service_status_prepare(struct qmi_dev *qmi, struct qmi_reques return QMI_CMD_REQUEST; } -#define cmd_wds_set_autoconnect_setting_cb no_cb +#define cmd_wds_set_autoconnect_settings_cb no_cb static enum qmi_cmd_result -cmd_wds_set_autoconnect_setting_prepare(struct qmi_dev *qmi, struct qmi_request *req, struct qmi_msg *msg, char *arg) +cmd_wds_set_autoconnect_settings_prepare(struct qmi_dev *qmi, struct qmi_request *req, struct qmi_msg *msg, char *arg) { - struct qmi_wds_set_autoconnect_setting_request ac_req; + struct qmi_wds_set_autoconnect_settings_request ac_req; const char *modes[] = { - [QMI_WDS_AUTOCONNECT_DISABLED] = "disabled", - [QMI_WDS_AUTOCONNECT_ENABLED] = "enabled", - [QMI_WDS_AUTOCONNECT_PAUSED] = "paused", + [QMI_WDS_AUTOCONNECT_SETTING_DISABLED] = "disabled", + [QMI_WDS_AUTOCONNECT_SETTING_ENABLED] = "enabled", + [QMI_WDS_AUTOCONNECT_SETTING_PAUSED] = "paused", }; int i; @@ -198,8 +198,8 @@ cmd_wds_set_autoconnect_setting_prepare(struct qmi_dev *qmi, struct qmi_request if (strcasecmp(modes[i], arg) != 0) continue; - qmi_set(&ac_req, setting, i); - qmi_set_wds_set_autoconnect_setting_request(msg, &ac_req); + qmi_set(&ac_req, status, i); + qmi_set_wds_set_autoconnect_settings_request(msg, &ac_req); return QMI_CMD_DONE; } diff --git a/commands-wds.h b/commands-wds.h index de025d7..5aa7ea8 100644 --- a/commands-wds.h +++ b/commands-wds.h @@ -31,7 +31,7 @@ __uqmi_command(wds_stop_network, stop-network, required, QMI_SERVICE_WDS), \ __uqmi_command(wds_get_packet_service_status, get-data-status, no, QMI_SERVICE_WDS), \ __uqmi_command(wds_set_ip_family, set-ip-family, required, QMI_SERVICE_WDS), \ - __uqmi_command(wds_set_autoconnect_setting, set-autoconnect, required, QMI_SERVICE_WDS), \ + __uqmi_command(wds_set_autoconnect_settings, set-autoconnect, required, QMI_SERVICE_WDS), \ __uqmi_command(wds_reset, reset-wds, no, QMI_SERVICE_WDS), \ __uqmi_command(wds_get_current_settings, get-current-settings, no, QMI_SERVICE_WDS) \ diff --git a/data/qmi-service-ctl.json b/data/qmi-service-ctl.json index 1e293f7..a964066 100644 --- a/data/qmi-service-ctl.json +++ b/data/qmi-service-ctl.json @@ -6,7 +6,8 @@ // ********************************************************************************* { "name" : "QMI Client CTL", - "type" : "Client" }, + "type" : "Client", + "since" : "1.0" }, // ********************************************************************************* { "name" : "QMI Message CTL", @@ -21,16 +22,17 @@ "type" : "Message", "service" : "CTL", "id" : "0x0020", + "since" : "1.0", "input" : [ { "name" : "ID", "id" : "0x01", - "mandatory" : "yes", "type" : "TLV", + "since" : "1.0", "format" : "guint8" } ], "output" : [ { "common-ref" : "Operation Result" }, { "name" : "Link ID", "id" : "0x01", - "mandatory" : "yes", "type" : "TLV", + "since" : "1.0", "format" : "guint16", "prerequisites": [ { "common-ref" : "Success" } ] } ] }, @@ -39,11 +41,12 @@ "type" : "Message", "service" : "CTL", "id" : "0x0021", + "since" : "1.0", "output" : [ { "common-ref" : "Operation Result" }, { "name" : "Service list", "id" : "0x01", - "mandatory" : "yes", "type" : "TLV", + "since" : "1.0", "format" : "array", "array-element" : { "name" : "Service", "format" : "struct", @@ -61,17 +64,18 @@ "type" : "Message", "service" : "CTL", "id" : "0x0022", + "since" : "1.0", "input" : [ { "name" : "Service", "id" : "0x01", - "mandatory" : "yes", "type" : "TLV", + "since" : "1.0", "format" : "guint8" , "public-format" : "QmiService" } ], "output" : [ { "common-ref" : "Operation Result" }, { "name" : "Allocation Info", "id" : "0x01", - "mandatory" : "yes", "type" : "TLV", + "since" : "1.0", "format" : "sequence", "contents" : [ { "name" : "Service", "format" : "guint8", @@ -85,10 +89,11 @@ "type" : "Message", "service" : "CTL", "id" : "0x0023", + "since" : "1.0", "input" : [ { "name" : "Release Info", "id" : "0x01", - "mandatory" : "yes", "type" : "TLV", + "since" : "1.0", "format" : "sequence", "contents" : [ { "name" : "Service", "format" : "guint8", @@ -98,8 +103,8 @@ "output" : [ { "common-ref" : "Operation Result" }, { "name" : "Release Info", "id" : "0x01", - "mandatory" : "yes", "type" : "TLV", + "since" : "1.0", "format" : "sequence", "contents" : [ { "name" : "Service", "format" : "guint8", @@ -113,38 +118,42 @@ "type" : "Message", "service" : "CTL", "id" : "0x0026", + "since" : "1.0", "input" : [ { "name" : "Format", "id" : "0x01", - "mandatory" : "yes", "type" : "TLV", + "since" : "1.0", "format" : "guint8", "public-format" : "QmiCtlDataFormat" }, { "name" : "Protocol", "id" : "0x10", - "mandatory" : "yes", "type" : "TLV", + "since" : "1.0", "format" : "guint16", "public-format" : "QmiCtlDataLinkProtocol" } ], "output" : [ { "common-ref" : "Operation Result" }, { "name" : "Protocol", "id" : "0x10", - "mandatory" : "no", + "mandatory" : "yes", "type" : "TLV", + "since" : "1.0", "format" : "guint16", - "public-format" : "QmiCtlDataLinkProtocol" } ], - "prerequisites" : [ { "common-ref" : "Success" } ] }, + "public-format" : "QmiCtlDataLinkProtocol", + "prerequisites" : [ { "common-ref" : "Success" } ] } ] }, // ********************************************************************************* { "name" : "Sync", "type" : "Message", "service" : "CTL", "id" : "0x0027", + "since" : "1.0", "output" : [ { "common-ref" : "Operation Result" } ] }, { "name" : "Sync", "type" : "Indication", "service" : "CTL", - "id" : "0x0027" }, + "id" : "0x0027", + "since" : "1.0" }, // ********************************************************************************* // Internal @@ -152,10 +161,11 @@ "type" : "Message", "service" : "CTL", "id" : "0xFF00", + "since" : "1.8", "input" : [ { "name" : "Device Path", "id" : "0x01", - "mandatory" : "yes", "type" : "TLV", + "since" : "1.8", "format" : "string" } ], "output" : [ { "common-ref" : "Operation Result" } ] } diff --git a/data/qmi-service-dms.json b/data/qmi-service-dms.json index f7b741f..0a226b0 100644 --- a/data/qmi-service-dms.json +++ b/data/qmi-service-dms.json @@ -6,7 +6,8 @@ // ********************************************************************************* { "name" : "QMI Client DMS", - "type" : "Client" }, + "type" : "Client", + "since" : "1.0" }, // ********************************************************************************* { "name" : "QMI Message DMS", @@ -21,7 +22,7 @@ "type" : "Message", "service" : "DMS", "id" : "0x0000", - "version" : "1.0", + "since" : "1.0", "output" : [ { "common-ref" : "Operation Result" } ] }, // ********************************************************************************* @@ -29,17 +30,17 @@ "type" : "Message", "service" : "DMS", "id" : "0x0001", - "version" : "1.0", + "since" : "1.0", "input" : [ { "name" : "Power State Reporting", "id" : "0x10", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "guint8", "public-format" : "gboolean" }, { "name" : "Battery Level Report Limits", "id" : "0x11", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "sequence", "contents" : [ { "name" : "Lower Limit", "format" : "guint8" }, @@ -47,38 +48,38 @@ "format" : "guint8" } ] }, { "name" : "PIN State Reporting", "id" : "0x12", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "guint8", "public-format" : "gboolean" }, { "name" : "Activation State Reporting", "id" : "0x13", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "guint8", "public-format" : "gboolean" }, { "name" : "Operating Mode Reporting", "id" : "0x14", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "guint8", "public-format" : "gboolean" }, { "name" : "UIM State Reporting", "id" : "0x15", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "guint8", "public-format" : "gboolean" }, { "name" : "Wireless Disable State Reporting", "id" : "0x16", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "guint8", "public-format" : "gboolean" }, { "name" : "PRL Init Reporting", "id" : "0x17", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "guint8", "public-format" : "gboolean" } ], "output" : [ { "common-ref" : "Operation Result" } ] }, @@ -87,10 +88,11 @@ "type" : "Indication", "service" : "DMS", "id" : "0x0001", + "since" : "1.0", "output" : [ { "name" : "Power State", "id" : "0x10", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "sequence", "contents" : [ { "name" : "Power State Flags", "format" : "guint8" }, @@ -98,8 +100,8 @@ "format" : "guint8" } ] }, { "name" : "PIN1 Status", "id" : "0x11", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "sequence", "contents" : [ { "name" : "Current Status", "format" : "guint8", @@ -110,8 +112,8 @@ "format" : "guint8" } ] }, { "name" : "PIN2 Status", "id" : "0x12", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "sequence", "contents" : [ { "name" : "Current Status", "format" : "guint8", @@ -122,32 +124,32 @@ "format" : "guint8" } ] }, { "name" : "Activation State", "id" : "0x13", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "guint16", "public-format" : "QmiDmsActivationState" }, { "name" : "Operating Mode", "id" : "0x14", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "guint8", "public-format" : "QmiDmsOperatingMode" }, { "name" : "UIM State", "id" : "0x15", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "guint8", "public-format" : "QmiDmsUimState" }, { "name" : "Wireless Disable State", "id" : "0x16", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "guint8", "public-format" : "gboolean" }, { "name" : "PRL Init Notification", "id" : "0x17", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "guint8", "public-format" : "gboolean" } ] }, @@ -156,12 +158,12 @@ "type" : "Message", "service" : "DMS", "id" : "0x0020", - "version" : "1.0", + "since" : "1.0", "output" : [ { "common-ref" : "Operation Result" }, { "name" : "Info", "id" : "0x01", - "mandatory" : "yes", "type" : "TLV", + "since" : "1.0", "format" : "sequence", "contents" : [ { "name" : "Max Tx Channel Rate", "format" : "guint32" }, @@ -184,12 +186,12 @@ "type" : "Message", "service" : "DMS", "id" : "0x0021", - "version" : "1.0", + "since" : "1.0", "output" : [ { "common-ref" : "Operation Result" }, { "name" : "Manufacturer", "id" : "0x01", - "mandatory" : "yes", "type" : "TLV", + "since" : "1.0", "format" : "string", "prerequisites": [ { "common-ref" : "Success" } ] } ] }, @@ -198,12 +200,12 @@ "type" : "Message", "service" : "DMS", "id" : "0x0022", - "version" : "1.0", + "since" : "1.0", "output" : [ { "common-ref" : "Operation Result" }, { "name" : "Model", "id" : "0x01", - "mandatory" : "yes", "type" : "TLV", + "since" : "1.0", "format" : "string", "prerequisites": [ { "common-ref" : "Success" } ] } ] }, @@ -212,12 +214,12 @@ "type" : "Message", "service" : "DMS", "id" : "0x0023", - "version" : "1.0", + "since" : "1.0", "output" : [ { "common-ref" : "Operation Result" }, { "name" : "Revision", "id" : "0x01", - "mandatory" : "yes", "type" : "TLV", + "since" : "1.0", "format" : "string", "prerequisites": [ { "common-ref" : "Success" } ] } ] }, @@ -226,12 +228,12 @@ "type" : "Message", "service" : "DMS", "id" : "0x0024", - "version" : "1.0", + "since" : "1.0", "output" : [ { "common-ref" : "Operation Result" }, { "name" : "MSISDN", "id" : "0x01", - "mandatory" : "yes", "type" : "TLV", + "since" : "1.0", "format" : "string", "prerequisites": [ { "common-ref" : "Success" } ] } ] }, @@ -240,25 +242,31 @@ "type" : "Message", "service" : "DMS", "id" : "0x0025", - "version" : "1.0", + "since" : "1.0", "output" : [ { "common-ref" : "Operation Result" }, { "name" : "Esn", "id" : "0x10", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "string", "prerequisites": [ { "common-ref" : "Success" } ] }, { "name" : "Imei", "id" : "0x11", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "string", "max-size" : "15", "prerequisites": [ { "common-ref" : "Success" } ] }, { "name" : "Meid", "id" : "0x12", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", + "format" : "string", + "prerequisites": [ { "common-ref" : "Success" } ] }, + { "name" : "Imei Software Version", + "id" : "0x13", + "type" : "TLV", + "since" : "1.0", "format" : "string", "prerequisites": [ { "common-ref" : "Success" } ] } ] }, @@ -267,12 +275,12 @@ "type" : "Message", "service" : "DMS", "id" : "0x0026", - "version" : "1.0", + "since" : "1.0", "output" : [ { "common-ref" : "Operation Result" }, { "name" : "Info", "id" : "0x01", - "mandatory" : "yes", "type" : "TLV", + "since" : "1.0", "format" : "sequence", "contents" : [ { "name" : "Power State Flags", "format" : "guint8" }, @@ -285,11 +293,11 @@ "type" : "Message", "service" : "DMS", "id" : "0x0027", - "version" : "1.1", + "since" : "1.0", "input" : [ { "name" : "Info", "id" : "0x01", - "mandatory" : "yes", "type" : "TLV", + "since" : "1.0", "format" : "sequence", "contents" : [ { "name" : "Pin ID", "format" : "guint8", @@ -302,8 +310,8 @@ "output" : [ { "common-ref" : "Operation Result" }, { "name" : "Pin Retries Status", "id" : "0x10", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "sequence", "contents" : [ { "name" : "Verify Retries Left", "format" : "guint8" }, @@ -316,11 +324,11 @@ "type" : "Message", "service" : "DMS", "id" : "0x0028", - "version" : "1.1", + "since" : "1.0", "input" : [ { "name" : "Info", "id" : "0x01", - "mandatory" : "yes", "type" : "TLV", + "since" : "1.0", "format" : "sequence", "contents" : [ { "name" : "Pin ID", "format" : "guint8", @@ -330,8 +338,8 @@ "output" : [ { "common-ref" : "Operation Result" }, { "name" : "Pin Retries Status", "id" : "0x10", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "sequence", "contents" : [ { "name" : "Verify Retries Left", "format" : "guint8" }, @@ -344,11 +352,11 @@ "type" : "Message", "service" : "DMS", "id" : "0x0029", - "version" : "1.1", + "since" : "1.0", "input" : [ { "name" : "Info", "id" : "0x01", - "mandatory" : "yes", "type" : "TLV", + "since" : "1.0", "format" : "sequence", "contents" : [ { "name" : "Pin ID", "format" : "guint8", @@ -360,8 +368,8 @@ "output" : [ { "common-ref" : "Operation Result" }, { "name" : "Pin Retries Status", "id" : "0x10", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "sequence", "contents" : [ { "name" : "Verify Retries Left", "format" : "guint8" }, @@ -374,11 +382,11 @@ "type" : "Message", "service" : "DMS", "id" : "0x002A", - "version" : "1.1", + "since" : "1.0", "input" : [ { "name" : "Info", "id" : "0x01", - "mandatory" : "yes", "type" : "TLV", + "since" : "1.0", "format" : "sequence", "contents" : [ { "name" : "Pin ID", "format" : "guint8", @@ -390,8 +398,8 @@ "output" : [ { "common-ref" : "Operation Result" }, { "name" : "Pin Retries Status", "id" : "0x10", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "sequence", "contents" : [ { "name" : "Verify Retries Left", "format" : "guint8" }, @@ -404,12 +412,12 @@ "type" : "Message", "service" : "DMS", "id" : "0x002B", - "version" : "1.1", + "since" : "1.0", "output" : [ { "common-ref" : "Operation Result" }, { "name" : "PIN1 Status", "id" : "0x11", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "sequence", "contents" : [ { "name" : "Current Status", "format" : "guint8", @@ -420,8 +428,8 @@ "format" : "guint8" } ] }, { "name" : "PIN2 Status", "id" : "0x12", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "sequence", "contents" : [ { "name" : "Current Status", "format" : "guint8", @@ -436,12 +444,12 @@ "type" : "Message", "service" : "DMS", "id" : "0x002C", - "version" : "1.2", + "since" : "1.0", "output" : [ { "common-ref" : "Operation Result" }, { "name" : "Revision", "id" : "0x01", - "mandatory" : "yes", "type" : "TLV", + "since" : "1.0", "format" : "string", "prerequisites": [ { "common-ref" : "Success" } ] } ] }, @@ -450,19 +458,19 @@ "type" : "Message", "service" : "DMS", "id" : "0x002D", - "version" : "1.1", + "since" : "1.0", "output" : [ { "common-ref" : "Operation Result" }, { "name" : "Mode", "id" : "0x01", - "mandatory" : "yes", "type" : "TLV", + "since" : "1.0", "format" : "guint8", "public-format" : "QmiDmsOperatingMode", "prerequisites": [ { "common-ref" : "Success" } ] }, { "name" : "Offline Reason", "id" : "0x10", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "guint16", "public-format" : "QmiDmsOfflineReason", "prerequisites": [ { "field" : "Mode", @@ -470,8 +478,8 @@ "value" : "QMI_DMS_OPERATING_MODE_OFFLINE" } ] }, { "name" : "Hardware Restricted Mode", "id" : "0x11", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "guint8", "public-format" : "gboolean", "prerequisites": [ { "common-ref" : "Success" } ] } ] }, @@ -481,11 +489,11 @@ "type" : "Message", "service" : "DMS", "id" : "0x002E", - "version" : "1.1", + "since" : "1.0", "input" : [ { "name" : "Mode", "id" : "0x01", - "mandatory" : "yes", "type" : "TLV", + "since" : "1.0", "format" : "guint8", "public-format" : "QmiDmsOperatingMode" } ], "output" : [ { "common-ref" : "Operation Result" } ] }, @@ -495,12 +503,12 @@ "type" : "Message", "service" : "DMS", "id" : "0x002F", - "version" : "1.3", + "since" : "1.0", "output" : [ { "common-ref" : "Operation Result" }, { "name" : "Device Time", "id" : "0x01", - "mandatory" : "yes", "type" : "TLV", + "since" : "1.0", "format" : "sequence", "contents" : [ { "name" : "Time Count", "format" : "guint-sized", @@ -511,14 +519,14 @@ "prerequisites": [ { "common-ref" : "Success" } ] }, { "name" : "System Time", "id" : "0x10", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "guint64", "prerequisites": [ { "common-ref" : "Success" } ] }, { "name" : "User Time", "id" : "0x11", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "guint64", "prerequisites": [ { "common-ref" : "Success" } ] } ] }, @@ -527,18 +535,18 @@ "type" : "Message", "service" : "DMS", "id" : "0x0030", - "version" : "1.3", + "since" : "1.0", "output" : [ { "common-ref" : "Operation Result" }, { "name" : "Version", "id" : "0x01", - "mandatory" : "yes", "type" : "TLV", + "since" : "1.0", "format" : "guint16", "prerequisites": [ { "common-ref" : "Success" } ] }, { "name" : "PRL Only Preference", "id" : "0x10", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "guint8", "public-format" : "gboolean", "prerequisites": [ { "common-ref" : "Success" } ] } ] }, @@ -548,12 +556,12 @@ "type" : "Message", "service" : "DMS", "id" : "0x0031", - "version" : "1.3", + "since" : "1.0", "output" : [ { "common-ref" : "Operation Result" }, { "name" : "Info", "id" : "0x01", - "mandatory" : "yes", "type" : "TLV", + "since" : "1.0", "format" : "guint16", "public-format" : "QmiDmsActivationState", "prerequisites": [ { "common-ref" : "Success" } ] } ] }, @@ -563,11 +571,11 @@ "type" : "Message", "service" : "DMS", "id" : "0x0032", - "version" : "1.3", + "since" : "1.0", "input" : [ { "name" : "Activation Code", "id" : "0x01", - "mandatory" : "yes", "type" : "TLV", + "since" : "1.0", "format" : "string", "size-prefix-format" : "guint8" } ], "output" : [ { "common-ref" : "Operation Result" } ] }, @@ -577,11 +585,12 @@ "type" : "Message", "service" : "DMS", "id" : "0x0033", - "version" : "1.3", + "since" : "1.0", "input" : [ { "name" : "Info", "id" : "0x01", - "mandatory" : "yes", "type" : "TLV", + // API updated in 1.6 + "since" : "1.6", "format" : "sequence", "contents" : [ { "name" : "Service Programming Code", "format" : "string", @@ -596,22 +605,22 @@ "max-size" : "15" } ] }, { "name" : "MN HA key", "id" : "0x11", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "string", "max-size" : "16", "size-prefix-format" : "guint8" }, { "name" : "MN AAA key", "id" : "0x12", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "string", "max-size" : "16", "size-prefix-format" : "guint8" }, { "name" : "PRL", "id" : "0x13", - "mandatory" : "no", "type" : "TLV", + "since" : "1.6", "format" : "sequence", "contents" : [ { "name" : "PRL total length", "format" : "guint16" }, @@ -627,12 +636,12 @@ "type" : "Message", "service" : "DMS", "id" : "0x0034", - "version" : "1.3", + "since" : "1.0", "output" : [ { "common-ref" : "Operation Result" }, { "name" : "Enabled", "id" : "0x01", - "mandatory" : "yes", "type" : "TLV", + "since" : "1.0", "format" : "guint8", "public-format" : "gboolean", "prerequisites" : [ { "common-ref" : "Success" } ] } ] }, @@ -642,11 +651,11 @@ "type" : "Message", "service" : "DMS", "id" : "0x0035", - "version" : "1.3", + "since" : "1.0", "input" : [ { "name" : "Info", "id" : "0x01", - "mandatory" : "yes", "type" : "TLV", + "since" : "1.0", "format" : "sequence", "contents" : [ { "name" : "Enabled", "format" : "guint8", @@ -661,11 +670,11 @@ "type" : "Message", "service" : "DMS", "id" : "0x0036", - "version" : "1.3", + "since" : "1.0", "input" : [ { "name" : "Info", "id" : "0x01", - "mandatory" : "yes", "type" : "TLV", + "since" : "1.0", "format" : "sequence", "contents" : [ { "name" : "Old Code", "format" : "string", @@ -680,12 +689,12 @@ "type" : "Message", "service" : "DMS", "id" : "0x0037", - "version" : "1.6", + "since" : "1.0", "output" : [ { "common-ref" : "Operation Result" }, { "name" : "User Data", "id" : "0x01", - "mandatory" : "yes", "type" : "TLV", + "since" : "1.0", "format" : "array", "size-prefix-format" : "guint16", "array-element" : { "format" : "guint8" }, @@ -696,11 +705,11 @@ "type" : "Message", "service" : "DMS", "id" : "0x0038", - "version" : "1.6", + "since" : "1.0", "input" : [ { "name" : "User Data", "id" : "0x01", - "mandatory" : "yes", "type" : "TLV", + "since" : "1.0", "format" : "array", "size-prefix-format" : "guint16", "array-element" : { "format" : "guint8" } } ], @@ -711,12 +720,12 @@ "type" : "Message", "service" : "DMS", "id" : "0x0039", - "version" : "1.6", + "since" : "1.0", "output" : [ { "common-ref" : "Operation Result" }, { "name" : "ERI File", "id" : "0x01", - "mandatory" : "yes", "type" : "TLV", + "since" : "1.0", "format" : "array", "size-prefix-format" : "guint16", "array-element" : { "format" : "guint8" }, @@ -727,11 +736,11 @@ "type" : "Message", "service" : "DMS", "id" : "0x003A", - "version" : "1.6", + "since" : "1.0", "input" : [ { "name" : "Service Programming Code", "id" : "0x01", - "mandatory" : "yes", "type" : "TLV", + "since" : "1.0", "format" : "string", "fixed-size" : "6" } ], "output" : [ { "common-ref" : "Operation Result" } ] }, @@ -741,11 +750,11 @@ "type" : "Message", "service" : "DMS", "id" : "0x003B", - "version" : "1.3", + "since" : "1.0", "input" : [ { "name" : "Service Programming Code", "id" : "0x01", - "mandatory" : "yes", "type" : "TLV", + "since" : "1.0", "format" : "string", "fixed-size" : "6" } ], "output" : [ { "common-ref" : "Operation Result" } ] }, @@ -755,32 +764,40 @@ "type" : "Message", "service" : "DMS", "id" : "0x003C", - "version" : "1.1", + "since" : "1.0", "output" : [ { "common-ref" : "Operation Result" }, { "name" : "ICCID", "id" : "0x01", - "mandatory" : "yes", "type" : "TLV", + "since" : "1.0", "format" : "string", "prerequisites": [ { "common-ref" : "Success" } ] } ] }, + // ********************************************************************************* + { "name" : "Set Firmware ID", + "type" : "Message", + "service" : "DMS", + "id" : "0x003E", + "since" : "1.18", + "output" : [ { "common-ref" : "Operation Result" } ] }, + // ********************************************************************************* { "name" : "UIM Get CK Status", "type" : "Message", "service" : "DMS", "id" : "0x0040", - "version" : "1.3", + "since" : "1.0", "input" : [ { "name" : "Facility", "id" : "0x01", - "mandatory" : "yes", "type" : "TLV", + "since" : "1.0", "format" : "guint8", "public-format" : "QmiDmsUimFacility" } ], "output" : [ { "common-ref" : "Operation Result" }, { "name" : "CK Status", "id" : "0x01", - "mandatory" : "yes", "type" : "TLV", + "since" : "1.0", "format" : "sequence", "contents" : [ { "name" : "Facility State", "format" : "guint8", @@ -792,8 +809,8 @@ "prerequisites": [ { "common-ref" : "Success" } ] }, { "name" : "Operation Blocking Facility", "id" : "0x10", - "mandatory" : "false", "type" : "TLV", + "since" : "1.0", "format" : "guint8", "public-format" : "gboolean", "prerequisites": [ { "common-ref" : "Success" } ] } ] }, @@ -803,11 +820,11 @@ "type" : "Message", "service" : "DMS", "id" : "0x0041", - "version" : "1.3", + "since" : "1.0", "input" : [ { "name" : "Facility", "id" : "0x01", - "mandatory" : "yes", "type" : "TLV", + "since" : "1.0", "format" : "sequence", "contents" : [ { "name" : "Facility", "format" : "guint8", @@ -820,8 +837,8 @@ "output" : [ { "common-ref" : "Operation Result" }, { "name" : "Verify Retries Left", "id" : "0x10", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "guint8" } ] }, // ********************************************************************************* @@ -829,11 +846,11 @@ "type" : "Message", "service" : "DMS", "id" : "0x0042", - "version" : "1.3", + "since" : "1.0", "input" : [ { "name" : "Facility", "id" : "0x01", - "mandatory" : "yes", "type" : "TLV", + "since" : "1.0", "format" : "sequence", "contents" : [ { "name" : "Facility", "format" : "guint8", @@ -843,8 +860,8 @@ "output" : [ { "common-ref" : "Operation Result" }, { "name" : "Unblock Retries Left", "id" : "0x10", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "guint8" } ] }, // ********************************************************************************* @@ -852,12 +869,12 @@ "type" : "Message", "service" : "DMS", "id" : "0x0043", - "version" : "1.1", + "since" : "1.0", "output" : [ { "common-ref" : "Operation Result" }, { "name" : "IMSI", "id" : "0x01", - "mandatory" : "yes", "type" : "TLV", + "since" : "1.0", "format" : "string", "prerequisites": [ { "common-ref" : "Success" } ] } ] }, @@ -866,12 +883,12 @@ "type" : "Message", "service" : "DMS", "id" : "0x0044", - "version" : "1.3", + "since" : "1.0", "output" : [ { "common-ref" : "Operation Result" }, { "name" : "State", "id" : "0x01", - "mandatory" : "yes", "type" : "TLV", + "since" : "1.0", "format" : "guint8", "public-format" : "QmiDmsUimState", "prerequisites": [ { "common-ref" : "Success" } ] } ] }, @@ -881,34 +898,42 @@ "type" : "Message", "service" : "DMS", "id" : "0x0045", - "version" : "1.3", + "since" : "1.0", "output" : [ { "common-ref" : "Operation Result" }, { "name" : "Band Capability", "id" : "0x01", - "mandatory" : "yes", "type" : "TLV", + "since" : "1.0", "format" : "guint64", "public-format" : "QmiDmsBandCapability", "prerequisites": [ { "common-ref" : "Success" } ] }, { "name" : "LTE Band Capability", "id" : "0x10", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "guint64", "public-format" : "QmiDmsLteBandCapability", - "prerequisites": [ { "common-ref" : "Success" } ] } ] }, + "prerequisites": [ { "common-ref" : "Success" } ] }, + { "name" : "Extended LTE Band Capability", + "id" : "0x12", + "type" : "TLV", + "since" : "1.20", + "format" : "array", + "size-prefix-format" : "guint16", + "array-element" : { "format" : "guint16" }, + "prerequisites" : [ { "common-ref" : "Success" } ] } ] }, // ********************************************************************************* { "name" : "Get Factory SKU", "type" : "Message", "service" : "DMS", "id" : "0x0046", - "version" : "1.6", + "since" : "1.0", "output" : [ { "common-ref" : "Operation Result" }, { "name" : "SKU", "id" : "0x01", - "mandatory" : "yes", "type" : "TLV", + "since" : "1.0", "format" : "string", "prerequisites": [ { "common-ref" : "Success" } ] } ] }, @@ -917,12 +942,12 @@ "type" : "Message", "service" : "DMS", "id" : "0x0047", - "version" : "1.3", + "since" : "1.0", "output" : [ { "common-ref" : "Operation Result" }, { "name" : "List", "id" : "0x01", - "mandatory" : "yes", "type" : "TLV", + "since" : "1.0", "format" : "array", "array-element" : { "name" : "Image", "format" : "struct", @@ -942,11 +967,11 @@ "type" : "Message", "service" : "DMS", "id" : "0x0048", - "version" : "1.3", + "since" : "1.0", "input" : [ { "name" : "List", "id" : "0x01", - "mandatory" : "yes", "type" : "TLV", + "since" : "1.0", "format" : "array", "array-element" : { "name" : "Image", "format" : "struct", @@ -961,20 +986,20 @@ "format" : "string" } ] } }, { "name" : "Download Override", "id" : "0x10", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "guint8", "public-format" : "gboolean" }, { "name" : "Modem Storage Index", "id" : "0x11", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "guint8" } ], "output" : [ { "common-ref" : "Operation Result" }, { "name" : "Image Download List", "id" : "0x01", - "mandatory" : "yes", "type" : "TLV", + "since" : "1.0", "format" : "array", "array-element" : { "name" : "Image Type", "format" : "guint8", @@ -986,12 +1011,12 @@ "type" : "Message", "service" : "DMS", "id" : "0x0049", - "version" : "1.3", + "since" : "1.0", "output" : [ { "common-ref" : "Operation Result" }, { "name" : "List", "id" : "0x01", - "mandatory" : "yes", "type" : "TLV", + "since" : "1.0", "format" : "array", "array-element" : { "name" : "Image", "format" : "struct", @@ -1023,11 +1048,11 @@ "type" : "Message", "service" : "DMS", "id" : "0x004A", - "version" : "1.3", + "since" : "1.0", "input" : [ { "name" : "Image", "id" : "0x01", - "mandatory" : "yes", "type" : "TLV", + "since" : "1.0", "format" : "struct", "contents" : [ { "name" : "Type", "format" : "guint8", @@ -1045,16 +1070,17 @@ "type" : "Message", "service" : "DMS", "id" : "0x004B", - "version" : "1.4", + "since" : "1.0", "input" : [ { "name" : "Time Value", "id" : "0x01", - "mandatory" : "yes", "type" : "TLV", + "since" : "1.0", "format" : "guint64" }, { "name" : "Time Reference Type", "id" : "0x10", "mandatory" : "yes", - "type" : "TLV", + "type" : "TLV", + "since" : "1.0", "format" : "guint32", "public-format" : "QmiDmsTimeReferenceType" } ], "output" : [ { "common-ref" : "Operation Result" } ] }, @@ -1064,11 +1090,11 @@ "type" : "Message", "service" : "DMS", "id" : "0x004C", - "version" : "1.3", + "since" : "1.0", "input" : [ { "name" : "Image", "id" : "0x01", - "mandatory" : "yes", "type" : "TLV", + "since" : "1.0", "format" : "struct", "contents" : [ { "name" : "Type", "format" : "guint8", @@ -1082,8 +1108,8 @@ "output" : [ { "common-ref" : "Operation Result" }, { "name" : "Boot Version", "id" : "0x10", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "sequence", "contents" : [ { "name" : "Major Version", "format" : "guint16" }, @@ -1092,8 +1118,8 @@ "prerequisites": [ { "common-ref" : "Success" } ] }, { "name" : "PRI Version", "id" : "0x11", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "sequence", "contents" : [ { "name" : "PRI Version", "format" : "guint32" }, @@ -1103,8 +1129,8 @@ "prerequisites": [ { "common-ref" : "Success" } ] }, { "name" : "OEM Lock ID", "id" : "0x12", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "guint32", "prerequisites": [ { "common-ref" : "Success" } ] } ] }, @@ -1113,12 +1139,12 @@ "type" : "Message", "service" : "DMS", "id" : "0x004D", - "version" : "1.6", + "since" : "1.0", "output" : [ { "common-ref" : "Operation Result" }, { "name" : "Config", "id" : "0x01", - "mandatory" : "yes", "type" : "TLV", + "since" : "1.0", "format" : "guint8", "public-format" : "gboolean", "prerequisites": [ { "common-ref" : "Success" } ] } ] }, @@ -1128,26 +1154,55 @@ "type" : "Message", "service" : "DMS", "id" : "0x004E", - "version" : "1.6", + "since" : "1.0", "input" : [ { "name" : "Config", "id" : "0x01", - "mandatory" : "yes", "type" : "TLV", + "since" : "1.0", "format" : "guint8", "public-format" : "gboolean" } ], "output" : [ { "common-ref" : "Operation Result" } ] }, + // ********************************************************************************* + { "name" : "Get Boot Image Download Mode", + "type" : "Message", + "service" : "DMS", + "id" : "0x004F", + "since" : "1.18", + "output" : [ { "common-ref" : "Operation Result" }, + { "name" : "Mode", + "id" : "0x10", + "type" : "TLV", + "since" : "1.18", + "format" : "guint8", + "public-format" : "QmiDmsBootImageDownloadMode", + "prerequisites": [ { "common-ref" : "Success" } ] } ] }, + + // ********************************************************************************* + { "name" : "Set Boot Image Download Mode", + "type" : "Message", + "service" : "DMS", + "id" : "0x0050", + "since" : "1.18", + "input" : [ { "name" : "Mode", + "id" : "0x01", + "type" : "TLV", + "since" : "1.18", + "format" : "guint8", + "public-format" : "QmiDmsBootImageDownloadMode" } ], + "output" : [ { "common-ref" : "Operation Result" } ] }, + // ********************************************************************************* { "name" : "Get Software Version", "type" : "Message", "service" : "DMS", "id" : "0x0051", - "version" : "1.5", + "since" : "1.0", "output" : [ { "common-ref" : "Operation Result" }, { "name" : "Version", "id" : "0x01", - "mandatory" : "yes", "type" : "TLV", + "since" : "1.0", "format" : "string", "prerequisites": [ { "common-ref" : "Success" } ] } ] }, @@ -1156,78 +1211,234 @@ "type" : "Message", "service" : "DMS", "id" : "0x0052", - "version" : "1.5", + "since" : "1.0", "input" : [ { "name" : "Current Code", "id" : "0x01", - "mandatory" : "yes", "type" : "TLV", + "since" : "1.0", "format" : "string", "fixed-size" : "6" }, { "name" : "New Code", "id" : "0x02", - "mandatory" : "yes", "type" : "TLV", + "since" : "1.0", "format" : "string", "fixed-size" : "6" } ], "output" : [ { "common-ref" : "Operation Result" } ] }, + // ********************************************************************************* + { "name" : "Get MAC Address", + "type" : "Message", + "service" : "DMS", + "id" : "0x005C", + "since" : "1.26", + "input" : [ { "name" : "Device", + "id" : "0x01", + "mandatory" : "yes", + "type" : "TLV", + "since" : "1.26", + "format" : "guint32", + "public-format" : "QmiDmsMacType" } ], + "output" : [ { "common-ref" : "Operation Result" }, + { "name" : "MAC Address", + "id" : "0x10", + "type" : "TLV", + "since" : "1.26", + "format" : "array", + "array-element" : { "format": "guint8" }, + "prerequisites": [ { "common-ref" : "Success" } ] } ] }, + // ********************************************************************************* { "name" : "Get Supported Messages", "type" : "Message", "service" : "DMS", "id" : "0x001E", - "version" : "1.16", + "since" : "1.14", "output" : [ { "common-ref" : "Operation Result" }, { "name" : "List", "id" : "0x10", - "mandatory" : "no", "type" : "TLV", + "since" : "1.14", "format" : "array", "size-prefix-format" : "guint16", "array-element" : { "format" : "guint8" }, "prerequisites" : [ { "common-ref" : "Success" } ] } ] }, // ********************************************************************************* - { "name" : "Get USB Composition", + { "name" : "HP Change Device Mode", + "type" : "Message", + "service" : "DMS", + "id" : "0x5556", + "vendor" : "0x03f0", + "since" : "1.18", + "input" : [ { "name" : "Mode", + "id" : "0x01", + "type" : "TLV", + "since" : "1.18", + "format" : "guint8", + "public-format" : "QmiDmsHpDeviceMode" } ], + "output" : [ { "common-ref" : "Operation Result" } ] }, + + // ********************************************************************************* + { "name" : "Swi Get Current Firmware", + "type" : "Message", + "service" : "DMS", + "id" : "0x5556", + "vendor" : "0x1199", + "since" : "1.18", + "output" : [ { "common-ref" : "Operation Result" }, + { "name" : "Model", + "id" : "0x10", + "type" : "TLV", + "since" : "1.18", + "format" : "string", + "prerequisites" : [ { "common-ref" : "Success" } ] }, + { "name" : "Boot version", + "id" : "0x11", + "type" : "TLV", + "since" : "1.18", + "format" : "string", + "prerequisites" : [ { "common-ref" : "Success" } ] }, + { "name" : "AMSS version", + "id" : "0x12", + "type" : "TLV", + "since" : "1.18", + "format" : "string", + "prerequisites" : [ { "common-ref" : "Success" } ] }, + { "name" : "SKU ID", + "id" : "0x13", + "type" : "TLV", + "since" : "1.18", + "format" : "string", + "prerequisites" : [ { "common-ref" : "Success" } ] }, + { "name" : "Package ID", + "id" : "0x14", + "type" : "TLV", + "since" : "1.18", + "format" : "string", + "prerequisites" : [ { "common-ref" : "Success" } ] }, + { "name" : "Carrier ID", + "id" : "0x15", + "type" : "TLV", + "since" : "1.18", + "format" : "string", + "prerequisites" : [ { "common-ref" : "Success" } ] }, + { "name" : "PRI version", + "id" : "0x16", + "type" : "TLV", + "since" : "1.18", + "format" : "string", + "prerequisites" : [ { "common-ref" : "Success" } ] }, + { "name" : "Carrier", + "id" : "0x17", + "type" : "TLV", + "since" : "1.18", + "format" : "string", + "prerequisites" : [ { "common-ref" : "Success" } ] }, + { "name" : "Config version", + "id" : "0x18", + "type" : "TLV", + "since" : "1.18", + "format" : "string", + "prerequisites" : [ { "common-ref" : "Success" } ] } ] }, + + // ********************************************************************************* + { "name" : "Swi Get USB Composition", "type" : "Message", "service" : "DMS", "id" : "0x555B", - "version" : "1.0", + "vendor" : "0x1199", + "since" : "1.20", "output" : [ { "common-ref" : "Operation Result" }, - { "name" : "Composition", + { "name" : "Current", "id" : "0x10", - "mandatory" : "yes", "type" : "TLV", + "since" : "1.20", "format" : "guint8", + "public-format" : "QmiDmsSwiUsbComposition", "prerequisites" : [ { "common-ref" : "Success" } ] }, - { "name" : "Supported", - "id" : "0x11", - "mandatory" : "no", - "type" : "TLV", - "format" : "array", - "size-prefix-format" : "guint8", - "array-element" : { "format" : "guint8" }, - "prerequisites" : [ { "common-ref" : "Success" } ] } ] }, + { "name" : "Supported", + "id" : "0x11", + "type" : "TLV", + "since" : "1.20", + "format" : "array", + "array-element" : { "format" : "guint8", + "public-format" : "QmiDmsSwiUsbComposition" }, + "prerequisites" : [ { "common-ref" : "Success" } ] } ] }, // ********************************************************************************* - { "name" : "Set USB Composition", + { "name" : "Swi Set USB Composition", "type" : "Message", "service" : "DMS", "id" : "0x555C", - "version" : "1.0", - "input" : [ { "name" : "Composition", + "vendor" : "0x1199", + "since" : "1.20", + "input" : [ { "name" : "Current", "id" : "0x01", - "mandatory" : "yes", "type" : "TLV", - "format" : "guint8" } ], + "since" : "1.20", + "format" : "guint8", + "public-format" : "QmiDmsSwiUsbComposition" + } ], "output" : [ { "common-ref" : "Operation Result" } ] }, + + // ********************************************************************************* + { "name" : "Foxconn Get Firmware Version", + "type" : "Message", + "service" : "DMS", + "id" : "0x555E", + "vendor" : "0x0489", + "since" : "1.26", + "input" : [ { "name" : "Version Type", + "id" : "0x01", + "type" : "TLV", + "since" : "1.26", + "format" : "guint8", + "public-format" : "QmiDmsFoxconnFirmwareVersionType" } ], + "output" : [ { "common-ref" : "Operation Result" }, + { "name" : "Version", + "id" : "0x01", + "type" : "TLV", + "since" : "1.26", + "format" : "string", + "prerequisites": [ { "common-ref" : "Success" } ] } ] }, + // ********************************************************************************* { "name" : "Set FCC Authentication", "type" : "Message", "service" : "DMS", "id" : "0x555F", - "version" : "1.0", - "output" : [ { "common-ref" : "Operation Result" } ] } + "since" : "1.14", + "output" : [ { "common-ref" : "Operation Result" } ] }, + + // ********************************************************************************* + { "name" : "Foxconn Change Device Mode", + "type" : "Message", + "service" : "DMS", + "id" : "0x5562", + "vendor" : "0x0489", + "since" : "1.26", + "input" : [ { "name" : "Mode", + "id" : "0x01", + "type" : "TLV", + "since" : "1.26", + "format" : "guint8", + "public-format" : "QmiDmsFoxconnDeviceMode" } ], + "output" : [ { "common-ref" : "Operation Result" } ] }, + + // ********************************************************************************* + { "name" : "Foxconn Set FCC Authentication", + "type" : "Message", + "service" : "DMS", + "id" : "0x5571", + "vendor" : "0x0489", + "since" : "1.28.6", + "input" : [ { "name" : "Value", + "id" : "0x01", + "type" : "TLV", + "since" : "1.28.6", + "format" : "guint8" } ], + "output" : [ { "common-ref" : "Operation Result" } ] } ] diff --git a/data/qmi-service-nas.json b/data/qmi-service-nas.json index f5a3930..fbf79c2 100644 --- a/data/qmi-service-nas.json +++ b/data/qmi-service-nas.json @@ -1,4 +1,3 @@ - [ // ********************************************************************************* { "name" : "NAS", @@ -6,7 +5,8 @@ // ********************************************************************************* { "name" : "QMI Client NAS", - "type" : "Client" }, + "type" : "Client", + "since" : "1.0" }, // ********************************************************************************* { "name" : "QMI Message NAS", @@ -16,12 +16,117 @@ { "name" : "QMI Indication NAS", "type" : "Indication-ID-Enum" }, + // ********************************************************************************* + { "common-ref" : "NAS Service Provider Name", + "name" : "Service Provider Name", + "id" : "0x10", + "type" : "TLV", + "format" : "sequence", + "contents" : [ { "name" : "Name Display Condition", + "format" : "guint8", + "public-format" : "QmiNasNetworkNameDisplayCondition" }, + { "name" : "Name", + "format" : "string" } ] }, + + { "common-ref" : "NAS Operator PLMN List", + "name" : "Operator PLMN List", + "id" : "0x11", + "type" : "TLV", + "format" : "array", + "size-prefix-format" : "guint16", + "array-element" : { "name" : "Element", + "format" : "struct", + "contents" : [ { "name" : "MCC", + "format" : "string", + "fixed-size" : "3" }, + { "name" : "MNC", + "format" : "string", + "fixed-size" : "3" }, + { "name" : "LAC1", + "format" : "guint16" }, + { "name" : "LAC2", + "format" : "guint16" }, + { "name" : "PLMN Name Record Identifier", + "format" : "guint8" } ] } }, + + { "common-ref" : "NAS Operator PLMN Name", + "name" : "Operator PLMN Name", + "id" : "0x12", + "type" : "TLV", + "format" : "array", + "array-element" : { "name" : "Element", + "format" : "struct", + "contents" : [ { "name" : "Name Encoding", + "format" : "guint8", + "public-format" : "QmiNasPlmnEncodingScheme" }, + { "name" : "Short Country Initials", + "format" : "guint8", + "public-format" : "QmiNasPlmnNameCountryInitials" }, + { "name" : "Long Name Spare Bits", + "format" : "guint8", + "public-format" : "QmiNasPlmnNameSpareBits" }, + { "name" : "Short Name Spare Bits", + "format" : "guint8", + "public-format" : "QmiNasPlmnNameSpareBits" }, + { "name" : "Long Name", + "format" : "array", + "array-element" : { "format" : "guint8" } }, + { "name" : "Short Name", + "format" : "array", + "array-element" : { "format" : "guint8" } } ] } }, + + { "common-ref" : "NAS Operator String Name", + "name" : "Operator String Name", + "id" : "0x13", + "type" : "TLV", + "format" : "string" }, + + { "common-ref" : "NAS NITZ Information", + "name" : "NITZ Information", + "id" : "0x14", + "type" : "TLV", + "format" : "sequence", + "contents" : [ { "name" : "Name Encoding", + "format" : "guint8", + "public-format" : "QmiNasPlmnEncodingScheme" }, + { "name" : "Short Country Initials", + "format" : "guint8", + "public-format" : "QmiNasPlmnNameCountryInitials" }, + { "name" : "Long Name Spare Bits", + "format" : "guint8", + "public-format" : "QmiNasPlmnNameSpareBits" }, + { "name" : "Short Name Spare Bits", + "format" : "guint8", + "public-format" : "QmiNasPlmnNameSpareBits" }, + { "name" : "Long Name", + "format" : "array", + "array-element" : { "format" : "guint8" } }, + { "name" : "Short Name", + "format" : "array", + "array-element" : { "format" : "guint8" } } ] }, + + { "common-ref" : "NAS Preferred Networks", + "name" : "Preferred Networks", + "id" : "0x10", + "type" : "TLV", + "format" : "array", + "size-prefix-format" : "guint16", + "array-element" : { "name" : "Element", + "format" : "struct", + "contents" : [ { "name" : "MCC", + "format" : "guint16" }, + { "name" : "MNC", + "format" : "guint16" }, + { "name" : "Radio Access Technology", + "format" : "guint16", + "public-format" : "QmiNasPlmnAccessTechnologyIdentifier" } ] } }, + // ********************************************************************************* { "name" : "Reset", "type" : "Message", "service" : "NAS", "id" : "0x0000", - "version" : "1.0", + "since" : "1.0", "output" : [ { "common-ref" : "Operation Result" } ] }, // ********************************************************************************* @@ -29,13 +134,13 @@ "type" : "Message", "service" : "NAS", "id" : "0x0001", - "version" : "1.0", + "since" : "1.0", // This magic tag allows us to avoid creating a method in the client "scope" : "library-only", "input" : [ { "name" : "Transaction ID", "id" : "0x01", - "mandatory" : "yes", "type" : "TLV", + "since" : "1.0", "format" : "guint16" } ], "output" : [ { "common-ref" : "Operation Result" } ] }, @@ -44,11 +149,11 @@ "type" : "Message", "service" : "NAS", "id" : "0x0002", - "version" : "1.0", + "since" : "1.0", "input" : [ { "name" : "Signal Strength Indicator", "id" : "0x10", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "sequence", "contents" : [ { "name" : "Report", "format" : "guint8", @@ -58,20 +163,20 @@ "array-element" : { "format" : "gint8" } } ] }, { "name" : "RF Band Information", "id" : "0x11", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "guint8", "public-format" : "gboolean" }, { "name" : "Registration Reject Reason", "id" : "0x12", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "guint8", "public-format" : "gboolean" }, { "name" : "RSSI Indicator", "id" : "0x13", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "sequence", "contents" : [ { "name" : "Report", "format" : "guint8", @@ -80,8 +185,8 @@ "format" : "guint8" } ] }, { "name" : "ECIO Indicator", "id" : "0x14", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "sequence", "contents" : [ { "name" : "Report", "format" : "guint8", @@ -90,8 +195,8 @@ "format" : "guint8" } ] }, { "name" : "IO Indicator", "id" : "0x15", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "sequence", "contents" : [ { "name" : "Report", "format" : "guint8", @@ -100,8 +205,8 @@ "format" : "guint8" } ] }, { "name" : "SINR Indicator", "id" : "0x16", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "sequence", "contents" : [ { "name" : "Report", "format" : "guint8", @@ -110,14 +215,14 @@ "format" : "guint8" } ] }, { "name" : "Error Rate Indicator", "id" : "0x17", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "guint8", "public-format" : "gboolean" }, { "name" : "ECIO Threshold", "id" : "0x19", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "sequence", "contents" : [ { "name" : "Report", "format" : "guint8", @@ -127,8 +232,8 @@ "array-element" : { "format" : "gint16" } } ] }, { "name" : "SINR Threshold", "id" : "0x1A", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "sequence", "contents" : [ { "name" : "Report", "format" : "guint8", @@ -138,8 +243,8 @@ "array-element" : { "format" : "guint8" } } ] }, { "name" : "LTE SNR Delta", "id" : "0x1B", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "sequence", "contents" : [ { "name" : "Report", "format" : "guint8", @@ -148,8 +253,8 @@ "format" : "guint8" } ] }, { "name" : "LTE RSRP Delta", "id" : "0x1C", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "sequence", "contents" : [ { "name" : "Report", "format" : "guint8", @@ -162,10 +267,11 @@ "type" : "Indication", "service" : "NAS", "id" : "0x0002", + "since" : "1.0", "output" : [ { "name" : "Signal Strength", "id" : "0x10", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "sequence", "contents" : [ { "name" : "Strength", "format" : "gint8" }, @@ -174,8 +280,8 @@ "public-format" : "QmiNasRadioInterface" } ] }, { "name" : "RF Band Information", "id" : "0x11", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "array", "array-element" : { "name" : "Element", "format" : "struct", @@ -189,8 +295,8 @@ "format" : "guint16" } ] } }, { "name" : "Registration Reject Reason", "id" : "0x12", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "sequence", "contents" : [ { "name" : "Service Domain", "format" : "guint8", @@ -199,8 +305,8 @@ "format" : "guint16" } ] }, { "name" : "RSSI", "id" : "0x13", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "sequence", "contents" : [ { "name" : "RSSI", "format" : "guint8" }, @@ -209,29 +315,30 @@ "public-format" : "QmiNasRadioInterface" } ] }, { "name" : "ECIO", "id" : "0x14", - "mandatory" : "no", "type" : "TLV", + // API changed in 1.14 + "since" : "1.14", "format" : "sequence", "contents" : [ { "name" : "ECIO", - "format" : "gint8" }, + "format" : "guint8" }, { "name" : "Radio Interface", "format" : "gint8", "public-format" : "QmiNasRadioInterface" } ] }, { "name" : "IO", "id" : "0x15", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "gint32" }, { "name" : "SINR", "id" : "0x16", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "guint8", "public-format" : "QmiNasEvdoSinrLevel" }, { "name" : "Error Rate", "id" : "0x17", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "sequence", "contents" : [ { "name" : "Rate", "format" : "guint16" }, @@ -240,8 +347,8 @@ "public-format" : "QmiNasRadioInterface" } ] }, { "name" : "RSRQ", "id" : "0x18", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "sequence", "contents" : [ { "name" : "RSRQ", "format" : "gint8" }, @@ -250,13 +357,13 @@ "public-format" : "QmiNasRadioInterface" } ] }, { "name" : "LTE SNR", "id" : "0x19", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "gint16" }, { "name" : "LTE RSRP", "id" : "0x1A", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "gint16" } ] }, // ********************************************************************************* @@ -264,116 +371,143 @@ "type" : "Message", "service" : "NAS", "id" : "0x0003", - "version" : "1.1", + "since" : "1.0", "input" : [ { "name" : "System Selection Preference", "id" : "0x10", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "guint8", "public-format" : "gboolean" }, { "name" : "DDTM Events", "id" : "0x12", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "guint8", "public-format" : "gboolean" }, { "name" : "Serving System Events", "id" : "0x13", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "guint8", "public-format" : "gboolean" }, { "name" : "Dual Standby Preference", "id" : "0x14", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "guint8", "public-format" : "gboolean" }, { "name" : "Subscription Info", "id" : "0x15", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "guint8", "public-format" : "gboolean" }, { "name" : "Network Time", "id" : "0x17", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "guint8", "public-format" : "gboolean" }, { "name" : "System Info", "id" : "0x18", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "guint8", "public-format" : "gboolean" }, { "name" : "Signal Info", "id" : "0x19", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "guint8", "public-format" : "gboolean" }, { "name" : "Error Rate", "id" : "0x1A", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "guint8", "public-format" : "gboolean" }, { "name" : "HDR New UATI Assigned", "id" : "0x1B", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "guint8", "public-format" : "gboolean" }, { "name" : "HDR Session Closed", "id" : "0x1C", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "guint8", "public-format" : "gboolean" }, { "name" : "Managed Roaming", "id" : "0x1D", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "guint8", "public-format" : "gboolean" }, { "name" : "Current PLMN Name", "id" : "0x1E", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "guint8", "public-format" : "gboolean" }, { "name" : "eMBMS Status", "id" : "0x1F", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "guint8", "public-format" : "gboolean" }, { "name" : "RF Band Information", "id" : "0x20", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "guint8", - "public-format" : "gboolean" } ], + "public-format" : "gboolean" }, + { "name" : "Network Reject Information", + "id" : "0x21", + "type" : "TLV", + "since" : "1.30", + "format" : "sequence", + "contents" : [ { "name" : "Enable Network Reject Indications", + "format" : "guint8", + "public-format" : "gboolean" }, + { "name" : "Supress System Info Indications", + "format" : "guint8", + "public-format" : "gboolean" } ] } ], "output" : [ { "common-ref" : "Operation Result" } ] }, + // ********************************************************************************* + { "name" : "Get Supported Messages", + "type" : "Message", + "service" : "NAS", + "id" : "0x001E", + "since" : "1.14", + "output" : [ { "common-ref" : "Operation Result" }, + { "name" : "List", + "id" : "0x10", + "type" : "TLV", + "since" : "1.0", + "format" : "array", + "size-prefix-format" : "guint16", + "array-element" : { "format" : "guint8" }, + "prerequisites" : [ { "common-ref" : "Success" } ] } ] }, + // ********************************************************************************* { "name" : "Get Signal Strength", "type" : "Message", "service" : "NAS", "id" : "0x0020", - "version" : "1.0", + "since" : "1.0", "input" : [ { "name" : "Request Mask", "id" : "0x10", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "guint16", "public-format" : "QmiNasSignalStrengthRequest" } ], "output" : [ { "common-ref" : "Operation Result" }, { "name" : "Signal Strength", "id" : "0x01", - "mandatory" : "yes", "type" : "TLV", + "since" : "1.0", "format" : "sequence", "contents" : [ { "name" : "Strength", "format" : "gint8" }, @@ -383,8 +517,8 @@ "prerequisites": [ { "common-ref" : "Success" } ] }, { "name" : "Strength List", "id" : "0x10", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "array", "size-prefix-format" : "guint16", "array-element" : { "name" : "Element", @@ -396,8 +530,8 @@ "public-format" : "QmiNasRadioInterface" } ] } }, { "name" : "RSSI List", "id" : "0x11", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "array", "size-prefix-format" : "guint16", "array-element" : { "name" : "Element", @@ -409,32 +543,32 @@ "public-format" : "QmiNasRadioInterface" } ] } }, { "name" : "ECIO List", "id" : "0x12", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "array", "size-prefix-format" : "guint16", "array-element" : { "name" : "Element", "format" : "struct", "contents" : [ { "name" : "ECIO", - "format" : "gint8" }, + "format" : "guint8" }, { "name" : "Radio Interface", "format" : "gint8", "public-format" : "QmiNasRadioInterface" } ] } }, { "name" : "IO", "id" : "0x13", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "gint32" }, { "name" : "SINR", "id" : "0x14", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "guint8", "public-format" : "QmiNasEvdoSinrLevel" }, { "name" : "Error Rate List", "id" : "0x15", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "array", "size-prefix-format" : "guint16", "array-element" : { "name" : "Element", @@ -446,8 +580,8 @@ "public-format" : "QmiNasRadioInterface" } ] } }, { "name" : "RSRQ", "id" : "0x16", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "sequence", "contents" : [ { "name" : "RSRQ", "format" : "gint8" }, @@ -456,13 +590,13 @@ "public-format" : "QmiNasRadioInterface" } ] }, { "name" : "LTE SNR", "id" : "0x17", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "gint16" }, { "name" : "LTE RSRP", "id" : "0x18", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "gint16" } ] }, // ********************************************************************************* @@ -470,20 +604,20 @@ "type" : "Message", "service" : "NAS", "id" : "0x0021", - "version" : "1.0", + "since" : "1.0", // This method may be aborted "abort" : "yes", "input" : [ { "name" : "Network Type", "id" : "0x10", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "guint8", "public-format" : "QmiNasNetworkScanType" } ], "output" : [ { "common-ref" : "Operation Result" }, { "name" : "Network Information", "id" : "0x10", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "array", "size-prefix-format" : "guint16", "array-element" : { "name" : "Element", @@ -499,8 +633,8 @@ "format" : "string" } ] } }, { "name" : "Radio Access Technology", "id" : "0x11", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "array", "size-prefix-format" : "guint16", "array-element" : { "name" : "Element", @@ -514,8 +648,8 @@ "public-format" : "QmiNasRadioInterface" } ] } }, { "name" : "MNC PCS Digit Include Status", "id" : "0x12", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "array", "size-prefix-format" : "guint16", "array-element" : { "name" : "Element", @@ -526,24 +660,30 @@ "format" : "guint16" }, { "name" : "Includes PCS Digit", "format" : "guint8", - "public-format" : "gboolean" } ] } } ] }, + "public-format" : "gboolean" } ] } }, + { "name" : "Network Scan Result", + "id" : "0x13", + "type" : "TLV", + "since" : "1.24", + "format" : "guint32", + "public-format": "QmiNasNetworkScanResult" } ] }, // ********************************************************************************* { "name" : "Initiate Network Register", "type" : "Message", "service" : "NAS", "id" : "0x0022", - "version" : "1.0", + "since" : "1.0", "input" : [ { "name" : "Action", "id" : "0x01", - "mandatory" : "yes", "type" : "TLV", + "since" : "1.0", "format" : "guint8", "public-format" : "QmiNasNetworkRegisterType" }, { "name" : "Manual Registration Info 3GPP", "id" : "0x10", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "sequence", "contents" : [ { "name" : "MCC", "format" : "guint16" }, @@ -554,29 +694,44 @@ "public-format" : "QmiNasRadioInterface" } ] }, { "name" : "Change Duration", "id" : "0x11", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "guint8", "public-format" : "QmiNasChangeDuration" }, { "name" : "MNC PCS Digit Include Status", "id" : "0x12", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "guint8", "public-format" : "gboolean" } ], "output" : [ { "common-ref" : "Operation Result" } ] }, + // ********************************************************************************* + { "name" : "Attach Detach", + "type" : "Message", + "service" : "NAS", + "id" : "0x0023", + "since" : "1.20", + "input" : [ { "name" : "Action", + "id" : "0x10", + "mandatory" : "yes", + "type" : "TLV", + "since" : "1.20", + "format" : "guint8", + "public-format" : "QmiNasPsAttachAction" } ], + "output" : [ { "common-ref" : "Operation Result" } ] }, + // ********************************************************************************* { "name" : "Get Serving System", "type" : "Message", "service" : "NAS", "id" : "0x0024", - "version" : "1.0", + "since" : "1.0", "output" : [ { "common-ref" : "Operation Result" }, { "name" : "Serving System", "id" : "0x01", - "mandatory" : "yes", "type" : "TLV", + "since" : "1.0", "format" : "sequence", "contents" : [ { "name" : "Registration State", "format" : "guint8", @@ -597,21 +752,21 @@ "prerequisites": [ { "common-ref" : "Success" } ] }, { "name" : "Roaming Indicator", "id" : "0x10", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "guint8", "public-format" : "QmiNasRoamingIndicatorStatus" }, { "name" : "Data Service Capability", "id" : "0x11", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "array", "array-element" : { "format" : "guint8", "public-format" : "QmiNasDataCapability" } }, { "name" : "Current PLMN", "id" : "0x12", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "sequence", "contents" : [ { "name" : "MCC", "format" : "guint16" }, @@ -621,8 +776,8 @@ "format" : "string" } ] }, { "name" : "CDMA System ID", "id" : "0x13", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "sequence", "contents" : [ { "name" : "SID", "format" : "guint16" }, @@ -630,8 +785,8 @@ "format" : "guint16" } ] }, { "name" : "CDMA Base Station Info", "id" : "0x14", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "sequence", "contents" : [ { "name" : "Base Station ID", "format" : "guint16" }, @@ -641,8 +796,8 @@ "format" : "gint32" } ] }, { "name" : "Roaming Indicator List", "id" : "0x15", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "array", "array-element" : { "name" : "Element", "format" : "struct", @@ -654,14 +809,14 @@ "public-format" : "QmiNasRoamingIndicatorStatus" } ] } }, { "name" : "Default Roaming Indicator", "id" : "0x16", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "guint8", "public-format" : "QmiNasRoamingIndicatorStatus" }, { "name" : "Time Zone 3GPP2", "id" : "0x17", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "sequence", "contents" : [ { "name" : "Leap Seconds", "format" : "guint8" }, @@ -672,51 +827,51 @@ "public-format" : "gboolean" } ] }, { "name" : "CDMA P Rev", "id" : "0x18", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "guint8" }, { "name" : "Time Zone 3GPP", "id" : "0x1A", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "gint8" }, { "name" : "Daylight Saving Time Adjustment 3GPP", "id" : "0x1B", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "guint8" }, { "name" : "LAC 3GPP", "id" : "0x1C", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "guint16" }, { "name" : "CID 3GPP", "id" : "0x1D", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "guint32" }, { "name" : "Concurrent Service Info 3GPP2", "id" : "0x1E", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "guint8", "public-format" : "gboolean"}, { "name" : "PRL Indicator 3GPP2", "id" : "0x1F", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "guint8", "public-format" : "gboolean"}, { "name" : "DTM Support", "id" : "0x20", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "guint8", "public-format" : "gboolean"}, { "name" : "Detailed Service Status", "id" : "0x21", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "sequence", "contents" : [ { "name" : "Status", "format" : "guint8", @@ -735,8 +890,8 @@ "public-format" : "gboolean" } ] }, { "name" : "CDMA System Info", "id" : "0x22", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "sequence", "contents" : [ { "name" : "MCC", "format" : "guint16" }, @@ -744,19 +899,19 @@ "format" : "guint8" } ] }, { "name" : "HDR Personality", "id" : "0x23", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "guint8", "public-format" : "QmiNasHdrPersonality"}, { "name" : "LTE TAC", "id" : "0x24", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "guint16" }, { "name" : "Call Barring Status", "id" : "0x25", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "sequence", "contents" : [ { "name" : "CS Status", "format" : "gint32", @@ -766,13 +921,13 @@ "public-format" : "QmiNasCallBarringStatus" } ] }, { "name" : "UMTS Primary Scrambling Code", "id" : "0x26", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "guint16" }, { "name" : "MNC PCS Digit Include Status", "id" : "0x27", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "sequence", "contents" : [ { "name" : "MCC", "format" : "guint16" }, @@ -780,17 +935,23 @@ "format" : "guint16" }, { "name" : "Includes PCS Digit", "format" : "guint8", - "public-format" : "gboolean" } ] } ] }, + "public-format" : "gboolean" } ] }, + { "name" : "Network Name Source", + "id" : "0x29", + "type" : "TLV", + "since" : "1.24", + "format" : "guint32", + "public-format" : "QmiNasNetworkNameSource" } ] }, { "name" : "Serving System", "type" : "Indication", "service" : "NAS", "id" : "0x0024", - "version" : "1.0", + "since" : "1.0", "output" : [ { "name" : "Serving System", "id" : "0x01", - "mandatory" : "yes", "type" : "TLV", + "since" : "1.0", "format" : "sequence", "contents" : [ { "name" : "Registration State", "format" : "guint8", @@ -810,21 +971,21 @@ "public-format" : "QmiNasRadioInterface" } } ] }, { "name" : "Roaming Indicator", "id" : "0x10", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "guint8", "public-format" : "QmiNasRoamingIndicatorStatus" }, { "name" : "Data Service Capability", "id" : "0x11", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "array", "array-element" : { "format" : "guint8", "public-format" : "QmiNasDataCapability" } }, { "name" : "Current PLMN", "id" : "0x12", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "sequence", "contents" : [ { "name" : "MCC", "format" : "guint16" }, @@ -834,8 +995,8 @@ "format" : "string" } ] }, { "name" : "CDMA System ID", "id" : "0x13", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "sequence", "contents" : [ { "name" : "SID", "format" : "guint16" }, @@ -843,8 +1004,8 @@ "format" : "guint16" } ] }, { "name" : "CDMA Base Station Info", "id" : "0x14", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "sequence", "contents" : [ { "name" : "Base Station ID", "format" : "guint16" }, @@ -854,8 +1015,8 @@ "format" : "gint32" } ] }, { "name" : "Roaming Indicator List", "id" : "0x15", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "array", "array-element" : { "name" : "Element", "format" : "struct", @@ -867,14 +1028,14 @@ "public-format" : "QmiNasRoamingIndicatorStatus" } ] } }, { "name" : "Default Roaming Indicator", "id" : "0x16", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "guint8", "public-format" : "QmiNasRoamingIndicatorStatus" }, { "name" : "Time Zone 3GPP2", "id" : "0x17", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "sequence", "contents" : [ { "name" : "Leap Seconds", "format" : "guint8" }, @@ -885,29 +1046,29 @@ "public-format" : "gboolean" } ] }, { "name" : "CDMA P Rev", "id" : "0x18", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "guint8" }, { "name" : "PLMN Name Flag 3GPP", "id" : "0x19", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "gint8", "public-format" : "gboolean" }, { "name" : "Time Zone 3GPP", "id" : "0x1A", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "gint8" }, { "name" : "Daylight Saving Time Adjustment 3GPP", "id" : "0x1B", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "guint8" }, { "name" : "Universal Time and Local Time Zone 3GPP", "id" : "0x1C", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "sequence", "contents" : [ { "name" : "Year", "format" : "guint16" }, @@ -925,36 +1086,36 @@ "format" : "guint8" } ] }, { "name" : "LAC 3GPP", "id" : "0x1D", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "guint16" }, { "name" : "CID 3GPP", "id" : "0x1E", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "guint32" }, { "name" : "Concurrent Service Info 3GPP2", "id" : "0x1F", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "guint8", "public-format" : "gboolean"}, { "name" : "PRL Indicator 3GPP2", "id" : "0x20", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "guint8", "public-format" : "gboolean"}, { "name" : "DTM Support", "id" : "0x21", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "guint8", "public-format" : "gboolean"}, { "name" : "Detailed Service Status", "id" : "0x22", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "sequence", "contents" : [ { "name" : "Status", "format" : "guint8", @@ -973,8 +1134,8 @@ "public-format" : "gboolean" } ] }, { "name" : "CDMA System Info", "id" : "0x23", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "sequence", "contents" : [ { "name" : "MCC", "format" : "guint16" }, @@ -982,19 +1143,19 @@ "format" : "guint8" } ] }, { "name" : "HDR Personality", "id" : "0x24", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "guint8", "public-format" : "QmiNasHdrPersonality"}, { "name" : "LTE TAC", "id" : "0x25", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "guint16" }, { "name" : "Call Barring Status", "id" : "0x26", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "sequence", "contents" : [ { "name" : "CS Status", "format" : "gint32", @@ -1004,19 +1165,19 @@ "public-format" : "QmiNasCallBarringStatus" } ] }, { "name" : "PLMN Not Changed Indication", "id" : "0x27", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "guint8", "public-format" : "gboolean" }, { "name" : "UMTS Primary Scrambling Code", "id" : "0x28", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "guint16" }, { "name" : "MNC PCS Digit Include Status", "id" : "0x29", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "sequence", "contents" : [ { "name" : "MCC", "format" : "guint16" }, @@ -1024,19 +1185,25 @@ "format" : "guint16" }, { "name" : "Includes PCS Digit", "format" : "guint8", - "public-format" : "gboolean" } ] } ] }, + "public-format" : "gboolean" } ] }, + { "name" : "Network Name Source", + "id" : "0x2B", + "type" : "TLV", + "since" : "1.24", + "format" : "guint32", + "public-format" : "QmiNasNetworkNameSource" } ] }, // ********************************************************************************* { "name" : "Get Home Network", "type" : "Message", "service" : "NAS", "id" : "0x0025", - "version" : "1.0", + "since" : "1.0", "output" : [ { "common-ref" : "Operation Result" }, { "name" : "Home Network", "id" : "0x01", - "mandatory" : "yes", "type" : "TLV", + "since" : "1.0", "format" : "sequence", "contents" : [ { "name" : "MCC", "format" : "guint16" }, @@ -1047,17 +1214,17 @@ "prerequisites": [ { "common-ref" : "Success" } ] }, { "name" : "Home System ID", "id" : "0x10", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "sequence", "contents" : [ { "name" : "SID", "format" : "guint16" }, { "name" : "NID", "format" : "guint16" } ] }, - { "name" : "Home Network 3GPP2", + { "name" : "Home Network 3GPP2 Ext", "id" : "0x11", - "mandatory" : "no", "type" : "TLV", + "since" : "1.24.6", "format" : "sequence", "contents" : [ { "name" : "MCC", "format" : "guint16" }, @@ -1069,19 +1236,94 @@ { "name" : "Description Encoding", "format" : "guint8", "public-format" : "QmiNasNetworkDescriptionEncoding" }, - { "name" : "Description", - "format" : "string" } ] } ] }, + { "name" : "Description", + "format" : "array", + "array-element" : { "format" : "guint8" } } ] }, + { "name" : "Home Network 3GPP MNC", + "id" : "0x12", + "type" : "TLV", + "since" : "1.0", + "format" : "sequence", + "contents" : [ { "name" : "Is 3GPP", + "format" : "guint8", + "public-format" : "gboolean" }, + { "name" : "Includes PCS Digit", + "format" : "guint8", + "public-format" : "gboolean" } ] }, + { "name" : "Network Name Source", + "id" : "0x13", + "type" : "TLV", + "since" : "1.24", + "format" : "guint32", + "public-format" : "QmiNasNetworkNameSource" } ] }, + + // ********************************************************************************* + { "name" : "Get Preferred Networks", + "type" : "Message", + "service" : "NAS", + "id" : "0x0026", + "since" : "1.30", + "output" : [ { "common-ref" : "Operation Result" }, + { "common-ref" : "NAS Preferred Networks", + "since" : "1.30", + "prerequisites" : [ { "common-ref" : "Success" } ] }, + { "name" : "MNC PCS Digit Include Status", + "id" : "0x12", + "type" : "TLV", + "since" : "1.30", + "format" : "array", + "size-prefix-format" : "guint8", + "array-element" : { "name" : "Element", + "format" : "struct", + "contents" : [ { "name" : "MCC", + "format" : "guint16" }, + { "name" : "MNC", + "format" : "guint16" }, + { "name" : "Includes PCS Digit", + "format" : "guint8", + "public-format" : "gboolean" } ] } } ] }, + + // ********************************************************************************* + { "name" : "Set Preferred Networks", + "type" : "Message", + "service" : "NAS", + "id" : "0x0027", + "since" : "1.30", + "input" : [ { "common-ref" : "NAS Preferred Networks", + "since" : "1.30" }, + { "name" : "MNC PCS Digit Include Status", + "id" : "0x11", + "type" : "TLV", + "since" : "1.30", + "format" : "array", + "size-prefix-format" : "guint8", + "array-element" : { "name" : "Element", + "format" : "struct", + "contents" : [ { "name" : "MCC", + "format" : "guint16" }, + { "name" : "MNC", + "format" : "guint16" }, + { "name" : "Includes PCS Digit", + "format" : "guint8", + "public-format" : "gboolean" } ] } }, + { "name" : "Clear Previous Preferred Networks", + "id" : "0x12", + "type" : "TLV", + "since" : "1.30", + "format" : "guint8", + "public-format" : "gboolean" } ], + "output" : [ { "common-ref" : "Operation Result" } ] }, // ********************************************************************************* { "name" : "Set Technology Preference", "type" : "Message", "service" : "NAS", "id" : "0x002A", - "version" : "1.0", + "since" : "1.0", "input" : [ { "name" : "Current", "id" : "0x01", - "mandatory" : "yes", "type" : "TLV", + "since" : "1.0", "format" : "sequence", "contents" : [ { "name" : "Technology Preference", "format" : "guint16", @@ -1096,12 +1338,12 @@ "type" : "Message", "service" : "NAS", "id" : "0x002B", - "version" : "1.0", + "since" : "1.0", "output" : [ { "common-ref" : "Operation Result" }, { "name" : "Active", "id" : "0x01", - "mandatory" : "yes", "type" : "TLV", + "since" : "1.0", "format" : "sequence", "contents" : [ { "name" : "Technology Preference", "format" : "guint16", @@ -1112,8 +1354,8 @@ "prerequisites": [ { "common-ref" : "Success" } ] }, { "name" : "Persistent", "id" : "0x10", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "guint16", "public-format" : "QmiNasRadioTechnologyPreference" } ] }, @@ -1122,12 +1364,27 @@ "type" : "Message", "service" : "NAS", "id" : "0x0031", - "version" : "1.1", + "since" : "1.0", "output" : [ { "common-ref" : "Operation Result" }, { "name" : "List", + "id" : "0x01", + "type" : "TLV", + "since" : "1.0", + "format" : "array", + "array-element" : { "name" : "Element", + "format" : "struct", + "contents" : [ { "name" : "Radio Interface", + "format" : "gint8", + "public-format" : "QmiNasRadioInterface" }, + { "name" : "Active Band Class", + "format" : "guint16", + "public-format" : "QmiNasActiveBand" }, + { "name" : "Active Channel", + "format" : "guint16" } ] } }, + { "name" : "Extended List", "id" : "0x11", - "mandatory" : "no", "type" : "TLV", + "since" : "1.26", "format" : "array", "array-element" : { "name" : "Element", "format" : "struct", @@ -1138,54 +1395,67 @@ "format" : "guint16", "public-format" : "QmiNasActiveBand" }, { "name" : "Active Channel", - "format" : "guint16" } ] } } ] }, + "format" : "guint32" } ] } }, + { "name" : "Bandwidth List", + "id" : "0x12", + "type" : "TLV", + "since" : "1.26", + "format" : "array", + "array-element" : { "name" : "Element", + "format" : "struct", + "contents" : [ { "name" : "Radio Interface", + "format" : "gint8", + "public-format" : "QmiNasRadioInterface" }, + { "name" : "Bandwidth", + "format" : "guint32", + "public-format" : "QmiNasDLBandwidth" } ] } } ] }, // ********************************************************************************* { "name" : "Set System Selection Preference", "type" : "Message", "service" : "NAS", "id" : "0x0033", - "version" : "1.1", + "since" : "1.0", "input" : [ { "name" : "Emergency mode", "id" : "0x10", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "guint8", "public-format" : "gboolean" }, { "name" : "Mode Preference", "id" : "0x11", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "guint16", "public-format" : "QmiNasRatModePreference" }, { "name" : "Band Preference", "id" : "0x12", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "guint64", "public-format" : "QmiNasBandPreference" }, { "name" : "CDMA PRL Preference", "id" : "0x13", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "guint16", "public-format" : "QmiNasCdmaPrlPreference" }, { "name" : "Roaming Preference", "id" : "0x14", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "guint16", "public-format" : "QmiNasRoamingPreference" }, { "name" : "LTE Band Preference", "id" : "0x15", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "guint64", "public-format" : "QmiNasLteBandPreference" }, { "name" : "Network Selection Preference", "id" : "0x16", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "sequence", "contents" : [ { "name" : "Mode", "format" : "guint8", @@ -1196,34 +1466,73 @@ "format" : "guint16" } ] }, { "name" : "Change Duration", "id" : "0x17", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "guint8", "public-format" : "QmiNasChangeDuration" }, { "name" : "Service Domain Preference", "id" : "0x18", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "guint32", "public-format" : "QmiNasServiceDomainPreference" }, { "name" : "GSM WCDMA Acquisition Order Preference", "id" : "0x19", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "guint32", "public-format" : "QmiNasGsmWcdmaAcquisitionOrderPreference" }, - { "name" : "MNC PDS Digit Include Status", + { "name" : "MNC PCS Digit Include Status", "id" : "0x1A", - "mandatory" : "no", "type" : "TLV", + "since" : "1.30", "format" : "guint8", "public-format" : "gboolean" }, { "name" : "TD SCDMA Band Preference", "id" : "0x1D", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "guint64", - "public-format" : "QmiNasTdScdmaBandPreference" } ], + "public-format" : "QmiNasTdScdmaBandPreference" }, + { "name" : "Acquisition Order Preference", + "id" : "0x1E", + "type" : "TLV", + "since" : "1.22", + "format" : "array", + "size-prefix-format" : "guint8", + "array-element" : { "format" : "gint8", + "public-format" : "QmiNasRadioInterface" } }, + { "name" : "Network Selection Registration Restriction", + "id" : "0x1F", + "type" : "TLV", + "since" : "1.24", + "format" : "guint32", + "public-format" : "QmiNasNetworkSelectionRegistrationRestriction" }, + { "name" : "Usage Preference", + "id" : "0x21", + "type" : "TLV", + "since" : "1.24", + "format" : "guint32", + "public-format" : "QmiNasUsagePreference" }, + { "name" : "Voice Domain Preference", + "id" : "0x23", + "type" : "TLV", + "since" : "1.24", + "format" : "guint32", + "public-format" : "QmiNasVoiceDomainPreference" }, + { "name" : "Extended LTE Band Preference", + "id" : "0x24", + "type" : "TLV", + "since" : "1.20", + "format" : "sequence", + "contents" : [ { "name" : "Mask Low", + "format" : "guint64" }, + { "name" : "Mask Mid Low", + "format" : "guint64" }, + { "name" : "Mask Mid High", + "format" : "guint64" }, + { "name" : "Mask High", + "format" : "guint64" } ] } ], "output" : [ { "common-ref" : "Operation Result" } ] }, // ********************************************************************************* @@ -1231,72 +1540,80 @@ "type" : "Message", "service" : "NAS", "id" : "0x0034", - "version" : "1.1", + "since" : "1.0", "output" : [ { "common-ref" : "Operation Result" }, { "name" : "Emergency mode", "id" : "0x10", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "guint8", "public-format" : "gboolean" }, { "name" : "Mode Preference", "id" : "0x11", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "guint16", "public-format" : "QmiNasRatModePreference" }, { "name" : "Band Preference", "id" : "0x12", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "guint64", "public-format" : "QmiNasBandPreference" }, { "name" : "CDMA PRL Preference", "id" : "0x13", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "guint16", "public-format" : "QmiNasCdmaPrlPreference" }, { "name" : "Roaming Preference", "id" : "0x14", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "guint16", "public-format" : "QmiNasRoamingPreference" }, { "name" : "LTE Band Preference", "id" : "0x15", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "guint64", "public-format" : "QmiNasLteBandPreference" }, { "name" : "Network Selection Preference", "id" : "0x16", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "guint8", "public-format" : "QmiNasNetworkSelectionPreference" }, { "name" : "Service Domain Preference", "id" : "0x18", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "guint32", "public-format" : "QmiNasServiceDomainPreference" }, { "name" : "GSM WCDMA Acquisition Order Preference", "id" : "0x19", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "guint32", "public-format" : "QmiNasGsmWcdmaAcquisitionOrderPreference" }, { "name" : "TD SCDMA Band Preference", "id" : "0x1A", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "guint64", "public-format" : "QmiNasTdScdmaBandPreference" }, + { "name" : "Acquisition Order Preference", + "id" : "0x1C", + "type" : "TLV", + "since" : "1.22", + "format" : "array", + "size-prefix-format" : "guint8", + "array-element" : { "format" : "gint8", + "public-format" : "QmiNasRadioInterface" } }, { "name" : "Manual Network Selection", "id" : "0x1B", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "sequence", "contents" : [ { "name" : "MCC", "format" : "guint16" }, @@ -1304,25 +1621,102 @@ "format" : "guint16" }, { "name" : "Includes PCS Digit", "format" : "guint8", - "public-format" : "gboolean" } ] } ] }, + "public-format" : "gboolean" } ] }, + { "name" : "Network Selection Registration Restriction", + "id" : "0x1D", + "type" : "TLV", + "since" : "1.24", + "format" : "guint32", + "public-format" : "QmiNasNetworkSelectionRegistrationRestriction" }, + { "name" : "Usage Preference", + "id" : "0x1F", + "type" : "TLV", + "since" : "1.24", + "format" : "guint32", + "public-format" : "QmiNasUsagePreference" }, + { "name" : "Voice Domain Preference", + "id" : "0x20", + "type" : "TLV", + "since" : "1.24", + "format" : "guint32", + "public-format" : "QmiNasVoiceDomainPreference" }, + { "name" : "Disabled Modes", + "id" : "0x22", + "type" : "TLV", + "since" : "1.24", + "format" : "guint16", + "public-format" : "QmiNasRatModePreference" }, + { "name" : "Extended LTE Band Preference", + "id" : "0x23", + "type" : "TLV", + "since" : "1.20", + "format" : "sequence", + "contents" : [ { "name" : "Mask Low", + "format" : "guint64" }, + { "name" : "Mask Mid Low", + "format" : "guint64" }, + { "name" : "Mask Mid High", + "format" : "guint64" }, + { "name" : "Mask High", + "format" : "guint64" } ] } ] }, + + // ********************************************************************************* + { "name" : "Get Operator Name", + "type" : "Message", + "service" : "NAS", + "id" : "0x0039", + "since" : "1.18", + "output" : [ { "common-ref" : "Operation Result" }, + { "common-ref" : "NAS Service Provider Name", + "since" : "1.18", + "prerequisites" : [ { "common-ref" : "Success" } ] }, + { "common-ref" : "NAS Operator PLMN List", + "since" : "1.18", + "prerequisites" : [ { "common-ref" : "Success" } ] }, + { "common-ref" : "NAS Operator PLMN Name", + "since" : "1.18", + "prerequisites" : [ { "common-ref" : "Success" } ] }, + { "common-ref" : "NAS Operator String Name", + "since" : "1.18", + "prerequisites" : [ { "common-ref" : "Success" } ] }, + { "common-ref" : "NAS NITZ Information", + "since" : "1.24.6", + "prerequisites" : [ { "common-ref" : "Success" } ] } ] }, + + { "name" : "Operator Name", + "type" : "Indication", + "service" : "NAS", + "id" : "0x003A", + "since" : "1.18", + "output" : [ { "common-ref" : "NAS Service Provider Name", + "since" : "1.18" }, + { "common-ref" : "NAS Operator PLMN List", + "since" : "1.18" }, + { "common-ref" : "NAS Operator PLMN Name", + "since" : "1.18" }, + { "common-ref" : "NAS Operator String Name", + "since" : "1.18" }, + { "common-ref" : "NAS NITZ Information", + "since" : "1.24.6" } ] }, // ********************************************************************************* { "name" : "Get Cell Location Info", "type" : "Message", "service" : "NAS", "id" : "0x0043", - "version" : "1.4", + "since" : "1.10", "output" : [ { "common-ref" : "Operation Result" }, - { "name" : "GERAN Info", + { "name" : "GERAN Info v2", "id" : "0x10", - "mandatory" : "no", "type" : "TLV", + "since" : "1.26.6", "format" : "sequence", "contents" : [ { "name" : "Cell ID", "format" : "guint32" }, - { "name" : "PLMN", - "format" : "string", - "fixed-size" : "3" }, + { "name" : "PLMN", + "format" : "array", + "fixed-size" : "3", + "array-element" : { "format" : "guint8" } }, { "name" : "LAC", "format" : "guint16" }, { "name" : "GERAN Absolute RF Channel Number", @@ -1339,9 +1733,10 @@ "format" : "struct", "contents" : [ { "name" : "Cell ID", "format" : "guint32" }, - { "name" : "PLMN", - "format" : "string", - "fixed-size" : "3" }, + { "name" : "PLMN", + "format" : "array", + "fixed-size" : "3", + "array-element" : { "format" : "guint8" } }, { "name" : "LAC", "format" : "guint16" }, { "name" : "GERAN Absolute RF Channel Number", @@ -1350,16 +1745,17 @@ "format" : "guint8" }, { "name" : "RX Level", "format" : "guint16" } ] } } ] }, - { "name" : "UMTS Info", + { "name" : "UMTS Info v2", "id" : "0x11", - "mandatory" : "no", "type" : "TLV", + "since" : "1.26.6", "format" : "sequence", "contents" : [ { "name" : "Cell ID", "format" : "guint16" }, - { "name" : "PLMN", - "format" : "string", - "fixed-size" : "3" }, + { "name" : "PLMN", + "format" : "array", + "fixed-size" : "3", + "array-element" : { "format" : "guint8" } }, { "name" : "LAC", "format" : "guint16" }, { "name" : "UTRA Absolute RF Channel Number", @@ -1396,8 +1792,8 @@ "format" : "gint16" } ] } } ] }, { "name" : "CDMA Info", "id" : "0x12", - "mandatory" : "no", "type" : "TLV", + "since" : "1.10", "format" : "sequence", "contents" : [ { "name" : "System ID", "format" : "guint16" }, @@ -1411,17 +1807,18 @@ "format" : "guint32" }, { "name" : "Longitude", "format" : "guint32" } ] }, - { "name" : "Intrafrequency LTE Info", + { "name" : "Intrafrequency LTE Info v2", "id" : "0x13", - "mandatory" : "no", "type" : "TLV", + "since" : "1.26.6", "format" : "sequence", "contents" : [ { "name" : "UE In Idle", "format" : "guint8", - "public-format" : "gboolean" }, - { "name" : "PLMN", - "format" : "string", - "fixed-size" : "3" }, + "public-format" : "gboolean" }, + { "name" : "PLMN", + "format" : "array", + "fixed-size" : "3", + "array-element" : { "format" : "guint8" } }, { "name" : "Tracking Area Code", "format" : "guint16" }, { "name" : "Global Cell ID", @@ -1454,12 +1851,12 @@ "format" : "gint16" } ] } } ] }, { "name" : "Interfrequency LTE Info", "id" : "0x14", - "mandatory" : "no", "type" : "TLV", + "since" : "1.10", "format" : "sequence", "contents" : [ { "name" : "UE In Idle", "format" : "guint8", - "public-format" : "gboolean" }, + "public-format" : "gboolean" }, { "name" : "Frequency", "format" : "array", "array-element" : { "name" : "Element", @@ -1488,12 +1885,12 @@ "format" : "gint16" } ] } } ] } } ] }, { "name" : "LTE Info Neighboring GSM", "id" : "0x15", - "mandatory" : "no", "type" : "TLV", + "since" : "1.10", "format" : "sequence", "contents" : [ { "name" : "UE In Idle", "format" : "guint8", - "public-format" : "gboolean" }, + "public-format" : "gboolean" }, { "name" : "Frequency", "format" : "array", "array-element" : { "name" : "Element", @@ -1526,12 +1923,12 @@ "format" : "gint16" } ] } } ] } } ] }, { "name" : "LTE Info Neighboring WCDMA", "id" : "0x16", - "mandatory" : "no", "type" : "TLV", + "since" : "1.10", "format" : "sequence", "contents" : [ { "name" : "UE In Idle", "format" : "guint8", - "public-format" : "gboolean" }, + "public-format" : "gboolean" }, { "name" : "Frequency", "format" : "array", "array-element" : { "name" : "Element", @@ -1558,13 +1955,13 @@ "format" : "gint16" } ] } } ] } } ] }, { "name" : "UMTS Cell ID", "id" : "0x17", - "mandatory" : "no", "type" : "TLV", + "since" : "1.10", "format" : "guint32" }, { "name" : "UMTS Info Neighboring LTE", "id" : "0x18", - "mandatory" : "no", "type" : "TLV", + "since" : "1.10", "format" : "sequence", "contents" : [ { "name" : "RRC state", "format" : "guint32", @@ -1585,18 +1982,196 @@ "format" : "gint16" }, { "name" : "Is TDD", "format" : "guint8", - "public-format" : "gboolean" } ] } } ] } ] }, + "public-format" : "gboolean" } ] } } ] }, + { "name" : "LTE Info Timing Advance", + "id" : "0x1E", + "type" : "TLV", + "since" : "1.28", + "format" : "guint32" }, + { "name" : "NR5G ARFCN", + "id" : "0x2E", + "type" : "TLV", + "since" : "1.30", + "format" : "guint32" }, + { "name" : "NR5G Cell Information", + "id" : "0x2F", + "type" : "TLV", + "since" : "1.30", + "format" : "sequence", + "contents" : [ { "name" : "PLMN", + "format" : "array", + "fixed-size" : "3", + "array-element" : { "format" : "guint8" } }, + { "name" : "Tracking Area Code", + "format" : "array", + "fixed-size" : "3", + "array-element" : { "format" : "guint8" } }, + { "name" : "Global Cell ID", + "format" : "guint64" }, + { "name" : "Physical Cell ID", + "format" : "guint16" }, + { "name" : "RSRQ", + "format" : "gint16" }, + { "name" : "RSRP", + "format" : "gint16" }, + { "name" : "SNR", + "format" : "gint16" } ] } ] }, + + // ********************************************************************************* + { "name" : "Get PLMN Name", + "type" : "Message", + "service" : "NAS", + "id" : "0x0044", + "since" : "1.28", + "input" : [ { "name" : "PLMN", + "id" : "0x01", + "type" : "TLV", + "since" : "1.28", + "format" : "sequence", + "contents" : [ { "name" : "MCC", + "format" : "guint16" }, + { "name" : "MNC", + "format" : "guint16" } ] }, + { "name" : "Suppress SIM Error", + "id" : "0x10", + "type" : "TLV", + "since" : "1.28", + "format" : "guint8", + "public-format" : "gboolean" }, + { "name" : "MNC PCS Digit Include Status", + "id" : "0x11", + "type" : "TLV", + "since" : "1.28", + "format" : "guint8", + "public-format" : "gboolean" }, + { "name" : "Always Send PLMN Name", + "id" : "0x12", + "type" : "TLV", + "since" : "1.28", + "format" : "guint8", + "public-format" : "gboolean" }, + { "name" : "Use Static Table Only", + "id" : "0x13", + "type" : "TLV", + "since" : "1.28", + "format" : "guint8", + "public-format" : "gboolean" }, + { "name" : "CSG ID", + "id" : "0x14", + "type" : "TLV", + "since" : "1.28", + "format" : "guint32" }, + { "name" : "Radio Access Technology", + "id" : "0x15", + "type" : "TLV", + "since" : "1.28", + "format" : "guint8", + "public-format" : "QmiNasRadioInterface" }, + { "name" : "Send All Information", + "id" : "0x16", + "type" : "TLV", + "since" : "1.28", + "format" : "guint8", + "public-format" : "gboolean" } ], + "output" : [ { "common-ref" : "Operation Result" }, + { "name" : "EONS PLMN Name 3GPP", + "id" : "0x10", + "type" : "TLV", + "since" : "1.28", + "format" : "sequence", + "contents" : [ { "name" : "Service Provider Name Encoding", + "format" : "guint8", + "public-format" : "QmiNasNetworkDescriptionEncoding" }, + { "name" : "Service Provider Name", + "format" : "array", + "size-prefix-format" : "guint8", + "array-element" : { "format" : "guint8" } }, + { "name" : "Short Name Encoding", + "format" : "guint8", + "public-format" : "QmiNasNetworkDescriptionEncoding" }, + { "name" : "Short Name Country Initials", + "format" : "guint8", + "public-format" : "QmiNasPlmnNameCountryInitials" }, + { "name" : "Short Name Spare Bits", + "format" : "guint8", + "public-format" : "QmiNasPlmnNameSpareBits" }, + { "name" : "Short Name", + "format" : "array", + "size-prefix-format" : "guint8", + "array-element" : { "format" : "guint8" } }, + { "name" : "Long Name Encoding", + "format" : "guint8", + "public-format" : "QmiNasNetworkDescriptionEncoding" }, + { "name" : "Long Name Country Initials", + "format" : "guint8", + "public-format" : "QmiNasPlmnNameCountryInitials" }, + { "name" : "Long Name Spare Bits", + "format" : "guint8", + "public-format" : "QmiNasPlmnNameSpareBits" }, + { "name" : "Long Name", + "format" : "array", + "size-prefix-format" : "guint8", + "array-element" : { "format" : "guint8" } } ] }, + { "name" : "Display Bit Information", + "id" : "0x11", + "type" : "TLV", + "since" : "1.28", + "format" : "sequence", + "contents" : [ { "name" : "Service Provider Name Set", + "format" : "guint32", + "public-format" : "QmiNasBoolean" }, + { "name" : "Plmn Name Set", + "format" : "guint32", + "public-format" : "QmiNasBoolean" } ] }, + { "name" : "Network Information", + "id" : "0x12", + "type" : "TLV", + "since" : "1.28", + "format" : "guint32", + "public-format" : "QmiNasBoolean" }, + { "name" : "PLMN Name With Language Id", + "id" : "0x13", + "type" : "TLV", + "since" : "1.28", + "format" : "array", + "size-prefix-format" : "guint8", + "array-element" : { "name" : "Element", + "format" : "struct", + "contents" : [ { "name" : "Long Name", + "format" : "array", + "size-prefix-format" : "guint8", + "array-element" : { "format" : "guint16" } }, + { "name" : "Short Name", + "format" : "array", + "size-prefix-format" : "guint8", + "array-element" : { "format" : "guint16" } }, + { "name" : "Language Id", + "format" : "guint32", + "public-format" : "QmiNasPlmnLanguageId" } ] } }, + { "name" : "Additional Information", + "id" : "0x14", + "type" : "TLV", + "since" : "1.28", + "format" : "array", + "size-prefix-format" : "guint8", + "array-element" : { "format" : "guint16" } }, + { "name" : "Network Name Source", + "id" : "0x15", + "type" : "TLV", + "since" : "1.28", + "format" : "guint32", + "public-format" : "QmiNasNetworkNameSource" } ] }, // ********************************************************************************* { "name" : "Network Time", "type" : "Indication", "service" : "NAS", "id" : "0x004C", - "version" : "1.1", + "since" : "1.0", "output" : [ { "name" : "Universal Time", "id" : "0x01", - "mandatory" : "yes", "type" : "TLV", + "since" : "1.4", "format" : "sequence", "contents" : [ { "name" : "Year", "format" : "guint16" }, @@ -1615,19 +2190,19 @@ "public-format" : "QmiNasDayOfWeek" } ] }, { "name" : "Timezone Offset", "id" : "0x10", - "mandatory" : "no", "type" : "TLV", + "since" : "1.4", "format" : "gint8" }, { "name" : "Daylight Savings Adjustment", "id" : "0x11", - "mandatory" : "no", "type" : "TLV", + "since" : "1.4", "format" : "guint8", "public-format" : "QmiNasDaylightSavingsAdjustment" }, { "name" : "Radio Interface", "id" : "0x12", - "mandatory" : "no", "type" : "TLV", + "since" : "1.4", "format" : "gint8", "public-format" : "QmiNasRadioInterface" } ] }, @@ -1636,12 +2211,12 @@ "type" : "Message", "service" : "NAS", "id" : "0x004D", - "version" : "1.8", + "since" : "1.0", "output" : [ { "common-ref" : "Operation Result" }, { "name" : "CDMA Service Status", "id" : "0x10", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "sequence", "contents" : [ { "name" : "Service Status", "format" : "guint8", @@ -1651,8 +2226,8 @@ "public-format" : "gboolean" } ] }, { "name" : "HDR Service Status", "id" : "0x11", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "sequence", "contents" : [ { "name" : "Service Status", "format" : "guint8", @@ -1662,8 +2237,8 @@ "public-format" : "gboolean" } ] }, { "name" : "GSM Service Status", "id" : "0x12", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "sequence", "contents" : [ { "name" : "Service Status", "format" : "guint8", @@ -1676,8 +2251,8 @@ "public-format" : "gboolean" } ] }, { "name" : "WCDMA Service Status", "id" : "0x13", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "sequence", "contents" : [ { "name" : "Service Status", "format" : "guint8", @@ -1690,8 +2265,8 @@ "public-format" : "gboolean" } ] }, { "name" : "LTE Service Status", "id" : "0x14", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "sequence", "contents" : [ { "name" : "Service Status", "format" : "guint8", @@ -1704,8 +2279,8 @@ "public-format" : "gboolean" } ] }, { "name" : "CDMA System Info", "id" : "0x15", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "sequence", "contents" : [ { "name" : "Domain Valid", "format" : "guint8", @@ -1785,8 +2360,8 @@ "fixed-size" : "3" } ] }, { "name" : "HDR System Info", "id" : "0x16", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "sequence", "contents" : [ { "name" : "Domain Valid", "format" : "guint8", @@ -1836,10 +2411,10 @@ { "name" : "IS 856 System ID", "format" : "string", "fixed-size" : "16" } ] }, - { "name" : "GSM System Info", + { "name" : "GSM System Info v2", "id" : "0x17", - "mandatory" : "no", "type" : "TLV", + "since" : "1.30", "format" : "sequence", "contents" : [ { "name" : "Domain Valid", "format" : "guint8", @@ -1882,7 +2457,8 @@ "format" : "guint8", "public-format" : "QmiNasNetworkServiceDomain" }, { "name" : "Registration Reject Cause", - "format" : "guint8" }, + "format" : "guint8", + "public-format" : "QmiNasRejectCause" }, { "name" : "Network ID Valid", "format" : "guint8", "public-format" : "gboolean" }, @@ -1904,10 +2480,10 @@ { "name" : "DTM Support", "format" : "guint8", "public-format" : "gboolean" } ] }, - { "name" : "WCDMA System Info", + { "name" : "WCDMA System Info v2", "id" : "0x18", - "mandatory" : "no", "type" : "TLV", + "since" : "1.30", "format" : "sequence", "contents" : [ { "name" : "Domain Valid", "format" : "guint8", @@ -1950,7 +2526,8 @@ "format" : "guint8", "public-format" : "QmiNasNetworkServiceDomain" }, { "name" : "Registration Reject Cause", - "format" : "guint8" }, + "format" : "guint8", + "public-format" : "QmiNasRejectCause" }, { "name" : "Network ID Valid", "format" : "guint8", "public-format" : "gboolean" }, @@ -1977,10 +2554,10 @@ "public-format" : "gboolean" }, { "name" : "Primary Scrambling Code", "format" : "guint16" } ] }, - { "name" : "LTE System Info", + { "name" : "LTE System Info v2", "id" : "0x19", - "mandatory" : "no", "type" : "TLV", + "since" : "1.30", "format" : "sequence", "contents" : [ { "name" : "Domain Valid", "format" : "guint8", @@ -2023,7 +2600,8 @@ "format" : "guint8", "public-format" : "QmiNasNetworkServiceDomain" }, { "name" : "Registration Reject Cause", - "format" : "guint8" }, + "format" : "guint8", + "public-format" : "QmiNasRejectCause" }, { "name" : "Network ID Valid", "format" : "guint8", "public-format" : "gboolean" }, @@ -2040,8 +2618,8 @@ "format" : "guint16" } ] }, { "name" : "Additional CDMA System Info", "id" : "0x1A", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "sequence", "contents" : [ { "name" : "Geo System Index", "format" : "guint16" }, @@ -2049,15 +2627,15 @@ "format" : "guint16" } ] }, { "name" : "Additional HDR System Info", "id" : "0x1B", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "sequence", "contents" : [ { "name" : "Geo System Index", "format" : "guint16" } ] }, { "name" : "Additional GSM System Info", "id" : "0x1C", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "sequence", "contents" : [ { "name" : "Geo System Index", "format" : "guint16" }, @@ -2066,8 +2644,8 @@ "public-format" : "QmiNasCellBroadcastCapability" } ] }, { "name" : "Additional WCDMA System Info", "id" : "0x1D", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "sequence", "contents" : [ { "name" : "Geo System Index", "format" : "guint16" }, @@ -2076,15 +2654,15 @@ "public-format" : "QmiNasCellBroadcastCapability" } ] }, { "name" : "Additional LTE System Info", "id" : "0x1E", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "sequence", "contents" : [ { "name" : "Geo System Index", "format" : "guint16" } ] }, { "name" : "GSM Call Barring Status", "id" : "0x1F", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "sequence", "contents" : [ { "name" : "CS Status", "format" : "gint32", @@ -2094,8 +2672,8 @@ "public-format" : "QmiNasCallBarringStatus" } ] }, { "name" : "WCDMA Call Barring Status", "id" : "0x20", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "sequence", "contents" : [ { "name" : "CS Status", "format" : "gint32", @@ -2105,26 +2683,26 @@ "public-format" : "QmiNasCallBarringStatus" } ] }, { "name" : "LTE Voice Support", "id" : "0x21", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "guint8", "public-format" : "gboolean" }, { "name" : "GSM Cipher Domain", "id" : "0x22", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "guint8", "public-format" : "QmiNasNetworkServiceDomain" }, { "name" : "WCDMA Cipher Domain", "id" : "0x23", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "guint8", "public-format" : "QmiNasNetworkServiceDomain" }, { "name" : "TD SCDMA Service Status", "id" : "0x24", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "sequence", "contents" : [ { "name" : "Service Status", "format" : "guint8", @@ -2135,10 +2713,10 @@ { "name" : "Preferred Data Path", "format" : "guint8", "public-format" : "gboolean" } ] }, - { "name" : "TD SCDMA System Info", + { "name" : "TD SCDMA System Info v2", "id" : "0x25", - "mandatory" : "no", "type" : "TLV", + "since" : "1.30", "format" : "sequence", "contents" : [ { "name" : "Domain Valid", "format" : "guint8", @@ -2181,7 +2759,8 @@ "format" : "guint8", "public-format" : "QmiNasNetworkServiceDomain" }, { "name" : "Registration Reject Cause", - "format" : "guint8" }, + "format" : "guint8", + "public-format" : "QmiNasRejectCause" }, { "name" : "Network ID Valid", "format" : "guint8", "public-format" : "gboolean" }, @@ -2234,27 +2813,176 @@ "public-format" : "QmiNasNetworkServiceDomain" } ] }, { "name" : "LTE eMBMS Coverage Info Support", "id" : "0x26", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "guint8", "public-format" : "gboolean" }, { "name" : "SIM Reject Info", "id" : "0x27", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", + "format" : "guint32", + "public-format" : "QmiNasSimRejectState" }, + { "name" : "IMS Voice Support", + "id" : "0x29", + "type" : "TLV", + "since" : "1.24", + "format" : "guint8", + "public-format" : "gboolean" }, + { "name" : "LTE Voice Domain", + "id" : "0x2A", + "type" : "TLV", + "since" : "1.28", + "format" : "guint32", + "public-format" : "QmiNasLteVoiceDomain" }, + { "name" : "CDMA Registration Zone ID", + "id" : "0x2B", + "type" : "TLV", + "since" : "1.28", + "format" : "guint16" }, + { "name" : "GSM Routing Area Code", + "id" : "0x2C", + "type" : "TLV", + "since" : "1.28", + "format" : "guint8" }, + { "name" : "WCDMA Routing Area Code", + "id" : "0x2D", + "type" : "TLV", + "since" : "1.28", + "format" : "guint8" }, + { "name" : "CDMA Resolved MCC", + "id" : "0x2E", + "type" : "TLV", + "since" : "1.28", + "format" : "guint16" }, + { "name" : "Network Selection Registration Restriction", + "id" : "0x2F", + "type" : "TLV", + "since" : "1.24", "format" : "guint32", - "public-format" : "QmiNasSimRejectState" } ] }, + "public-format" : "QmiNasNetworkSelectionRegistrationRestriction" }, + { "name" : "LTE Registration Domain", + "id" : "0x31", + "type" : "TLV", + "since" : "1.24", + "format" : "guint32", + "public-format" : "QmiNasLteRegistrationDomain" }, + { "name" : "LTE eMBMS Coverage Info Trace ID", + "id" : "0x34", + "type" : "TLV", + "since" : "1.24", + "format" : "guint16" }, + { "name" : "LTE Cell Access Status", + "id" : "0x44", + "type" : "TLV", + "since" : "1.24", + "format" : "guint32", + "public-format" : "QmiNasLteCellAccessStatus" }, + { "name" : "NR5G Service Status Info", + "id" : "0x4A", + "type" : "TLV", + "since" : "1.30", + "format" : "sequence", + "contents" : [ { "name" : "Service Status", + "format" : "guint8", + "public-format" : "QmiNasServiceStatus" }, + { "name" : "True Service Status", + "format" : "guint8", + "public-format" : "QmiNasServiceStatus" }, + { "name" : "Preferred Data Path", + "format" : "guint8", + "public-format" : "gboolean" } ] }, + { "name" : "NR5G System Info", + "id" : "0x4B", + "type" : "TLV", + "since" : "1.30", + "format" : "sequence", + "contents" : [ { "name" : "Domain Valid", + "format" : "guint8", + "public-format" : "gboolean" }, + { "name" : "Domain", + "format" : "guint8", + "public-format" : "QmiNasNetworkServiceDomain" }, + { "name" : "Service Capability Valid", + "format" : "guint8", + "public-format" : "gboolean" }, + { "name" : "Service Capability", + "format" : "guint8", + "public-format" : "QmiNasNetworkServiceDomain" }, + { "name" : "Roaming Status Valid", + "format" : "guint8", + "public-format" : "gboolean" }, + { "name" : "Roaming Status", + "format" : "guint8", + "public-format" : "QmiNasRoamingStatus" }, + { "name" : "Forbidden Valid", + "format" : "guint8", + "public-format" : "gboolean" }, + { "name" : "Forbidden", + "format" : "guint8", + "public-format" : "gboolean" }, + { "name" : "LAC Valid", + "format" : "guint8", + "public-format" : "gboolean" }, + { "name" : "LAC", + "format" : "guint16" }, + { "name" : "CID Valid", + "format" : "guint8", + "public-format" : "gboolean" }, + { "name" : "CID", + "format" : "guint32" }, + { "name" : "Registration Reject Info Valid", + "format" : "guint8", + "public-format" : "gboolean" }, + { "name" : "Registration Reject Domain", + "format" : "guint8", + "public-format" : "QmiNasNetworkServiceDomain" }, + { "name" : "Registration Reject Cause", + "format" : "guint8" }, + { "name" : "Network ID Valid", + "format" : "guint8", + "public-format" : "gboolean" }, + { "name" : "MCC", + "format" : "string", + "fixed-size" : "3" }, + { "name" : "MNC", + "format" : "string", + "fixed-size" : "3" }, + { "name" : "TAC Valid", + "format" : "guint8", + "public-format" : "gboolean" }, + { "name" : "TAC", + "format" : "guint16" } ] }, + { "name" : "EUTRA with NR5G availability", + "id" : "0x4E", + "type" : "TLV", + "since" : "1.30", + "format" : "guint8", + "public-format" : "gboolean" }, + { "name" : "DCNR restriction Info", + "id" : "0x4F", + "type" : "TLV", + "since" : "1.30", + "format" : "guint8", + "public-format" : "gboolean" }, + { "name" : "NR5G Tracking Area Code", + "id" : "0x50", + "type" : "TLV", + "since" : "1.30", + "format" : "array", + "fixed-size" : "3", + "array-element" : { "format" : "guint8" } } ] }, // ********************************************************************************* { "name" : "System Info", "type" : "Indication", "service" : "NAS", "id" : "0x004E", - "version" : "1.8", + "since" : "1.0", "output" : [ { "name" : "CDMA Service Status", "id" : "0x10", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "sequence", "contents" : [ { "name" : "Service Status", "format" : "guint8", @@ -2264,8 +2992,8 @@ "public-format" : "gboolean" } ] }, { "name" : "HDR Service Status", "id" : "0x11", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "sequence", "contents" : [ { "name" : "Service Status", "format" : "guint8", @@ -2275,8 +3003,8 @@ "public-format" : "gboolean" } ] }, { "name" : "GSM Service Status", "id" : "0x12", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "sequence", "contents" : [ { "name" : "Service Status", "format" : "guint8", @@ -2289,8 +3017,8 @@ "public-format" : "gboolean" } ] }, { "name" : "WCDMA Service Status", "id" : "0x13", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "sequence", "contents" : [ { "name" : "Service Status", "format" : "guint8", @@ -2303,8 +3031,8 @@ "public-format" : "gboolean" } ] }, { "name" : "LTE Service Status", "id" : "0x14", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "sequence", "contents" : [ { "name" : "Service Status", "format" : "guint8", @@ -2317,8 +3045,8 @@ "public-format" : "gboolean" } ] }, { "name" : "CDMA System Info", "id" : "0x15", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "sequence", "contents" : [ { "name" : "Domain Valid", "format" : "guint8", @@ -2398,8 +3126,8 @@ "fixed-size" : "3" } ] }, { "name" : "HDR System Info", "id" : "0x16", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "sequence", "contents" : [ { "name" : "Domain Valid", "format" : "guint8", @@ -2449,10 +3177,10 @@ { "name" : "IS 856 System ID", "format" : "string", "fixed-size" : "16" } ] }, - { "name" : "GSM System Info", + { "name" : "GSM System Info v2", "id" : "0x17", - "mandatory" : "no", "type" : "TLV", + "since" : "1.30", "format" : "sequence", "contents" : [ { "name" : "Domain Valid", "format" : "guint8", @@ -2495,7 +3223,8 @@ "format" : "guint8", "public-format" : "QmiNasNetworkServiceDomain" }, { "name" : "Registration Reject Cause", - "format" : "guint8" }, + "format" : "guint8", + "public-format" : "QmiNasRejectCause" }, { "name" : "Network ID Valid", "format" : "guint8", "public-format" : "gboolean" }, @@ -2517,10 +3246,10 @@ { "name" : "DTM Support", "format" : "guint8", "public-format" : "gboolean" } ] }, - { "name" : "WCDMA System Info", + { "name" : "WCDMA System Info v2", "id" : "0x18", - "mandatory" : "no", "type" : "TLV", + "since" : "1.30", "format" : "sequence", "contents" : [ { "name" : "Domain Valid", "format" : "guint8", @@ -2563,7 +3292,8 @@ "format" : "guint8", "public-format" : "QmiNasNetworkServiceDomain" }, { "name" : "Registration Reject Cause", - "format" : "guint8" }, + "format" : "guint8", + "public-format" : "QmiNasRejectCause" }, { "name" : "Network ID Valid", "format" : "guint8", "public-format" : "gboolean" }, @@ -2590,10 +3320,10 @@ "public-format" : "gboolean" }, { "name" : "Primary Scrambling Code", "format" : "guint16" } ] }, - { "name" : "LTE System Info", + { "name" : "LTE System Info v2", "id" : "0x19", - "mandatory" : "no", "type" : "TLV", + "since" : "1.30", "format" : "sequence", "contents" : [ { "name" : "Domain Valid", "format" : "guint8", @@ -2636,7 +3366,8 @@ "format" : "guint8", "public-format" : "QmiNasNetworkServiceDomain" }, { "name" : "Registration Reject Cause", - "format" : "guint8" }, + "format" : "guint8", + "public-format" : "QmiNasRejectCause" }, { "name" : "Network ID Valid", "format" : "guint8", "public-format" : "gboolean" }, @@ -2653,8 +3384,8 @@ "format" : "guint16" } ] }, { "name" : "Additional CDMA System Info", "id" : "0x1A", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "sequence", "contents" : [ { "name" : "Geo System Index", "format" : "guint16" }, @@ -2662,15 +3393,15 @@ "format" : "guint16" } ] }, { "name" : "Additional HDR System Info", "id" : "0x1B", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "sequence", "contents" : [ { "name" : "Geo System Index", "format" : "guint16" } ] }, { "name" : "Additional GSM System Info", "id" : "0x1C", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "sequence", "contents" : [ { "name" : "Geo System Index", "format" : "guint16" }, @@ -2679,8 +3410,8 @@ "public-format" : "QmiNasCellBroadcastCapability" } ] }, { "name" : "Additional WCDMA System Info", "id" : "0x1D", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "sequence", "contents" : [ { "name" : "Geo System Index", "format" : "guint16" }, @@ -2689,15 +3420,15 @@ "public-format" : "QmiNasCellBroadcastCapability" } ] }, { "name" : "Additional LTE System Info", "id" : "0x1E", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "sequence", "contents" : [ { "name" : "Geo System Index", "format" : "guint16" } ] }, { "name" : "GSM Call Barring Status", "id" : "0x1F", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "sequence", "contents" : [ { "name" : "CS Status", "format" : "gint32", @@ -2707,8 +3438,8 @@ "public-format" : "QmiNasCallBarringStatus" } ] }, { "name" : "WCDMA Call Barring Status", "id" : "0x20", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "sequence", "contents" : [ { "name" : "CS Status", "format" : "gint32", @@ -2718,32 +3449,32 @@ "public-format" : "QmiNasCallBarringStatus" } ] }, { "name" : "LTE Voice Support", "id" : "0x21", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "guint8", "public-format" : "gboolean" }, { "name" : "GSM Cipher Domain", "id" : "0x22", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "guint8", "public-format" : "QmiNasNetworkServiceDomain" }, { "name" : "WCDMA Cipher Domain", "id" : "0x23", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "guint8", "public-format" : "QmiNasNetworkServiceDomain" }, { "name" : "PLMN Not Changed Indication", "id" : "0x24", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "guint8", "public-format" : "gboolean" }, { "name" : "TD SCDMA Service Status", "id" : "0x25", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "sequence", "contents" : [ { "name" : "Service Status", "format" : "guint8", @@ -2754,10 +3485,10 @@ { "name" : "Preferred Data Path", "format" : "guint8", "public-format" : "gboolean" } ] }, - { "name" : "TD SCMA System Info", + { "name" : "TD SCMA System Info v2", "id" : "0x26", - "mandatory" : "no", "type" : "TLV", + "since" : "1.30", "format" : "sequence", "contents" : [ { "name" : "Domain Valid", "format" : "guint8", @@ -2800,7 +3531,8 @@ "format" : "guint8", "public-format" : "QmiNasNetworkServiceDomain" }, { "name" : "Registration Reject Cause", - "format" : "guint8" }, + "format" : "guint8", + "public-format" : "QmiNasRejectCause" }, { "name" : "Network ID Valid", "format" : "guint8", "public-format" : "gboolean" }, @@ -2853,28 +3585,122 @@ "public-format" : "QmiNasNetworkServiceDomain" } ] }, { "name" : "LTE eMBMS Coverage Info Support", "id" : "0x27", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "guint8", "public-format" : "gboolean" }, { "name" : "SIM Reject Info", "id" : "0x28", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "guint32", - "public-format" : "QmiNasSimRejectState" } ] }, + "public-format" : "QmiNasSimRejectState" }, + { "name" : "NR5G Service Status Info", + "id" : "0x4C", + "type" : "TLV", + "since" : "1.30", + "format" : "sequence", + "contents" : [ { "name" : "Service Status", + "format" : "guint8", + "public-format" : "QmiNasServiceStatus" }, + { "name" : "True Service Status", + "format" : "guint8", + "public-format" : "QmiNasServiceStatus" }, + { "name" : "Preferred Data Path", + "format" : "guint8", + "public-format" : "gboolean" } ] }, + { "name" : "NR5G System Info", + "id" : "0x4D", + "type" : "TLV", + "since" : "1.30", + "format" : "sequence", + "contents" : [ { "name" : "Domain Valid", + "format" : "guint8", + "public-format" : "gboolean" }, + { "name" : "Domain", + "format" : "guint8", + "public-format" : "QmiNasNetworkServiceDomain" }, + { "name" : "Service Capability Valid", + "format" : "guint8", + "public-format" : "gboolean" }, + { "name" : "Service Capability", + "format" : "guint8", + "public-format" : "QmiNasNetworkServiceDomain" }, + { "name" : "Roaming Status Valid", + "format" : "guint8", + "public-format" : "gboolean" }, + { "name" : "Roaming Status", + "format" : "guint8", + "public-format" : "QmiNasRoamingStatus" }, + { "name" : "Forbidden Valid", + "format" : "guint8", + "public-format" : "gboolean" }, + { "name" : "Forbidden", + "format" : "guint8", + "public-format" : "gboolean" }, + { "name" : "LAC Valid", + "format" : "guint8", + "public-format" : "gboolean" }, + { "name" : "LAC", + "format" : "guint16" }, + { "name" : "CID Valid", + "format" : "guint8", + "public-format" : "gboolean" }, + { "name" : "CID", + "format" : "guint32" }, + { "name" : "Registration Reject Info Valid", + "format" : "guint8", + "public-format" : "gboolean" }, + { "name" : "Registration Reject Domain", + "format" : "guint8", + "public-format" : "QmiNasNetworkServiceDomain" }, + { "name" : "Registration Reject Cause", + "format" : "guint8" }, + { "name" : "Network ID Valid", + "format" : "guint8", + "public-format" : "gboolean" }, + { "name" : "MCC", + "format" : "string", + "fixed-size" : "3" }, + { "name" : "MNC", + "format" : "string", + "fixed-size" : "3" }, + { "name" : "TAC Valid", + "format" : "guint8", + "public-format" : "gboolean" }, + { "name" : "TAC", + "format" : "guint16" } ] }, + { "name" : "EUTRA with NR5G availability", + "id" : "0x50", + "type" : "TLV", + "since" : "1.30", + "format" : "guint8", + "public-format" : "gboolean" }, + { "name" : "DCNR restriction Info", + "id" : "0x51", + "type" : "TLV", + "since" : "1.30", + "format" : "guint8", + "public-format" : "gboolean" }, + { "name" : "NR5G Tracking Area Code", + "id" : "0x52", + "type" : "TLV", + "since" : "1.30", + "format" : "array", + "fixed-size" : "3", + "array-element" : { "format" : "guint8" } } ] }, // ********************************************************************************* { "name" : "Get Signal Info", "type" : "Message", "service" : "NAS", "id" : "0x004F", - "version" : "1.8", + "since" : "1.0", "output" : [ { "common-ref" : "Operation Result" }, { "name" : "CDMA Signal Strength", "id" : "0x10", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "sequence", "contents" : [ { "name" : "RSSI", "format" : "gint8" }, @@ -2882,8 +3708,8 @@ "format" : "gint16" } ] }, { "name" : "HDR Signal Strength", "id" : "0x11", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "sequence", "contents" : [ { "name" : "RSSI", "format" : "gint8" }, @@ -2896,13 +3722,13 @@ "format" : "gint32" } ] }, { "name" : "GSM Signal Strength", "id" : "0x12", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "gint8" }, { "name" : "WCDMA Signal Strength", "id" : "0x13", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "sequence", "contents" : [ { "name" : "RSSI", "format" : "gint8" }, @@ -2910,8 +3736,8 @@ "format" : "gint16" } ] }, { "name" : "LTE Signal Strength", "id" : "0x14", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "sequence", "contents" : [ { "name" : "RSSI", "format" : "gint8" }, @@ -2923,62 +3749,89 @@ "format" : "gint16" } ] }, { "name" : "TDMA Signal Strength", "id" : "0x15", - "mandatory" : "no", "type" : "TLV", - "format" : "gint8" } ] }, + "since" : "1.0", + "format" : "gint8" } , + { "name" : "TDMA Signal Strength Extended", + "id" : "0x16", + "type" : "TLV", + "since" : "1.26.2", + "format" : "sequence", + "contents" : [ { "name" : "RSSI", + "format" : "gint32" }, + { "name" : "RSCP", + "format" : "gint32" }, + { "name" : "ECIO", + "format" : "gint32" }, + { "name" : "SINR", + "format" : "gint32" } ] }, + { "name" : "Signal Strength 5G", + "id" : "0x17", + "type" : "TLV", + "since" : "1.26.2", + "format" : "sequence", + "contents" : [ { "name" : "RSRP", + "format" : "gint16" }, + { "name" : "SNR", + "format" : "gint16" } ] }, + { "name" : "Signal Strength 5G Extended", + "id" : "0x18", + "type" : "TLV", + "since" : "1.26.2", + "format" : "gint16" } ] }, // ********************************************************************************* { "name" : "Config Signal Info", "type" : "Message", "service" : "NAS", "id" : "0x0050", - "version" : "1.8", + "since" : "1.0", "input" : [ { "name" : "RSSI Threshold", "id" : "0x10", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "array", "array-element" : { "format" : "gint8" } }, { "name" : "ECIO Threshold", "id" : "0x11", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "array", "array-element" : { "format" : "gint16" } }, { "name" : "SINR Threshold", "id" : "0x12", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "array", "array-element" : { "format" : "guint8" } }, { "name" : "LTE SNR Threshold", "id" : "0x13", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "array", "array-element" : { "format" : "gint16" } }, { "name" : "IO Threshold", "id" : "0x14", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "array", "array-element" : { "format" : "gint32" } }, { "name" : "RSRQ Threshold", "id" : "0x15", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "array", "array-element" : { "format" : "gint8" } }, { "name" : "RSRP Threshold", "id" : "0x16", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "array", "array-element" : { "format" : "gint16" } }, { "name" : "LTE Report", "id" : "0x17", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "sequence", "contents" : [ { "name" : "Rate", "format" : "guint8" }, @@ -2986,8 +3839,8 @@ "format" : "guint8" } ] }, { "name" : "RSCP Threshold", "id" : "0x18", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "array", "array-element" : { "format" : "gint8" } } ], "output" : [ { "common-ref" : "Operation Result" } ] }, @@ -2997,11 +3850,11 @@ "type" : "Indication", "service" : "NAS", "id" : "0x0051", - "version" : "1.8", + "since" : "1.0", "output" : [ { "name" : "CDMA Signal Strength", "id" : "0x10", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "sequence", "contents" : [ { "name" : "RSSI", "format" : "gint8" }, @@ -3009,8 +3862,8 @@ "format" : "gint16" } ] }, { "name" : "HDR Signal Strength", "id" : "0x11", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "sequence", "contents" : [ { "name" : "RSSI", "format" : "gint8" }, @@ -3023,13 +3876,13 @@ "format" : "gint32" } ] }, { "name" : "GSM Signal Strength", "id" : "0x12", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "gint8" }, { "name" : "WCDMA Signal Strength", "id" : "0x13", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "sequence", "contents" : [ { "name" : "RSSI", "format" : "gint8" }, @@ -3037,8 +3890,8 @@ "format" : "gint16" } ] }, { "name" : "LTE Signal Strength", "id" : "0x14", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "sequence", "contents" : [ { "name" : "RSSI", "format" : "gint8" }, @@ -3050,8 +3903,8 @@ "format" : "gint16" } ] }, { "name" : "TDMA Signal Strength", "id" : "0x15", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "gint8" } ] }, // ********************************************************************************* @@ -3059,18 +3912,18 @@ "type" : "Message", "service" : "NAS", "id" : "0x005A", - "version" : "1.9", + "since" : "1.6", "input" : [ { "name" : "Radio Interface", "id" : "0x01", - "mandatory" : "yes", "type" : "TLV", + "since" : "1.6", "format" : "gint8", "public-format" : "QmiNasRadioInterface" } ], "output" : [ { "common-ref" : "Operation Result" }, { "name" : "Rx Chain 0 Info", "id" : "0x10", - "mandatory" : "no", "type" : "TLV", + "since" : "1.6", "format" : "sequence", "contents" : [ { "name" : "Is Radio Tuned", "format" : "guint8", @@ -3088,8 +3941,8 @@ "prerequisites": [ { "common-ref" : "Success" } ] }, { "name" : "Rx Chain 1 Info", "id" : "0x11", - "mandatory" : "no", "type" : "TLV", + "since" : "1.6", "format" : "sequence", "contents" : [ { "name" : "Is Radio Tuned", "format" : "guint8", @@ -3107,14 +3960,52 @@ "prerequisites": [ { "common-ref" : "Success" } ] }, { "name" : "Tx Info", "id" : "0x12", - "mandatory" : "no", "type" : "TLV", + "since" : "1.6", "format" : "sequence", "contents" : [ { "name" : "Is In Traffic", "format" : "guint8", "public-format" : "gboolean" }, { "name" : "Tx Power", "format" : "gint32" } ], + "prerequisites": [ { "common-ref" : "Success" } ] }, + { "name" : "Rx Chain 2 Info", + "id" : "0x15", + "type" : "TLV", + "since" : "1.28", + "format" : "sequence", + "contents" : [ { "name" : "Is Radio Tuned", + "format" : "guint8", + "public-format" : "gboolean" }, + { "name" : "Rx Power", + "format" : "gint32" }, + { "name" : "ECIO", + "format" : "gint32" }, + { "name" : "RSCP", + "format" : "gint32" }, + { "name" : "RSRP", + "format" : "gint32" }, + { "name" : "Phase", + "format" : "guint32" } ], + "prerequisites": [ { "common-ref" : "Success" } ] }, + { "name" : "Rx Chain 3 Info", + "id" : "0x16", + "type" : "TLV", + "since" : "1.28", + "format" : "sequence", + "contents" : [ { "name" : "Is Radio Tuned", + "format" : "guint8", + "public-format" : "gboolean" }, + { "name" : "Rx Power", + "format" : "gint32" }, + { "name" : "ECIO", + "format" : "gint32" }, + { "name" : "RSCP", + "format" : "gint32" }, + { "name" : "RSRP", + "format" : "gint32" }, + { "name" : "Phase", + "format" : "guint32" } ], "prerequisites": [ { "common-ref" : "Success" } ] } ] }, // ********************************************************************************* @@ -3122,12 +4013,12 @@ "type" : "Message", "service" : "NAS", "id" : "0x0065", - "version" : "1.3", + "since" : "1.0", "output" : [ { "common-ref" : "Operation Result" }, { "name" : "CDMA Position Info", "id" : "0x10", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "sequence", "contents" : [ { "name" : "UI In Idle Mode", "format" : "gint8" }, @@ -3155,5 +4046,205 @@ "format" : "gint32" }, { "name" : "GPS Time In Milliseconds", "format" : "guint64" } ] } } ], - "prerequisites": [ { "common-ref" : "Success" } ] } ] } + "prerequisites": [ { "common-ref" : "Success" } ] } ] }, + + // ********************************************************************************* + { "name" : "Force Network Search", + "type" : "Message", + "service" : "NAS", + "id" : "0x0067", + "since" : "1.16", + "output" : [ { "common-ref" : "Operation Result" } ] }, + + // ********************************************************************************* + + { "name" : "Network Reject", + "type" : "Indication", + "service" : "NAS", + "id" : "0x0068", + "since" : "1.30", + "output" : [ { "name" : "Radio Interface", + "id" : "0x01", + "type" : "TLV", + "since" : "1.30", + "format" : "guint8", + "public-format" : "QmiNasRadioInterface" }, + { "name" : "Service Domain", + "id" : "0x02", + "type" : "TLV", + "since" : "1.30", + "format" : "guint8", + "public-format" : "QmiNasNetworkServiceDomain" }, + { "name" : "Reject Cause", + "id" : "0x03", + "type" : "TLV", + "since" : "1.30", + "format" : "guint8", + "public-format" : "QmiNasRejectCause" }, + { "name" : "PLMN", + "id" : "0x10", + "type" : "TLV", + "since" : "1.30", + "format" : "sequence", + "contents" : [ { "name" : "MCC", + "format" : "guint16" }, + { "name" : "MNC", + "format" : "guint16" }, + { "name" : "Includes PCS Digit", + "format" : "guint8", + "public-format" : "gboolean" } ] }, + { "name" : "Closed Subscriber Group", + "id" : "0x11", + "type" : "TLV", + "since" : "1.30", + "format" : "guint32" } ] }, + + // ********************************************************************************* + { "name" : "Get DRX", + "type" : "Message", + "service" : "NAS", + "id" : "0x0089", + "since" : "1.28", + "output" : [ { "common-ref" : "Operation Result" }, + { "name" : "Info", + "id" : "0x10", + "type" : "TLV", + "since" : "1.28", + "format" : "guint32", + "public-format" : "QmiNasDrx", + "prerequisites" : [ { "common-ref" : "Success" } ] } ] }, + + // ********************************************************************************* + { "name" : "Get LTE Cphy CA Info", + "type" : "Message", + "service" : "NAS", + "id" : "0x00AC", + "since" : "1.16", + "output" : [ { "common-ref" : "Operation Result" }, + { "name" : "DL Bandwidth", + "id" : "0x11", + "type" : "TLV", + "since" : "1.16", + "format" : "guint32", + "public-format": "QmiNasDLBandwidth", + "prerequisites": [ { "common-ref" : "Success" } ] }, + { "name" : "Phy CA Agg SCell Info", + "id" : "0x12", + "type" : "TLV", + "since" : "1.16", + "format" : "sequence", + "contents" : [ { "name" : "Physical Cell ID", + "format" : "guint16"}, + { "name" : "Rx Channel", + "format" : "guint16" }, + { "name" : "DL Bandwidth", + "format" : "guint32", + "public-format" : "QmiNasDLBandwidth" }, + { "name" : "LTE Band", + "format" : "guint16", + "public-format" : "QmiNasActiveBand" }, + { "name" : "State", + "format" : "guint32", + "public-format" : "QmiNasScellState" } ], + "prerequisites": [ { "common-ref" : "Success" } ] }, + { "name" : "Phy CA Agg PCell Info", + "id" : "0x13", + "type" : "TLV", + "since" : "1.16", + "format" : "sequence", + "contents" : [ { "name" : "Physical Cell ID", + "format" : "guint16"}, + { "name" : "Rx Channel", + "format" : "guint16" }, + { "name" : "DL Bandwidth", + "format" : "guint32", + "public-format" : "QmiNasDLBandwidth" }, + { "name" : "LTE Band", + "format" : "guint16", + "public-format" : "QmiNasActiveBand" } ], + "prerequisites": [ { "common-ref" : "Success" } ] }, + { "name" : "SCell index", + "id" : "0x14", + "type" : "TLV", + "since" : "1.16", + "format" : "guint8", + "prerequisites": [ { "common-ref" : "Success" } ] }, + { "name" : "Phy CA Agg Secondary Cells", + "id" : "0x15", + "type" : "TLV", + "since" : "1.22", + "format" : "array", + "size-prefix-format" : "guint8", + "array-element" : { "name" : "SSC", + "format" : "struct", + "contents" : [ { "name" : "Physical Cell ID", + "format" : "guint16"}, + { "name" : "Rx Channel", + "format" : "guint16" }, + { "name" : "DL Bandwidth", + "format" : "guint32", + "public-format" : "QmiNasDLBandwidth" }, + { "name" : "LTE Band", + "format" : "guint16", + "public-format" : "QmiNasActiveBand" }, + { "name" : "State", + "format" : "guint32", + "public-format" : "QmiNasScellState" }, + { "name" : "Cell Index", + "format" : "guint8" } ] }, + "prerequisites" : [ { "common-ref" : "Success" } ] } ] }, + + // ********************************************************************************* + { "name" : "Swi Get Status", + "type" : "Message", + "service" : "NAS", + "id" : "0x5556", + "vendor" : "0x1199", + "since" : "1.24", + "output" : [ { "common-ref" : "Operation Result" }, + { "name" : "Common Info v2", + "id" : "0x01", + "type" : "TLV", + "since" : "1.30", + "format" : "sequence", + "contents" : [ { "name" : "Temperature", + "format" : "gint8"}, + { "name" : "Modem Mode", + "format" : "guint8", + "public-format" : "QmiNasSwiModemMode"}, + { "name" : "System Mode", + "format" : "guint8", + "public-format" : "QmiNasSwiSystemMode"}, + { "name" : "IMS Registration State", + "format" : "guint8", + "public-format" : "QmiNasSwiImsRegState"}, + { "name" : "Packet Service State", + "format" : "guint8", + "public-format" : "QmiNasSwiPsState" } ], + "prerequisites" : [ { "common-ref" : "Success" } ] }, + { "name" : "LTE Info", + "id" : "0x10", + "type" : "TLV", + "since" : "1.24", + "format" : "sequence", + "contents" : [ { "name" : "Band", + "format" : "guint8", + "public-format" : "QmiNasActiveBand" }, + { "name" : "Bandwidth", + "format" : "guint8", + "public-format" : "QmiNasDLBandwidth"}, + { "name" : "RX Channel", + "format" : "guint16" }, + { "name" : "TX Channel", + "format" : "guint16" }, + { "name" : "EMM State", + "format" : "guint8", + "public-format" : "QmiNasSwiEmmState"}, + { "name" : "EMM Sub State", + "format" : "guint8" }, + { "name" : "EMM Connection State", + "format" : "guint8", + "public-format" : "QmiNasSwiEmmConnectionState" } ], + "prerequisites" : [ { "common-ref" : "Success" } ] } ] } + ] diff --git a/data/qmi-service-oma.json b/data/qmi-service-oma.json index bdd8c26..602340b 100644 --- a/data/qmi-service-oma.json +++ b/data/qmi-service-oma.json @@ -6,7 +6,8 @@ // ********************************************************************************* { "name" : "QMI Client OMA", - "type" : "Client" }, + "type" : "Client", + "since" : "1.6" }, // ********************************************************************************* { "name" : "QMI Message OMA", @@ -21,7 +22,7 @@ "type" : "Message", "service" : "OMA", "id" : "0x0000", - "version" : "1.0", + "since" : "1.6", "output" : [ { "common-ref" : "Operation Result" } ] }, // ********************************************************************************* @@ -29,17 +30,17 @@ "type" : "Message", "service" : "OMA", "id" : "0x0001", - "version" : "1.0", + "since" : "1.6", "input" : [ { "name" : "Network Initiated Alert Reporting", "id" : "0x10", - "mandatory" : "no", "type" : "TLV", + "since" : "1.6", "format" : "guint8", "public-format" : "gboolean" }, { "name" : "Session State Reporting", "id" : "0x11", - "mandatory" : "no", "type" : "TLV", + "since" : "1.6", "format" : "guint8", "public-format" : "gboolean" } ], "output" : [ { "common-ref" : "Operation Result" } ] }, @@ -48,10 +49,11 @@ "type" : "Indication", "service" : "OMA", "id" : "0x0001", + "since" : "1.6", "output" : [ { "name" : "Network Initiated Alert", "id" : "0x10", - "mandatory" : "no", "type" : "TLV", + "since" : "1.6", "format" : "sequence", "contents" : [ { "name" : "Session Type", "format" : "guint8", @@ -60,14 +62,14 @@ "format" : "guint16" } ] }, { "name" : "Session State", "id" : "0x11", - "mandatory" : "no", "type" : "TLV", + "since" : "1.6", "format" : "guint8", "public-format" : "QmiOmaSessionState" }, { "name" : "Session Fail Reason", "id" : "0x12", - "mandatory" : "no", "type" : "TLV", + "since" : "1.6", "format" : "guint8", "public-format" : "QmiOmaSessionFailedReason" } ] }, @@ -76,11 +78,11 @@ "type" : "Message", "service" : "OMA", "id" : "0x0020", - "version" : "1.0", + "since" : "1.6", "input" : [ { "name" : "Session Type", "id" : "0x10", - "mandatory" : "no", "type" : "TLV", + "since" : "1.6", "format" : "guint8", "public-format" : "QmiOmaSessionType" } ], "output" : [ { "common-ref" : "Operation Result" } ] }, @@ -90,7 +92,7 @@ "type" : "Message", "service" : "OMA", "id" : "0x0021", - "version" : "1.0", + "since" : "1.6", "output" : [ { "common-ref" : "Operation Result" } ] }, // ********************************************************************************* @@ -98,10 +100,11 @@ "type" : "Message", "service" : "OMA", "id" : "0x0022", + "since" : "1.6", "output" : [ { "name" : "Session Info", "id" : "0x10", - "mandatory" : "no", "type" : "TLV", + "since" : "1.6", "format" : "sequence", "contents" : [ { "name" : "Session State", "format" : "guint8", @@ -112,8 +115,8 @@ "prerequisites": [ { "common-ref" : "Success" } ] }, { "name" : "Session Failed Reason", "id" : "0x11", - "mandatory" : "no", "type" : "TLV", + "since" : "1.6", "format" : "guint8", "public-format" : "QmiOmaSessionFailedReason", "prerequisites" : [ { "field" : "Session Info Session State", @@ -121,8 +124,8 @@ "value" : "QMI_OMA_SESSION_STATE_FAILED" } ] }, { "name" : "Retry Info", "id" : "0x12", - "mandatory" : "no", "type" : "TLV", + "since" : "1.6", "format" : "sequence", "contents" : [ { "name" : "Retry Count", "format" : "guint8" }, @@ -133,8 +136,8 @@ "prerequisites": [ { "common-ref" : "Success" } ] }, { "name" : "Network Initiated Alert", "id" : "0x13", - "mandatory" : "no", "type" : "TLV", + "since" : "1.6", "format" : "sequence", "contents" : [ { "name" : "Session Type", "format" : "guint8", @@ -149,10 +152,11 @@ "type" : "Message", "service" : "OMA", "id" : "0x0023", + "since" : "1.6", "input" : [ { "name" : "Network Initiated Alert Selection", "id" : "0x10", - "mandatory" : "no", "type" : "TLV", + "since" : "1.6", "format" : "sequence", "contents" : [ { "name" : "Control Point Selection Accept", "format" : "guint8", @@ -166,31 +170,32 @@ "type" : "Message", "service" : "OMA", "id" : "0x0024", + "since" : "1.6", "output" : [ { "name" : "Device Provisioning Service Update Config", "id" : "0x10", - "mandatory" : "no", "type" : "TLV", + "since" : "1.6", "format" : "guint8", "public-format" : "gboolean", "prerequisites" : [ { "common-ref" : "Success" } ] }, { "name" : "PRL Update Service Config", "id" : "0x11", - "mandatory" : "no", "type" : "TLV", + "since" : "1.6", "format" : "guint8", "public-format" : "gboolean", "prerequisites" : [ { "common-ref" : "Success" } ] }, { "name" : "HFA Feature Config", "id" : "0x12", - "mandatory" : "no", "type" : "TLV", + "since" : "1.6", "format" : "guint8", "public-format" : "gboolean", "prerequisites" : [ { "common-ref" : "Success" } ] }, { "name" : "HFA Feature Done State", "id" : "0x13", - "mandatory" : "no", "type" : "TLV", + "since" : "1.6", "format" : "guint8", "public-format" : "QmiOmaHfaFeatureDoneState", "prerequisites" : [ { "common-ref" : "Success" } ] }, @@ -201,22 +206,23 @@ "type" : "Message", "service" : "OMA", "id" : "0x0025", + "since" : "1.6", "input" : [ { "name" : "Device Provisioning Service Update Config", "id" : "0x10", - "mandatory" : "no", "type" : "TLV", + "since" : "1.6", "format" : "guint8", "public-format" : "gboolean" }, { "name" : "PRL Update Service Config", "id" : "0x11", - "mandatory" : "no", "type" : "TLV", + "since" : "1.6", "format" : "guint8", "public-format" : "gboolean" }, { "name" : "HFA Feature Config", "id" : "0x12", - "mandatory" : "no", "type" : "TLV", + "since" : "1.6", "format" : "guint8", "public-format" : "gboolean" } ], "output" : [ { "common-ref" : "Operation Result" } ] } diff --git a/data/qmi-service-pbm.json b/data/qmi-service-pbm.json index 9296aea..fdb48fa 100644 --- a/data/qmi-service-pbm.json +++ b/data/qmi-service-pbm.json @@ -6,7 +6,8 @@ // ********************************************************************************* { "name" : "QMI Client PBM", - "type" : "Client" }, + "type" : "Client", + "since" : "1.6" }, // ********************************************************************************* { "name" : "QMI Message PBM", @@ -17,18 +18,18 @@ "type" : "Message", "service" : "PBM", "id" : "0x0001", - "version" : "1.0", + "since" : "1.6", "input" : [ { "name" : "Event Registration Mask", "id" : "0x01", - "mandatory" : "yes", "type" : "TLV", + "since" : "1.6", "format" : "guint32", "public-format" : "QmiPbmEventRegistrationFlag" } ], "output" : [ { "common-ref" : "Operation Result" }, { "name" : "Event Registration Mask", "id" : "0x10", - "mandatory" : "no", "type" : "TLV", + "since" : "1.6", "format" : "guint32", "public-format" : "QmiPbmEventRegistrationFlag", "prerequisites" : [ { "common-ref" : "Success" } ] } ] }, @@ -38,11 +39,11 @@ "type" : "Message", "service" : "PBM", "id" : "0x0002", - "version" : "1.0", + "since" : "1.6", "input" : [ { "name" : "Phonebook Information", "id" : "0x01", - "mandatory" : "yes", "type" : "TLV", + "since" : "1.6", "format" : "sequence", "contents" : [ { "name" : "Session Type", "format" : "guint8", @@ -53,8 +54,8 @@ "output" : [ { "common-ref" : "Operation Result" }, { "name" : "Capability Basic Information", "id" : "0x10", - "mandatory" : "no", "type" : "TLV", + "since" : "1.6", "format" : "sequence", "contents" : [ { "name" : "Session Type", "format" : "guint8", @@ -73,8 +74,8 @@ "prerequisites" : [ { "common-ref" : "Success" } ] }, { "name" : "Group Capability", "id" : "0x11", - "mandatory" : "no", "type" : "TLV", + "since" : "1.6", "format" : "sequence", "contents" : [ { "name" : "Maximum Groups", "format" : "guint8" }, @@ -83,8 +84,8 @@ "prerequisites" : [ { "common-ref" : "Success" } ] }, { "name" : "Additional Number Capability", "id" : "0x12", - "mandatory" : "no", "type" : "TLV", + "since" : "1.6", "format" : "sequence", "contents" : [ { "name" : "Maximum Additional Numbers", "format" : "guint8" }, @@ -95,8 +96,8 @@ "prerequisites" : [ { "common-ref" : "Success" } ] }, { "name" : "Email Capability", "id" : "0x13", - "mandatory" : "no", "type" : "TLV", + "since" : "1.6", "format" : "sequence", "contents" : [ { "name" : "Maximum Emails", "format" : "guint8" }, @@ -105,16 +106,16 @@ "prerequisites" : [ { "common-ref" : "Success" } ] }, { "name" : "Second Name Capability", "id" : "0x14", - "mandatory" : "no", "type" : "TLV", + "since" : "1.6", "format" : "sequence", "contents" : [ { "name" : "Maximum Second Name Length", "format" : "guint8" } ], "prerequisites" : [ { "common-ref" : "Success" } ] }, { "name" : "Hidden Records Capability", "id" : "0x15", - "mandatory" : "no", "type" : "TLV", + "since" : "1.6", "format" : "sequence", "contents" : [ { "name" : "Supported", "format" : "guint8", @@ -122,8 +123,8 @@ "prerequisites" : [ { "common-ref" : "Success" } ] }, { "name" : "Grouping Information Alpha String Capability", "id" : "0x16", - "mandatory" : "no", "type" : "TLV", + "since" : "1.6", "format" : "sequence", "contents" : [ { "name" : "Maximum Records", "format" : "guint8" }, @@ -134,8 +135,8 @@ "prerequisites" : [ { "common-ref" : "Success" } ] }, { "name" : "Additional Number Alpha String Capability", "id" : "0x17", - "mandatory" : "no", "type" : "TLV", + "since" : "1.6", "format" : "sequence", "contents" : [ { "name" : "Maximum Records", "format" : "guint8" }, @@ -150,12 +151,12 @@ "type" : "Message", "service" : "PBM", "id" : "0x0003", - "version" : "1.0", + "since" : "1.6", "output" : [ { "common-ref" : "Operation Result" }, { "name" : "Capability Basic Information", "id" : "0x10", - "mandatory" : "no", "type" : "TLV", + "since" : "1.6", "format" : "array", "size-prefix-format" : "guint8", "array-element" : { "name" : "Element", @@ -182,8 +183,8 @@ "prerequisites" : [ { "common-ref" : "Success" } ] }, { "name" : "Group Capability", "id" : "0x11", - "mandatory" : "no", "type" : "TLV", + "since" : "1.6", "format" : "array", "size-prefix-format" : "guint8", "array-element" : { "name" : "Element", @@ -198,8 +199,8 @@ "prerequisites" : [ { "common-ref" : "Success" } ] }, { "name" : "Additional Number Capability", "id" : "0x12", - "mandatory" : "no", "type" : "TLV", + "since" : "1.6", "format" : "array", "size-prefix-format" : "guint8", "array-element" : { "name" : "Element", @@ -216,8 +217,8 @@ "prerequisites" : [ { "common-ref" : "Success" } ] }, { "name" : "Email Capability", "id" : "0x13", - "mandatory" : "no", "type" : "TLV", + "since" : "1.6", "format" : "array", "size-prefix-format" : "guint8", "array-element" : { "name" : "Element", @@ -232,8 +233,8 @@ "prerequisites" : [ { "common-ref" : "Success" } ] }, { "name" : "Second Name Capability", "id" : "0x14", - "mandatory" : "no", "type" : "TLV", + "since" : "1.6", "format" : "array", "size-prefix-format" : "guint8", "array-element" : { "name" : "Element", @@ -246,8 +247,8 @@ "prerequisites" : [ { "common-ref" : "Success" } ] }, { "name" : "Hidden Records Capability", "id" : "0x15", - "mandatory" : "no", "type" : "TLV", + "since" : "1.6", "format" : "array", "size-prefix-format" : "guint8", "array-element" : { "name" : "Element", @@ -261,8 +262,8 @@ "prerequisites" : [ { "common-ref" : "Success" } ] }, { "name" : "Grouping Information Alpha String Capability", "id" : "0x16", - "mandatory" : "no", "type" : "TLV", + "since" : "1.6", "format" : "array", "size-prefix-format" : "guint8", "array-element" : { "name" : "Element", @@ -279,8 +280,8 @@ "prerequisites" : [ { "common-ref" : "Success" } ] }, { "name" : "Additional Number Alpha String Capability", "id" : "0x17", - "mandatory" : "no", "type" : "TLV", + "since" : "1.6", "format" : "array", "size-prefix-format" : "guint8", "array-element" : { "name" : "Element", diff --git a/data/qmi-service-pds.json b/data/qmi-service-pds.json index b2e3cb8..a824859 100644 --- a/data/qmi-service-pds.json +++ b/data/qmi-service-pds.json @@ -6,7 +6,8 @@ // ********************************************************************************* { "name" : "QMI Client PDS", - "type" : "Client" }, + "type" : "Client", + "since" : "1.0" }, // ********************************************************************************* { "name" : "QMI Message PDS", @@ -21,7 +22,7 @@ "type" : "Message", "service" : "PDS", "id" : "0x0000", - "version" : "1.0", + "since" : "1.0", "output" : [ { "common-ref" : "Operation Result" } ] }, // ********************************************************************************* @@ -29,125 +30,125 @@ "type" : "Message", "service" : "PDS", "id" : "0x0001", - "version" : "1.0", + "since" : "1.0", "input" : [ { "name" : "NMEA Position Reporting", "id" : "0x10", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "guint8", "public-format" : "gboolean" }, { "name" : "Extended NMEA Position Reporting", "id" : "0x11", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "guint8", "public-format" : "gboolean" }, { "name" : "Parsed Position Reporting", "id" : "0x12", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "guint8", "public-format" : "gboolean" }, { "name" : "External XTRA Data Request Reporting", "id" : "0x13", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "guint8", "public-format" : "gboolean" }, { "name" : "External Time Injection Request Reporting", "id" : "0x14", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "guint8", "public-format" : "gboolean" }, { "name" : "External WIFI Position Request Reporting", "id" : "0x15", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "guint8", "public-format" : "gboolean" }, { "name" : "Satellite Information Reporting", "id" : "0x16", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "guint8", "public-format" : "gboolean" }, { "name" : "VX Network Initiated Request Reporting", "id" : "0x17", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "guint8", "public-format" : "gboolean" }, { "name" : "SUPL Network Initiated Prompt Reporting", "id" : "0x18", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "guint8", "public-format" : "gboolean" }, { "name" : "UMTS CP Network Initiated Prompt Reporting", "id" : "0x19", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "guint8", "public-format" : "gboolean" }, { "name" : "PDS Comm Event Reporting", "id" : "0x1A", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "guint8", "public-format" : "gboolean" }, { "name" : "Accelerometer Data Streaming Ready Reporting", "id" : "0x1B", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "guint8", "public-format" : "gboolean" }, { "name" : "Gyro Data Streaming Ready Reporting", "id" : "0x1C", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "guint8", "public-format" : "gboolean" }, { "name" : "Time Sync Request Reporting", "id" : "0x1D", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "guint8", "public-format" : "gboolean" }, { "name" : "Position Reliability Indicator Reporting", "id" : "0x1E", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "guint8", "public-format" : "gboolean" }, { "name" : "Sensor Data Usage Indicator Reporting", "id" : "0x1F", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "guint8", "public-format" : "gboolean" }, { "name" : "Time Source Information Reporting", "id" : "0x20", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "guint8", "public-format" : "gboolean" }, { "name" : "Heading Uncertainty Reporting", "id" : "0x21", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "guint8", "public-format" : "gboolean" }, { "name" : "NMEA Debug Strings Reporting", "id" : "0x22", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "guint8", "public-format" : "gboolean" }, { "name" : "Extended External XTRA Data Request Reporting", "id" : "0x23", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "guint8", "public-format" : "gboolean" } ], "output" : [ { "common-ref" : "Operation Result" } ] }, @@ -156,16 +157,17 @@ "type" : "Indication", "service" : "PDS", "id" : "0x0001", + "since" : "1.0", "output" : [ { "name" : "NMEA Position", "id" : "0x10", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "string", "max-size" : "200" }, { "name" : "Extended NMEA Position", "id" : "0x11", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "sequence", "contents" : [ { "name" : "Operation Mode", "format" : "gint8", @@ -177,8 +179,8 @@ "max-size" : "200" } ] }, { "name" : "Position Session Status", "id" : "0x12", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "guint8", "public-format" : "QmiPdsPositionSessionStatus" } ] }, @@ -186,7 +188,6 @@ // Reading gfloat/gdouble is still missing //{ "name" : "Parsed Position", // "id" : "0x13", - // "mandatory" : "no", // "type" : "TLV", // "format" : "sequence", // "contents" : [ { "name" : "Valid Mask", @@ -263,12 +264,12 @@ "type" : "Message", "service" : "PDS", "id" : "0x0020", - "version" : "1.0", + "since" : "1.0", "output" : [ { "common-ref" : "Operation Result" }, { "name" : "State", "id" : "0x01", - "mandatory" : "yes", "type" : "TLV", + "since" : "1.0", "format" : "sequence", "contents" : [ { "name" : "GPS Service State", "format" : "guint8", @@ -283,11 +284,11 @@ "type" : "Message", "service" : "PDS", "id" : "0x0021", - "version" : "1.0", + "since" : "1.0", "input" : [ { "name" : "State", "id" : "0x01", - "mandatory" : "yes", "type" : "TLV", + "since" : "1.0", "format" : "sequence", "contents" : [ { "name" : "GPS Service State", "format" : "guint8", @@ -299,12 +300,12 @@ "type" : "Message", "service" : "PDS", "id" : "0x0029", - "version" : "1.0", + "since" : "1.12", "output" : [ { "common-ref" : "Operation Result" }, { "name" : "Info", "id" : "0x01", - "mandatory" : "yes", "type" : "TLV", + "since" : "1.12", "format" : "sequence", "contents" : [ { "name" : "Session Operation", "format" : "guint8", @@ -322,11 +323,11 @@ "type" : "Message", "service" : "PDS", "id" : "0x002A", - "version" : "1.0", + "since" : "1.12", "input" : [ { "name" : "Info", "id" : "0x01", - "mandatory" : "yes", "type" : "TLV", + "since" : "1.12", "format" : "sequence", "contents" : [ { "name" : "Session Operation", "format" : "guint8", @@ -344,18 +345,18 @@ "type" : "Message", "service" : "PDS", "id" : "0x002E", - "version" : "1.0", + "since" : "1.12", "input" : [ { "name" : "Network Mode", "id" : "0x12", - "mandatory" : "no", "type" : "TLV", + "since" : "1.12", "format" : "guint8", "public-format" : "QmiPdsNetworkMode" } ], "output" : [ { "common-ref" : "Operation Result" }, { "name" : "Location Server Address", "id" : "0x10", - "mandatory" : "no", "type" : "TLV", + "since" : "1.12", "format" : "sequence", "contents" : [ { "name" : "IP", "format" : "guint32", @@ -365,8 +366,8 @@ "prerequisites" : [ { "common-ref" : "Success" } ] }, { "name" : "Location Server URL", "id" : "0x11", - "mandatory" : "no", "type" : "TLV", + "since" : "1.12", "format" : "array", "size-prefix-format" : "guint8", "array-element" : { "format" : "guint8" }, @@ -377,11 +378,11 @@ "type" : "Message", "service" : "PDS", "id" : "0x002F", - "version" : "1.0", + "since" : "1.12", "input" : [ { "name" : "Location Server Address", "id" : "0x10", - "mandatory" : "no", "type" : "TLV", + "since" : "1.12", "format" : "sequence", "contents" : [ { "name" : "IP", "format" : "guint32", @@ -390,15 +391,15 @@ "format" : "guint32" } ] }, { "name" : "Location Server URL", "id" : "0x11", - "mandatory" : "no", "type" : "TLV", + "since" : "1.12", "format" : "array", "size-prefix-format" : "guint8", "array-element" : { "format" : "guint8" } }, { "name" : "Network Mode", "id" : "0x14", - "mandatory" : "no", "type" : "TLV", + "since" : "1.12", "format" : "guint8", "public-format" : "QmiPdsNetworkMode" } ], "output" : [ { "common-ref" : "Operation Result" } ] }, @@ -408,12 +409,12 @@ "type" : "Message", "service" : "PDS", "id" : "0x0030", - "version" : "1.0", + "since" : "1.0", "output" : [ { "common-ref" : "Operation Result" }, { "name" : "State", "id" : "0x01", - "mandatory" : "yes", "type" : "TLV", + "since" : "1.0", "format" : "sequence", "contents" : [ { "name" : "Auto Tracking State", "format" : "guint8", @@ -425,15 +426,22 @@ "type" : "Message", "service" : "PDS", "id" : "0x0031", - "version" : "1.0", + "since" : "1.0", "input" : [ { "name" : "State", "id" : "0x01", - "mandatory" : "yes", "type" : "TLV", + "since" : "1.0", "format" : "sequence", "contents" : [ { "name" : "Auto Tracking State", "format" : "guint8", "public-format" : "gboolean" } ] } ], - "output" : [ { "common-ref" : "Operation Result" } ] } + "output" : [ { "common-ref" : "Operation Result" } ] }, + + // ********************************************************************************* + { "name" : "GPS Ready", + "type" : "Indication", + "service" : "PDS", + "id" : "0x0060", + "since" : "1.14" } ] diff --git a/data/qmi-service-uim.json b/data/qmi-service-uim.json index e3f88d4..1fa7bae 100644 --- a/data/qmi-service-uim.json +++ b/data/qmi-service-uim.json @@ -1,4 +1,3 @@ - [ // ********************************************************************************* { "name" : "UIM", @@ -6,18 +5,172 @@ // ********************************************************************************* { "name" : "QMI Client UIM", - "type" : "Client" }, + "type" : "Client", + "since" : "1.6" }, // ********************************************************************************* { "name" : "QMI Message UIM", "type" : "Message-ID-Enum" }, + // ********************************************************************************* + { "name" : "QMI Indication UIM", + "type" : "Indication-ID-Enum" }, + + // ********************************************************************************* + { "common-ref" : "UIM Card Status", + "name" : "Card Status", + "id" : "0x10", + "type" : "TLV", + "format" : "sequence", + "contents" : [ { "name" : "Index GW Primary", + "format" : "guint16" }, + { "name" : "Index 1x Primary", + "format" : "guint16" }, + { "name" : "Index GW Secondary", + "format" : "guint16" }, + { "name" : "Index 1x Secondary", + "format" : "guint16" }, + { "name" : "Cards", + "format" : "array", + "size-prefix-format" : "guint8", + "array-element" : { "name" : "Element", + "format" : "struct", + "contents" : [ { "name" : "Card State", + "format" : "guint8", + "public-format" : "QmiUimCardState" }, + { "name" : "UPIN State", + "format" : "guint8", + "public-format" : "QmiUimPinState" }, + { "name" : "UPIN Retries", + "format" : "guint8" }, + { "name" : "UPUK Retries", + "format" : "guint8" }, + { "name" : "Error code", + "format" : "guint8", + "public-format" : "QmiUimCardError" }, + { "name" : "Applications", + "format" : "array", + "size-prefix-format" : "guint8", + "array-element" : { "name" : "Element", + "format" : "struct", + "contents" : [ { "name" : "Type", + "format" : "guint8", + "public-format" : "QmiUimCardApplicationType" }, + { "name" : "State", + "format" : "guint8", + "public-format" : "QmiUimCardApplicationState" }, + { "name" : "Personalization State", + "format" : "guint8", + "public-format" : "QmiUimCardApplicationPersonalizationState" }, + { "name" : "Personalization Feature", + "format" : "guint8", + "public-format" : "QmiUimCardApplicationPersonalizationFeature" }, + { "name" : "Personalization Retries", + "format" : "guint8" }, + { "name" : "Personalization Unblock Retries", + "format" : "guint8" }, + { "name" : "Application Identifier Value", + "format" : "array", + "size-prefix-format" : "guint8", + "array-element" : { "format" : "guint8" } }, + { "name" : "UPIN replaces PIN1", + "format" : "guint8", + "public-format" : "gboolean" }, + { "name" : "PIN1 State", + "format" : "guint8", + "public-format" : "QmiUimPinState" }, + { "name" : "PIN1 Retries", + "format" : "guint8" }, + { "name" : "PUK1 Retries", + "format" : "guint8" }, + { "name" : "PIN2 State", + "format" : "guint8", + "public-format" : "QmiUimPinState" }, + { "name" : "PIN2 Retries", + "format" : "guint8" }, + { "name" : "PUK2 Retries", + "format" : "guint8" } ] } } ] } } ] }, + + // ********************************************************************************* + { "common-ref" : "UIM Session", + "name" : "Session", + "fullname" : "Qmi UIM Session", + "id" : "0x01", + "type" : "TLV", + "format" : "sequence", + "contents" : [ { "name" : "Session Type", + "format" : "guint8", + "public-format" : "QmiUimSessionType" }, + { "name" : "Application Identifier", + "format" : "array", + "size-prefix-format" : "guint8", + "array-element" : { "format" : "guint8" } } ] }, + + // ********************************************************************************* + { "common-ref" : "Physical Slot Status", + "name" : "Physical Slot Status", + "fullname" : "Qmi Physical Slot Status", + "id" : "0x10", + "type" : "TLV", + "format" : "array", + "size-prefix-format" : "guint8", + "array-element" : { "name" : "Slot", + "format" : "struct", + "contents" : [ { "name" : "Physical Card Status", + "format" : "guint32", + "public-format" : "QmiUimPhysicalCardState" }, + { "name" : "Physical Slot Status", + "format" : "guint32", + "public-format" : "QmiUimSlotState" }, + { "name" : "Logical Slot", + "format" : "guint8" }, + { "name" : "ICCID", + "format" : "array", + "size-prefix-format" : "guint8", + "array-element" : { "format" : "guint8" } } ] } }, + + // ********************************************************************************* + { "common-ref" : "Physical Slot Information", + "name" : "Physical Slot Information", + "fullname" : "Qmi Physical Slot Information", + "id" : "0x11", + "type" : "TLV", + "format" : "array", + "size-prefix-format" : "guint8", + "array-element" : { "name" : "Slot", + "format" : "struct", + "contents" : [ { "name" : "Card Protocol", + "format" : "guint32", + "public-format" : "QmiUimCardProtocol" }, + { "name" : "Valid Applications", + "format" : "guint8" }, + { "name" : "ATR Value", + "format" : "array", + "size-prefix-format" : "guint8", + "array-element" : { "format" : "guint8" } }, + { "name" : "Is EUICC", + "format" : "guint8", + "public-format" : "gboolean" } ] } }, + + // ********************************************************************************* + { "common-ref" : "Slot EID Information", + "name" : "Slot EID Information", + "fullname" : "Qmi Slot EID Information", + "id" : "0x12", + "type" : "TLV", + "format" : "array", + "size-prefix-format" : "guint8", + "array-element" : { "name" : "EID", + "format" : "array", + "size-prefix-format" : "guint8", + "array-element" : { "format" : "guint8" } } }, + // ********************************************************************************* { "name" : "Reset", "type" : "Message", "service" : "UIM", "id" : "0x0000", - "version" : "1.0", + "since" : "1.6", "output" : [ { "common-ref" : "Operation Result" } ] }, // ********************************************************************************* @@ -25,12 +178,12 @@ "type" : "Message", "service" : "UIM", "id" : "0x001E", - "version" : "1.28", + "since" : "1.14", "output" : [ { "common-ref" : "Operation Result" }, { "name" : "List", "id" : "0x10", - "mandatory" : "no", "type" : "TLV", + "since" : "1.14", "format" : "array", "size-prefix-format" : "guint16", "array-element" : { "format" : "guint8" }, @@ -41,21 +194,13 @@ "type" : "Message", "service" : "UIM", "id" : "0x0020", - "version" : "1.0", - "input" : [ { "name" : "Session Information", - "id" : "0x01", - "mandatory" : "yes", - "type" : "TLV", - "format" : "sequence", - "contents" : [ { "name" : "Session Type", - "format" : "guint8", - "public-format" : "QmiUimSessionType" }, - { "name" : "Application Identifier", - "format" : "string" } ] }, + "since" : "1.6", + "input" : [ { "common-ref" : "UIM Session", + "since" : "1.22" }, { "name" : "File", "id" : "0x02", - "mandatory" : "yes", "type" : "TLV", + "since" : "1.6", "format" : "sequence", "contents" : [ { "name" : "File ID", "format" : "guint16" }, @@ -64,8 +209,8 @@ "array-element" : { "format" : "guint8" } } ] }, { "name" : "Read Information", "id" : "0x03", - "mandatory" : "yes", "type" : "TLV", + "since" : "1.6", "format" : "sequence", "contents" : [ { "name" : "Offset", "format" : "guint16" }, @@ -73,20 +218,20 @@ "format" : "guint16" } ] }, { "name" : "Response In Indication Token", "id" : "0x10", - "mandatory" : "no", "type" : "TLV", + "since" : "1.6", "format" : "guint32" }, { "name" : "Encrypt Data", "id" : "0x11", - "mandatory" : "no", "type" : "TLV", + "since" : "1.6", "format" : "guint8", "public-format" : "gboolean" } ], "output" : [ { "common-ref" : "Operation Result" }, { "name" : "Card result", "id" : "0x10", - "mandatory" : "no", "type" : "TLV", + "since" : "1.6", "format" : "sequence", "contents" : [ { "name" : "SW1", "format" : "guint8" }, @@ -94,22 +239,22 @@ "format" : "guint8" } ] }, { "name" : "Read result", "id" : "0x11", - "mandatory" : "no", "type" : "TLV", + "since" : "1.6", "format" : "array", "size-prefix-format" : "guint16", "array-element" : { "format" : "guint8" }, "prerequisites" : [ { "common-ref" : "Success" } ] }, { "name" : "Response In Indication Token", "id" : "0x12", - "mandatory" : "no", "type" : "TLV", + "since" : "1.6", "format" : "guint32", "prerequisites" : [ { "common-ref" : "Success" } ] }, { "name" : "Encrypted Data", "id" : "0x13", - "mandatory" : "no", "type" : "TLV", + "since" : "1.6", "format" : "guint8", "public-format" : "gboolean", "prerequisites" : [ { "common-ref" : "Success" } ] } ] }, @@ -119,21 +264,13 @@ "type" : "Message", "service" : "UIM", "id" : "0x0021", - "version" : "1.0", - "input" : [ { "name" : "Session Information", - "id" : "0x01", - "mandatory" : "yes", - "type" : "TLV", - "format" : "sequence", - "contents" : [ { "name" : "Session Type", - "format" : "guint8", - "public-format" : "QmiUimSessionType" }, - { "name" : "Application Identifier", - "format" : "string" } ] }, + "since" : "1.6", + "input" : [ { "common-ref" : "UIM Session", + "since" : "1.22" }, { "name" : "File", "id" : "0x02", - "mandatory" : "yes", "type" : "TLV", + "since" : "1.6", "format" : "sequence", "contents" : [ { "name" : "File ID", "format" : "guint16" }, @@ -142,8 +279,8 @@ "array-element" : { "format" : "guint8" } } ] }, { "name" : "Record", "id" : "0x03", - "mandatory" : "yes", "type" : "TLV", + "since" : "1.6", "format" : "sequence", "contents" : [ { "name" : "Record Number", "format" : "guint16" }, @@ -151,19 +288,19 @@ "format" : "guint16" } ] }, { "name" : "Last Record", "id" : "0x10", - "mandatory" : "no", "type" : "TLV", + "since" : "1.6", "format" : "guint16" }, { "name" : "Response In Indication Token", "id" : "0x11", - "mandatory" : "no", "type" : "TLV", + "since" : "1.6", "format" : "guint32" } ], "output" : [ { "common-ref" : "Operation Result" }, { "name" : "Card result", "id" : "0x10", - "mandatory" : "no", "type" : "TLV", + "since" : "1.6", "format" : "sequence", "contents" : [ { "name" : "SW1", "format" : "guint8" }, @@ -171,24 +308,24 @@ "format" : "guint8" } ] }, { "name" : "Read Result", "id" : "0x11", - "mandatory" : "no", "type" : "TLV", + "since" : "1.6", "format" : "array", "size-prefix-format" : "guint16", "array-element" : { "format" : "guint8" }, "prerequisites" : [ { "common-ref" : "Success" } ] }, { "name" : "Additional Read Result", "id" : "0x12", - "mandatory" : "no", "type" : "TLV", + "since" : "1.6", "format" : "array", "size-prefix-format" : "guint16", "array-element" : { "format" : "guint8" }, "prerequisites" : [ { "common-ref" : "Success" } ] }, { "name" : "Response In Indication Token", "id" : "0x13", - "mandatory" : "no", "type" : "TLV", + "since" : "1.6", "format" : "guint32", "prerequisites" : [ { "common-ref" : "Success" } ] } ] }, @@ -197,21 +334,13 @@ "type" : "Message", "service" : "UIM", "id" : "0x0024", - "version" : "1.0", - "input" : [ { "name" : "Session Information", - "id" : "0x01", - "mandatory" : "yes", - "type" : "TLV", - "format" : "sequence", - "contents" : [ { "name" : "Session Type", - "format" : "guint8", - "public-format" : "QmiUimSessionType" }, - { "name" : "Application Identifier", - "format" : "string" } ] }, + "since" : "1.6", + "input" : [ { "common-ref" : "UIM Session", + "since" : "1.22" }, { "name" : "File", "id" : "0x02", - "mandatory" : "yes", "type" : "TLV", + "since" : "1.6", "format" : "sequence", "contents" : [ { "name" : "File ID", "format" : "guint16" }, @@ -220,14 +349,14 @@ "array-element" : { "format" : "guint8" } } ] }, { "name" : "Response In Indication Token", "id" : "0x10", - "mandatory" : "no", "type" : "TLV", + "since" : "1.6", "format" : "guint32" } ], "output" : [ { "common-ref" : "Operation Result" }, { "name" : "Card result", "id" : "0x10", - "mandatory" : "no", "type" : "TLV", + "since" : "1.6", "format" : "sequence", "contents" : [ { "name" : "SW1", "format" : "guint8" }, @@ -235,8 +364,8 @@ "format" : "guint8" } ] }, { "name" : "File Attributes", "id" : "0x11", - "mandatory" : "no", "type" : "TLV", + "since" : "1.6", "format" : "sequence", "contents" : [ { "name" : "File Size", "format" : "guint16" }, @@ -286,8 +415,8 @@ "prerequisites" : [ { "common-ref" : "Success" } ] }, { "name" : "Response In Indication Token", "id" : "0x12", - "mandatory" : "no", "type" : "TLV", + "since" : "1.6", "format" : "guint32", "prerequisites" : [ { "common-ref" : "Success" } ] } ] }, @@ -296,21 +425,13 @@ "type" : "Message", "service" : "UIM", "id" : "0x0025", - "version" : "1.0", - "input" : [ { "name" : "Session Information", - "id" : "0x01", - "mandatory" : "yes", - "type" : "TLV", - "format" : "sequence", - "contents" : [ { "name" : "Session Type", - "format" : "guint8", - "public-format" : "QmiUimSessionType" }, - { "name" : "Application Identifier", - "format" : "string" } ] }, + "since" : "1.14", + "input" : [ { "common-ref" : "UIM Session", + "since" : "1.22" }, { "name" : "Info", "id" : "0x02", - "mandatory" : "yes", "type" : "TLV", + "since" : "1.14", "format" : "sequence", "contents" : [ { "name" : "PIN ID", "format" : "guint8", @@ -322,14 +443,14 @@ "format" : "string" } ] }, { "name" : "Response In Indication Token", "id" : "0x11", - "mandatory" : "no", "type" : "TLV", + "since" : "1.14", "format" : "guint32" } ], "output" : [ { "common-ref" : "Operation Result" }, { "name" : "Retries Remaining", "id" : "0x10", - "mandatory" : "no", "type" : "TLV", + "since" : "1.14", "format" : "sequence", "contents" : [ { "name" : "Verify Retries Left", "format" : "guint8" }, @@ -338,8 +459,8 @@ "prerequisites": [ { "common-ref" : "No Success" } ] }, { "name" : "Response In Indication Token", "id" : "0x12", - "mandatory" : "no", "type" : "TLV", + "since" : "1.14", "format" : "guint32", "prerequisites" : [ { "common-ref" : "Success" } ] } ] }, @@ -348,21 +469,13 @@ "type" : "Message", "service" : "UIM", "id" : "0x0026", - "version" : "1.0", - "input" : [ { "name" : "Session Information", - "id" : "0x01", - "mandatory" : "yes", - "type" : "TLV", - "format" : "sequence", - "contents" : [ { "name" : "Session Type", - "format" : "guint8", - "public-format" : "QmiUimSessionType" }, - { "name" : "Application Identifier", - "format" : "string" } ] }, + "since" : "1.14", + "input" : [ { "common-ref" : "UIM Session", + "since" : "1.22" }, { "name" : "Info", "id" : "0x02", - "mandatory" : "yes", "type" : "TLV", + "since" : "1.14", "format" : "sequence", "contents" : [ { "name" : "PIN ID", "format" : "guint8", @@ -371,14 +484,14 @@ "format" : "string" } ] }, { "name" : "Response In Indication Token", "id" : "0x12", - "mandatory" : "no", "type" : "TLV", + "since" : "1.14", "format" : "guint32" } ], "output" : [ { "common-ref" : "Operation Result" }, { "name" : "Retries Remaining", "id" : "0x10", - "mandatory" : "no", "type" : "TLV", + "since" : "1.14", "format" : "sequence", "contents" : [ { "name" : "Verify Retries Left", "format" : "guint8" }, @@ -387,14 +500,14 @@ "prerequisites": [ { "common-ref" : "No Success" } ] }, { "name" : "Response In Indication Token", "id" : "0x12", - "mandatory" : "no", "type" : "TLV", + "since" : "1.14", "format" : "guint32", "prerequisites" : [ { "common-ref" : "Success" } ] }, { "name" : "Card Result", "id" : "0x13", - "mandatory" : "no", "type" : "TLV", + "since" : "1.14", "format" : "sequence", "contents" : [ { "name" : "SW1", "format" : "guint8" }, @@ -406,21 +519,13 @@ "type" : "Message", "service" : "UIM", "id" : "0x0027", - "version" : "1.0", - "input" : [ { "name" : "Session Information", - "id" : "0x01", - "mandatory" : "yes", - "type" : "TLV", - "format" : "sequence", - "contents" : [ { "name" : "Session Type", - "format" : "guint8", - "public-format" : "QmiUimSessionType" }, - { "name" : "Application Identifier", - "format" : "string" } ] }, + "since" : "1.14", + "input" : [ { "common-ref" : "UIM Session", + "since" : "1.22" }, { "name" : "Info", "id" : "0x02", - "mandatory" : "yes", "type" : "TLV", + "since" : "1.14", "format" : "sequence", "contents" : [ { "name" : "PIN ID", "format" : "guint8", @@ -431,14 +536,14 @@ "format" : "string" } ] }, { "name" : "Response In Indication Token", "id" : "0x11", - "mandatory" : "no", "type" : "TLV", + "since" : "1.14", "format" : "guint32" } ], "output" : [ { "common-ref" : "Operation Result" }, { "name" : "Retries Remaining", "id" : "0x10", - "mandatory" : "no", "type" : "TLV", + "since" : "1.14", "format" : "sequence", "contents" : [ { "name" : "Verify Retries Left", "format" : "guint8" }, @@ -447,14 +552,14 @@ "prerequisites": [ { "common-ref" : "No Success" } ] }, { "name" : "Response In Indication Token", "id" : "0x12", - "mandatory" : "no", "type" : "TLV", + "since" : "1.14", "format" : "guint32", "prerequisites" : [ { "common-ref" : "Success" } ] }, { "name" : "Card Result", "id" : "0x13", - "mandatory" : "no", "type" : "TLV", + "since" : "1.14", "format" : "sequence", "contents" : [ { "name" : "SW1", "format" : "guint8" }, @@ -466,21 +571,13 @@ "type" : "Message", "service" : "UIM", "id" : "0x0028", - "version" : "1.0", - "input" : [ { "name" : "Session Information", - "id" : "0x01", - "mandatory" : "yes", - "type" : "TLV", - "format" : "sequence", - "contents" : [ { "name" : "Session Type", - "format" : "guint8", - "public-format" : "QmiUimSessionType" }, - { "name" : "Application Identifier", - "format" : "string" } ] }, + "since" : "1.14", + "input" : [ { "common-ref" : "UIM Session", + "since" : "1.22" }, { "name" : "Info", "id" : "0x02", - "mandatory" : "yes", "type" : "TLV", + "since" : "1.14", "format" : "sequence", "contents" : [ { "name" : "PIN ID", "format" : "guint8", @@ -491,14 +588,14 @@ "format" : "string" } ] }, { "name" : "Response In Indication Token", "id" : "0x11", - "mandatory" : "no", "type" : "TLV", + "since" : "1.14", "format" : "guint32" } ], "output" : [ { "common-ref" : "Operation Result" }, { "name" : "Retries Remaining", "id" : "0x10", - "mandatory" : "no", "type" : "TLV", + "since" : "1.14", "format" : "sequence", "contents" : [ { "name" : "Verify Retries Left", "format" : "guint8" }, @@ -507,99 +604,362 @@ "prerequisites": [ { "common-ref" : "No Success" } ] }, { "name" : "Response In Indication Token", "id" : "0x12", - "mandatory" : "no", "type" : "TLV", + "since" : "1.14", "format" : "guint32", "prerequisites" : [ { "common-ref" : "Success" } ] }, { "name" : "Card Result", "id" : "0x13", - "mandatory" : "no", "type" : "TLV", + "since" : "1.14", "format" : "sequence", "contents" : [ { "name" : "SW1", "format" : "guint8" }, { "name" : "SW2", "format" : "guint8" } ] } ] }, + // ********************************************************************************* + { "name" : "Refresh Register", + "type" : "Message", + "service" : "UIM", + "id" : "0x002A", + "since" : "1.28", + "input" : [ { "common-ref" : "UIM Session", + "since" : "1.28" }, + { "name" : "Info", + "id" : "0x02", + "type" : "TLV", + "since" : "1.28", + "format" : "sequence", + "contents" : [ { "name" : "Register Flag", + "format" : "guint8", + "public-format" : "gboolean" }, + { "name" : "Vote For Init", + "format" : "guint8", + "public-format" : "gboolean" }, + { "name" : "Files", + "format" : "array", + "size-prefix-format" : "guint16", + "array-element" : { "name" : "Element", + "format" : "struct", + "contents" : [ { "name" : "File ID", + "format" : "guint16" }, + { "name" : "Path", + "format" : "array", + "size-prefix-format" : "guint8", + "array-element" : { "format" : "guint8" } } ] } } ] } ], + "output" : [ { "common-ref" : "Operation Result" } ] }, + + // ********************************************************************************* + { "name" : "Refresh Complete", + "type" : "Message", + "service" : "UIM", + "id" : "0x002C", + "since" : "1.28", + "input" : [ { "common-ref" : "UIM Session", + "since" : "1.28" }, + { "name" : "Info", + "id" : "0x02", + "type" : "TLV", + "since" : "1.28", + "format" : "sequence", + "contents" : [ { "name" : "Refresh Success", + "format" : "guint8", + "public-format" : "gboolean" } ] } ], + "output" : [ { "common-ref" : "Operation Result" } ] }, + + // ********************************************************************************* + { "name" : "Register Events", + "type" : "Message", + "service" : "UIM", + "id" : "0x002E", + "since" : "1.22.4", + "input" : [ { "name" : "Event Registration Mask", + "id" : "0x01", + "type" : "TLV", + "since" : "1.22.4", + "format" : "guint32", + "public-format" : "QmiUimEventRegistrationFlag" } ], + "output" : [ { "common-ref" : "Operation Result" }, + { "name" : "Event Registration Mask", + "id" : "0x10", + "type" : "TLV", + "since" : "1.22.4", + "format" : "guint32", + "public-format" : "QmiUimEventRegistrationFlag", + "prerequisites" : [ { "common-ref" : "Success" } ] } ] }, + // ********************************************************************************* { "name" : "Get Card Status", "type" : "Message", "service" : "UIM", "id" : "0x002F", - "version" : "1.0", + "since" : "1.10", "output" : [ { "common-ref" : "Operation Result" }, - { "name" : "Card Status", + { "common-ref" : "UIM Card Status", + "since" : "1.10" } ] }, + + // ********************************************************************************* + { "name" : "Power Off SIM", + "type" : "Message", + "service" : "UIM", + "id" : "0x0030", + "since" : "1.18", + "input" : [ { "name" : "Slot", + "id" : "0x01", + "type" : "TLV", + "since" : "1.18", + "format" : "guint8" } ], + "output" : [ { "common-ref" : "Operation Result" } ] }, + + // ********************************************************************************* + { "name" : "Power On SIM", + "type" : "Message", + "service" : "UIM", + "id" : "0x0031", + "since" : "1.18", + "input" : [ { "name" : "Slot", + "id" : "0x01", + "type" : "TLV", + "since" : "1.18", + "format" : "guint8" } ], + "output" : [ { "common-ref" : "Operation Result" } ] }, + + // ********************************************************************************* + { "name" : "Card Status", + "type" : "Indication", + "service" : "UIM", + "id" : "0x0032", + "since" : "1.22", + "output" : [ { "common-ref" : "UIM Card Status", + "since" : "1.22" } ] }, + + // ********************************************************************************* + { "name" : "Refresh", + "type" : "Indication", + "service" : "UIM", + "id" : "0x0033", + "since" : "1.28", + "output" : [ { "name" : "Event", + "id" : "0x10", + "type" : "TLV", + "since" : "1.28", + "format" : "sequence", + "contents" : [ { "name" : "Stage", + "format" : "guint8", + "public-format" : "QmiUimRefreshStage" }, + { "name" : "Mode", + "format" : "guint8", + "public-format" : "QmiUimRefreshMode" }, + { "name" : "Session Type", + "format" : "guint8", + "public-format" : "QmiUimSessionType" }, + { "name" : "Application Identifier", + "format" : "array", + "size-prefix-format" : "guint8", + "array-element" : { "format" : "guint8" } }, + { "name" : "Files", + "format" : "array", + "size-prefix-format" : "guint16", + "array-element" : { "name" : "Element", + "format" : "struct", + "contents" : [ { "name" : "File ID", + "format" : "guint16" }, + { "name" : "Path", + "format" : "array", + "size-prefix-format" : "guint8", + "array-element" : { "format" : "guint8" } } ] } } ] } ] }, + + // ********************************************************************************* + { "name" : "Change Provisioning Session", + "type" : "Message", + "service" : "UIM", + "id" : "0x0038", + "since" : "1.24", + "input" : [ { "name" : "Session Change", + "id" : "0x01", + "type" : "TLV", + "since" : "1.24", + "format" : "sequence", + "contents" : [ { "name" : "Session Type", + "format" : "guint8", + "public-format" : "QmiUimSessionType" }, + { "name" : "Activate", + "format" : "guint8", + "public-format" : "gboolean" } ] }, + { "name" : "Application Information", + "id" : "0x10", + "type" : "TLV", + "since" : "1.24", + "format" : "sequence", + "contents" : [ { "name" : "Slot", + "format" : "guint8" }, + { "name" : "Application Identifier", + "format" : "array", + "size-prefix-format" : "guint8", + "array-element" : { "format" : "guint8" } } ] } ], + "output" : [ { "common-ref" : "Operation Result" } ] }, + + // ********************************************************************************* + { "name" : "Depersonalization", + "type" : "Message", + "service" : "UIM", + "id" : "0x0029", + "since" : "1.30", + "input" : [ { "name" : "Info", + "id" : "0x01", + "type" : "TLV", + "since" : "1.30", + "format" : "sequence", + "contents" : [ { "name" : "Feature", + "format" : "guint8", + "public-format" : "QmiUimCardApplicationPersonalizationFeature" }, + { "name" : "Operation", + "format" : "guint8", + "public-format" : "QmiUimDepersonalizationOperation" }, + { "name" : "Control Key", + "format" : "string" } ] }, + { "name" : "Slot", "id" : "0x10", - "mandatory" : "no", "type" : "TLV", + "since" : "1.30", + "format" : "guint8" } ], + "output" : [ { "common-ref" : "Operation Result" }, + { "name" : "Retries Remaining", + "id" : "0x10", + "type" : "TLV", + "since" : "1.30", "format" : "sequence", - "contents" : [ { "name" : "Index GW Primary", - "format" : "guint16" }, - { "name" : "Index 1x Primary", - "format" : "guint16" }, - { "name" : "Index GW Secondary ", - "format" : "guint16" }, - { "name" : "Index 1x Secondary", - "format" : "guint16" }, - { "name" : "Cards", - "format" : "array", - "size-prefix-format" : "guint8", - "array-element" : { "name" : "Element", - "format" : "struct", - "contents" : [ { "name" : "Card State", - "format" : "guint8", - "public-format" : "QmiUimCardState" }, - { "name" : "UPIN State", - "format" : "guint8", - "public-format" : "QmiUimPinState" }, - { "name" : "UPIN Retries", - "format" : "guint8" }, - { "name" : "UPUK Retries", - "format" : "guint8" }, - { "name" : "Error code", - "format" : "guint8", - "public-format" : "QmiUimCardError" }, - { "name" : "Applications", - "format" : "array", - "size-prefix-format" : "guint8", - "array-element" : { "name" : "Element", - "format" : "struct", - "contents" : [ { "name" : "Type", - "format" : "guint8", - "public-format" : "QmiUimCardApplicationType" }, - { "name" : "State", - "format" : "guint8", - "public-format" : "QmiUimCardApplicationState" }, - { "name" : "Personalization State", - "format" : "guint8", - "public-format" : "QmiUimCardApplicationPersonalizationState" }, - { "name" : "Personalization Feature", - "format" : "guint8", - "public-format" : "QmiUimCardApplicationPersonalizationFeature" }, - { "name" : "Personalization Retries", - "format" : "guint8" }, - { "name" : "Personalization Unblock Retries", - "format" : "guint8" }, - { "name" : "Application Identifier Value", - "format" : "array", - "size-prefix-format" : "guint8", - "array-element" : { "format" : "guint8" } }, - { "name" : "UPIN replaces PIN1", - "format" : "guint8", - "public-format" : "gboolean" }, - { "name" : "PIN1 State", - "format" : "guint8", - "public-format" : "QmiUimPinState" }, - { "name" : "PIN1 Retries", - "format" : "guint8" }, - { "name" : "PUK1 Retries", - "format" : "guint8" }, - { "name" : "PIN2 State", - "format" : "guint8", - "public-format" : "QmiUimPinState" }, - { "name" : "PIN2 Retries", - "format" : "guint8" }, - { "name" : "PUK2 Retries", - "format" : "guint8" } ] } } ] } } ] } ] } + "contents" : [ { "name" : "Verify Left", + "format" : "guint8" }, + { "name" : "Unblock Left", + "format" : "guint8" } ], + "prerequisites" : [ { "common-ref" : "No Success" } ] } ] }, + + // ********************************************************************************* + { "name" : "Get Configuration", + "type" : "Message", + "service" : "UIM", + "id" : "0x003A", + "since" : "1.30", + "input" : [ { "name" : "Configuration Mask", + "id" : "0x10", + "type" : "TLV", + "since" : "1.30", + "format" : "guint32", + "public-format" : "QmiUimConfiguration" } ], + "output" : [ { "common-ref" : "Operation Result" }, + { "name" : "Automatic Selection", + "id" : "0x10", + "type" : "TLV", + "since" : "1.30", + "format" : "guint8", + "public-format" : "gboolean", + "prerequisites" : [ { "common-ref" : "Success" } ] }, + { "name" : "Personalization Status", + "id" : "0x11", + "type" : "TLV", + "since" : "1.30", + "format" : "array", + "size-prefix-format" : "guint8", + "array-element" : { "name" : "Element", + "format" : "struct", + "contents" : [ { "name" : "Feature", + "format" : "guint8", + "public-format" : "QmiUimCardApplicationPersonalizationFeature" }, + { "name" : "Verify Left", + "format" : "guint8" }, + { "name" : "Unblock Left", + "format" : "guint8" } ] }, + "prerequisites" : [ { "common-ref" : "Success" } ] }, + { "name" : "Halt Subscription", + "id" : "0x12", + "type" : "TLV", + "since" : "1.30", + "format" : "guint8", + "public-format" : "gboolean", + "prerequisites" : [ { "common-ref" : "Success" } ] }, + { "name" : "Personalization Status Other Slots", + "id" : "0x13", + "type" : "TLV", + "since" : "1.30", + "format" : "array", + "size-prefix-format" : "guint8", + "array-element" : { "name" : "Slots", + "format" : "array", + "size-prefix-format" : "guint8", + "array-element" : { "name" : "Element", + "format" : "struct", + "contents" : [ { "name" : "Feature", + "format" : "guint8", + "public-format" : "QmiUimCardApplicationPersonalizationFeature" }, + { "name" : "Verify Left", + "format" : "guint8" }, + { "name" : "Unblock Left", + "format" : "guint8" } ] } }, + "prerequisites" : [ { "common-ref" : "Success" } ] } ] }, + + // ********************************************************************************* + { "name" : "Refresh Register All", + "type" : "Message", + "service" : "UIM", + "id" : "0x0044", + "since" : "1.28", + "input" : [ { "common-ref" : "UIM Session", + "since" : "1.28" }, + { "name" : "Info", + "id" : "0x02", + "type" : "TLV", + "since" : "1.28", + "format" : "sequence", + "contents" : [ { "name" : "Register Flag", + "format" : "guint8", + "public-format" : "gboolean" } ] } ], + "output" : [ { "common-ref" : "Operation Result" } ] }, + + // ********************************************************************************* + { "name" : "Switch Slot", + "type" : "Message", + "service" : "UIM", + "id" : "0x0046", + "since" : "1.26", + "input" : [ { "name" : "Logical Slot", + "id" : "0x01", + "type" : "TLV", + "since" : "1.26", + "format" : "guint8" }, + { "name" : "Physical Slot", + "id" : "0x02", + "type" : "TLV", + "since" : "1.26", + "format" : "guint32" } ], + "output" : [ { "common-ref" : "Operation Result" } ] }, + + // ********************************************************************************* + { "name" : "Get Slot Status", + "type" : "Message", + "service" : "UIM", + "id" : "0x0047", + "since" : "1.26", + "output" : [ { "common-ref" : "Operation Result" }, + { "common-ref" : "Physical Slot Status", + "since" : "1.26" }, + { "common-ref" : "Physical Slot Information", + "since" : "1.26" }, + { "common-ref" : "Slot EID Information", + "since" : "1.26" } ] }, + + // ********************************************************************************* + { "name" : "Slot Status", + "type" : "Indication", + "service" : "UIM", + "id" : "0x0048", + "since" : "1.26", + "output" : [ { "common-ref" : "Physical Slot Status", + "since" : "1.26" }, + { "common-ref" : "Physical Slot Information", + "since" : "1.26" }, + { "common-ref" : "Slot EID Information", + "since" : "1.26" } ] } ] diff --git a/data/qmi-service-wda.json b/data/qmi-service-wda.json index 3a9b797..31deb18 100644 --- a/data/qmi-service-wda.json +++ b/data/qmi-service-wda.json @@ -6,103 +6,154 @@ // ********************************************************************************* { "name" : "QMI Client WDA", - "type" : "Client" }, + "type" : "Client", + "since" : "1.10" }, // ********************************************************************************* { "name" : "QMI Message WDA", "type" : "Message-ID-Enum" }, + // ********************************************************************************* + { "name" : "Get Supported Messages", + "type" : "Message", + "service" : "WDA", + "id" : "0x001E", + "since" : "1.14", + "output" : [ { "common-ref" : "Operation Result" }, + { "name" : "List", + "id" : "0x10", + "type" : "TLV", + "since" : "1.14", + "format" : "array", + "size-prefix-format" : "guint16", + "array-element" : { "format" : "guint8" }, + "prerequisites" : [ { "common-ref" : "Success" } ] } ] }, + // ********************************************************************************* { "name" : "Set Data Format", "type" : "Message", "service" : "WDA", "id" : "0x0020", - "version" : "1.0", + "since" : "1.10", "input" : [ { "name" : "QoS Format", "id" : "0x10", - "mandatory" : "no", "type" : "TLV", + "since" : "1.10", "format" : "guint8", "public-format" : "gboolean" }, { "name" : "Link Layer Protocol", "id" : "0x11", - "mandatory" : "no", "type" : "TLV", + "since" : "1.10", "format" : "guint32", "public-format" : "QmiWdaLinkLayerProtocol" }, { "name" : "Uplink Data Aggregation Protocol", "id" : "0x12", - "mandatory" : "no", "type" : "TLV", + "since" : "1.10", "format" : "guint32", "public-format" : "QmiWdaDataAggregationProtocol" }, { "name" : "Downlink Data Aggregation Protocol", "id" : "0x13", - "mandatory" : "no", "type" : "TLV", + "since" : "1.10", "format" : "guint32", "public-format" : "QmiWdaDataAggregationProtocol" }, { "name" : "NDP Signature", "id" : "0x14", - "mandatory" : "no", "type" : "TLV", + "since" : "1.10", "format" : "guint32" }, { "name" : "Downlink Data Aggregation Max Datagrams", "id" : "0x15", - "mandatory" : "no", "type" : "TLV", + "since" : "1.10", "format" : "guint32" }, { "name" : "Downlink Data Aggregation Max Size", "id" : "0x16", - "mandatory" : "no", "type" : "TLV", - "format" : "guint32" } ], + "since" : "1.10", + "format" : "guint32" }, + { "name" : "Endpoint Info", + "id" : "0x17", + "type" : "TLV", + "since" : "1.18", + "format" : "sequence", + "contents" : [ { "name" : "Endpoint Type", + "format" : "guint32", + "public-format" : "QmiDataEndpointType"}, + { "name" : "Interface Number", + "format" : "guint32"}] }], "output" : [ { "common-ref" : "Operation Result" }, { "name" : "QoS Format", "id" : "0x10", - "mandatory" : "no", "type" : "TLV", + "since" : "1.10", "format" : "guint8", "public-format" : "gboolean", "prerequisites": [ { "common-ref" : "Success" } ] }, { "name" : "Link Layer Protocol", "id" : "0x11", - "mandatory" : "no", "type" : "TLV", + "since" : "1.10", "format" : "guint32", "public-format" : "QmiWdaLinkLayerProtocol", "prerequisites" : [ { "common-ref" : "Success" } ] }, { "name" : "Uplink Data Aggregation Protocol", "id" : "0x12", - "mandatory" : "no", "type" : "TLV", + "since" : "1.10", "format" : "guint32", "public-format" : "QmiWdaDataAggregationProtocol", "prerequisites" : [ { "common-ref" : "Success" } ] }, { "name" : "Downlink Data Aggregation Protocol", "id" : "0x13", - "mandatory" : "no", "type" : "TLV", + "since" : "1.10", "format" : "guint32", "public-format" : "QmiWdaDataAggregationProtocol", "prerequisites" : [ { "common-ref" : "Success" } ] }, { "name" : "NDP Signature", "id" : "0x14", - "mandatory" : "no", "type" : "TLV", + "since" : "1.10", "format" : "guint32", "prerequisites" : [ { "common-ref" : "Success" } ] }, { "name" : "Downlink Data Aggregation Max Datagrams", "id" : "0x15", - "mandatory" : "no", "type" : "TLV", + "since" : "1.10", "format" : "guint32", "prerequisites" : [ { "common-ref" : "Success" } ] }, { "name" : "Downlink Data Aggregation Max Size", "id" : "0x16", - "mandatory" : "no", "type" : "TLV", + "since" : "1.10", + "format" : "guint32", + "prerequisites" : [ { "common-ref" : "Success" } ] }, + { "name" : "Uplink Data Aggregation Max Datagrams", + "id" : "0x17", + "type" : "TLV", + "since" : "1.30", + "format" : "guint32", + "prerequisites" : [ { "common-ref" : "Success" } ] }, + { "name" : "Uplink Data Aggregation Max Size", + "id" : "0x18", + "type" : "TLV", + "since" : "1.30", + "format" : "guint32", + "prerequisites" : [ { "common-ref" : "Success" } ] }, + { "name" : "Download Minimum Padding", + "id" : "0x1A", + "type" : "TLV", + "since" : "1.30", "format" : "guint32", + "prerequisites" : [ { "common-ref" : "Success" } ] }, + { "name" : "Flow Control", + "id" : "0x1B", + "type" : "TLV", + "since" : "1.30", + "format" : "guint8", "prerequisites" : [ { "common-ref" : "Success" } ] } ] }, // ********************************************************************************* @@ -110,53 +161,92 @@ "type" : "Message", "service" : "WDA", "id" : "0x0021", - "version" : "1.0", + "since" : "1.10", + "input" : [ { "name" : "Endpoint Info", + "id" : "0x10", + "mandatory" : "no", + "type" : "TLV", + "since" : "1.26", + "format" : "sequence", + "contents" : [ { "name" : "Endpoint Type", + "format" : "guint32", + "public-format" : "QmiDataEndpointType"}, + { "name" : "Interface Number", + "format" : "guint32"} ] } ], "output" : [ { "common-ref" : "Operation Result" }, { "name" : "QoS Format", "id" : "0x10", - "mandatory" : "no", "type" : "TLV", + "since" : "1.10", "format" : "guint8", "public-format" : "gboolean", "prerequisites": [ { "common-ref" : "Success" } ] }, { "name" : "Link Layer Protocol", "id" : "0x11", - "mandatory" : "no", "type" : "TLV", + "since" : "1.10", "format" : "guint32", "public-format" : "QmiWdaLinkLayerProtocol", "prerequisites" : [ { "common-ref" : "Success" } ] }, { "name" : "Uplink Data Aggregation Protocol", "id" : "0x12", - "mandatory" : "no", "type" : "TLV", + "since" : "1.10", "format" : "guint32", "public-format" : "QmiWdaDataAggregationProtocol", "prerequisites" : [ { "common-ref" : "Success" } ] }, { "name" : "Downlink Data Aggregation Protocol", "id" : "0x13", - "mandatory" : "no", "type" : "TLV", + "since" : "1.10", "format" : "guint32", "public-format" : "QmiWdaDataAggregationProtocol", "prerequisites" : [ { "common-ref" : "Success" } ] }, { "name" : "NDP Signature", "id" : "0x14", - "mandatory" : "no", "type" : "TLV", + "since" : "1.10", "format" : "guint32", "prerequisites" : [ { "common-ref" : "Success" } ] }, - { "name" : "Uplink Data Aggregation Max Size", + { "name" : "Downlink Data Aggregation Max Datagrams", "id" : "0x15", - "mandatory" : "no", "type" : "TLV", + "since" : "1.24.6", "format" : "guint32", "prerequisites" : [ { "common-ref" : "Success" } ] }, { "name" : "Downlink Data Aggregation Max Size", "id" : "0x16", - "mandatory" : "no", "type" : "TLV", + "since" : "1.10", "format" : "guint32", + "prerequisites" : [ { "common-ref" : "Success" } ] }, + { "name" : "Uplink Data Aggregation Max Datagrams", + "id" : "0x17", + "type" : "TLV", + "since" : "1.30", + "format" : "guint32", + "prerequisites" : [ { "common-ref" : "Success" } ] }, + // We mistakenly had a different TLV named as "Uplink Data + // Aggregation Max Size" since 1.10, and since then we kept + // compat support to avoid breaking API/ABI. We now introduce + // the correct TLV named in the same way, and so we keep the + // original "since" tag and we remove the compat symbols. + { "name" : "Uplink Data Aggregation Max Size", + "id" : "0x18", + "type" : "TLV", + "since" : "1.10", + "format" : "guint32", + "prerequisites" : [ { "common-ref" : "Success" } ] }, + { "name" : "Download Minimum Padding", + "id" : "0x1A", + "type" : "TLV", + "since" : "1.30", + "format" : "guint32", + "prerequisites" : [ { "common-ref" : "Success" } ] }, + { "name" : "Flow Control", + "id" : "0x1B", + "type" : "TLV", + "since" : "1.30", + "format" : "guint8", "prerequisites" : [ { "common-ref" : "Success" } ] } ] } - ] diff --git a/data/qmi-service-wds.json b/data/qmi-service-wds.json index ab48e8a..68042d3 100644 --- a/data/qmi-service-wds.json +++ b/data/qmi-service-wds.json @@ -6,140 +6,835 @@ // ********************************************************************************* { "name" : "QMI Client WDS", - "type" : "Client" }, + "type" : "Client", + "since" : "1.0" }, // ********************************************************************************* { "name" : "QMI Message WDS", "type" : "Message-ID-Enum" }, + // ********************************************************************************* + { "name" : "QMI Indication WDS", + "type" : "Indication-ID-Enum" }, + + // ********************************************************************************* + { "common-ref" : "WDS Extended Error Code", + "name" : "Extended Error Code", + "id" : "0xE0", + "type" : "TLV", + "format" : "guint16", + "public-format" : "QmiWdsDsProfileError", + "prerequisites" : [ { "field" : "Result.Error Status", + "operation" : "!=", + "value" : "QMI_STATUS_SUCCESS" }, + { "field" : "Result.Error Code", + "operation" : "==", + "value" : "QMI_PROTOCOL_ERROR_EXTENDED_INTERNAL" } ] }, + + { "common-ref" : "WDS Profile Identifier", + "name" : "Profile Identifier", + "id" : "0x01", + "type" : "TLV", + "format" : "sequence", + "contents" : [ { "name" : "Profile Type", + "format" : "guint8", + "public-format" : "QmiWdsProfileType" }, + { "name" : "Profile Index", + "format" : "guint8" } ] }, + + { "common-ref" : "WDS Profile Name", + "name" : "Profile Name", + "id" : "0x10", + "type" : "TLV", + "format" : "string" }, + + { "common-ref" : "WDS PDP Type", + "name" : "PDP Type", + "id" : "0x11", + "type" : "TLV", + "format" : "guint8", + "public-format" : "QmiWdsPdpType" }, + + { "common-ref" : "WDS PDP Header Compression Type", + "name" : "PDP Header Compression Type", + "id" : "0x12", + "type" : "TLV", + "format" : "guint8", + "public-format" : "QmiWdsPdpHeaderCompressionType" }, + + { "common-ref" : "WDS PDP Data Compression Type", + "name" : "PDP Data Compression Type", + "id" : "0x13", + "type" : "TLV", + "format" : "guint8", + "public-format" : "QmiWdsPdpDataCompressionType" }, + + { "common-ref" : "WDS APN Name", + "name" : "APN Name", + "id" : "0x14", + "type" : "TLV", + "format" : "string" }, + + { "common-ref" : "WDS Primary IPv4 DNS Address", + "name" : "Primary IPv4 DNS Address", + "id" : "0x15", + "type" : "TLV", + "endian" : "little", + "format" : "guint32" }, + + { "common-ref" : "WDS Secondary IPv4 DNS Address", + "name" : "Secondary IPv4 DNS Address", + "id" : "0x16", + "type" : "TLV", + "endian" : "little", + "format" : "guint32" }, + + { "common-ref" : "WDS UMTS Requested QoS", + "name" : "UMTS Requested QoS", + "id" : "0x17", + "type" : "TLV", + "format" : "sequence", + "contents" : [ { "name" : "Traffic Class", + "format" : "guint8", + "public-format" : "QmiWdsTrafficClass" }, + { "name" : "Max uplink bitrate", + "format" : "guint32" }, + { "name" : "Max downlink bitrate", + "format" : "guint32" }, + { "name" : "Guaranteed uplink bitrate", + "format" : "guint32" }, + { "name" : "Guaranteed downlink bitrate", + "format" : "guint32" }, + { "name" : "QoS Delivery Order", + "format" : "guint8", + "public-format" : "QmiWdsDeliveryOrder" }, + { "name" : "Maximum SDU Size", + "format" : "guint32" }, + { "name" : "SDU Error Ratio", + "format" : "guint8", + "public-format" : "QmiWdsSduErrorRatio" }, + { "name" : "Residual Bit Error Ratio", + "format" : "guint8", + "public-format" : "QmiWdsSduResidualBitErrorRatio" }, + { "name" : "Delivery Erroneous SDU", + "format" : "guint8", + "public-format" : "QmiWdsSduErroneousDelivery" }, + { "name" : "Transfer Delay", + "format" : "guint32" }, + { "name" : "Traffic Handling Priority", + "format" : "guint32" } ] }, + + { "common-ref" : "WDS UMTS Minimum QoS", + "name" : "UMTS Minimum QoS", + "id" : "0x18", + "type" : "TLV", + "format" : "sequence", + "contents" : [ { "name" : "Traffic Class", + "format" : "guint8", + "public-format" : "QmiWdsTrafficClass" }, + { "name" : "Max uplink bitrate", + "format" : "guint32" }, + { "name" : "Max downlink bitrate", + "format" : "guint32" }, + { "name" : "Guaranteed uplink bitrate", + "format" : "guint32" }, + { "name" : "Guaranteed downlink bitrate", + "format" : "guint32" }, + { "name" : "QoS Delivery Order", + "format" : "guint8", + "public-format" : "QmiWdsDeliveryOrder" }, + { "name" : "Maximum SDU Size", + "format" : "guint32" }, + { "name" : "SDU Error Ratio", + "format" : "guint8", + "public-format" : "QmiWdsSduErrorRatio" }, + { "name" : "Residual Bit Error Ratio", + "format" : "guint8", + "public-format" : "QmiWdsSduResidualBitErrorRatio" }, + { "name" : "Delivery Erroneous SDU", + "format" : "guint8", + "public-format" : "QmiWdsSduErroneousDelivery" }, + { "name" : "Transfer Delay", + "format" : "guint32" }, + { "name" : "Traffic Handling Priority", + "format" : "guint32" } ] }, + + { "common-ref" : "WDS GPRS Requested QoS", + "name" : "GPRS Requested QoS", + "id" : "0x19", + "type" : "TLV", + "format" : "sequence", + "contents" : [ { "name" : "Precedence Class", + "format" : "guint32" }, + { "name" : "Delay Class", + "format" : "guint32" }, + { "name" : "Reliability Class", + "format" : "guint32" }, + { "name" : "Peak Throughput Class", + "format" : "guint32" }, + { "name" : "Mean Throughput Class", + "format" : "guint32" } ] }, + + { "common-ref" : "WDS GPRS Minimum QoS", + "name" : "GPRS Minimum QoS", + "id" : "0x1A", + "type" : "TLV", + "format" : "sequence", + "contents" : [ { "name" : "Precedence Class", + "format" : "guint32" }, + { "name" : "Delay Class", + "format" : "guint32" }, + { "name" : "Reliability Class", + "format" : "guint32" }, + { "name" : "Peak Throughput Class", + "format" : "guint32" }, + { "name" : "Mean Throughput Class", + "format" : "guint32" } ] }, + + { "common-ref" : "WDS Username", + "name" : "Username", + "id" : "0x1B", + "type" : "TLV", + "format" : "string" }, + + { "common-ref" : "WDS Password", + "name" : "Password", + "id" : "0x1C", + "type" : "TLV", + "format" : "string" }, + + { "common-ref" : "WDS Authentication", + "name" : "Authentication", + "id" : "0x1D", + "type" : "TLV", + "format" : "guint8", + "public-format" : "QmiWdsAuthentication" }, + + { "common-ref" : "WDS IPv4 Address Preference", + "name" : "IPv4 Address Preference", + "id" : "0x1E", + "type" : "TLV", + "endian" : "little", + "format" : "guint32" }, + + { "common-ref" : "WDS PCSCF Address Using PCO", + "name" : "PCSCF Address Using PCO", + "id" : "0x1F", + "type" : "TLV", + "format" : "guint8", + "public-format" : "gboolean" }, + + { "common-ref" : "WDS PCSCF Address Using DHCP", + "name" : "PCSCF Address Using DHCP", + "id" : "0x21", + "type" : "TLV", + "format" : "guint8", + "public-format" : "gboolean" }, + + { "common-ref" : "WDS IMCN Flag", + "name" : "IMCN Flag", + "id" : "0x22", + "type" : "TLV", + "format" : "guint8", + "public-format" : "gboolean" }, + + { "common-ref" : "WDS PDP Context Number", + "name" : "PDP Context Number", + "id" : "0x25", + "type" : "TLV", + "format" : "guint8" }, + + { "common-ref" : "WDS PDP Context Secondary Flag", + "name" : "PDP Context Secondary Flag", + "id" : "0x26", + "type" : "TLV", + "format" : "guint8", + "public-format" : "gboolean" }, + + { "common-ref" : "WDS PDP Context Primary ID", + "name" : "PDP Context Primary ID", + "id" : "0x27", + "type" : "TLV", + "format" : "guint8" }, + + { "common-ref" : "WDS IPv6 Address Preference", + "name" : "IPv6 Address Preference", + "id" : "0x28", + "type" : "TLV", + "format" : "sequence", + "contents" : [ { "name" : "Address", + "format" : "array", + "fixed-size" : "8", + "array-element" : { "format": "guint16", "endian": "network" } } ] }, + + { "common-ref" : "WDS UMTS Requested QoS With Signaling Indication Flag", + "name" : "UMTS Requested QoS With Signaling Indication Flag", + "id" : "0x29", + "type" : "TLV", + "format" : "sequence", + "contents" : [ { "name" : "Traffic Class", + "format" : "guint8", + "public-format" : "QmiWdsTrafficClass" }, + { "name" : "Max uplink bitrate", + "format" : "guint32" }, + { "name" : "Max downlink bitrate", + "format" : "guint32" }, + { "name" : "Guaranteed uplink bitrate", + "format" : "guint32" }, + { "name" : "Guaranteed downlink bitrate", + "format" : "guint32" }, + { "name" : "QoS Delivery Order", + "format" : "guint8", + "public-format" : "QmiWdsDeliveryOrder" }, + { "name" : "Maximum SDU Size", + "format" : "guint32" }, + { "name" : "SDU Error Ratio", + "format" : "guint8", + "public-format" : "QmiWdsSduErrorRatio" }, + { "name" : "Residual Bit Error Ratio", + "format" : "guint8", + "public-format" : "QmiWdsSduResidualBitErrorRatio" }, + { "name" : "Delivery Erroneous SDU", + "format" : "guint8", + "public-format" : "QmiWdsSduErroneousDelivery" }, + { "name" : "Transfer Delay", + "format" : "guint32" }, + { "name" : "Traffic Handling Priority", + "format" : "guint32" }, + { "name" : "Signaling Indication", + "format" : "gint8" } ] }, + + { "common-ref" : "WDS UMTS Minimum QoS With Signaling Indication Flag", + "name" : "UMTS Minimum QoS With Signaling Indication Flag", + "id" : "0x2A", + "type" : "TLV", + "format" : "sequence", + "contents" : [ { "name" : "Traffic Class", + "format" : "guint8", + "public-format" : "QmiWdsTrafficClass" }, + { "name" : "Max uplink bitrate", + "format" : "guint32" }, + { "name" : "Max downlink bitrate", + "format" : "guint32" }, + { "name" : "Guaranteed uplink bitrate", + "format" : "guint32" }, + { "name" : "Guaranteed downlink bitrate", + "format" : "guint32" }, + { "name" : "QoS Delivery Order", + "format" : "guint8", + "public-format" : "QmiWdsDeliveryOrder" }, + { "name" : "Maximum SDU Size", + "format" : "guint32" }, + { "name" : "SDU Error Ratio", + "format" : "guint8", + "public-format" : "QmiWdsSduErrorRatio" }, + { "name" : "Residual Bit Error Ratio", + "format" : "guint8", + "public-format" : "QmiWdsSduResidualBitErrorRatio" }, + { "name" : "Delivery Erroneous SDU", + "format" : "guint8", + "public-format" : "QmiWdsSduErroneousDelivery" }, + { "name" : "Transfer Delay", + "format" : "guint32" }, + { "name" : "Traffic Handling Priority", + "format" : "guint32" }, + { "name" : "Signaling Indication", + "format" : "gint8" } ] }, + + { "common-ref" : "WDS IPv6 Primary DNS Address Preference", + "name" : "IPv6 Primary DNS Address Preference", + "id" : "0x2B", + "type" : "TLV", + "format" : "array", + "fixed-size" : "8", + "array-element" : { "format": "guint16", "endian": "network" } }, + + { "common-ref" : "WDS IPv6 Secondary DNS Address Preference", + "name" : "IPv6 Secondary DNS Address Preference", + "id" : "0x2C", + "type" : "TLV", + "format" : "array", + "fixed-size" : "8", + "array-element" : { "format": "guint16", "endian": "network" } }, + + { "common-ref" : "WDS LTE QoS Parameters", + "name" : "LTE QoS Parameters", + "id" : "0x2E", + "type" : "TLV", + "format" : "sequence", + "contents" : [ { "name" : "QoS Class Identifier", + "format" : "guint8", + "public-format" : "QmiWdsQosClassIdentifier" }, + { "name" : "Guaranteed Downlink Bitrate", + "format" : "guint32" }, + { "name" : "Max Downlink Bitrate", + "format" : "guint32" }, + { "name" : "Guaranteed Uplink Bitrate", + "format" : "guint32" }, + { "name" : "Max Uplink Bitrate", + "format" : "guint32" } ] }, + + { "common-ref" : "WDS APN Disabled Flag", + "name" : "APN Disabled Flag", + "id" : "0x2F", + "type" : "TLV", + "format" : "guint8", + "public-format" : "gboolean" }, + + { "common-ref" : "WDS Roaming Disallowed Flag", + "name" : "Roaming Disallowed Flag", + "id" : "0x3E", + "type" : "TLV", + "format" : "guint8", + "public-format" : "gboolean" }, + + { "common-ref" : "WDS APN Type", + "name" : "APN Type Mask", + "id" : "0xDD", + "type" : "TLV", + "format" : "guint64", + "public-format" : "QmiWdsApnTypeMask" }, + // ********************************************************************************* { "name" : "Reset", "type" : "Message", "service" : "WDS", "id" : "0x0000", - "version" : "1.0", + "since" : "1.0", + "output" : [ { "common-ref" : "Operation Result" } ] }, + + // ********************************************************************************* + { "name" : "Set Event Report", + "type" : "Message", + "service" : "WDS", + "id" : "0x0001", + "since" : "1.18", + "input" : [ { "name" : "Channel Rate", + "id" : "0x10", + "type" : "TLV", + "since" : "1.18", + "format" : "guint8", + "public-format" : "gboolean" }, + { "name" : "Transfer Statistics", + "id" : "0x11", + "type" : "TLV", + "since" : "1.18", + "format" : "sequence", + "contents" : [ { "name" : "Interval Seconds", + "format" : "guint8" }, + { "name" : "Indicators", + "format" : "gint32", + "public-format" : "QmiWdsSetEventReportTransferStatistics" } ] }, + { "name" : "Data Bearer Technology", + "id" : "0x12", + "type" : "TLV", + "since" : "1.18", + "format" : "guint8", + "public-format" : "gboolean" }, + { "name" : "Dormancy Status", + "id" : "0x13", + "type" : "TLV", + "since" : "1.18", + "format" : "guint8", + "public-format" : "gboolean" }, + { "name" : "MIP Status", + "id" : "0x14", + "type" : "TLV", + "since" : "1.18", + "format" : "guint8" }, + { "name" : "Current Data Bearer Technology", + "id" : "0x15", + "type" : "TLV", + "since" : "1.18", + "format" : "guint8", + "public-format" : "gboolean" }, + { "name" : "Data Call Status", + "id" : "0x17", + "type" : "TLV", + "since" : "1.18", + "format" : "guint8", + "public-format" : "gboolean" }, + { "name" : "Preferred Data System", + "id" : "0x18", + "type" : "TLV", + "since" : "1.18", + "format" : "guint8", + "public-format" : "gboolean" }, + { "name" : "EVDO PM Change", + "id" : "0x19", + "type" : "TLV", + "since" : "1.18", + "format" : "guint8", + "public-format" : "gboolean" }, + { "name" : "Data Systems", + "id" : "0x1A", + "type" : "TLV", + "since" : "1.18", + "format" : "guint8", + "public-format" : "gboolean" }, + { "name" : "Uplink Flow Control", + "id" : "0x1B", + "type" : "TLV", + "since" : "1.18", + "format" : "guint8", + "public-format" : "gboolean" }, + { "name" : "Limited Data System Status", + "id" : "0x1C", + "type" : "TLV", + "since" : "1.18", + "format" : "guint8", + "public-format" : "gboolean" }, + { "name" : "PDN Filter Removals", + "id" : "0x1D", + "type" : "TLV", + "since" : "1.18", + "format" : "guint8", + "public-format" : "gboolean" }, + { "name" : "Extended Data Bearer Technology", + "id" : "0x1E", + "type" : "TLV", + "since" : "1.18", + "format" : "guint8", + "public-format" : "gboolean" } ], "output" : [ { "common-ref" : "Operation Result" } ] }, + { "name" : "Event Report", + "type" : "Indication", + "service" : "WDS", + "id" : "0x0001", + "since" : "1.18", + "output" : [ { "name" : "Tx Packets Ok", + "id" : "0x10", + "type" : "TLV", + "since" : "1.18", + "format" : "guint32" }, + { "name" : "Rx Packets Ok", + "id" : "0x11", + "type" : "TLV", + "since" : "1.18", + "format" : "guint32" }, + { "name" : "Tx Packets Error", + "id" : "0x12", + "type" : "TLV", + "since" : "1.18", + "format" : "guint32" }, + { "name" : "Rx Packets Error", + "id" : "0x13", + "type" : "TLV", + "since" : "1.18", + "format" : "guint32" }, + { "name" : "Tx Overflows", + "id" : "0x14", + "type" : "TLV", + "since" : "1.18", + "format" : "guint32" }, + { "name" : "Rx Overflows", + "id" : "0x15", + "type" : "TLV", + "since" : "1.18", + "format" : "guint32" }, + { "name" : "Channel Rates", + "id" : "0x16", + "type" : "TLV", + "since" : "1.18", + "format" : "sequence", + "contents" : [ { "name" : "Tx Rate BPS", + "format" : "gint32" }, + { "name" : "Rx Rate BPS", + "format" : "gint32" } ] }, + { "name" : "Data Bearer Technology", + "id" : "0x17", + "type" : "TLV", + "since" : "1.18", + "format" : "gint8", + "public-format" : "QmiWdsDataBearerTechnology" }, + { "name" : "Dormancy Status", + "id" : "0x18", + "type" : "TLV", + "since" : "1.18", + "format" : "guint8", + "public-format" : "QmiWdsDormancyStatus" }, + { "name" : "Tx Bytes Ok", + "id" : "0x19", + "type" : "TLV", + "since" : "1.18", + "format" : "guint64" }, + { "name" : "Rx Bytes Ok", + "id" : "0x1A", + "type" : "TLV", + "since" : "1.18", + "format" : "guint64" }, + { "name" : "MIP Status", + "id" : "0x1B", + "type" : "TLV", + "since" : "1.18", + "format" : "guint8", + "public-format" : "gboolean" }, + { "name" : "Current Data Bearer Technology", + "id" : "0x1D", + "type" : "TLV", + "since" : "1.18", + "format" : "sequence", + "contents" : [ { "name" : "Network Type", + "format" : "guint8", + "public-format" : "QmiWdsNetworkType" }, + { "name" : "RAT Mask", + "format" : "guint32" }, + { "name" : "SO Mask", + "format" : "guint32" } ] }, + { "name" : "Data Call Status", + "id" : "0x1F", + "type" : "TLV", + "since" : "1.18", + "format" : "guint8", + "public-format" : "QmiWdsDataCallStatus" }, + { "name" : "Preferred Data System", + "id" : "0x20", + "type" : "TLV", + "since" : "1.18", + "format" : "guint32", + "public-format" : "QmiWdsDataSystem" }, + { "name" : "Data Call Type", + "id" : "0x22", + "type" : "TLV", + "since" : "1.18", + "format" : "sequence", + "contents" : [ { "name" : "Data Call Type", + "format" : "guint8", + "public-format" : "QmiWdsDataCallType" }, + { "name" : "Tethered Call Type", + "format" : "guint8", + "public-format" : "QmiWdsTetheredCallType" } ] }, + { "name" : "EVDO Page Monitor Period Change", + "id" : "0x23", + "type" : "TLV", + "since" : "1.18", + "format" : "sequence", + "contents" : [ { "name" : "Period Change", + "format" : "guint8" }, + { "name" : "Force Long Sleep", + "format" : "guint8", + "public-format" : "gboolean" } ] }, + { "name" : "Data Systems", + "id" : "0x24", + "type" : "TLV", + "since" : "1.18", + "format" : "sequence", + "contents" : [ { "name" : "Preferred Network Type", + "format" : "guint8", + "public-format" : "QmiWdsDataSystemNetworkType" }, + { "name" : "Networks", + "format" : "array", + "size-prefix-format" : "guint8", + "array-element" : { "name" : "Network", + "format" : "struct", + "contents" : [ { "name" : "Network Type", + "format" : "guint8", + "public-format" : "QmiWdsDataSystemNetworkType" }, + { "name" : "RAT Mask", + "format" : "guint32" }, + { "name" : "SO Mask", + "format" : "guint32" } ] } } ] }, + { "name" : "Tx Packets Dropped", + "id" : "0x25", + "type" : "TLV", + "since" : "1.18", + "format" : "guint32" }, + { "name" : "Rx Packets Dropped", + "id" : "0x26", + "type" : "TLV", + "since" : "1.18", + "format" : "guint32" }, + { "name" : "Uplink Flow Control Enabled", + "id" : "0x27", + "type" : "TLV", + "since" : "1.18", + "format" : "gint8", + "public-format" : "gboolean" }, + { "name" : "Data Call Address Family", + "id" : "0x28", + "type" : "TLV", + "since" : "1.18", + // Yes, TLV wants a u32 + "format" : "guint32", + "public-format" : "QmiWdsIpFamily" }, + { "name" : "PDN Filters Removed", + "id" : "0x29", + "type" : "TLV", + "since" : "1.18", + "format" : "sequence", + "contents" : [ { "name" : "PDN Filter Handler", + "format" : "array", + "size-prefix-format" : "guint8", + "array-element" : { "format": "guint32" } } ] }, + { "name" : "Extended Data Bearer Technology", + "id" : "0x2A", + "type" : "TLV", + "since" : "1.18", + "format" : "sequence", + "contents" : [ { "name" : "Data Bearer Technology", + "format" : "guint32", + "public-format" : "QmiWdsDataSystemNetworkType" }, + { "name" : "Radio Access Technology", + "format" : "guint32", + "public-format" : "QmiWdsRadioAccessTechnology" }, + { "name" : "Extended Data Bearer Technology 3GPP", + "format" : "guint16", + "public-format" : "QmiWdsExtendedDataBearerTechnology3gpp" }, + { "name" : "Reserved1", + "visible" : "no", + "format" : "guint8" }, + { "name" : "Extended Data Bearer Technology 3GPP2", + "format" : "guint16", + "public-format" : "QmiWdsExtendedDataBearerTechnology3gpp2" }, + { "name" : "Reserved2", + "visible" : "no", + "format" : "guint8" }, + { "name" : "Reserved3", + "visible" : "no", + "format" : "guint8" }, + { "name" : "Reserved4", + "visible" : "no", + "format" : "guint8" } ] } ] }, + // ********************************************************************************* { "name" : "Abort", "type" : "Message", "service" : "WDS", "id" : "0x0002", - "version" : "1.0", + "since" : "1.0", // This magic tag allows us to avoid creating a method in the client "scope" : "library-only", "input" : [ { "name" : "Transaction ID", "id" : "0x01", - "mandatory" : "yes", "type" : "TLV", + "since" : "1.0", "format" : "guint16" } ], "output" : [ { "common-ref" : "Operation Result" } ] }, + // ********************************************************************************* + { "name" : "Get Supported Messages", + "type" : "Message", + "service" : "WDS", + "id" : "0x001E", + "since" : "1.14", + "output" : [ { "common-ref" : "Operation Result" }, + { "name" : "List", + "id" : "0x10", + "type" : "TLV", + "since" : "1.14", + "format" : "array", + "size-prefix-format" : "guint16", + "array-element" : { "format" : "guint8" }, + "prerequisites" : [ { "common-ref" : "Success" } ] } ] }, + // ********************************************************************************* { "name" : "Start Network", "type" : "Message", "service" : "WDS", "id" : "0x0020", - "version" : "1.0", + "since" : "1.0", // This method may be aborted "abort" : "yes", "input" : [ { "name" : "Primary DNS Address Preference", "id" : "0x10", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "guint32" }, { "name" : "Secondary DNS Address Preference", "id" : "0x11", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "guint32" }, { "name" : "Primary NBNS Address Preference", "id" : "0x12", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "guint32" }, { "name" : "Secondary NBNS Address Preference", "id" : "0x13", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "guint32" }, { "name" : "APN", "id" : "0x14", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "string" }, { "name" : "IPv4 Address Preference", "id" : "0x15", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "guint32" }, { "name" : "Authentication Preference", "id" : "0x16", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "guint8", "public-format" : "QmiWdsAuthentication" }, { "name" : "Username", "id" : "0x17", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "string" }, { "name" : "Password", "id" : "0x18", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "string" }, { "name" : "IP Family Preference", "id" : "0x19", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "guint8", "public-format" : "QmiWdsIpFamily" }, { "name" : "Technology Preference", "id" : "0x30", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "guint8", "public-format" : "QmiWdsTechnologyPreference" }, { "name" : "Profile Index 3GPP", "id" : "0x31", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "guint8" }, { "name" : "Profile Index 3GPP2", "id" : "0x32", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "guint8" }, { "name" : "Enable Autoconnect", "id" : "0x33", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "guint8", "public-format" : "gboolean" }, { "name" : "Extended Technology Preference", "id" : "0x34", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", + // Note: docs give this as gint16 with negative enum values. Instead, we use + // guint16 with equivalent positive enum values. "format" : "guint16", "public-format" : "QmiWdsExtendedTechnologyPreference" }, { "name" : "Call Type", "id" : "0x35", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "guint8", "public-format" : "QmiWdsCallType" } ], "output" : [ { "common-ref" : "Operation Result" }, { "name" : "Packet Data Handle", "id" : "0x01", - "mandatory" : "yes", "type" : "TLV", + "since" : "1.0", "format" : "guint32", "prerequisites": [ { "common-ref" : "Success" } ] }, { "name" : "Call End Reason", "id" : "0x10", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "guint16", "public-format" : "QmiWdsCallEndReason", "prerequisites" : [ { "field" : "Result.Error Status", @@ -150,8 +845,8 @@ "value" : "QMI_PROTOCOL_ERROR_CALL_FAILED" } ] }, { "name" : "Verbose Call End Reason", "id" : "0x11", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "sequence", "contents" : [ { "name" : "Type", "format" : "guint16", @@ -170,16 +865,16 @@ "type" : "Message", "service" : "WDS", "id" : "0x0021", - "version" : "1.0", + "since" : "1.0", "input" : [ { "name" : "Packet Data Handle", "id" : "0x01", - "mandatory" : "yes", "type" : "TLV", + "since" : "1.0", "format" : "guint32" }, { "name" : "Disable Autoconnect", "id" : "0x10", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "guint8", "public-format" : "gboolean" } ], "output" : [ { "common-ref" : "Operation Result" } ] }, @@ -189,119 +884,433 @@ "type" : "Message", "service" : "WDS", "id" : "0x0022", - "version" : "1.0", + "since" : "1.0", "output" : [ { "common-ref" : "Operation Result" }, { "name" : "Connection Status", "id" : "0x01", - "mandatory" : "yes", "type" : "TLV", + "since" : "1.0", "format" : "guint8", "public-format" : "QmiWdsConnectionStatus", "prerequisites" : [ { "common-ref" : "Success" } ] } ] }, + { "name" : "Packet Service Status", + "type" : "Indication", + "service" : "WDS", + "id" : "0x0022", + "since" : "1.14", + "output" : [ { "name" : "Connection Status", + "id" : "0x01", + "type" : "TLV", + "since" : "1.14", + "format" : "sequence", + "contents" : [ { "name" : "Status", + "format" : "guint8", + "public-format" : "QmiWdsConnectionStatus" }, + { "name" : "Reconfiguration Required", + "format" : "guint8", + "public-format" : "gboolean" } ] }, + { "name" : "Call End Reason", + "id" : "0x10", + "type" : "TLV", + "since" : "1.14", + "format" : "guint16", + "public-format" : "QmiWdsCallEndReason" }, + { "name" : "Verbose Call End Reason", + "id" : "0x11", + "type" : "TLV", + "since" : "1.14", + "format" : "sequence", + "contents" : [ { "name" : "Type", + "format" : "guint16", + "public-format" : "QmiWdsVerboseCallEndReasonType" }, + { "name" : "Reason", + "format" : "gint16" } ] }, + { "name" : "IP Family", + "id" : "0x12", + "type" : "TLV", + "since" : "1.14", + "format" : "guint8", + "public-format" : "QmiWdsIpFamily" }, + { "name" : "Extended Technology Preference", + "id" : "0x34", + "type" : "TLV", + "since" : "1.14", + // Note: docs give this as gint16 with negative enum values. Instead, we use + // guint16 with equivalent positive enum values. + "format" : "guint16", + "public-format" : "QmiWdsExtendedTechnologyPreference" } ] }, + + // ********************************************************************************* + { "name" : "Get Channel Rates", + "type" : "Message", + "service" : "WDS", + "id" : "0x0023", + "since" : "1.20", + "output" : [ { "common-ref" : "Operation Result" }, + { "name" : "Channel Rates", + "id" : "0x01", + "type" : "TLV", + "since" : "1.0", + "format" : "sequence", + "contents" : [ { "name" : "Channel TX Rate BPS", + "format" : "guint32" }, + { "name" : "Channel RX Rate BPS", + "format" : "guint32" }, + { "name" : "Max Channel TX Rate BPS", + "format" : "guint32" }, + { "name" : "Max Channel RX Rate BPS", + "format" : "guint32" } ] } ] }, + // ********************************************************************************* { "name" : "Get Packet Statistics", "type" : "Message", "service" : "WDS", "id" : "0x0024", - "version" : "1.0", + "since" : "1.6", "input" : [ { "name" : "Mask", "id" : "0x01", - "mandatory" : "yes", "type" : "TLV", + "since" : "1.6", "format" : "guint32", "public-format" : "QmiWdsPacketStatisticsMaskFlag" } ], "output" : [ { "common-ref" : "Operation Result" }, { "name" : "Tx Packets Ok", "id" : "0x10", - "mandatory" : "no", "type" : "TLV", + "since" : "1.6", "format" : "guint32", "prerequisites" : [ { "common-ref" : "Success" } ] }, { "name" : "Rx Packets Ok", "id" : "0x11", - "mandatory" : "no", "type" : "TLV", + "since" : "1.6", "format" : "guint32", "prerequisites" : [ { "common-ref" : "Success" } ] }, { "name" : "Tx Packets Error", "id" : "0x12", - "mandatory" : "no", "type" : "TLV", + "since" : "1.6", "format" : "guint32", "prerequisites" : [ { "common-ref" : "Success" } ] }, { "name" : "Rx Packets Error", "id" : "0x13", - "mandatory" : "no", "type" : "TLV", + "since" : "1.6", "format" : "guint32", "prerequisites" : [ { "common-ref" : "Success" } ] }, { "name" : "Tx Overflows", "id" : "0x14", - "mandatory" : "no", "type" : "TLV", + "since" : "1.6", "format" : "guint32", "prerequisites" : [ { "common-ref" : "Success" } ] }, { "name" : "Rx Overflows", "id" : "0x15", - "mandatory" : "no", "type" : "TLV", + "since" : "1.6", "format" : "guint32", "prerequisites" : [ { "common-ref" : "Success" } ] }, { "name" : "Tx Bytes Ok", "id" : "0x19", - "mandatory" : "no", "type" : "TLV", + "since" : "1.6", "format" : "guint64", "prerequisites" : [ { "common-ref" : "Success" } ] }, { "name" : "Rx Bytes Ok", "id" : "0x1A", - "mandatory" : "no", "type" : "TLV", + "since" : "1.6", "format" : "guint64", "prerequisites" : [ { "common-ref" : "Success" } ] }, + // Note: last call TX/RX given along with QMI Error 'out of call' { "name" : "Last Call Tx Bytes Ok", "id" : "0x1B", - "mandatory" : "no", "type" : "TLV", - "format" : "guint64", - "prerequisites" : [ { "common-ref" : "Success" } ] }, + "since" : "1.6", + "format" : "guint64" }, { "name" : "Last Call Rx Bytes Ok", "id" : "0x1C", - "mandatory" : "no", "type" : "TLV", - "format" : "guint64", - "prerequisites" : [ { "common-ref" : "Success" } ] }, + "since" : "1.6", + "format" : "guint64" }, { "name" : "Tx Packets Dropped", "id" : "0x1D", - "mandatory" : "no", "type" : "TLV", + "since" : "1.6", "format" : "guint32", "prerequisites" : [ { "common-ref" : "Success" } ] }, { "name" : "Rx Packets Dropped", "id" : "0x1E", - "mandatory" : "no", "type" : "TLV", + "since" : "1.6", "format" : "guint32", "prerequisites" : [ { "common-ref" : "Success" } ] } ] }, + // ********************************************************************************* + { "name" : "Go Dormant", + "type" : "Message", + "service" : "WDS", + "id" : "0x0025", + "since" : "1.18", + "output" : [ { "common-ref" : "Operation Result" } ] }, + + // ********************************************************************************* + { "name" : "Go Active", + "type" : "Message", + "service" : "WDS", + "id" : "0x0026", + "since" : "1.18", + "output" : [ { "common-ref" : "Operation Result" } ] }, + + // ********************************************************************************* + { "name" : "Create Profile", + "type" : "Message", + "service" : "WDS", + "id" : "0x0027", + "since" : "1.18", + "input" : [ { "name" : "Profile Type", + "id" : "0x01", + "type" : "TLV", + "since" : "1.18", + "format" : "guint8", + "public-format" : "QmiWdsProfileType" }, + { "common-ref" : "WDS Profile Name", + "since" : "1.18" }, + { "common-ref" : "WDS PDP Type", + "since" : "1.18" }, + { "common-ref" : "WDS PDP Header Compression Type", + "since" : "1.18" }, + { "common-ref" : "WDS PDP Data Compression Type", + "since" : "1.18" }, + { "common-ref" : "WDS APN Name", + "since" : "1.18" }, + { "common-ref" : "WDS Primary IPv4 DNS Address", + "since" : "1.18" }, + { "common-ref" : "WDS Secondary IPv4 DNS Address", + "since" : "1.18" }, + { "common-ref" : "WDS UMTS Requested QoS", + "since" : "1.18" }, + { "common-ref" : "WDS UMTS Minimum QoS", + "since" : "1.18" }, + { "common-ref" : "WDS GPRS Requested QoS", + "since" : "1.18" }, + { "common-ref" : "WDS GPRS Minimum QoS", + "since" : "1.18" }, + { "common-ref" : "WDS Username", + "since" : "1.18" }, + { "common-ref" : "WDS Password", + "since" : "1.18" }, + { "common-ref" : "WDS Authentication", + "since" : "1.18" }, + { "common-ref" : "WDS IPv4 Address Preference", + "since" : "1.18" }, + { "common-ref" : "WDS PCSCF Address Using PCO", + "since" : "1.18" }, + // 0x20, PDP access control flag + { "common-ref" : "WDS PCSCF Address Using DHCP", + "since" : "1.18" }, + { "common-ref" : "WDS IMCN Flag", + "since" : "1.18" }, + // 0x23, TFT ID1 Parameters + // 0x24, TFT ID2 Parameters + { "common-ref" : "WDS PDP Context Number", + "since" : "1.18" }, + { "common-ref" : "WDS PDP Context Secondary Flag", + "since" : "1.18" }, + { "common-ref" : "WDS PDP Context Primary ID", + "since" : "1.18" }, + { "common-ref" : "WDS IPv6 Address Preference", + "since" : "1.18" }, + { "common-ref" : "WDS UMTS Requested QoS With Signaling Indication Flag", + "since" : "1.18" }, + { "common-ref" : "WDS UMTS Minimum QoS With Signaling Indication Flag", + "since" : "1.18" }, + { "common-ref" : "WDS IPv6 Primary DNS Address Preference", + "since" : "1.18" }, + { "common-ref" : "WDS IPv6 Secondary DNS Address Preference", + "since" : "1.18" }, + // 0x2D, DHCP/NAS Preference + { "common-ref" : "WDS LTE QoS Parameters", + "since" : "1.18" }, + { "common-ref" : "WDS APN Disabled Flag", + "since" : "1.22" }, + // 0x30, PDN inactivity timeout + // 0x31, APN class + { "common-ref" : "WDS Roaming Disallowed Flag", + "since" : "1.22" }, + // 0x90, Negotiate DNS server preference + // 0x91, PPP session close timer for DO + // 0x92, PPP session close timer for 1X + // 0x93, Allow/disallow lingering of interface + // 0x94, LCP ACK timeout + // 0x95, IPCP ACK timeout + // 0x96, AUTH timeout + // 0x97, LCP configuration request retry count value + // 0x98, IPCP configuration request retry count value + // 0x99, Authentication retry + // 0x9A, Authentication protocol, + // 0x9B, User ID + // 0x9C, Authentication password + // 0x9D, Data rate + // 0x9E, Application type + // 0x9F, Data mode + // 0xA0, Application priority + // 0xA1, APN string + // 0xA2, PDN type + // 0xA3, Is PCSCF address needed + // 0xA4, IPv4 Primary DNS address + // 0xA5, IPv4 Secondary DNS address + // 0xA6, IPv6 Primary DNS address + // 0xA7, IPv6 Secondary DNS address + // 0xA8, RAT type + // 0xA9, APN enabled + // 0xAA, PDN inactivity timeout + // 0xAB, APN class + { "common-ref" : "WDS APN Type", + "since" : "1.30" } ], + "output" : [ { "common-ref" : "Operation Result" }, + { "common-ref" : "WDS Profile Identifier", + "since" : "1.18", + "prerequisites" : [ { "common-ref" : "Success" } ] }, + { "common-ref" : "WDS Extended Error Code", + "since" : "1.18" } ] }, + + // ********************************************************************************* + { "name" : "Modify Profile", + "type" : "Message", + "service" : "WDS", + "id" : "0x0028", + "since" : "1.18", + "input" : [ { "common-ref" : "WDS Profile Identifier", + "since" : "1.18" }, + { "common-ref" : "WDS Profile Name", + "since" : "1.18" }, + { "common-ref" : "WDS PDP Type", + "since" : "1.18" }, + { "common-ref" : "WDS PDP Header Compression Type", + "since" : "1.18" }, + { "common-ref" : "WDS PDP Data Compression Type", + "since" : "1.18" }, + { "common-ref" : "WDS APN Name", + "since" : "1.18" }, + { "common-ref" : "WDS Primary IPv4 DNS Address", + "since" : "1.18" }, + { "common-ref" : "WDS Secondary IPv4 DNS Address", + "since" : "1.18" }, + { "common-ref" : "WDS UMTS Requested QoS", + "since" : "1.18" }, + { "common-ref" : "WDS UMTS Minimum QoS", + "since" : "1.18" }, + { "common-ref" : "WDS GPRS Requested QoS", + "since" : "1.18" }, + { "common-ref" : "WDS GPRS Minimum QoS", + "since" : "1.18" }, + { "common-ref" : "WDS Username", + "since" : "1.18" }, + { "common-ref" : "WDS Password", + "since" : "1.18" }, + { "common-ref" : "WDS Authentication", + "since" : "1.18" }, + { "common-ref" : "WDS IPv4 Address Preference", + "since" : "1.18" }, + { "common-ref" : "WDS PCSCF Address Using PCO", + "since" : "1.18" }, + // 0x20, PDP access control flag + { "common-ref" : "WDS PCSCF Address Using DHCP", + "since" : "1.18" }, + { "common-ref" : "WDS IMCN Flag", + "since" : "1.18" }, + // 0x23, TFT ID1 Parameters + // 0x24, TFT ID2 Parameters + { "common-ref" : "WDS PDP Context Number", + "since" : "1.18" }, + { "common-ref" : "WDS PDP Context Secondary Flag", + "since" : "1.18" }, + { "common-ref" : "WDS PDP Context Primary ID", + "since" : "1.18" }, + { "common-ref" : "WDS IPv6 Address Preference", + "since" : "1.18" }, + { "common-ref" : "WDS UMTS Requested QoS With Signaling Indication Flag", + "since" : "1.18" }, + { "common-ref" : "WDS UMTS Minimum QoS With Signaling Indication Flag", + "since" : "1.18" }, + { "common-ref" : "WDS IPv6 Primary DNS Address Preference", + "since" : "1.18" }, + { "common-ref" : "WDS IPv6 Secondary DNS Address Preference", + "since" : "1.18" }, + // 0x2D, DHCP/NAS Preference + { "common-ref" : "WDS LTE QoS Parameters", + "since" : "1.18" }, + { "common-ref" : "WDS APN Disabled Flag", + "since" : "1.22" }, + // 0x30, PDN inactivity timeout + // 0x31, APN class + { "common-ref" : "WDS Roaming Disallowed Flag", + "since" : "1.22" }, + // 0x90, Negotiate DNS server preference + // 0x91, PPP session close timer for DO + // 0x92, PPP session close timer for 1X + // 0x93, Allow/disallow lingering of interface + // 0x94, LCP ACK timeout + // 0x95, IPCP ACK timeout + // 0x96, AUTH timeout + // 0x97, LCP configuration request retry count value + // 0x98, IPCP configuration request retry count value + // 0x99, Authentication retry + // 0x9A, Authentication protocol, + // 0x9B, User ID + // 0x9C, Authentication password + // 0x9D, Data rate + // 0x9E, Application type + // 0x9F, Data mode + // 0xA0, Application priority + // 0xA1, APN string + // 0xA2, PDN type + // 0xA3, Is PCSCF address needed + // 0xA4, IPv4 Primary DNS address + // 0xA5, IPv4 Secondary DNS address + // 0xA6, IPv6 Primary DNS address + // 0xA7, IPv6 Secondary DNS address + // 0xA8, RAT type + // 0xA9, APN enabled + // 0xAA, PDN inactivity timeout + // 0xAB, APN class + { "common-ref" : "WDS APN Type", + "since" : "1.30" } ], + "output" : [ { "common-ref" : "Operation Result" }, + { "common-ref" : "WDS Extended Error Code", + "since" : "1.18" } ] }, + + // ********************************************************************************* + { "name" : "Delete Profile", + "type" : "Message", + "service" : "WDS", + "id" : "0x0029", + "since" : "1.18", + "input" : [ { "common-ref" : "WDS Profile Identifier", + "since" : "1.18" } ], + "output" : [ { "common-ref" : "Operation Result" }, + { "common-ref" : "WDS Extended Error Code", + "since" : "1.18" } ] }, + // ********************************************************************************* { "name" : "Get Profile List", "type" : "Message", "service" : "WDS", "id" : "0x002A", - "version" : "1.1", + "since" : "1.8", "input" : [ { "name" : "Profile Type", "id" : "0x10", - "mandatory" : "no", "type" : "TLV", + "since" : "1.8", "format" : "guint8", "public-format" : "QmiWdsProfileType" } ], "output" : [ { "common-ref" : "Operation Result" }, { "name" : "Profile List", "id" : "0x01", - "mandatory" : "yes", "type" : "TLV", + "since" : "1.8", "format" : "array", "array-element" : { "name" : "Profile", "format" : "struct", @@ -313,188 +1322,119 @@ { "name" : "Profile Name", "format" : "string" } ] }, "prerequisites" : [ { "common-ref" : "Success" } ] }, - { "name" : "Extended Error Code", - "id" : "0xE0", - "mandatory" : "no", - "type" : "TLV", - "format" : "guint16", - "public-format" : "QmiWdsDsProfileError", - "prerequisites" : [ { "field" : "Result.Error Status", - "operation" : "!=", - "value" : "QMI_STATUS_SUCCESS" }, - { "field" : "Result.Error Code", - "operation" : "==", - "value" : "QMI_PROTOCOL_ERROR_EXTENDED_INTERNAL" } ] } ] }, + { "common-ref" : "WDS Extended Error Code", + "since" : "1.8" } ] }, // ********************************************************************************* { "name" : "Get Profile Settings", "type" : "Message", "service" : "WDS", "id" : "0x002B", - "version" : "1.1", + "since" : "1.8", "input" : [ { "name" : "Profile ID", "id" : "0x01", - "mandatory" : "yes", "type" : "TLV", + "since" : "1.8", "format" : "sequence", "contents" : [ { "name" : "Profile Type", "format" : "guint8", "public-format" : "QmiWdsProfileType" }, { "name" : "Profile Index", "format" : "guint8" } ] } ], - "output" : [ { "common-ref" : "Operation Result" }, - { "name" : "Profile Name", - "id" : "0x10", - "mandatory" : "no", - "type" : "TLV", - "format" : "string", + "output" : [ { "common-ref" : "Operation Result" }, + { "common-ref" : "WDS Profile Name", + "since" : "1.8", "prerequisites" : [ { "common-ref" : "Success" } ] }, - { "name" : "PDP Type", - "id" : "0x11", - "mandatory" : "no", - "type" : "TLV", - "format" : "guint8", - "public-format" : "QmiWdsPdpType", + { "common-ref" : "WDS PDP Type", + "since" : "1.8", "prerequisites" : [ { "common-ref" : "Success" } ] }, - { "name" : "APN Name", - "id" : "0x14", - "mandatory" : "no", - "type" : "TLV", - "format" : "string", + { "common-ref" : "WDS PDP Header Compression Type", + "since" : "1.18", "prerequisites" : [ { "common-ref" : "Success" } ] }, - { "name" : "Primary IPv4 DNS Address", - "id" : "0x15", - "mandatory" : "no", - "type" : "TLV", - "endian" : "little", - "format" : "guint32", + { "common-ref" : "WDS PDP Data Compression Type", + "since" : "1.18", "prerequisites" : [ { "common-ref" : "Success" } ] }, - { "name" : "Secondary IPv4 DNS Address", - "id" : "0x16", - "mandatory" : "no", - "type" : "TLV", - "endian" : "little", - "format" : "guint32", + { "common-ref" : "WDS APN Name", + "since" : "1.8", "prerequisites" : [ { "common-ref" : "Success" } ] }, - // 0x17 UMTS Requested QoS - // 0x18 UMTS Minimum QoS - { "name" : "GPRS Requested QoS", - "id" : "0x19", - "mandatory" : "no", - "type" : "TLV", - "format" : "sequence", - "contents" : [ { "name" : "Precedence Class", - "format" : "guint32" }, - { "name" : "Delay Class", - "format" : "guint32" }, - { "name" : "Reliability Class", - "format" : "guint32" }, - { "name" : "Peak Throughput Class", - "format" : "guint32" }, - { "name" : "Mean Throughput Class", - "format" : "guint32" } ], + { "common-ref" : "WDS Primary IPv4 DNS Address", + "since" : "1.8", "prerequisites" : [ { "common-ref" : "Success" } ] }, - { "name" : "GPRS Minimum QoS", - "id" : "0x1A", - "mandatory" : "no", - "type" : "TLV", - "format" : "sequence", - "contents" : [ { "name" : "Precedence Class", - "format" : "guint32" }, - { "name" : "Delay Class", - "format" : "guint32" }, - { "name" : "Reliability Class", - "format" : "guint32" }, - { "name" : "Peak Throughput Class", - "format" : "guint32" }, - { "name" : "Mean Throughput Class", - "format" : "guint32" } ], + { "common-ref" : "WDS Secondary IPv4 DNS Address", + "since" : "1.8", "prerequisites" : [ { "common-ref" : "Success" } ] }, - { "name" : "Username", - "id" : "0x1B", - "mandatory" : "no", - "type" : "TLV", - "format" : "string", + { "common-ref" : "WDS UMTS Requested QoS", + "since" : "1.18", "prerequisites" : [ { "common-ref" : "Success" } ] }, - { "name" : "Password", - "id" : "0x1C", - "mandatory" : "no", - "type" : "TLV", - "format" : "string", + { "common-ref" : "WDS UMTS Minimum QoS", + "since" : "1.18", "prerequisites" : [ { "common-ref" : "Success" } ] }, - { "name" : "Authentication", - "id" : "0x1D", - "mandatory" : "no", - "type" : "TLV", - "format" : "guint8", - "public-format" : "QmiWdsAuthentication", + { "common-ref" : "WDS GPRS Requested QoS", + "since" : "1.8", "prerequisites" : [ { "common-ref" : "Success" } ] }, - { "name" : "IPv4 Address Preference", - "id" : "0x1E", - "mandatory" : "no", - "type" : "TLV", - "endian" : "little", - "format" : "guint32", + { "common-ref" : "WDS GPRS Minimum QoS", + "since" : "1.8", "prerequisites" : [ { "common-ref" : "Success" } ] }, - { "name" : "PCSCF Address Using PCO", - "id" : "0x1F", - "mandatory" : "no", - "type" : "TLV", - "format" : "guint8", - "public-format" : "gboolean", + { "common-ref" : "WDS Username", + "since" : "1.8", + "prerequisites" : [ { "common-ref" : "Success" } ] }, + { "common-ref" : "WDS Password", + "since" : "1.8", + "prerequisites" : [ { "common-ref" : "Success" } ] }, + { "common-ref" : "WDS Authentication", + "since" : "1.8", + "prerequisites" : [ { "common-ref" : "Success" } ] }, + { "common-ref" : "WDS IPv4 Address Preference", + "since" : "1.8", + "prerequisites" : [ { "common-ref" : "Success" } ] }, + { "common-ref" : "WDS PCSCF Address Using PCO", + "since" : "1.8", "prerequisites" : [ { "common-ref" : "Success" } ] }, // 0x20, PDP access control flag - { "name" : "PCSCF Address Using DHCP", - "id" : "0x21", - "mandatory" : "no", - "type" : "TLV", - "format" : "guint8", - "public-format" : "gboolean", + { "common-ref" : "WDS PCSCF Address Using DHCP", + "since" : "1.8", "prerequisites" : [ { "common-ref" : "Success" } ] }, - { "name" : "IMCN Flag", - "id" : "0x22", - "mandatory" : "no", - "type" : "TLV", - "format" : "guint8", - "public-format" : "gboolean", + { "common-ref" : "WDS IMCN Flag", + "since" : "1.8", "prerequisites" : [ { "common-ref" : "Success" } ] }, // 0x23, TFT ID1 Parameters // 0x24, TFT ID2 Parameters - // 0x25, PDP context number - // 0x26, PDP context secondary flag - // 0x27, PDP context primary id - { "name" : "IPv6 Address Preference", - "id" : "0x28", - "mandatory" : "no", - "type" : "TLV", - "format" : "sequence", - "contents" : [ { "name" : "Address", - "format" : "array", - "fixed-size" : "8", - "array-element" : { "format": "guint16", "endian": "network" } } ] }, - // 0x29, UMTS requested QoS with Signaling Indication Flag - // 0x2A, UMTS minimum QoS with Signaling Indication Flag - { "name" : "IPv6 Primary DNS Address Preference", - "id" : "0x2B", - "mandatory" : "no", - "type" : "TLV", - "format" : "array", - "fixed-size": "8", - "array-element" : { "format": "guint16", "endian": "network" }, + { "common-ref" : "WDS PDP Context Number", + "since" : "1.18", "prerequisites" : [ { "common-ref" : "Success" } ] }, - { "name" : "IPv6 Secondary DNS Address Preference", - "id" : "0x2C", - "mandatory" : "no", - "type" : "TLV", - "format" : "array", - "fixed-size": "8", - "array-element" : { "format": "guint16", "endian": "network" }, + { "common-ref" : "WDS PDP Context Secondary Flag", + "since" : "1.18", + "prerequisites" : [ { "common-ref" : "Success" } ] }, + { "common-ref" : "WDS PDP Context Primary ID", + "since" : "1.18", + "prerequisites" : [ { "common-ref" : "Success" } ] }, + { "common-ref" : "WDS IPv6 Address Preference", + "since" : "1.8", + "prerequisites" : [ { "common-ref" : "Success" } ] }, + { "common-ref" : "WDS UMTS Requested QoS With Signaling Indication Flag", + "since" : "1.18", + "prerequisites" : [ { "common-ref" : "Success" } ] }, + { "common-ref" : "WDS UMTS Minimum QoS With Signaling Indication Flag", + "since" : "1.18", + "prerequisites" : [ { "common-ref" : "Success" } ] }, + { "common-ref" : "WDS IPv6 Primary DNS Address Preference", + "since" : "1.8", + "prerequisites" : [ { "common-ref" : "Success" } ] }, + { "common-ref" : "WDS IPv6 Secondary DNS Address Preference", + "since" : "1.8", "prerequisites" : [ { "common-ref" : "Success" } ] }, // 0x2D, DHCP/NAS Preference - // 0x2E, 3GPP LTE QoS Parameters - // 0x2F, APN disabled flag + { "common-ref" : "WDS LTE QoS Parameters", + "since" : "1.18", + "prerequisites" : [ { "common-ref" : "Success" } ] }, + { "common-ref" : "WDS APN Disabled Flag", + "since" : "1.22", + "prerequisites" : [ { "common-ref" : "Success" } ] }, // 0x30, PDN inactivity timeout // 0x31, APN class + { "common-ref" : "WDS Roaming Disallowed Flag", + "since" : "1.22", + "prerequisites" : [ { "common-ref" : "Success" } ] }, // 0x90, Negotiate DNS server preference // 0x91, PPP session close timer for DO // 0x92, PPP session close timer for 1X @@ -523,181 +1463,110 @@ // 0xA9, APN enabled // 0xAA, PDN inactivity timeout // 0xAB, APN class - { "name" : "Extended Error Code", - "id" : "0xE0", - "mandatory" : "no", - "type" : "TLV", - "format" : "guint16", - "public-format" : "QmiWdsDsProfileError", - "prerequisites" : [ { "field" : "Result.Error Status", - "operation" : "!=", - "value" : "QMI_STATUS_SUCCESS" }, - { "field" : "Result.Error Code", - "operation" : "==", - "value" : "QMI_PROTOCOL_ERROR_EXTENDED_INTERNAL" } ] } ] }, + { "common-ref" : "WDS APN Type", + "since" : "1.30", + "prerequisites" : [ { "common-ref" : "Success" } ] }, + { "common-ref" : "WDS Extended Error Code", + "since" : "1.8" } ] }, // ********************************************************************************* { "name" : "Get Default Settings", "type" : "Message", "service" : "WDS", "id" : "0x002C", - "version" : "1.1", + "since" : "1.8", "input" : [ { "name" : "Profile Type", "id" : "0x01", - "mandatory" : "yes", "type" : "TLV", + "since" : "1.8", "format" : "guint8", "public-format" : "QmiWdsProfileType" } ], "output" : [ { "common-ref" : "Operation Result" }, - { "name" : "Profile Name", - "id" : "0x10", - "mandatory" : "no", - "type" : "TLV", - "format" : "string", + { "common-ref" : "WDS Profile Name", + "since" : "1.8", + "prerequisites" : [ { "common-ref" : "Success" } ] }, + { "common-ref" : "WDS PDP Type", + "since" : "1.8", "prerequisites" : [ { "common-ref" : "Success" } ] }, - { "name" : "PDP Type", - "id" : "0x11", - "mandatory" : "no", - "type" : "TLV", - "format" : "guint8", - "public-format" : "QmiWdsPdpType", + { "common-ref" : "WDS PDP Header Compression Type", + "since" : "1.18", "prerequisites" : [ { "common-ref" : "Success" } ] }, - { "name" : "APN Name", - "id" : "0x14", - "mandatory" : "no", - "type" : "TLV", - "format" : "string", + { "common-ref" : "WDS PDP Data Compression Type", + "since" : "1.18", "prerequisites" : [ { "common-ref" : "Success" } ] }, - { "name" : "Primary IPv4 DNS Address", - "id" : "0x15", - "mandatory" : "no", - "type" : "TLV", - "endian" : "little", - "format" : "guint32", + { "common-ref" : "WDS APN Name", + "since" : "1.8", "prerequisites" : [ { "common-ref" : "Success" } ] }, - { "name" : "Secondary IPv4 DNS Address", - "id" : "0x16", - "mandatory" : "no", - "type" : "TLV", - "endian" : "little", - "format" : "guint32", + { "common-ref" : "WDS Primary IPv4 DNS Address", + "since" : "1.8", "prerequisites" : [ { "common-ref" : "Success" } ] }, - // 0x17 UMTS Requested QoS - // 0x18 UMTS Minimum QoS - { "name" : "GPRS Requested QoS", - "id" : "0x19", - "mandatory" : "no", - "type" : "TLV", - "format" : "sequence", - "contents" : [ { "name" : "Precedence Class", - "format" : "guint32" }, - { "name" : "Delay Class", - "format" : "guint32" }, - { "name" : "Reliability Class", - "format" : "guint32" }, - { "name" : "Peak Throughput Class", - "format" : "guint32" }, - { "name" : "Mean Throughput Class", - "format" : "guint32" } ], + { "common-ref" : "WDS Secondary IPv4 DNS Address", + "since" : "1.8", "prerequisites" : [ { "common-ref" : "Success" } ] }, - { "name" : "GPRS Minimum QoS", - "id" : "0x1A", - "mandatory" : "no", - "type" : "TLV", - "format" : "sequence", - "contents" : [ { "name" : "Precedence Class", - "format" : "guint32" }, - { "name" : "Delay Class", - "format" : "guint32" }, - { "name" : "Reliability Class", - "format" : "guint32" }, - { "name" : "Peak Throughput Class", - "format" : "guint32" }, - { "name" : "Mean Throughput Class", - "format" : "guint32" } ], + { "common-ref" : "WDS UMTS Requested QoS", + "since" : "1.18", "prerequisites" : [ { "common-ref" : "Success" } ] }, - { "name" : "Username", - "id" : "0x1B", - "mandatory" : "no", - "type" : "TLV", - "format" : "string", + { "common-ref" : "WDS UMTS Minimum QoS", + "since" : "1.18", "prerequisites" : [ { "common-ref" : "Success" } ] }, - { "name" : "Password", - "id" : "0x1C", - "mandatory" : "no", - "type" : "TLV", - "format" : "string", + { "common-ref" : "WDS GPRS Requested QoS", + "since" : "1.8", "prerequisites" : [ { "common-ref" : "Success" } ] }, - { "name" : "Authentication", - "id" : "0x1D", - "mandatory" : "no", - "type" : "TLV", - "format" : "guint8", - "public-format" : "QmiWdsAuthentication", + { "common-ref" : "WDS GPRS Minimum QoS", + "since" : "1.8", "prerequisites" : [ { "common-ref" : "Success" } ] }, - { "name" : "IPv4 Address Preference", - "id" : "0x1E", - "mandatory" : "no", - "type" : "TLV", - "endian" : "little", - "format" : "guint32", + { "common-ref" : "WDS Username", + "since" : "1.8", "prerequisites" : [ { "common-ref" : "Success" } ] }, - { "name" : "PCSCF Address Using PCO", - "id" : "0x1F", - "mandatory" : "no", - "type" : "TLV", - "format" : "guint8", - "public-format" : "gboolean", + { "common-ref" : "WDS Password", + "since" : "1.8", + "prerequisites" : [ { "common-ref" : "Success" } ] }, + { "common-ref" : "WDS Authentication", + "since" : "1.8", + "prerequisites" : [ { "common-ref" : "Success" } ] }, + { "common-ref" : "WDS IPv4 Address Preference", + "since" : "1.8", + "prerequisites" : [ { "common-ref" : "Success" } ] }, + { "common-ref" : "WDS PCSCF Address Using PCO", + "since" : "1.8", "prerequisites" : [ { "common-ref" : "Success" } ] }, // 0x20, PDP access control flag - { "name" : "PCSCF Address Using DHCP", - "id" : "0x21", - "mandatory" : "no", - "type" : "TLV", - "format" : "guint8", - "public-format" : "gboolean", + { "common-ref" : "WDS PCSCF Address Using DHCP", + "since" : "1.8", "prerequisites" : [ { "common-ref" : "Success" } ] }, - { "name" : "IMCN Flag", - "id" : "0x22", - "mandatory" : "no", - "type" : "TLV", - "format" : "guint8", - "public-format" : "gboolean", + { "common-ref" : "WDS IMCN Flag", + "since" : "1.8", "prerequisites" : [ { "common-ref" : "Success" } ] }, // 0x23, TFT ID1 Parameters // 0x24, TFT ID2 Parameters - // 0x25, PDP context number - // 0x26, PDP context secondary flag - // 0x27, PDP context primary id - { "name" : "IPv6 Address Preference", - "id" : "0x28", - "mandatory" : "no", - "type" : "TLV", - "format" : "sequence", - "contents" : [ { "name" : "Address", - "format" : "array", - "fixed-size" : "8", - "array-element" : { "format": "guint16", "endian": "network" } } ] }, - // 0x29, UMTS requested QoS with Signaling Indication Flag - // 0x2A, UMTS minimum QoS with Signaling Indication Flag - { "name" : "IPv6 Primary DNS Address Preference", - "id" : "0x2B", - "mandatory" : "no", - "type" : "TLV", - "format" : "array", - "fixed-size": "8", - "array-element" : { "format": "guint16", "endian": "network" }, + { "common-ref" : "WDS PDP Context Number", + "since" : "1.18", "prerequisites" : [ { "common-ref" : "Success" } ] }, - { "name" : "IPv6 Secondary DNS Address Preference", - "id" : "0x2C", - "mandatory" : "no", - "type" : "TLV", - "format" : "array", - "fixed-size": "8", - "array-element" : { "format": "guint16", "endian": "network" }, + { "common-ref" : "WDS PDP Context Secondary Flag", + "since" : "1.18", + "prerequisites" : [ { "common-ref" : "Success" } ] }, + { "common-ref" : "WDS PDP Context Primary ID", + "since" : "1.18", + "prerequisites" : [ { "common-ref" : "Success" } ] }, + { "common-ref" : "WDS IPv6 Address Preference", + "since" : "1.8", + "prerequisites" : [ { "common-ref" : "Success" } ] }, + { "common-ref" : "WDS UMTS Requested QoS With Signaling Indication Flag", + "since" : "1.18", + "prerequisites" : [ { "common-ref" : "Success" } ] }, + { "common-ref" : "WDS UMTS Minimum QoS With Signaling Indication Flag", + "since" : "1.18", + "prerequisites" : [ { "common-ref" : "Success" } ] }, + { "common-ref" : "WDS IPv6 Primary DNS Address Preference", + "since" : "1.8", + "prerequisites" : [ { "common-ref" : "Success" } ] }, + { "common-ref" : "WDS IPv6 Secondary DNS Address Preference", + "since" : "1.8", "prerequisites" : [ { "common-ref" : "Success" } ] }, // 0x2D, DHCP/NAS Preference - // 0x2E, 3GPP LTE QoS Parameters + { "common-ref" : "WDS LTE QoS Parameters", + "since" : "1.18", + "prerequisites" : [ { "common-ref" : "Success" } ] }, // 0x2F, APN disabled flag // 0x30, PDN inactivity timeout // 0x31, APN class @@ -729,69 +1598,77 @@ // 0xA9, APN enabled // 0xAA, PDN inactivity timeout // 0xAB, APN class - { "name" : "Extended Error Code", - "id" : "0xE0", - "mandatory" : "no", - "type" : "TLV", - "format" : "guint16", - "public-format" : "QmiWdsDsProfileError", - "prerequisites" : [ { "field" : "Result.Error Status", - "operation" : "!=", - "value" : "QMI_STATUS_SUCCESS" }, - { "field" : "Result.Error Code", - "operation" : "==", - "value" : "QMI_PROTOCOL_ERROR_EXTENDED_INTERNAL" } ] } ] }, + { "common-ref" : "WDS Extended Error Code", + "since" : "1.8" } ] }, // ********************************************************************************* { "name" : "Get Current Settings", "type" : "Message", "service" : "WDS", "id" : "0x002D", - "version" : "1.2", + "since" : "1.0", "input" : [ { "name" : "Requested Settings", "id" : "0x10", "mandatory" : "yes", "type" : "TLV", + "since" : "1.0", "format" : "guint32", "public-format" : "QmiWdsGetCurrentSettingsRequestedSettings" } ], "output" : [ { "common-ref" : "Operation Result" }, - { "name" : "Profile Name", - "id" : "0x10", - "mandatory" : "no", - "type" : "TLV", - "format" : "string", + { "common-ref" : "WDS Profile Name", + "since" : "1.0", "prerequisites" : [ { "common-ref" : "Success" } ] }, - { "name" : "PDP Type", - "id" : "0x11", - "mandatory" : "no", - "type" : "TLV", - "format" : "guint8", - "public-format" : "QmiWdsPdpType", + { "common-ref" : "WDS PDP Type", + "since" : "1.0", "prerequisites" : [ { "common-ref" : "Success" } ] }, - { "name" : "APN Name", - "id" : "0x14", - "mandatory" : "no", - "type" : "TLV", - "format" : "string", + { "common-ref" : "WDS APN Name", + "since" : "1.0", "prerequisites" : [ { "common-ref" : "Success" } ] }, - { "name" : "Primary IPv4 DNS Address", - "id" : "0x15", - "mandatory" : "no", - "type" : "TLV", - "endian" : "little", - "format" : "guint32", + { "common-ref" : "WDS Primary IPv4 DNS Address", + "since" : "1.0", "prerequisites" : [ { "common-ref" : "Success" } ] }, - { "name" : "Secondary IPv4 DNS Address", - "id" : "0x16", - "mandatory" : "no", + { "common-ref" : "WDS Secondary IPv4 DNS Address", + "since" : "1.0", + "prerequisites" : [ { "common-ref" : "Success" } ] }, + { "name" : "UMTS Granted QoS", + "id" : "0x17", "type" : "TLV", - "endian" : "little", - "format" : "guint32", + "since" : "1.14", + "format" : "sequence", + "contents" : [ { "name" : "Traffic Class", + "format" : "guint8", + "public-format" : "QmiWdsTrafficClass" }, + { "name" : "Max uplink bitrate", + "format" : "guint32" }, + { "name" : "Max downlink bitrate", + "format" : "guint32" }, + { "name" : "Guaranteed uplink bitrate", + "format" : "guint32" }, + { "name" : "Guaranteed downlink bitrate", + "format" : "guint32" }, + { "name" : "QoS Delivery Order", + "format" : "guint8", + "public-format" : "QmiWdsDeliveryOrder" }, + { "name" : "Maximum SDU Size", + "format" : "guint32" }, + { "name" : "SDU Error Ratio", + "format" : "guint8", + "public-format" : "QmiWdsSduErrorRatio" }, + { "name" : "Residual Bit Error Ratio", + "format" : "guint8", + "public-format" : "QmiWdsSduResidualBitErrorRatio" }, + { "name" : "Delivery Erroneous SDU", + "format" : "guint8", + "public-format" : "QmiWdsSduErroneousDelivery" }, + { "name" : "Transfer Delay", + "format" : "guint32" }, + { "name" : "Traffic Handling Priority", + "format" : "guint32" } ], "prerequisites" : [ { "common-ref" : "Success" } ] }, { "name" : "GPRS Granted QoS", "id" : "0x19", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "sequence", "contents" : [ { "name" : "Precedence Class", "format" : "guint32" }, @@ -804,30 +1681,23 @@ { "name" : "Mean Throughput Class", "format" : "guint32" } ], "prerequisites" : [ { "common-ref" : "Success" } ] }, - { "name" : "Username", - "id" : "0x1B", - "mandatory" : "no", - "type" : "TLV", - "format" : "string", + { "common-ref" : "WDS Username", + "since" : "1.0", "prerequisites" : [ { "common-ref" : "Success" } ] }, - { "name" : "Authentication", - "id" : "0x1D", - "mandatory" : "no", - "type" : "TLV", - "format" : "guint8", - "public-format" : "QmiWdsAuthentication", + { "common-ref" : "WDS Authentication", + "since" : "1.0", "prerequisites" : [ { "common-ref" : "Success" } ] }, { "name" : "IPv4 Address", "id" : "0x1E", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "endian" : "little", "format" : "guint32", "prerequisites" : [ { "common-ref" : "Success" } ] }, { "name" : "Profile ID", "id" : "0x1F", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "sequence", "contents" : [ { "name" : "Profile Type", "format" : "guint8", @@ -837,28 +1707,28 @@ "prerequisites" : [ { "common-ref" : "Success" } ] }, { "name" : "IPv4 Gateway Address", "id" : "0x20", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "endian" : "little", "format" : "guint32", "prerequisites" : [ { "common-ref" : "Success" } ] }, { "name" : "IPv4 Gateway Subnet Mask", "id" : "0x21", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "endian" : "little", "format" : "guint32", "prerequisites" : [ { "common-ref" : "Success" } ] }, { "name" : "PCSCF Address Using PCO", "id" : "0x22", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "guint8", "prerequisites" : [ { "common-ref" : "Success" } ] }, { "name" : "PCSCF Server Address List", "id" : "0x23", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "array", "array-element" : { "name" : "IPv4 Address", "endian" : "little", @@ -866,8 +1736,8 @@ "prerequisites" : [ { "common-ref" : "Success" } ] }, { "name" : "PCSCF Domain Name List", "id" : "0x24", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "array", "array-element" : { "name" : "FQDN", "format" : "string", @@ -875,8 +1745,8 @@ "prerequisites" : [ { "common-ref" : "Success" } ] }, { "name" : "IPv6 Address", "id" : "0x25", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "sequence", "contents" : [ { "name" : "Address", "format" : "array", @@ -887,8 +1757,8 @@ "prerequisites" : [ { "common-ref" : "Success" } ] }, { "name" : "IPv6 Gateway Address", "id" : "0x26", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "sequence", "contents" : [ { "name" : "Address", "format" : "array", @@ -899,30 +1769,30 @@ "prerequisites" : [ { "common-ref" : "Success" } ] }, { "name" : "IPv6 Primary DNS Address", "id" : "0x27", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "array", "fixed-size": "8", "array-element" : { "format": "guint16", "endian": "network" }, "prerequisites" : [ { "common-ref" : "Success" } ] }, { "name" : "IPv6 Secondary DNS Address", "id" : "0x28", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "array", "fixed-size": "8", "array-element" : { "format": "guint16", "endian": "network" }, "prerequisites" : [ { "common-ref" : "Success" } ] }, { "name" : "MTU", "id" : "0x29", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "guint32", "prerequisites" : [ { "common-ref" : "Success" } ] }, { "name" : "Domain Name List", "id" : "0x2A", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "array", "array-element" : { "name" : "Domain Name", "format" : "string", @@ -930,65 +1800,82 @@ "prerequisites" : [ { "common-ref" : "Success" } ] }, { "name" : "IP Family", "id" : "0x2B", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "guint8", "public-format" : "QmiWdsIpFamily", "prerequisites" : [ { "common-ref" : "Success" } ] }, { "name" : "IMCN Flag", "id" : "0x2C", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "gint8", "prerequisites" : [ { "common-ref" : "Success" } ] }, { "name" : "Extended Technology Preference", "id" : "0x2D", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", + // Note: docs give this as gint16 with negative enum values. Instead, we use + // guint16 with equivalent positive enum values. "format" : "guint16", "public-format" : "QmiWdsExtendedTechnologyPreference", "prerequisites" : [ { "common-ref" : "Success" } ] } ] }, // ********************************************************************************* - { "name" : "Get Autoconnect Setting", + { "name" : "Get Dormancy Status", + "type" : "Message", + "service" : "WDS", + "id" : "0x0030", + "since" : "1.14", + "output" : [ { "common-ref" : "Operation Result" }, + { "name" : "Dormancy Status", + "id" : "0x01", + "type" : "TLV", + "since" : "1.14", + "format" : "guint8", + "public-format" : "QmiWdsDormancyStatus", + "prerequisites" : [ { "common-ref" : "Success" } ] } ] }, + + // ********************************************************************************* + { "name" : "Get Autoconnect Settings", "type" : "Message", "service" : "WDS", "id" : "0x0034", - "version" : "1.0", - "output" : [ { "common-ref" : "Operation Result" }, - { "name" : "Setting", - "id" : "0x01", - "mandatory" : "yes", - "type" : "TLV", - "format" : "gint8", - "public-format" : "QmiWdsAutoconnectSetting", - "prerequisites" : [ { "common-ref" : "Success" } ] }, - { "name" : "Roaming", - "id" : "0x10", - "mandatory" : "no", - "type" : "TLV", - "format" : "gint8", - "public-format" : "gboolean", - "prerequisites" : [ { "common-ref" : "Success" } ] } ] }, + "since" : "1.14", + "output" : [ { "common-ref" : "Operation Result" }, + { "name" : "Status", + "id" : "0x01", + "type" : "TLV", + "since" : "1.14", + "format" : "guint8", + "public-format" : "QmiWdsAutoconnectSetting", + "prerequisites" : [ { "common-ref" : "Success" } ] }, + { "name" : "Roaming", + "id" : "0x10", + "type" : "TLV", + "since" : "1.14", + "format" : "guint8", + "public-format" : "QmiWdsAutoconnectSettingRoaming", + "prerequisites" : [ { "common-ref" : "Success" } ] } ] }, // ********************************************************************************* { "name" : "Get Data Bearer Technology", "type" : "Message", "service" : "WDS", "id" : "0x0037", - "version" : "1.12", + "since" : "1.0", "output" : [ { "common-ref" : "Operation Result" }, { "name" : "Current", "id" : "0x01", - "mandatory" : "yes", "type" : "TLV", + "since" : "1.0", "format" : "gint8", "public-format" : "QmiWdsDataBearerTechnology", "prerequisites" : [ { "common-ref" : "Success" } ] }, { "name" : "Last", "id" : "0x10", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "gint8", "public-format" : "QmiWdsDataBearerTechnology", "prerequisites" : [ { "field" : "Result.Error Status", @@ -1003,12 +1890,12 @@ "type" : "Message", "service" : "WDS", "id" : "0x0044", - "version" : "1.4", + "since" : "1.0", "output" : [ { "common-ref" : "Operation Result" }, { "name" : "Current", "id" : "0x01", - "mandatory" : "yes", "type" : "TLV", + "since" : "1.0", "format" : "sequence", "contents" : [ { "name" : "Network Type", "format" : "guint8", @@ -1020,8 +1907,8 @@ "prerequisites": [ { "common-ref" : "Success" } ] }, { "name" : "Last", "id" : "0x10", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "sequence", "contents" : [ { "name" : "Network Type", "format" : "guint8", @@ -1031,39 +1918,307 @@ { "name" : "SO Mask", "format" : "guint32" } ] } ] }, + // ********************************************************************************* + { "name" : "Get Default Profile Number", + "type" : "Message", + "service" : "WDS", + "id" : "0x0049", + "since" : "1.28", + "input" : [ { "name" : "Profile Type", + "id" : "0x01", + "mandatory" : "yes", + "type" : "TLV", + "since" : "1.28", + "format" : "sequence", + "contents" : [ { "name" : "Type", + "format" : "guint8", + "public-format" : "QmiWdsProfileType"}, + { "name" : "Family", + "format" : "guint8", + "public-format" : "QmiWdsProfileFamily"}] }], + "output" : [ { "common-ref" : "Operation Result" }, + { "name" : "Index", + "id" : "0x01", + "mandatory" : "yes", + "type" : "TLV", + "since" : "1.28", + "format" : "guint8", + "prerequisites" : [ { "common-ref" : "Success" } ] }, + { "common-ref" : "WDS Extended Error Code", + "since" : "1.28" } ] }, + + // ********************************************************************************* + { "name" : "Set Default Profile Number", + "type" : "Message", + "service" : "WDS", + "id" : "0x004A", + "since" : "1.28", + "input" : [ { "name" : "Profile Identifier", + "id" : "0x01", + "mandatory" : "yes", + "type" : "TLV", + "since" : "1.28", + "format" : "sequence", + "contents" : [ { "name" : "Type", + "format" : "guint8", + "public-format" : "QmiWdsProfileType"}, + { "name" : "Family", + "format" : "guint8", + "public-format" : "QmiWdsProfileFamily"}, + { "name" : "Index", + "format" : "guint8"}] }], + "output" : [ { "common-ref" : "Operation Result" }, + { "common-ref" : "WDS Extended Error Code", + "since" : "1.28" } ] }, + // ********************************************************************************* { "name" : "Set IP Family", "type" : "Message", "service" : "WDS", "id" : "0x004D", - "version" : "1.9", + "since" : "1.0", "input" : [ { "name" : "Preference", "id" : "0x01", - "mandatory" : "yes", "type" : "TLV", + "since" : "1.0", "format" : "guint8", "public-format" : "QmiWdsIpFamily" } ], "output" : [ { "common-ref" : "Operation Result" } ] }, - // ********************************************************************************* - { "name" : "Set Autoconnect Setting", + { "name" : "Set Autoconnect Settings", "type" : "Message", "service" : "WDS", "id" : "0x0051", - "version" : "1.0", - "input" : [ { "name" : "Setting", + "since" : "1.14", + "input" : [ { "name" : "Status", + "id" : "0x01", + "type" : "TLV", + "since" : "1.14", + "format" : "guint8", + "public-format" : "QmiWdsAutoconnectSetting" }, + { "name" : "Roaming", + "id" : "0x10", + "type" : "TLV", + "since" : "1.14", + "format" : "guint8", + "public-format" : "QmiWdsAutoconnectSettingRoaming" } ], + "output" : [ { "common-ref" : "Operation Result" } ] }, + + // ********************************************************************************* + { "name" : "Get PDN Throttle Info", + "type" : "Message", + "service" : "WDS", + "id" : "0x006C", + "since" : "1.14", + "input" : [ { "name" : "Network Type", + "id" : "0x01", + "type" : "TLV", + "since" : "1.14", + "format" : "guint8", + "public-format" : "QmiWdsDataSystemNetworkType" } ], + "output" : [ { "common-ref" : "Operation Result" }, + { "name" : "Info", + "id" : "0x10", + "type" : "TLV", + "since" : "1.14", + "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" } ] } ] }, + + // ********************************************************************************* + { "name" : "Get LTE Attach Parameters", + "type" : "Message", + "service" : "WDS", + "id" : "0x0085", + "since" : "1.28", + "output" : [ { "common-ref" : "Operation Result" }, + { "name" : "APN", + "id" : "0x10", + "type" : "TLV", + "since" : "1.28", + "format" : "string", + "prerequisites" : [ { "common-ref" : "Success" } ] }, + { "name" : "IP Support Type", + "id" : "0x11", + "type" : "TLV", + "since" : "1.28", + "format" : "guint8", + "public-format" : "QmiWdsIpSupportType", + "prerequisites" : [ { "common-ref" : "Success" } ] }, + { "name" : "OTA Attach Performed", + "id" : "0x12", + "type" : "TLV", + "since" : "1.28", + "format" : "guint8", + "public-format" : "gboolean", + "prerequisites" : [ { "common-ref" : "Success" } ] } ] }, + + // ********************************************************************************* + { "name" : "Bind Data Port", + "type" : "Message", + "service" : "WDS", + "id" : "0x0089", + "since" : "1.28", + "input" : [ { "name" : "Data Port", + "id" : "0x01", + "type" : "TLV", + "since" : "1.28", + "format" : "guint16", + "public-format" : "QmiSioPort" } ], + "output" : [ { "common-ref" : "Operation Result" } ] }, + + // ********************************************************************************* + { "name" : "Get Max LTE Attach PDN Number", + "type" : "Message", + "service" : "WDS", + "id" : "0x0092", + "since" : "1.28", + "output" : [ { "common-ref" : "Operation Result" }, + { "name" : "Info", + "id" : "0x10", + "type" : "TLV", + "since" : "1.28", + "format" : "guint8", + "prerequisites" : [ { "common-ref" : "Success" } ] } ] }, + + // ********************************************************************************* + { "name" : "Set LTE Attach PDN List", + "type" : "Message", + "service" : "WDS", + "id" : "0x0093", + "since" : "1.28", + "input" : [ { "name" : "List", "id" : "0x01", - "mandatory" : "yes", "type" : "TLV", - "format" : "guint8", - "public-format" : "QmiWdsAutoconnectSetting" }, - { "name" : "Roaming", + "since" : "1.28", + "format" : "array", + "array-element" : { "name" : "PDN Profile ID", + "format" : "guint16" }}, + { "name" : "Action", "id" : "0x10", - "mandatory" : "no", "type" : "TLV", + "since" : "1.28", + "format" : "guint32", + "public-format" : "QmiWdsAttachPdnListAction"} + ], + "output" : [ { "common-ref" : "Operation Result" } ] }, + + { "name" : "Set LTE Attach PDN List", + "type" : "Indication", + "service" : "WDS", + "id" : "0x0093", + "since" : "1.28", + "output" : [ { "common-ref" : "Operation Result" }, + { "name" : "Action Result", + "id" : "0x01", + "type" : "TLV", + "since" : "1.28", "format" : "guint8", - "public-format" : "gboolean" } ], - "output" : [ { "common-ref" : "Operation Result" } ] } + "public-format" : "gboolean", + "prerequisites" : [ { "common-ref" : "Success" } ] } ] }, + + // ********************************************************************************* + { "name" : "Get LTE Attach PDN List", + "type" : "Message", + "service" : "WDS", + "id" : "0x0094", + "since" : "1.28", + "output" : [ { "common-ref" : "Operation Result" }, + { "name" : "Current List", + "id" : "0x10", + "type" : "TLV", + "since" : "1.28", + "format" : "array", + "array-element" : { "name" : "PDN Profile ID", + "format" : "guint16" }, + "prerequisites" : [ { "common-ref" : "Success" } ] }, + { "name" : "Pending List", + "id" : "0x11", + "type" : "TLV", + "since" : "1.28", + "format" : "array", + "array-element" : { "name" : "PDN Profile ID", + "format" : "guint16" }, + "prerequisites" : [ { "common-ref" : "Success" } ] } ] }, + +// ********************************************************************************* + { "name" : "Bind Mux Data Port", + "type" : "Message", + "service" : "WDS", + "id" : "0x00A2", + "since" : "1.18", + "input" : [ { "name" : "Endpoint Info", + "id" : "0x10", + "type" : "TLV", + "since" : "1.18", + "format" : "sequence", + "contents" : [ { "name" : "Endpoint Type", + "format" : "guint32", + "public-format" : "QmiDataEndpointType"}, + { "name" : "Interface Number", + "format" : "guint32" }]}, + { "name" : "Mux ID", + "id" : "0x11", + "type" : "TLV", + "since" : "1.18", + "format" : "guint8"}, + { "name" : "Client Type", + "id" : "0x13", + "type" : "TLV", + "since" : "1.18", + "format" : "guint32", + "public-format" : "QmiWdsClientType"} + ], + "output" : [ { "common-ref" : "Operation Result" } ] }, +// ********************************************************************************* +{ "name" : "Swi Create Profile Indexed", + "type" : "Message", + "service" : "WDS", + "id" : "0x5558", + "since" : "1.22", + "input" : [ { "common-ref" : "WDS Profile Identifier", + "since" : "1.22" } , + { "common-ref" : "WDS Profile Name", + "since" : "1.22" }, + { "common-ref" : "WDS PDP Type", + "since" : "1.22" }, + { "common-ref" : "WDS APN Name", + "since" : "1.22" }, + { "common-ref" : "WDS Primary IPv4 DNS Address", + "since" : "1.22" }, + { "common-ref" : "WDS Secondary IPv4 DNS Address", + "since" : "1.22" }, + { "common-ref" : "WDS Username", + "since" : "1.22" }, + { "common-ref" : "WDS Password", + "since" : "1.22" }, + { "common-ref" : "WDS Authentication", + "since" : "1.22" }, + { "common-ref" : "WDS IPv4 Address Preference", + "since" : "1.22" }, + { "common-ref" : "WDS PDP Context Number", + "since" : "1.22" }, + { "common-ref" : "WDS APN Disabled Flag", + "since" : "1.22" }, + { "common-ref" : "WDS Roaming Disallowed Flag", + "since" : "1.22" } ], + "output" : [ { "common-ref" : "Operation Result" }, + { "common-ref" : "WDS Profile Identifier", + "since" : "1.22", + "prerequisites" : [ { "common-ref" : "Success" } ] } ] } ] diff --git a/data/qmi-service-wms.json b/data/qmi-service-wms.json index 75accd4..7bd105a 100644 --- a/data/qmi-service-wms.json +++ b/data/qmi-service-wms.json @@ -6,7 +6,8 @@ // ********************************************************************************* { "name" : "QMI Client WMS", - "type" : "Client" }, + "type" : "Client", + "since" : "1.0" }, // ********************************************************************************* { "name" : "QMI Message WMS", @@ -21,7 +22,7 @@ "type" : "Message", "service" : "WMS", "id" : "0x0000", - "version" : "1.0", + "since" : "1.0", "output" : [ { "common-ref" : "Operation Result" } ] }, // ********************************************************************************* @@ -29,11 +30,11 @@ "type" : "Message", "service" : "WMS", "id" : "0x0001", - "version" : "1.0", + "since" : "1.0", "input" : [ { "name" : "New MT Message Indicator", "id" : "0x10", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "sequence", "contents" : [ { "name" : "Report", "format" : "guint8", @@ -44,10 +45,11 @@ "type" : "Indication", "service" : "WMS", "id" : "0x0001", + "since" : "1.0", "output" : [ { "name" : "MT Message", "id" : "0x10", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "sequence", "contents" : [ { "name" : "Storage Type", "format" : "guint8", @@ -56,8 +58,8 @@ "format" : "guint32" } ] }, { "name" : "Transfer Route MT Message", "id" : "0x11", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "sequence", "contents" : [ { "name" : "Ack Indicator", "format" : "guint8", @@ -73,14 +75,14 @@ "array-element" : { "format" : "guint8" } } ] }, { "name" : "Message Mode", "id" : "0x12", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "guint8", "public-format" : "QmiWmsMessageMode" }, { "name" : "ETWS Message", "id" : "0x13", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "sequence", "contents" : [ { "name" : "Notification Type", "format" : "guint8", @@ -91,8 +93,8 @@ "array-element" : { "format" : "guint8" } } ] }, { "name" : "ETWS PLMN Information", "id" : "0x14", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "sequence", "contents" : [ { "name" : "MCC", "format" : "guint16" }, @@ -100,26 +102,42 @@ "format" : "guint16" } ] }, { "name" : "SMSC Address", "id" : "0x15", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "string" }, { "name" : "SMS on IMS", "id" : "0x16", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "guint8", "public-format" : "gboolean" } ] }, + // ********************************************************************************* + { "name" : "Get Supported Messages", + "type" : "Message", + "service" : "WMS", + "id" : "0x001E", + "since" : "1.14", + "output" : [ { "common-ref" : "Operation Result" }, + { "name" : "List", + "id" : "0x10", + "type" : "TLV", + "since" : "1.14", + "format" : "array", + "size-prefix-format" : "guint16", + "array-element" : { "format" : "guint8" }, + "prerequisites" : [ { "common-ref" : "Success" } ] } ] }, + // ********************************************************************************* { "name" : "Raw Send", "type" : "Message", "service" : "WMS", "id" : "0x0020", - "version" : "1.0", + "since" : "1.0", "input" : [ { "name" : "Raw Message Data", "id" : "0x01", - "mandatory" : "yes", "type" : "TLV", + "since" : "1.0", "format" : "sequence", "contents" : [ { "name" : "Format", "format" : "guint8", @@ -130,8 +148,8 @@ "array-element" : { "format" : "guint8" } } ] }, { "name" : "CDMA Force On DC", "id" : "0x10", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "sequence", "contents" : [ { "name" : "Force", "format" : "guint8", @@ -141,35 +159,35 @@ "public-format" : "QmiWmsCdmaServiceOption" } ] }, { "name" : "CDMA Follow On DC", "id" : "0x11", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "sequence", "contents" : [ { "name" : "Follow", "format" : "guint8", "public-format" : "gboolean" } ] }, { "name" : "GSM WCDMA Link Timer", "id" : "0x12", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "guint8" }, { "name" : "SMS on IMS", "id" : "0x13", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "guint8", "public-format" : "gboolean" } ], "output" : [ { "common-ref" : "Operation Result" }, { "name" : "Message ID", "id" : "0x01", // Even if we have this TLV as mandatory, it seems it really isn't - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "guint16", "prerequisites" : [ { "common-ref" : "Success" } ] }, { "name" : "CDMA Cause Code", "id" : "0x10", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "guint16", "public-format" : "QmiWmsCdmaCauseCode", "prerequisites" : [ { "field" : "Result.Error Status", @@ -180,8 +198,8 @@ "value" : "QMI_PROTOCOL_ERROR_WMS_CAUSE_CODE" } ] }, { "name" : "CDMA Error Class", "id" : "0x11", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "guint8", "public-format" : "QmiWmsCdmaErrorClass", "prerequisites" : [ { "field" : "Result.Error Status", @@ -192,8 +210,8 @@ "value" : "QMI_PROTOCOL_ERROR_WMS_CAUSE_CODE" } ] }, { "name" : "GSM WCDMA Cause Info", "id" : "0x12", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "sequence", "contents" : [ { "name" : "RP Cause", "format" : "guint16", @@ -209,8 +227,8 @@ "value" : "QMI_PROTOCOL_ERROR_WMS_CAUSE_CODE" } ] }, { "name" : "Message Delivery Failure Type", "id" : "0x13", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "guint8", "public-format" : "QmiWmsMessageDeliveryFailureType", "prerequisites" : [ { "field" : "Result.Error Status", @@ -225,11 +243,11 @@ "type" : "Message", "service" : "WMS", "id" : "0x0021", - "version" : "1.0", + "since" : "1.0", "input" : [ { "name" : "Raw Message Data", "id" : "0x01", - "mandatory" : "yes", "type" : "TLV", + "since" : "1.0", "format" : "sequence", "contents" : [ { "name" : "Storage Type", "format" : "guint8", @@ -244,8 +262,8 @@ "output" : [ { "common-ref" : "Operation Result" }, { "name" : "Memory Index", "id" : "0x01", - "mandatory" : "yes", "type" : "TLV", + "since" : "1.0", "format" : "guint32", "prerequisites" : [ { "common-ref" : "Success" } ] } ] }, @@ -254,11 +272,11 @@ "type" : "Message", "service" : "WMS", "id" : "0x0022", - "version" : "1.0", + "since" : "1.0", "input" : [ { "name" : "Message Memory Storage ID", "id" : "0x01", - "mandatory" : "yes", "type" : "TLV", + "since" : "1.0", "format" : "sequence", "contents" : [ { "name" : "Storage Type", "format" : "guint8", @@ -267,21 +285,21 @@ "format" : "guint32" } ] }, { "name" : "Message Mode", "id" : "0x10", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "guint8", "public-format" : "QmiWmsMessageMode" }, { "name" : "SMS on IMS", "id" : "0x11", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "guint8", "public-format" : "gboolean" } ], "output" : [ { "common-ref" : "Operation Result" }, { "name" : "Raw Message Data", "id" : "0x01", - "mandatory" : "yes", "type" : "TLV", + "since" : "1.0", "format" : "sequence", "contents" : [ { "name" : "Message Tag", "format" : "guint8", @@ -300,11 +318,11 @@ "type" : "Message", "service" : "WMS", "id" : "0x0023", - "version" : "1.0", + "since" : "1.0", "input" : [ { "name" : "Message Tag", "id" : "0x01", - "mandatory" : "yes", "type" : "TLV", + "since" : "1.0", "format" : "sequence", "contents" : [ { "name" : "Storage Type", "format" : "guint8", @@ -316,8 +334,8 @@ "public-format" : "QmiWmsMessageTagType" } ] }, { "name" : "Message Mode", "id" : "0x10", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "guint8", "public-format" : "QmiWmsMessageMode" } ], "output" : [ { "common-ref" : "Operation Result" } ] }, @@ -327,28 +345,28 @@ "type" : "Message", "service" : "WMS", "id" : "0x0024", - "version" : "1.0", + "since" : "1.0", "input" : [ { "name" : "Memory Storage", "id" : "0x01", - "mandatory" : "yes", "type" : "TLV", + "since" : "1.0", "format" : "guint8", "public-format" : "QmiWmsStorageType" }, { "name" : "Memory Index", "id" : "0x10", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "guint32" }, { "name" : "Message Tag", "id" : "0x11", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "guint8", "public-format" : "QmiWmsMessageTagType" }, { "name" : "Message Mode", "id" : "0x12", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "guint8", "public-format" : "QmiWmsMessageMode" } ], "output" : [ { "common-ref" : "Operation Result" } ] }, @@ -358,12 +376,12 @@ "type" : "Message", "service" : "WMS", "id" : "0x0030", - "version" : "1.0", + "since" : "1.0", "output" : [ { "common-ref" : "Operation Result" }, { "name" : "Message Protocol", "id" : "0x01", - "mandatory" : "yes", "type" : "TLV", + "since" : "1.0", "format" : "guint8", "public-format" : "QmiWmsMessageProtocol", "prerequisites" : [ { "common-ref" : "Success" } ] } ] }, @@ -373,30 +391,30 @@ "type" : "Message", "service" : "WMS", "id" : "0x0031", - "version" : "1.0", + "since" : "1.0", "input" : [ { "name" : "Storage Type", "id" : "0x01", - "mandatory" : "yes", "type" : "TLV", + "since" : "1.0", "format" : "guint8", "public-format" : "QmiWmsStorageType" }, { "name" : "Message Tag", "id" : "0x11", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "guint8", "public-format" : "QmiWmsMessageTagType" }, { "name" : "Message Mode", "id" : "0x12", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "guint8", "public-format" : "QmiWmsMessageMode" } ], "output" : [ { "common-ref" : "Operation Result" }, { "name" : "Message List", "id" : "0x01", - "mandatory" : "yes", "type" : "TLV", + "since" : "1.0", "format" : "array", "size-prefix-format" : "guint32" , "array-element" : { "name" : "Element", @@ -413,11 +431,11 @@ "type" : "Message", "service" : "WMS", "id" : "0x0032", - "version" : "1.0", + "since" : "1.0", "input" : [ { "name" : "Route List", "id" : "0x01", - "mandatory" : "yes", "type" : "TLV", + "since" : "1.0", "format" : "array", "size-prefix-format" : "guint16", "array-element" : { "name" : "Element", @@ -436,8 +454,8 @@ "public-format" : "QmiWmsReceiptAction" } ] } }, { "name" : "Transfer Status Report", "id" : "0x10", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "guint8", "public-format" : "QmiWmsTransferIndication" } ], "output" : [ { "common-ref" : "Operation Result" } ] }, @@ -447,12 +465,12 @@ "type" : "Message", "service" : "WMS", "id" : "0x0033", - "version" : "1.0", + "since" : "1.0", "output" : [ { "common-ref" : "Operation Result" }, { "name" : "Route List", "id" : "0x01", - "mandatory" : "yes", "type" : "TLV", + "since" : "1.0", "format" : "array", "size-prefix-format" : "guint16", "array-element" : { "name" : "Element", @@ -472,22 +490,83 @@ "prerequisites" : [ { "common-ref" : "Success" } ] }, { "name" : "Transfer Status Report", "id" : "0x10", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "guint8", "public-format" : "QmiWmsTransferIndication", "prerequisites" : [ { "common-ref" : "Success" } ] } ] }, + // ********************************************************************************* + { "name" : "Send Ack", + "type" : "Message", + "service" : "WMS", + "id" : "0x0037", + "since" : "1.28", + "input" : [ { "name" : "Information", + "id" : "0x01", + "type" : "TLV", + "since" : "1.28", + "format" : "sequence", + "contents" : [ { "name" : "Transaction ID", + "format" : "guint32" }, + { "name" : "Message Protocol", + "format" : "guint8", + "public-format" : "QmiWmsMessageProtocol" }, + { "name" : "Success", + "format" : "guint8", + "public-format" : "gboolean" } ] }, + { "name" : "Failure Information 3GPP2", + "id" : "0x10", + "type" : "TLV", + "since" : "1.28", + "format" : "sequence", + "contents" : [ { "name" : "Error Class", + "format" : "guint8", + "public-format" : "QmiWmsCdmaErrorClass" }, + { "name" : "Cause Code", + "format" : "guint8", + "public-format" : "QmiWmsCdmaCauseCode" } ] }, + { "name" : "Failure Information 3GPP", + "id" : "0x11", + "type" : "TLV", + "since" : "1.28", + "format" : "sequence", + "contents" : [ { "name" : "RP Cause", + "format" : "guint8", + "public-format" : "QmiWmsGsmUmtsRpCause" }, + { "name" : "TP Cause", + "format" : "guint8", + "public-format" : "QmiWmsGsmUmtsTpCause" } ] }, + { "name" : "SMS on IMS", + "id" : "0x12", + "type" : "TLV", + "since" : "1.28", + "format" : "guint8", + "public-format" : "gboolean" } ], + "output" : [ { "common-ref" : "Operation Result" }, + { "name" : "Failure Cause", + "id" : "0x10", + "type" : "TLV", + "since" : "1.28", + "format" : "guint8", + "public-format" : "QmiWmsAckFailureCause", + "prerequisites" : [ { "field" : "Result.Error Status", + "operation" : "!=", + "value" : "QMI_STATUS_SUCCESS" }, + { "field" : "Result.Error Code", + "operation" : "==", + "value" : "QMI_PROTOCOL_ERROR_ACK_NOT_SENT" } ] } ] }, + // ********************************************************************************* { "name" : "Send From Memory Storage", "type" : "Message", "service" : "WMS", "id" : "0x0042", - "version" : "1.2", + "since" : "1.0", "input" : [ { "name" : "Information", "id" : "0x01", - "mandatory" : "yes", "type" : "TLV", + "since" : "1.0", "format" : "sequence", "contents" : [ { "name" : "Storage Type", "format" : "guint8", @@ -499,21 +578,21 @@ "public-format" : "QmiWmsMessageMode" } ] }, { "name" : "SMS on IMS", "id" : "0x10", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "guint8", "public-format" : "gboolean" } ], "output" : [ { "common-ref" : "Operation Result" }, { "name" : "Message ID", "id" : "0x10", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "guint16", "prerequisites" : [ { "common-ref" : "Success" } ] }, { "name" : "CDMA Cause Code", "id" : "0x11", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "guint16", "public-format" : "QmiWmsCdmaCauseCode", "prerequisites" : [ { "field" : "Result.Error Status", @@ -524,8 +603,8 @@ "value" : "QMI_PROTOCOL_ERROR_WMS_CAUSE_CODE" } ] }, { "name" : "CDMA Error Class", "id" : "0x12", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "guint8", "public-format" : "QmiWmsCdmaErrorClass", "prerequisites" : [ { "field" : "Result.Error Status", @@ -536,8 +615,8 @@ "value" : "QMI_PROTOCOL_ERROR_WMS_CAUSE_CODE" } ] }, { "name" : "GSM WCDMA Cause Info", "id" : "0x13", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "sequence", "contents" : [ { "name" : "RP Cause", "format" : "guint16", @@ -553,8 +632,8 @@ "value" : "QMI_PROTOCOL_ERROR_WMS_CAUSE_CODE" } ] }, { "name" : "Message Delivery Failure Type", "id" : "0x14", - "mandatory" : "no", "type" : "TLV", + "since" : "1.0", "format" : "guint8", "public-format" : "QmiWmsMessageDeliveryFailureType", "prerequisites" : [ { "field" : "Result.Error Status", @@ -562,6 +641,25 @@ "value" : "QMI_STATUS_SUCCESS" }, { "field" : "Result.Error Code", "operation" : "==", - "value" : "QMI_PROTOCOL_ERROR_WMS_CAUSE_CODE" } ] } ] } + "value" : "QMI_PROTOCOL_ERROR_WMS_CAUSE_CODE" } ] } ] }, + + // ********************************************************************************* + { "name" : "SMSC Address", + "type" : "Indication", + "service" : "WMS", + "id" : "0x0046", + "since" : "1.14", + "output" : [ { "name" : "Address", + "id" : "0x01", + "type" : "TLV", + "since" : "1.14", + "format" : "sequence", + "contents" : [ { "name" : "Type", + "format" : "string", + "fixed-size" : "3" }, + { "name" : "Digits", + "format" : "string", + "size-prefix-format" : "guint8" } ] } ] } + ] diff --git a/qmi-enums-dms.h b/qmi-enums-dms.h index 62c31da..0add8e0 100644 --- a/qmi-enums-dms.h +++ b/qmi-enums-dms.h @@ -17,7 +17,8 @@ * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * Boston, MA 02110-1301 USA. * - * Copyright (C) 2012 Lanedo GmbH + * Copyright (C) 2012 Lanedo GmbH. + * Copyright (C) 2012-2017 Aleksander Morgado */ #ifndef _LIBQMI_GLIB_QMI_ENUMS_DMS_H_ @@ -25,7 +26,6 @@ /** * SECTION: qmi-enums-dms - * @title: DMS enumerations and flags * * This section defines enumerations and flags used in the DMS service * interface. @@ -43,8 +43,10 @@ * @QMI_DMS_DATA_SERVICE_CAPABILITY_NON_SIMULTANEOUS_CS_PS: Non simultaneous CS and PS supported. * * Data service capability. + * + * Since: 1.0 */ -typedef enum { +typedef enum { /*< since=1.0 >*/ QMI_DMS_DATA_SERVICE_CAPABILITY_NONE = 0, QMI_DMS_DATA_SERVICE_CAPABILITY_CS = 1, QMI_DMS_DATA_SERVICE_CAPABILITY_PS = 2, @@ -58,8 +60,10 @@ typedef enum { * @QMI_DMS_SIM_CAPABILITY_SUPPORTED: SIM is supported. * * SIM capability. + * + * Since: 1.0 */ -typedef enum { +typedef enum { /*< since=1.0 >*/ QMI_DMS_SIM_CAPABILITY_NOT_SUPPORTED = 1, QMI_DMS_SIM_CAPABILITY_SUPPORTED = 2 } QmiDmsSimCapability; @@ -71,18 +75,23 @@ typedef enum { * @QMI_DMS_RADIO_INTERFACE_GSM: GSM. * @QMI_DMS_RADIO_INTERFACE_UMTS: UMTS. * @QMI_DMS_RADIO_INTERFACE_LTE: LTE. + * @QMI_DMS_RADIO_INTERFACE_TDS: TDS. Since 1.32. + * @QMI_DMS_RADIO_INTERFACE_5GNR: 5G NR. Since 1.26. * * Radio interface type. + * + * Since: 1.0 */ -typedef enum { +typedef enum { /*< since=1.0 >*/ QMI_DMS_RADIO_INTERFACE_CDMA20001X = 1, QMI_DMS_RADIO_INTERFACE_EVDO = 2, QMI_DMS_RADIO_INTERFACE_GSM = 4, QMI_DMS_RADIO_INTERFACE_UMTS = 5, - QMI_DMS_RADIO_INTERFACE_LTE = 8 + QMI_DMS_RADIO_INTERFACE_LTE = 8, + QMI_DMS_RADIO_INTERFACE_TDS = 9, + QMI_DMS_RADIO_INTERFACE_5GNR = 10, } QmiDmsRadioInterface; - /*****************************************************************************/ /* Helper enums for the 'QMI DMS Get Power State' message */ @@ -105,15 +114,16 @@ typedef enum { * otherwise the battery is not being charged. * * If @QMI_DMS_POWER_STATE_FAULT is set, a power fault has been detected. + * + * Since: 1.0 */ -typedef enum { +typedef enum { /*< since=1.0 >*/ QMI_DMS_POWER_STATE_EXTERNAL_SOURCE = 1 << 0, QMI_DMS_POWER_STATE_BATTERY_CONNECTED = 1 << 1, QMI_DMS_POWER_STATE_BATTERY_CHARGING = 1 << 2, QMI_DMS_POWER_STATE_FAULT = 1 << 3, } QmiDmsPowerState; - /*****************************************************************************/ /* Helper enums for the 'QMI DMS UIM Set PIN Protection' message */ @@ -123,13 +133,14 @@ typedef enum { * @QMI_DMS_UIM_PIN_ID_PIN2: PIN2. * * The PIN identifier. + * + * Since: 1.0 */ -typedef enum { +typedef enum { /*< since=1.0 >*/ QMI_DMS_UIM_PIN_ID_PIN = 1, QMI_DMS_UIM_PIN_ID_PIN2 = 2 } QmiDmsUimPinId; - /*****************************************************************************/ /* Helper enums for the 'QMI DMS UIM Get PIN Status' message */ @@ -145,8 +156,10 @@ typedef enum { * @QMI_DMS_UIM_PIN_STATUS_CHANGED: Changed. * * The PIN status. + * + * Since: 1.0 */ -typedef enum { +typedef enum { /*< since=1.0 >*/ QMI_DMS_UIM_PIN_STATUS_NOT_INITIALIZED = 0, QMI_DMS_UIM_PIN_STATUS_ENABLED_NOT_VERIFIED = 1, QMI_DMS_UIM_PIN_STATUS_ENABLED_VERIFIED = 2, @@ -173,8 +186,10 @@ typedef enum { * @QMI_DMS_OPERATING_MODE_UNKNOWN: Unknown. * * Operating mode of the device. + * + * Since: 1.0 */ -typedef enum { +typedef enum { /*< since=1.0 >*/ QMI_DMS_OPERATING_MODE_ONLINE = 0, QMI_DMS_OPERATING_MODE_LOW_POWER = 1, QMI_DMS_OPERATING_MODE_FACTORY_TEST = 2, @@ -194,8 +209,10 @@ typedef enum { * @QMI_DMS_OFFLINE_REASON_DEVICE_MEMORY_FULL: Memory full, cannot copy PRI information. * * Reasons for being in Offline (@QMI_DMS_OPERATING_MODE_OFFLINE) state. + * + * Since: 1.0 */ -typedef enum { +typedef enum { /*< since=1.0 >*/ QMI_DMS_OFFLINE_REASON_HOST_IMAGE_MISCONFIGURATION = 1 << 0, QMI_DMS_OFFLINE_REASON_PRI_IMAGE_MISCONFIGURATION = 1 << 1, QMI_DMS_OFFLINE_REASON_PRI_VERSION_INCOMPATIBLE = 1 << 2, @@ -212,8 +229,10 @@ typedef enum { * @QMI_DMS_TIME_SOURCE_HDR_NETWORK: HDR network. * * Source of the timestamp. + * + * Since: 1.0 */ -typedef enum { +typedef enum { /*< since=1.0 >*/ QMI_DMS_TIME_SOURCE_DEVICE = 0, QMI_DMS_TIME_SOURCE_CDMA_NETWORK = 1, QMI_DMS_TIME_SOURCE_HDR_NETWORK = 2, @@ -237,8 +256,10 @@ typedef enum { * @QMI_DMS_ACTIVATION_STATE_OTASP_COMMITED: OTASP settings committed. * * State of the service activation. + * + * Since: 1.0 */ -typedef enum { +typedef enum { /*< since=1.0 >*/ QMI_DMS_ACTIVATION_STATE_NOT_ACTIVATED = 0x00, QMI_DMS_ACTIVATION_STATE_ACTIVATED = 0x01, QMI_DMS_ACTIVATION_STATE_CONNECTING = 0x02, @@ -264,8 +285,10 @@ typedef enum { * @QMI_DMS_UIM_FACILITY_PF: UIM personalization facility. * * UIM personalization facilities. + * + * Since: 1.0 */ -typedef enum { +typedef enum { /*< since=1.0 >*/ QMI_DMS_UIM_FACILITY_PN = 0, QMI_DMS_UIM_FACILITY_PU = 1, QMI_DMS_UIM_FACILITY_PP = 2, @@ -278,8 +301,12 @@ typedef enum { * @QMI_DMS_UIM_FACILITY_STATE_DEACTIVATED: Facility is deactivated. * @QMI_DMS_UIM_FACILITY_STATE_ACTIVATED: Facility is activated. * @QMI_DMS_UIM_FACILITY_STATE_BLOCKED: Facility is blocked. + * + * State of the UIM facility. + * + * Since: 1.0 */ -typedef enum { +typedef enum { /*< since=1.0 >*/ QMI_DMS_UIM_FACILITY_STATE_DEACTIVATED = 0, QMI_DMS_UIM_FACILITY_STATE_ACTIVATED = 1, QMI_DMS_UIM_FACILITY_STATE_BLOCKED = 2 @@ -297,8 +324,10 @@ typedef enum { * @QMI_DMS_UIM_STATE_UNKNOWN: UIM state currently unavailable. * * State of the UIM. + * + * Since: 1.0 */ -typedef enum { +typedef enum { /*< since=1.0 >*/ QMI_DMS_UIM_STATE_INITIALIZATION_COMPLETED = 0x00, QMI_DMS_UIM_STATE_LOCKED_OR_FAILED = 0x01, QMI_DMS_UIM_STATE_NOT_PRESENT = 0x02, @@ -314,8 +343,10 @@ typedef enum { * @QMI_DMS_TIME_REFERENCE_TYPE_USER: User time. * * Time reference type. + * + * Since: 1.0 */ -typedef enum { +typedef enum { /*< since=1.0 >*/ QMI_DMS_TIME_REFERENCE_TYPE_USER = 0 } QmiDmsTimeReferenceType; @@ -328,10 +359,171 @@ typedef enum { * @QMI_DMS_FIRMWARE_IMAGE_TYPE_PRI: PRI image. * * Type of firmware image. + * + * Since: 1.0 */ -typedef enum { +typedef enum { /*< since=1.0 >*/ QMI_DMS_FIRMWARE_IMAGE_TYPE_MODEM = 0, QMI_DMS_FIRMWARE_IMAGE_TYPE_PRI = 1 } QmiDmsFirmwareImageType; +/*****************************************************************************/ +/* Helper enums for the 'QMI DMS Get Boot Image Download Mode' message */ + +/** + * QmiDmsBootImageDownloadMode: + * @QMI_DMS_BOOT_IMAGE_DOWNLOAD_MODE_NORMAL: Normal operation. + * @QMI_DMS_BOOT_IMAGE_DOWNLOAD_MODE_BOOT_AND_RECOVERY: Boot and recovery image download mode. + * + * Specifies the mode for the next boot. + * + * Since: 1.18 + */ +typedef enum { /*< since=1.18 >*/ + QMI_DMS_BOOT_IMAGE_DOWNLOAD_MODE_NORMAL = 0, + QMI_DMS_BOOT_IMAGE_DOWNLOAD_MODE_BOOT_AND_RECOVERY = 1, +} QmiDmsBootImageDownloadMode; + +/*****************************************************************************/ +/* Helper enums for the 'QMI DMS Get MAC Address' message */ + +/** + * QmiDmsMacType: + * @QMI_DMS_MAC_TYPE_WLAN: WLAN MAC address. + * @QMI_DMS_MAC_TYPE_BT: Bluetooth MAC address. + * + * Specifies the device from which the MAC address should be queried. + * + * Since: 1.26 + */ +typedef enum { /*< since=1.26 >*/ + QMI_DMS_MAC_TYPE_WLAN = 0, + QMI_DMS_MAC_TYPE_BT = 1, +} QmiDmsMacType; + +/*****************************************************************************/ +/* Helper enums for the 'QMI DMS HP Change Device Mode' message */ + +/** + * QmiDmsHpDeviceMode: + * @QMI_DMS_HP_DEVICE_MODE_FASTBOOT: Fastboot download mode. + * + * HP specific device modes. + * + * Since: 1.18 + */ +typedef enum { /*< since=1.18 >*/ + QMI_DMS_HP_DEVICE_MODE_FASTBOOT = 5, +} QmiDmsHpDeviceMode; + +/*****************************************************************************/ +/* Helper enums for the 'QMI DMS Swi Get USB Composition' message */ + +/** + * QmiDmsSwiUsbComposition: + * @QMI_DMS_SWI_USB_COMPOSITION_UNKNOWN: Unknown. + * @QMI_DMS_SWI_USB_COMPOSITION_0: HIP, DM, NMEA, AT, MDM1, MDM2, MDM3, MS. + * @QMI_DMS_SWI_USB_COMPOSITION_1: HIP, DM, NMEA, AT, MDM1, MS. + * @QMI_DMS_SWI_USB_COMPOSITION_2: HIP, DM, NMEA, AT, NIC1, MS. + * @QMI_DMS_SWI_USB_COMPOSITION_3: HIP, DM, NMEA, AT, MDM1, NIC1, MS. + * @QMI_DMS_SWI_USB_COMPOSITION_4: HIP, DM, NMEA, AT, NIC1, NIC2, NIC3, MS. + * @QMI_DMS_SWI_USB_COMPOSITION_5: HIP, DM, NMEA, AT, ECM1, MS. + * @QMI_DMS_SWI_USB_COMPOSITION_6: DM, NMEA, AT, QMI. + * @QMI_DMS_SWI_USB_COMPOSITION_7: DM, NMEA, AT, RMNET1, RMNET2, RMNET3. + * @QMI_DMS_SWI_USB_COMPOSITION_8: DM, NMEA, AT, MBIM. + * @QMI_DMS_SWI_USB_COMPOSITION_9: MBIM. + * @QMI_DMS_SWI_USB_COMPOSITION_10: NMEA, MBIM. + * @QMI_DMS_SWI_USB_COMPOSITION_11: DM, MBIM. + * @QMI_DMS_SWI_USB_COMPOSITION_12: DM, NMEA, MBIM. + * @QMI_DMS_SWI_USB_COMPOSITION_13: Dual configuration: USB composition 6 and USB composition 8. + * @QMI_DMS_SWI_USB_COMPOSITION_14: Dual configuration: USB composition 6 and USB composition 9. + * @QMI_DMS_SWI_USB_COMPOSITION_15: Dual configuration: USB composition 6 and USB composition 10. + * @QMI_DMS_SWI_USB_COMPOSITION_16: Dual configuration: USB composition 6 and USB composition 11. + * @QMI_DMS_SWI_USB_COMPOSITION_17: Dual configuration: USB composition 6 and USB composition 12. + * @QMI_DMS_SWI_USB_COMPOSITION_18: Dual configuration: USB composition 7 and USB composition 8. + * @QMI_DMS_SWI_USB_COMPOSITION_19: Dual configuration: USB composition 7 and USB composition 9. + * @QMI_DMS_SWI_USB_COMPOSITION_20: Dual configuration: USB composition 7 and USB composition 10. + * @QMI_DMS_SWI_USB_COMPOSITION_21: Dual configuration: USB composition 7 and USB composition 11. + * @QMI_DMS_SWI_USB_COMPOSITION_22: Dual configuration: USB composition 7 and USB composition 12. + * + * Sierra Wireless USB composition modes. + * + * Since: 1.20 + */ +typedef enum { /*< since=1.20 >*/ + QMI_DMS_SWI_USB_COMPOSITION_UNKNOWN = -1, + QMI_DMS_SWI_USB_COMPOSITION_0 = 0, + QMI_DMS_SWI_USB_COMPOSITION_1 = 1, + QMI_DMS_SWI_USB_COMPOSITION_2 = 2, + QMI_DMS_SWI_USB_COMPOSITION_3 = 3, + QMI_DMS_SWI_USB_COMPOSITION_4 = 4, + QMI_DMS_SWI_USB_COMPOSITION_5 = 5, + QMI_DMS_SWI_USB_COMPOSITION_6 = 6, + QMI_DMS_SWI_USB_COMPOSITION_7 = 7, + QMI_DMS_SWI_USB_COMPOSITION_8 = 8, + QMI_DMS_SWI_USB_COMPOSITION_9 = 9, + QMI_DMS_SWI_USB_COMPOSITION_10 = 10, + QMI_DMS_SWI_USB_COMPOSITION_11 = 11, + QMI_DMS_SWI_USB_COMPOSITION_12 = 12, + QMI_DMS_SWI_USB_COMPOSITION_13 = 13, + QMI_DMS_SWI_USB_COMPOSITION_14 = 14, + QMI_DMS_SWI_USB_COMPOSITION_15 = 15, + QMI_DMS_SWI_USB_COMPOSITION_16 = 16, + QMI_DMS_SWI_USB_COMPOSITION_17 = 17, + QMI_DMS_SWI_USB_COMPOSITION_18 = 18, + QMI_DMS_SWI_USB_COMPOSITION_19 = 19, + QMI_DMS_SWI_USB_COMPOSITION_20 = 20, + QMI_DMS_SWI_USB_COMPOSITION_21 = 21, + QMI_DMS_SWI_USB_COMPOSITION_22 = 22, +} QmiDmsSwiUsbComposition; + +/** + * qmi_dms_swi_usb_composition_get_description: + * @value: a #QmiDmsSwiUsbComposition. + * + * Gets a text description of the Sierra Wireless USB composition. + * + * Since: 1.20 + * Returns: a string. + */ +const char *qmi_dms_swi_usb_composition_get_description (QmiDmsSwiUsbComposition value); + +/*****************************************************************************/ +/* Helper enums for the 'QMI DMS Foxconn Change Device Mode' message */ + +/** + * QmiDmsFoxconnDeviceMode: + * @QMI_DMS_FOXCONN_DEVICE_MODE_UNKNOWN: Unknown mode. + * @QMI_DMS_FOXCONN_DEVICE_MODE_FASTBOOT_ONLINE: Fastboot download mode for full partition files. + * @QMI_DMS_FOXCONN_DEVICE_MODE_FASTBOOT_OTA: Fastboot download mode for OTA files. + * + * Foxconn specific device modes. + * + * Since: 1.26 + */ +typedef enum { /*< since=1.26 >*/ + QMI_DMS_FOXCONN_DEVICE_MODE_UNKNOWN = 0, + QMI_DMS_FOXCONN_DEVICE_MODE_FASTBOOT_ONLINE = 0x05, + QMI_DMS_FOXCONN_DEVICE_MODE_FASTBOOT_OTA = 0x0A, +} QmiDmsFoxconnDeviceMode; + +/*****************************************************************************/ +/* Helper enums for the 'QMI DMS Foxconn Get Firmware Version' message */ + +/** + * QmiDmsFoxconnFirmwareVersionType: + * @QMI_DMS_FOXCONN_FIRMWARE_VERSION_TYPE_FIRMWARE_MCFG: E.g. T77W968.F0.0.0.2.3.GC.004. + * @QMI_DMS_FOXCONN_FIRMWARE_VERSION_TYPE_FIRMWARE_MCFG_APPS: E.g. T77W968.F0.0.0.2.3.GC.004.011. + * @QMI_DMS_FOXCONN_FIRMWARE_VERSION_TYPE_APPS: E.g. 011. + * + * Foxconn specific firmware version types. + * + * Since: 1.26 + */ +typedef enum { /*< since=1.26 >*/ + QMI_DMS_FOXCONN_FIRMWARE_VERSION_TYPE_FIRMWARE_MCFG = 0x00, + QMI_DMS_FOXCONN_FIRMWARE_VERSION_TYPE_FIRMWARE_MCFG_APPS = 0x01, + QMI_DMS_FOXCONN_FIRMWARE_VERSION_TYPE_APPS = 0x02, +} QmiDmsFoxconnFirmwareVersionType; + #endif /* _LIBQMI_GLIB_QMI_ENUMS_DMS_H_ */ diff --git a/qmi-enums-nas.h b/qmi-enums-nas.h index d278d81..9f1ef42 100644 --- a/qmi-enums-nas.h +++ b/qmi-enums-nas.h @@ -18,6 +18,7 @@ * Boston, MA 02110-1301 USA. * * Copyright (C) 2012 Google Inc. + * Copyright (C) 2012-2017 Aleksander Morgado */ #ifndef _LIBQMI_GLIB_QMI_ENUMS_NAS_H_ @@ -25,7 +26,6 @@ /** * SECTION: qmi-enums-nas - * @title: NAS enumerations and flags * * This section defines enumerations and flags used in the NAS service * interface. @@ -45,10 +45,13 @@ * @QMI_NAS_RADIO_INTERFACE_UMTS: UMTS. * @QMI_NAS_RADIO_INTERFACE_LTE: LTE. * @QMI_NAS_RADIO_INTERFACE_TD_SCDMA: TD-SCDMA. + * @QMI_NAS_RADIO_INTERFACE_5GNR: 5G NR. Since 1.26. * * Radio interface technology. + * + * Since: 1.0 */ -typedef enum { +typedef enum { /*< since=1.0 >*/ QMI_NAS_RADIO_INTERFACE_UNKNOWN = -1, QMI_NAS_RADIO_INTERFACE_NONE = 0x00, QMI_NAS_RADIO_INTERFACE_CDMA_1X = 0x01, @@ -57,7 +60,8 @@ typedef enum { QMI_NAS_RADIO_INTERFACE_GSM = 0x04, QMI_NAS_RADIO_INTERFACE_UMTS = 0x05, QMI_NAS_RADIO_INTERFACE_LTE = 0x08, - QMI_NAS_RADIO_INTERFACE_TD_SCDMA = 0x09 + QMI_NAS_RADIO_INTERFACE_TD_SCDMA = 0x09, + QMI_NAS_RADIO_INTERFACE_5GNR = 0x0C, } QmiNasRadioInterface; /** @@ -121,8 +125,16 @@ typedef enum { * @QMI_NAS_ACTIVE_BAND_EUTRAN_19: EUTRAN band 19. * @QMI_NAS_ACTIVE_BAND_EUTRAN_20: EUTRAN band 20. * @QMI_NAS_ACTIVE_BAND_EUTRAN_21: EUTRAN band 21. + * @QMI_NAS_ACTIVE_BAND_EUTRAN_23: EUTRAN band 23. * @QMI_NAS_ACTIVE_BAND_EUTRAN_24: EUTRAN band 24. * @QMI_NAS_ACTIVE_BAND_EUTRAN_25: EUTRAN band 25. + * @QMI_NAS_ACTIVE_BAND_EUTRAN_26: EUTRAN band 26. + * @QMI_NAS_ACTIVE_BAND_EUTRAN_27: EUTRAN band 27. + * @QMI_NAS_ACTIVE_BAND_EUTRAN_28: EUTRAN band 28. + * @QMI_NAS_ACTIVE_BAND_EUTRAN_29: EUTRAN band 29. + * @QMI_NAS_ACTIVE_BAND_EUTRAN_30: EUTRAN band 30. + * @QMI_NAS_ACTIVE_BAND_EUTRAN_31: EUTRAN band 31. + * @QMI_NAS_ACTIVE_BAND_EUTRAN_32: EUTRAN band 32. * @QMI_NAS_ACTIVE_BAND_EUTRAN_33: EUTRAN band 33. * @QMI_NAS_ACTIVE_BAND_EUTRAN_34: EUTRAN band 34. * @QMI_NAS_ACTIVE_BAND_EUTRAN_35: EUTRAN band 35. @@ -134,6 +146,15 @@ typedef enum { * @QMI_NAS_ACTIVE_BAND_EUTRAN_41: EUTRAN band 41. * @QMI_NAS_ACTIVE_BAND_EUTRAN_42: EUTRAN band 42. * @QMI_NAS_ACTIVE_BAND_EUTRAN_43: EUTRAN band 43. + * @QMI_NAS_ACTIVE_BAND_EUTRAN_46: EUTRAN band 46. + * @QMI_NAS_ACTIVE_BAND_EUTRAN_47: EUTRAN band 47. + * @QMI_NAS_ACTIVE_BAND_EUTRAN_48: EUTRAN band 48. + * @QMI_NAS_ACTIVE_BAND_EUTRAN_66: EUTRAN band 66. + * @QMI_NAS_ACTIVE_BAND_EUTRAN_71: EUTRAN band 71. + * @QMI_NAS_ACTIVE_BAND_EUTRAN_125: EUTRAN band 125. + * @QMI_NAS_ACTIVE_BAND_EUTRAN_126: EUTRAN band 126. + * @QMI_NAS_ACTIVE_BAND_EUTRAN_127: EUTRAN band 127. + * @QMI_NAS_ACTIVE_BAND_EUTRAN_250: EUTRAN band 250. * @QMI_NAS_ACTIVE_BAND_TDSCDMA_A: TD-SCDMA Band A. * @QMI_NAS_ACTIVE_BAND_TDSCDMA_B: TD-SCDMA Band B. * @QMI_NAS_ACTIVE_BAND_TDSCDMA_C: TD-SCDMA Band C. @@ -142,8 +163,10 @@ typedef enum { * @QMI_NAS_ACTIVE_BAND_TDSCDMA_F: TD-SCDMA Band F. * * Band classes. + * + * Since: 1.0 */ -typedef enum { +typedef enum { /*< since=1.0 >*/ QMI_NAS_ACTIVE_BAND_BC_0 = 0, QMI_NAS_ACTIVE_BAND_BC_1 = 1, QMI_NAS_ACTIVE_BAND_BC_2 = 2, @@ -203,8 +226,16 @@ typedef enum { QMI_NAS_ACTIVE_BAND_EUTRAN_19 = 144, QMI_NAS_ACTIVE_BAND_EUTRAN_20 = 145, QMI_NAS_ACTIVE_BAND_EUTRAN_21 = 146, + QMI_NAS_ACTIVE_BAND_EUTRAN_23 = 152, QMI_NAS_ACTIVE_BAND_EUTRAN_24 = 147, QMI_NAS_ACTIVE_BAND_EUTRAN_25 = 148, + QMI_NAS_ACTIVE_BAND_EUTRAN_26 = 153, + QMI_NAS_ACTIVE_BAND_EUTRAN_27 = 164, + QMI_NAS_ACTIVE_BAND_EUTRAN_28 = 158, + QMI_NAS_ACTIVE_BAND_EUTRAN_29 = 159, + QMI_NAS_ACTIVE_BAND_EUTRAN_30 = 160, + QMI_NAS_ACTIVE_BAND_EUTRAN_31 = 165, + QMI_NAS_ACTIVE_BAND_EUTRAN_32 = 154, QMI_NAS_ACTIVE_BAND_EUTRAN_33 = 135, QMI_NAS_ACTIVE_BAND_EUTRAN_34 = 136, QMI_NAS_ACTIVE_BAND_EUTRAN_35 = 137, @@ -216,6 +247,15 @@ typedef enum { QMI_NAS_ACTIVE_BAND_EUTRAN_41 = 149, QMI_NAS_ACTIVE_BAND_EUTRAN_42 = 150, QMI_NAS_ACTIVE_BAND_EUTRAN_43 = 151, + QMI_NAS_ACTIVE_BAND_EUTRAN_46 = 163, + QMI_NAS_ACTIVE_BAND_EUTRAN_47 = 166, + QMI_NAS_ACTIVE_BAND_EUTRAN_48 = 167, + QMI_NAS_ACTIVE_BAND_EUTRAN_66 = 161, + QMI_NAS_ACTIVE_BAND_EUTRAN_71 = 168, + QMI_NAS_ACTIVE_BAND_EUTRAN_125 = 155, + QMI_NAS_ACTIVE_BAND_EUTRAN_126 = 156, + QMI_NAS_ACTIVE_BAND_EUTRAN_127 = 157, + QMI_NAS_ACTIVE_BAND_EUTRAN_250 = 162, QMI_NAS_ACTIVE_BAND_TDSCDMA_A = 200, QMI_NAS_ACTIVE_BAND_TDSCDMA_B = 201, QMI_NAS_ACTIVE_BAND_TDSCDMA_C = 202, @@ -233,8 +273,10 @@ typedef enum { * @QMI_NAS_NETWORK_SERVICE_DOMAIN_UNKNOWN: Unknown service. * * Network Service Domain. + * + * Since: 1.0 */ -typedef enum { +typedef enum { /*< since=1.0 >*/ QMI_NAS_NETWORK_SERVICE_DOMAIN_NONE = 0x00, QMI_NAS_NETWORK_SERVICE_DOMAIN_CS = 0x01, QMI_NAS_NETWORK_SERVICE_DOMAIN_PS = 0x02, @@ -255,8 +297,10 @@ typedef enum { * @QMI_NAS_EVDO_SINR_LEVEL_8: +9 dB. * * EV-DO SINR level. + * + * Since: 1.0 */ -typedef enum { +typedef enum { /*< since=1.0 >*/ QMI_NAS_EVDO_SINR_LEVEL_0 = 0, QMI_NAS_EVDO_SINR_LEVEL_1 = 1, QMI_NAS_EVDO_SINR_LEVEL_2 = 2, @@ -284,8 +328,10 @@ typedef enum { * @QMI_NAS_SIGNAL_STRENGTH_REQUEST_LTE_RSRP: Request LTE RSRP information. * * Extra information to request when gathering Signal Strength. + * + * Since: 1.0 */ -typedef enum { +typedef enum { /*< since=1.0 >*/ QMI_NAS_SIGNAL_STRENGTH_REQUEST_NONE = 0, QMI_NAS_SIGNAL_STRENGTH_REQUEST_RSSI = 1 << 0, QMI_NAS_SIGNAL_STRENGTH_REQUEST_ECIO = 1 << 1, @@ -308,14 +354,32 @@ typedef enum { * @QMI_NAS_NETWORK_SCAN_TYPE_TD_SCDMA: TD-SCDMA network. * * Flags to use when specifying which networks to scan. + * + * Since: 1.0 */ -typedef enum { +typedef enum { /*< since=1.0 >*/ QMI_NAS_NETWORK_SCAN_TYPE_GSM = 1 << 0, QMI_NAS_NETWORK_SCAN_TYPE_UMTS = 1 << 1, QMI_NAS_NETWORK_SCAN_TYPE_LTE = 1 << 2, QMI_NAS_NETWORK_SCAN_TYPE_TD_SCDMA = 1 << 3 } QmiNasNetworkScanType; +/** + * QmiNasNetworkScanResult: + * @QMI_NAS_NETWORK_SCAN_RESULT_SUCCESS: Success. + * @QMI_NAS_NETWORK_SCAN_RESULT_ABORT: Abort. + * @QMI_NAS_NETWORK_SCAN_RESULT_RADIO_LINK_FAILURE: Radio link failure. + * + * Network scan result. + * + * Since: 1.24 + */ +typedef enum { /*< since=1.24 >*/ + QMI_NAS_NETWORK_SCAN_RESULT_SUCCESS = 0, + QMI_NAS_NETWORK_SCAN_RESULT_ABORT = 1, + QMI_NAS_NETWORK_SCAN_RESULT_RADIO_LINK_FAILURE = 2, +} QmiNasNetworkScanResult; + /** * QmiNasNetworkStatus: * @QMI_NAS_NETWORK_STATUS_CURRENT_SERVING: Network is in use, current serving. @@ -328,8 +392,10 @@ typedef enum { * @QMI_NAS_NETWORK_STATUS_NOT_PREFERRED: Network is not preferred. * * Flags to specify the status of a given network. + * + * Since: 1.0 */ -typedef enum { +typedef enum { /*< since=1.0 >*/ QMI_NAS_NETWORK_STATUS_CURRENT_SERVING = 1 << 0, QMI_NAS_NETWORK_STATUS_AVAILABLE = 1 << 1, QMI_NAS_NETWORK_STATUS_HOME = 1 << 2, @@ -349,12 +415,31 @@ typedef enum { * @QMI_NAS_NETWORK_REGISTER_TYPE_MANUAL: Manual network registration. * * Type of network registration. + * + * Since: 1.0 */ -typedef enum { +typedef enum { /*< since=1.0 >*/ QMI_NAS_NETWORK_REGISTER_TYPE_AUTOMATIC = 0x01, QMI_NAS_NETWORK_REGISTER_TYPE_MANUAL = 0x02 } QmiNasNetworkRegisterType; +/*****************************************************************************/ +/* Helper enums for the 'QMI NAS Attach Detach' request/response */ + +/** + * QmiNasPsAttachAction: + * @QMI_NAS_PS_ATTACH_ACTION_ATTACH: Attach the PS domain. + * @QMI_NAS_PS_ATTACH_ACTION_DETACH: Detach the PS domain. + * + * Packet Switched domain attach/detach action. + * + * Since: 1.20 + */ +typedef enum { /*< since=1.20 >*/ + QMI_NAS_PS_ATTACH_ACTION_ATTACH = 0x01, + QMI_NAS_PS_ATTACH_ACTION_DETACH = 0x02 +} QmiNasPsAttachAction; + /*****************************************************************************/ /* Helper enums for the 'QMI NAS Get Serving System' request/response */ @@ -367,8 +452,10 @@ typedef enum { * @QMI_NAS_REGISTRATION_STATE_UNKNOWN: Unknown. * * Status of the network registration. + * + * Since: 1.0 */ -typedef enum { +typedef enum { /*< since=1.0 >*/ QMI_NAS_REGISTRATION_STATE_NOT_REGISTERED = 0x00, QMI_NAS_REGISTRATION_STATE_REGISTERED = 0x01, QMI_NAS_REGISTRATION_STATE_NOT_REGISTERED_SEARCHING = 0x02, @@ -383,8 +470,10 @@ typedef enum { * @QMI_NAS_ATTACH_STATE_DETACHED: Detached. * * Domain attach state. + * + * Since: 1.0 */ -typedef enum { +typedef enum { /*< since=1.0 >*/ QMI_NAS_ATTACH_STATE_UNKNOWN = 0x00, QMI_NAS_ATTACH_STATE_ATTACHED = 0x01, QMI_NAS_ATTACH_STATE_DETACHED = 0x02, @@ -397,8 +486,10 @@ typedef enum { * @QMI_NAS_NETWORK_TYPE_3GPP: 3GPP network. * * Type of network. + * + * Since: 1.0 */ -typedef enum { +typedef enum { /*< since=1.0 >*/ QMI_NAS_NETWORK_TYPE_UNKNOWN = 0x00, QMI_NAS_NETWORK_TYPE_3GPP2 = 0x01, QMI_NAS_NETWORK_TYPE_3GPP = 0x02, @@ -410,8 +501,10 @@ typedef enum { * @QMI_NAS_ROAMING_INDICATOR_STATUS_OFF: Home. * * Status of the roaming indication. + * + * Since: 1.0 */ -typedef enum { +typedef enum { /*< since=1.0 >*/ QMI_NAS_ROAMING_INDICATOR_STATUS_ON = 0x00, QMI_NAS_ROAMING_INDICATOR_STATUS_OFF = 0x01, /* next values only for 3GPP2 */ @@ -435,8 +528,10 @@ typedef enum { * @QMI_NAS_DATA_CAPABILITY_DC_HSDPA_PLUS: DC-HSDPA+. * * Data capability of the network. + * + * Since: 1.0 */ -typedef enum { +typedef enum { /*< since=1.0 >*/ QMI_NAS_DATA_CAPABILITY_NONE = 0x00, QMI_NAS_DATA_CAPABILITY_GPRS = 0x01, QMI_NAS_DATA_CAPABILITY_EDGE = 0x02, @@ -462,8 +557,10 @@ typedef enum { * @QMI_NAS_SERVICE_STATUS_POWER_SAVE: Device in power save mode. * * Status of the service. + * + * Since: 1.0 */ -typedef enum { +typedef enum { /*< since=1.0 >*/ QMI_NAS_SERVICE_STATUS_NONE = 0x00, QMI_NAS_SERVICE_STATUS_LIMITED = 0x01, QMI_NAS_SERVICE_STATUS_AVAILABLE = 0x02, @@ -478,8 +575,10 @@ typedef enum { * @QMI_NAS_HDR_PERSONALITY_EHRPD: eHRPD. * * HDR personality type. + * + * Since: 1.0 */ -typedef enum { +typedef enum { /*< since=1.0 >*/ QMI_NAS_HDR_PERSONALITY_UNKNOWN = 0x00, QMI_NAS_HDR_PERSONALITY_HRPD = 0x01, QMI_NAS_HDR_PERSONALITY_EHRPD = 0x02, @@ -494,8 +593,10 @@ typedef enum { * @QMI_NAS_CALL_BARRING_STATUS_UNKNOWN: Unknown. * * Status of the call barring functionality. + * + * Since: 1.0 */ -typedef enum { +typedef enum { /*< since=1.0 >*/ QMI_NAS_CALL_BARRING_STATUS_NORMAL_ONLY = 0x00, QMI_NAS_CALL_BARRING_STATUS_EMERGENCY_ONLY = 0x01, QMI_NAS_CALL_BARRING_STATUS_NO_CALLS = 0x02, @@ -513,8 +614,10 @@ typedef enum { * @QMI_NAS_NETWORK_DESCRIPTION_DISPLAY_UNKNOWN: Unknown. * * Setup to define whether the network description should be displayed. + * + * Since: 1.0 */ -typedef enum { +typedef enum { /*< since=1.0 >*/ QMI_NAS_NETWORK_DESCRIPTION_DISPLAY_NO = 0x00, QMI_NAS_NETWORK_DESCRIPTION_DISPLAY_YES = 0x01, QMI_NAS_NETWORK_DESCRIPTION_DISPLAY_UNKNOWN = 0xFF @@ -528,14 +631,44 @@ typedef enum { * @QMI_NAS_NETWORK_DESCRIPTION_ENCODING_GSM: GSM 7-bit. * * Type of encoding used in the network description. + * + * Since: 1.0 */ -typedef enum { +typedef enum { /*< since=1.0 >*/ QMI_NAS_NETWORK_DESCRIPTION_ENCODING_UNSPECIFIED = 0x00, QMI_NAS_NETWORK_DESCRIPTION_ENCODING_ASCII7 = 0x01, QMI_NAS_NETWORK_DESCRIPTION_ENCODING_UNICODE = 0x04, QMI_NAS_NETWORK_DESCRIPTION_ENCODING_GSM = 0x09 } QmiNasNetworkDescriptionEncoding; +/*****************************************************************************/ +/* Helper enums for the 'QMI NAS Get Preferred Networks' request/response */ + +/** + * QmiNasPlmnAccessTechnologyIdentifier: + * @QMI_NAS_PLMN_ACCESS_TECHNOLOGY_IDENTIFIER_UNSPECIFIED: Unspecified. + * @QMI_NAS_PLMN_ACCESS_TECHNOLOGY_IDENTIFIER_GSM_COMPACT: GSM Compact. + * @QMI_NAS_PLMN_ACCESS_TECHNOLOGY_IDENTIFIER_GSM: GSM. + * @QMI_NAS_PLMN_ACCESS_TECHNOLOGY_IDENTIFIER_NGRAN: NG-RAN. + * @QMI_NAS_PLMN_ACCESS_TECHNOLOGY_IDENTIFIER_EUTRAN: E-UTRAN. + * @QMI_NAS_PLMN_ACCESS_TECHNOLOGY_IDENTIFIER_UTRAN: UTRAN. + * @QMI_NAS_PLMN_ACCESS_TECHNOLOGY_IDENTIFIER_ALL: All technologies. + * + * Preferred networks access technology identifier as specified in + * ETSI TS 131 102, chapter 4.2.5. + * + * Since: 1.30 + */ +typedef enum { /*< since=1.30 >*/ + QMI_NAS_PLMN_ACCESS_TECHNOLOGY_IDENTIFIER_UNSPECIFIED = 0x0000, + QMI_NAS_PLMN_ACCESS_TECHNOLOGY_IDENTIFIER_GSM_COMPACT = 1 << 6, + QMI_NAS_PLMN_ACCESS_TECHNOLOGY_IDENTIFIER_GSM = 1 << 7, + QMI_NAS_PLMN_ACCESS_TECHNOLOGY_IDENTIFIER_NGRAN = 1 << 11, + QMI_NAS_PLMN_ACCESS_TECHNOLOGY_IDENTIFIER_EUTRAN = 1 << 14, + QMI_NAS_PLMN_ACCESS_TECHNOLOGY_IDENTIFIER_UTRAN = 1 << 15, + QMI_NAS_PLMN_ACCESS_TECHNOLOGY_IDENTIFIER_ALL = 0xFFFF +} QmiNasPlmnAccessTechnologyIdentifier; + /*****************************************************************************/ /* Helper enums for the 'QMI NAS Get Technology Preference' request/response */ @@ -550,8 +683,10 @@ typedef enum { * @QMI_NAS_RADIO_TECHNOLOGY_PREFERENCE_LTE: LTE. * * Flags to specify the radio technology preference. + * + * Since: 1.0 */ -typedef enum { +typedef enum { /*< since=1.0 >*/ QMI_NAS_RADIO_TECHNOLOGY_PREFERENCE_AUTO = 0, QMI_NAS_RADIO_TECHNOLOGY_PREFERENCE_3GPP2 = 1 << 0, QMI_NAS_RADIO_TECHNOLOGY_PREFERENCE_3GPP = 1 << 1, @@ -572,8 +707,10 @@ typedef enum { * @QMI_NAS_PREFERENCE_DURATION_INTERNAL_ONE_CALL_3: Internal reason 3, one call. * * Duration of the preference setting. + * + * Since: 1.0 */ -typedef enum { +typedef enum { /*< since=1.0 >*/ QMI_NAS_PREFERENCE_DURATION_PERMANENT = 0x00, QMI_NAS_PREFERENCE_DURATION_POWER_CYCLE = 0x01, QMI_NAS_PREFERENCE_DURATION_ONE_CALL = 0x02, @@ -595,16 +732,20 @@ typedef enum { * @QMI_NAS_RAT_MODE_PREFERENCE_UMTS: UMTS. * @QMI_NAS_RAT_MODE_PREFERENCE_LTE: LTE. * @QMI_NAS_RAT_MODE_PREFERENCE_TD_SCDMA: TD-SCDMA. + * @QMI_NAS_RAT_MODE_PREFERENCE_5GNR: 5GNR. Since 1.26. * * Flags specifying radio access technology mode preference. + * + * Since: 1.0 */ -typedef enum { +typedef enum { /*< since=1.0 >*/ QMI_NAS_RAT_MODE_PREFERENCE_CDMA_1X = 1 << 0, QMI_NAS_RAT_MODE_PREFERENCE_CDMA_1XEVDO = 1 << 1, QMI_NAS_RAT_MODE_PREFERENCE_GSM = 1 << 2, QMI_NAS_RAT_MODE_PREFERENCE_UMTS = 1 << 3, QMI_NAS_RAT_MODE_PREFERENCE_LTE = 1 << 4, - QMI_NAS_RAT_MODE_PREFERENCE_TD_SCDMA = 1 << 5 + QMI_NAS_RAT_MODE_PREFERENCE_TD_SCDMA = 1 << 5, + QMI_NAS_RAT_MODE_PREFERENCE_5GNR = 1 << 6, } QmiNasRatModePreference; /** @@ -614,8 +755,10 @@ typedef enum { * @QMI_NAS_CDMA_PRL_PREFERENCE_ANY: Any system. * * Flags specifying the preference when using CDMA Band Class 0. + * + * Since: 1.0 */ -typedef enum { +typedef enum { /*< since=1.0 >*/ QMI_NAS_CDMA_PRL_PREFERENCE_A_SIDE_ONLY = 0x0001, QMI_NAS_CDMA_PRL_PREFERENCE_B_SIDE_ONLY = 0x0002, QMI_NAS_CDMA_PRL_PREFERENCE_ANY = 0x3FFF @@ -629,8 +772,10 @@ typedef enum { * @QMI_NAS_ROAMING_PREFERENCE_ANY: Don't filter by roaming when acquiring networks. * * Roaming preference. + * + * Since: 1.0 */ -typedef enum { +typedef enum { /*< since=1.0 >*/ QMI_NAS_ROAMING_PREFERENCE_OFF = 0x01, QMI_NAS_ROAMING_PREFERENCE_NOT_OFF = 0x02, QMI_NAS_ROAMING_PREFERENCE_NOT_FLASHING = 0x03, @@ -643,8 +788,10 @@ typedef enum { * @QMI_NAS_NETWORK_SELECTION_PREFERENCE_MANUAL: Manual. * * Network selection preference. + * + * Since: 1.0 */ -typedef enum { +typedef enum { /*< since=1.0 >*/ QMI_NAS_NETWORK_SELECTION_PREFERENCE_AUTOMATIC = 0x00, QMI_NAS_NETWORK_SELECTION_PREFERENCE_MANUAL = 0x01 } QmiNasNetworkSelectionPreference; @@ -655,8 +802,10 @@ typedef enum { * @QMI_NAS_CHANGE_DURATION_POWER_CYCLE: Until the next power cycle. * * Duration of the change setting. + * + * Since: 1.0 */ -typedef enum { +typedef enum { /*< since=1.0 >*/ QMI_NAS_CHANGE_DURATION_POWER_CYCLE = 0x00, QMI_NAS_CHANGE_DURATION_PERMANENT = 0x01 } QmiNasChangeDuration; @@ -670,8 +819,10 @@ typedef enum { * @QMI_NAS_SERVICE_DOMAIN_PREFERENCE_PS_DETACH:Packet-switched dettach. * * Service domain preference. + * + * Since: 1.0 */ -typedef enum { +typedef enum { /*< since=1.0 >*/ QMI_NAS_SERVICE_DOMAIN_PREFERENCE_CS_ONLY = 0x00, QMI_NAS_SERVICE_DOMAIN_PREFERENCE_PS_ONLY = 0x01, QMI_NAS_SERVICE_DOMAIN_PREFERENCE_CS_PS = 0x02, @@ -686,8 +837,10 @@ typedef enum { * @QMI_NAS_GSM_WCDMA_ACQUISITION_ORDER_PREFERENCE_WCDMA: WCDMA first, then GSM. * * GSM/WCDMA acquisition order preference. + * + * Since: 1.0 */ -typedef enum { +typedef enum { /*< since=1.0 >*/ QMI_NAS_GSM_WCDMA_ACQUISITION_ORDER_PREFERENCE_AUTOMATIC = 0x00, QMI_NAS_GSM_WCDMA_ACQUISITION_ORDER_PREFERENCE_GSM = 0x01, QMI_NAS_GSM_WCDMA_ACQUISITION_ORDER_PREFERENCE_WCDMA = 0x02 @@ -703,8 +856,10 @@ typedef enum { * @QMI_NAS_TD_SCDMA_BAND_PREFERENCE_F: Band F. * * Flags to specify TD-SCDMA-specific frequency band preferences. + * + * Since: 1.0 */ -typedef enum { +typedef enum { /*< since=1.0 >*/ QMI_NAS_TD_SCDMA_BAND_PREFERENCE_A = 1 << 0, QMI_NAS_TD_SCDMA_BAND_PREFERENCE_B = 1 << 1, QMI_NAS_TD_SCDMA_BAND_PREFERENCE_C = 1 << 2, @@ -713,9 +868,63 @@ typedef enum { QMI_NAS_TD_SCDMA_BAND_PREFERENCE_F = 1 << 5 } QmiNasTdScdmaBandPreference; +/** + * QmiNasVoiceDomainPreference: + * @QMI_NAS_VOICE_DOMAIN_PREFERENCE_CS_ONLY: Circuit-switched voice only + * @QMI_NAS_VOICE_DOMAIN_PREFERENCE_PS_ONLY: Packet-switched voice only. + * @QMI_NAS_VOICE_DOMAIN_PREFERENCE_CS_PREFERRED: Circuit-switched voice is preferred. + * @QMI_NAS_VOICE_DOMAIN_PREFERENCE_PS_PREFERRED: Packet-switched voice is preferred. + * + * Voice domain preference. + * + * Since: 1.24 + */ +typedef enum { /*< since=1.24 >*/ + QMI_NAS_VOICE_DOMAIN_PREFERENCE_CS_ONLY = 0x00, + QMI_NAS_VOICE_DOMAIN_PREFERENCE_PS_ONLY = 0x01, + QMI_NAS_VOICE_DOMAIN_PREFERENCE_CS_PREFERRED = 0x02, + QMI_NAS_VOICE_DOMAIN_PREFERENCE_PS_PREFERRED = 0x03, +} QmiNasVoiceDomainPreference; + /*****************************************************************************/ /* Helper enums for the 'QMI NAS Get System Info' request/response */ +/** + * QmiNasNetworkSelectionRegistrationRestriction: + * @QMI_NAS_NETWORK_SELECTION_REGISTRATION_RESTRICTION_UNRESTRICTED: Device follows the normal registration process. + * @QMI_NAS_NETWORK_SELECTION_REGISTRATION_RESTRICTION_CAMPED_ONLY: Device camps on the network according to its provisioning, but does not register. + * @QMI_NAS_NETWORK_SELECTION_REGISTRATION_RESTRICTION_LIMITED: Device selects the network for limited service. + * + * Registration restriction. + * + * Since: 1.24 + */ +typedef enum { /*< since=1.24 >*/ + QMI_NAS_NETWORK_SELECTION_REGISTRATION_RESTRICTION_UNRESTRICTED = 0x00, + QMI_NAS_NETWORK_SELECTION_REGISTRATION_RESTRICTION_CAMPED_ONLY = 0x01, + QMI_NAS_NETWORK_SELECTION_REGISTRATION_RESTRICTION_LIMITED = 0x02, +} QmiNasNetworkSelectionRegistrationRestriction; + +/** + * QmiNasLteRegistrationDomain: + * @QMI_NAS_LTE_REGISTRATION_DOMAIN_NOT_APPLICABLE: Not applicable since the UE is not in "Camp Only" mode. + * @QMI_NAS_LTE_REGISTRATION_DOMAIN_CS_ONLY: UE is in "Camp Only" mode and the PLMN can provide CS service only. + * @QMI_NAS_LTE_REGISTRATION_DOMAIN_PS_ONLY: UE is in "Camp Only" mode and the PLMN can provide PS service only. + * @QMI_NAS_LTE_REGISTRATION_DOMAIN_CS_PS: UE is in "Camp Only" mode and the PLMN can provide CS and PS service. + * @QMI_NAS_LTE_REGISTRATION_DOMAIN_LIMITED_SERVICE: UE is in "Camp Only" mode but the PLMN cannot provide any service. + * + * LTE registration domain. + * + * Since: 1.24 + */ +typedef enum { /*< since=1.24 >*/ + QMI_NAS_LTE_REGISTRATION_DOMAIN_NOT_APPLICABLE = 0x00, + QMI_NAS_LTE_REGISTRATION_DOMAIN_CS_ONLY = 0x01, + QMI_NAS_LTE_REGISTRATION_DOMAIN_PS_ONLY = 0x02, + QMI_NAS_LTE_REGISTRATION_DOMAIN_CS_PS = 0x03, + QMI_NAS_LTE_REGISTRATION_DOMAIN_LIMITED_SERVICE = 0x04, +} QmiNasLteRegistrationDomain; + /** * QmiNasRoamingStatus: * @QMI_NAS_ROAMING_STATUS_OFF: Off. @@ -731,8 +940,12 @@ typedef enum { * @QMI_NAS_ROAMING_STATUS_PARTIAL_SERVICE: Partial service. * @QMI_NAS_ROAMING_STATUS_BANNER_ON: Banner on. * @QMI_NAS_ROAMING_STATUS_BANNER_OFF: Banner off. -*/ -typedef enum { + * + * Roaming status. + * + * Since: 1.0 + */ +typedef enum { /*< since=1.0 >*/ QMI_NAS_ROAMING_STATUS_OFF = 0x00, QMI_NAS_ROAMING_STATUS_ON = 0x01, /* Next ones only for 3GPP2 */ @@ -749,6 +962,26 @@ typedef enum { QMI_NAS_ROAMING_STATUS_BANNER_OFF = 0x0C } QmiNasRoamingStatus; +/** + * QmiNasLteCellAccessStatus: + * @QMI_NAS_CELL_ACCESS_STATUS_NORMAL_ONLY: Access is allowed for normal calls only. + * @QMI_NAS_CELL_ACCESS_STATUS_EMERGENCY_ONLY: Access is allowed for emergency calls only. + * @QMI_NAS_CELL_ACCESS_STATUS_NO_CALLS: Access is not allowed for any call type. + * @QMI_NAS_CELL_ACCESS_STATUS_ALL_CALLS: Access is allowed for all call types. + * @QMI_NAS_CELL_ACCESS_STATUS_UNKNOWN: Unknown. + * + * Cell access status for LTE calls. + * + * Since: 1.24 + */ +typedef enum { /*< since=1.24 >*/ + QMI_NAS_CELL_ACCESS_STATUS_NORMAL_ONLY = 0x00, + QMI_NAS_CELL_ACCESS_STATUS_EMERGENCY_ONLY = 0x01, + QMI_NAS_CELL_ACCESS_STATUS_NO_CALLS = 0x02, + QMI_NAS_CELL_ACCESS_STATUS_ALL_CALLS = 0x03, + QMI_NAS_CELL_ACCESS_STATUS_UNKNOWN = 0xFF, +} QmiNasLteCellAccessStatus; + /** * QmiNasHdrProtocolRevision: * @QMI_NAS_HDR_PROTOCOL_REVISION_NONE: None. @@ -757,8 +990,10 @@ typedef enum { * @QMI_NAS_HDR_PROTOCOL_REVISION_REL_B: HDR Rel B. * * HDR protocol revision. + * + * Since: 1.0 */ -typedef enum { +typedef enum { /*< since=1.0 >*/ QMI_NAS_HDR_PROTOCOL_REVISION_NONE = 0x00, QMI_NAS_HDR_PROTOCOL_REVISION_REL_0 = 0x01, QMI_NAS_HDR_PROTOCOL_REVISION_REL_A = 0x02, @@ -775,9 +1010,12 @@ typedef enum { * @QMI_NAS_WCDMA_HS_SERVICE_HSDPA_PLUS_HSUPA_SUPPORTED: HSDPA+ and HSUPA supported. * @QMI_NAS_WCDMA_HS_SERVICE_DC_HSDPA_PLUS_SUPPORTED: DC-HSDPA+ supported. * @QMI_NAS_WCDMA_HS_SERVICE_DC_HSDPA_PLUS_HSUPA_SUPPORTED: DC-HSDPA+ and HSUPA supported. + * * Call status on high speed. + * + * Since: 1.0 */ -typedef enum { +typedef enum { /*< since=1.0 >*/ QMI_NAS_WCDMA_HS_SERVICE_HSDPA_HSUPA_UNSUPPORTED = 0x00, QMI_NAS_WCDMA_HS_SERVICE_HSDPA_SUPPORTED = 0x01, QMI_NAS_WCDMA_HS_SERVICE_HSUPA_SUPPORTED = 0x02, @@ -795,8 +1033,10 @@ typedef enum { * @QMI_NAS_CELL_BROADCAST_CAPABILITY_ON: Cell broadcast supported. * * Cell broadcast support. + * + * Since: 1.0 */ -typedef enum { +typedef enum { /*< since=1.0 >*/ QMI_NAS_CELL_BROADCAST_CAPABILITY_UNKNOWN = 0x00, QMI_NAS_CELL_BROADCAST_CAPABILITY_OFF = 0x01, QMI_NAS_CELL_BROADCAST_CAPABILITY_ON = 0x02 @@ -805,16 +1045,18 @@ typedef enum { /** * QmiNasSimRejectState: * @QMI_NAS_SIM_REJECT_STATE_SIM_UNAVAILABLE: SIM not available. - * @QMI_NAS_SIM_REJECT_STATE_SIM_VAILABLE: SIM available. + * @QMI_NAS_SIM_REJECT_STATE_SIM_AVAILABLE: SIM available. * @QMI_NAS_SIM_REJECT_STATE_SIM_CS_INVALID: SIM invalid for circuit-switched connections. * @QMI_NAS_SIM_REJECT_STATE_SIM_PS_INVALID: SIM invalid for packet-switched connections. * @QMI_NAS_SIM_REJECT_STATE_SIM_CS_PS_INVALID: SIM invalid for circuit-switched and packet-switched connections. * * Reject information of the SIM. + * + * Since: 1.0 */ -typedef enum { +typedef enum { /*< since=1.0 >*/ QMI_NAS_SIM_REJECT_STATE_SIM_UNAVAILABLE = 0, - QMI_NAS_SIM_REJECT_STATE_SIM_VAILABLE = 1, + QMI_NAS_SIM_REJECT_STATE_SIM_AVAILABLE = 1, QMI_NAS_SIM_REJECT_STATE_SIM_CS_INVALID = 2, QMI_NAS_SIM_REJECT_STATE_SIM_PS_INVALID = 3, QMI_NAS_SIM_REJECT_STATE_SIM_CS_PS_INVALID = 4 @@ -826,8 +1068,10 @@ typedef enum { * @QMI_NAS_CDMA_PILOT_TYPE_NEIGHBOR: the pilot is part of the neighbor set. * * The pilot set the pilot belongs to. + * + * Since: 1.0 */ -typedef enum { +typedef enum { /*< since=1.0 >*/ QMI_NAS_CDMA_PILOT_TYPE_ACTIVE = 0, QMI_NAS_CDMA_PILOT_TYPE_NEIGHBOR = 1, } QmiNasCdmaPilotType; @@ -843,8 +1087,10 @@ typedef enum { * @QMI_NAS_DAY_OF_WEEK_SUNDAY: Sunday * * The day of the week. + * + * Since: 1.4 */ -typedef enum { +typedef enum { /*< since=1.4 >*/ QMI_NAS_DAY_OF_WEEK_MONDAY = 0, QMI_NAS_DAY_OF_WEEK_TUESDAY = 1, QMI_NAS_DAY_OF_WEEK_WEDNESDAY = 2, @@ -861,8 +1107,10 @@ typedef enum { * @QMI_NAS_DAYLIGHT_SAVINGS_ADJUSTMENT_TWO_HOURS: two hours adjustment * * The number of hours a time is adjusted for daylight savings. + * + * Since: 1.4 */ -typedef enum { +typedef enum { /*< since=1.4 >*/ QMI_NAS_DAYLIGHT_SAVINGS_ADJUSTMENT_NONE = 0, QMI_NAS_DAYLIGHT_SAVINGS_ADJUSTMENT_ONE_HOUR = 1, QMI_NAS_DAYLIGHT_SAVINGS_ADJUSTMENT_TWO_HOURS = 2 @@ -880,8 +1128,10 @@ typedef enum { * @QMI_NAS_WCDMA_RRC_STATE_CELL_DCH: WCDMA RRC state is CELL_DCH. * * RRC state. + * + * Since: 1.10 */ -typedef enum { +typedef enum { /*< since=1.10 >*/ QMI_NAS_WCDMA_RRC_STATE_DISCONNECTED = 0, QMI_NAS_WCDMA_RRC_STATE_CELL_PCH = 1, QMI_NAS_WCDMA_RRC_STATE_URA_PCH = 2, @@ -889,4 +1139,524 @@ typedef enum { QMI_NAS_WCDMA_RRC_STATE_CELL_DCH = 4 } QmiNasWcdmaRrcState; +/*****************************************************************************/ +/* Helper enums for the 'QMI NAS Get LTE Cphy CA Info' request/response */ + +/** + * QmiNasDLBandwidth: + * @QMI_NAS_DL_BANDWIDTH_1_4: 1.4 MHz + * @QMI_NAS_DL_BANDWIDTH_3: 3 MHz + * @QMI_NAS_DL_BANDWIDTH_5: 5 MHz + * @QMI_NAS_DL_BANDWIDTH_10: 10 MHz + * @QMI_NAS_DL_BANDWIDTH_15: 15 MHz + * @QMI_NAS_DL_BANDWIDTH_20: 20 MHz + * @QMI_NAS_DL_BANDWIDTH_INVALID: Invalid + * @QMI_NAS_DL_BANDWIDTH_UNKNOWN: Unknown + * + * DL Bandwidth. + * + * Since: 1.16 + */ +typedef enum { /*< since=1.16 >*/ + QMI_NAS_DL_BANDWIDTH_1_4 = 0, + QMI_NAS_DL_BANDWIDTH_3 = 1, + QMI_NAS_DL_BANDWIDTH_5 = 2, + QMI_NAS_DL_BANDWIDTH_10 = 3, + QMI_NAS_DL_BANDWIDTH_15 = 4, + QMI_NAS_DL_BANDWIDTH_20 = 5, + QMI_NAS_DL_BANDWIDTH_INVALID = 6, + QMI_NAS_DL_BANDWIDTH_UNKNOWN = 0xFF +} QmiNasDLBandwidth; + +/** + * QmiNasScellState: + * @QMI_NAS_SCELL_STATE_DECONFIGURED: Deconfigured + * @QMI_NAS_SCELL_STATE_DEACTIVATED: Deactivated + * @QMI_NAS_SCELL_STATE_ACTIVATED: Activated + * + * SCell State. + * + * Since: 1.16 + */ +typedef enum { /*< since=1.16 >*/ + QMI_NAS_SCELL_STATE_DECONFIGURED = 0, + QMI_NAS_SCELL_STATE_DEACTIVATED = 1, + QMI_NAS_SCELL_STATE_ACTIVATED = 2 +} QmiNasScellState; + +/*****************************************************************************/ +/* Helper enums for the 'QMI NAS Get Operator Name' request/response */ +/** + * QmiNasPlmnEncodingScheme: + * @QMI_NAS_PLMN_ENCODING_SCHEME_GSM: GSM default alphabet packed encoding (ETSI GSM 03.38) + * @QMI_NAS_PLMN_ENCODING_SCHEME_UCS2LE: UCS-2 little-endian + * + * PLMN name encoding schemes. See 3GPP TS 24.008 section "Network Name + * information element". + * + * Since: 1.18 + */ +typedef enum { /*< since=1.18 >*/ + QMI_NAS_PLMN_ENCODING_SCHEME_GSM = 0, + QMI_NAS_PLMN_ENCODING_SCHEME_UCS2LE = 1, +} QmiNasPlmnEncodingScheme; + +/** + * QmiNasNetworkNameDisplayCondition: + * @QMI_NAS_NETWORK_NAME_DISPLAY_CONDITION_DISPLAY_REGISTERED_PLMN_IF_KNOWN_NETWORK: if + * set, display of the registered PLMN is required when the registered PLMN is either + * the HPLMN or a PLMN in the Service Provider PLMN List (see EFspdi). Otherwise + * display of the registered PLMN is not required in this case. + * @QMI_NAS_NETWORK_NAME_DISPLAY_CONDITION_DISPLAY_SPN_NOT_REQUIRED_IF_UNKNOWN_NETWORK: if + * set, display of the Service Provider Name is not required when registered PLMN is + * neither HPLMN nor a PLMN in the service provider PLMN list (see EFspdi). If not set, + * SPN display is required in this case. + * + * Flags used to control display of the PLMN name and Service Provider Name. See + * 3GPP TS 51.011 descripton of the EFspn SIM file for more details. + * + * Since: 1.18 + */ +typedef enum { /*< since=1.18 >*/ + QMI_NAS_NETWORK_NAME_DISPLAY_CONDITION_DISPLAY_REGISTERED_PLMN_IF_KNOWN_NETWORK = 1 << 0, + QMI_NAS_NETWORK_NAME_DISPLAY_CONDITION_DISPLAY_SPN_NOT_REQUIRED_IF_UNKNOWN_NETWORK = 1 << 1, +} QmiNasNetworkNameDisplayCondition; + +/** + * QmiNasPlmnNameCountryInitials: + * @QMI_NAS_PLMN_NAME_COUNTRY_INITIALS_DO_NOT_ADD: don't add country initials + * @QMI_NAS_PLMN_NAME_COUNTRY_INIITALS_ADD: add country initials + * @QMI_NAS_PLMN_NAME_COUNTRY_INIITALS_UNSPECIFIED: unspecified + * + * PLMN name country initials options. See 3GPP TS 24.008 + * section "Network Name information element". + * + * Since: 1.18 + */ +typedef enum { /*< since=1.18 >*/ + QMI_NAS_PLMN_NAME_COUNTRY_INITIALS_DO_NOT_ADD = 0, + QMI_NAS_PLMN_NAME_COUNTRY_INIITALS_ADD = 1, + QMI_NAS_PLMN_NAME_COUNTRY_INIITALS_UNSPECIFIED = 0xFF, +} QmiNasPlmnNameCountryInitials; + +/** + * QmiNasNetworkNameSource: + * @QMI_NAS_NETWORK_NAME_SOURCE_UNKNOWN: Unknown. + * @QMI_NAS_NETWORK_NAME_SOURCE_OPERATOR_PLMN_LIST_AND_PLMN_NETWORK_NAME: Operator PLMN list and PLMN network name. + * @QMI_NAS_NETWORK_NAME_SOURCE_COMMON_PCN_HANDSET_SPECIFICATION_AND_OPERATOR_NAME_STRING: Common PCN handset specification and operator name string. + * @QMI_NAS_NETWORK_NAME_SOURCE_NITZ: Network identity and time zone. + * @QMI_NAS_NETWORK_NAME_SOURCE_SE13: GSMA SE13 table. + * @QMI_NAS_NETWORK_NAME_SOURCE_MCC_MNC: MCC and MNC. + * @QMI_NAS_NETWORK_NAME_SOURCE_SERVICE_PROVIDER_NAME: Service provider name. + * + * Network name source. + * + * Since: 1.24 + */ +typedef enum { /*< since=1.24 >*/ + QMI_NAS_NETWORK_NAME_SOURCE_UNKNOWN = 0x00, + QMI_NAS_NETWORK_NAME_SOURCE_OPERATOR_PLMN_LIST_AND_PLMN_NETWORK_NAME = 0x01, + QMI_NAS_NETWORK_NAME_SOURCE_COMMON_PCN_HANDSET_SPECIFICATION_AND_OPERATOR_NAME_STRING = 0x02, + QMI_NAS_NETWORK_NAME_SOURCE_NITZ = 0x03, + QMI_NAS_NETWORK_NAME_SOURCE_SE13 = 0x04, + QMI_NAS_NETWORK_NAME_SOURCE_MCC_MNC = 0x05, + QMI_NAS_NETWORK_NAME_SOURCE_SERVICE_PROVIDER_NAME = 0x06, +} QmiNasNetworkNameSource; + +/** + * QmiNasPlmnNameSpareBits: + * @QMI_NAS_PLMN_NAME_SPARE_BITS_UNKNOWN: unknown + * @QMI_NAS_PLMN_NAME_SPARE_BITS_BIT_8: bit 8 is spare + * @QMI_NAS_PLMN_NAME_SPARE_BITS_BITS_78: bits 7 - 8 are spare + * @QMI_NAS_PLMN_NAME_SPARE_BITS_BITS_68: bits 6 - 8 are spare + * @QMI_NAS_PLMN_NAME_SPARE_BITS_BITS_58: bits 5 - 8 are spare + * @QMI_NAS_PLMN_NAME_SPARE_BITS_BITS_48: bits 4 - 8 are spare + * @QMI_NAS_PLMN_NAME_SPARE_BITS_BITS_38: bits 3 - 8 are spare + * @QMI_NAS_PLMN_NAME_SPARE_BITS_BITS_28: bits 2 - 8 are spare + * + * PLMN name spare bits in last octet of a network name. See 3GPP TS 24.008 + * section "Network Name information element". + * + * Since: 1.18 + */ +typedef enum { /*< since=1.18 >*/ + QMI_NAS_PLMN_NAME_SPARE_BITS_UNKNOWN = 0, + QMI_NAS_PLMN_NAME_SPARE_BITS_BIT_8 = 1, + QMI_NAS_PLMN_NAME_SPARE_BITS_BITS_78 = 2, + QMI_NAS_PLMN_NAME_SPARE_BITS_BITS_68 = 3, + QMI_NAS_PLMN_NAME_SPARE_BITS_BITS_58 = 4, + QMI_NAS_PLMN_NAME_SPARE_BITS_BITS_48 = 5, + QMI_NAS_PLMN_NAME_SPARE_BITS_BITS_38 = 6, + QMI_NAS_PLMN_NAME_SPARE_BITS_BITS_28 = 7, +} QmiNasPlmnNameSpareBits; + +/** + * QmiNasUsagePreference: + * @QMI_NAS_USAGE_PREFERENCE_UNKNOWN: Unknown. + * @QMI_NAS_USAGE_PREFERENCE_VOICE_CENTRIC: Voice centric. + * @QMI_NAS_USAGE_PREFERENCE_DATA_CENTRIC: Data centric. + * + * Modem usage preference. + * + * Since: 1.24 + */ +typedef enum { /*< since=1.24 >*/ + QMI_NAS_USAGE_PREFERENCE_UNKNOWN = 0x00, + QMI_NAS_USAGE_PREFERENCE_VOICE_CENTRIC = 0x01, + QMI_NAS_USAGE_PREFERENCE_DATA_CENTRIC = 0x02 +} QmiNasUsagePreference; + +/** + * QmiNasSwiModemMode: + * @QMI_NAS_SWI_MODEM_MODE_POWERING_OFF: Powering off + * @QMI_NAS_SWI_MODEM_MODE_FACTORY_TEST: Factory test + * @QMI_NAS_SWI_MODEM_MODE_OFFLINE: Offline + * @QMI_NAS_SWI_MODEM_MODE_OFFLINE_AMPS: Offline AMPS + * @QMI_NAS_SWI_MODEM_MODE_OFFLINE_CDMA: Offline CDMA + * @QMI_NAS_SWI_MODEM_MODE_ONLINE: Online + * @QMI_NAS_SWI_MODEM_MODE_LOW_POWER: Low power + * @QMI_NAS_SWI_MODEM_MODE_RESETTING: Resetting + * @QMI_NAS_SWI_MODEM_MODE_NETWORK_TEST: Network test + * @QMI_NAS_SWI_MODEM_MODE_OFFLINE_REQUEST: Offline request + * @QMI_NAS_SWI_MODEM_MODE_PSEUDO_ONLINE: Pseudo online + * @QMI_NAS_SWI_MODEM_MODE_RESETTING_MODEM: Resetting modem + * @QMI_NAS_SWI_MODEM_MODE_UNKNOWN: Unknown + * + * Modem mode (Sierra Wireless specific). + * + * Since: 1.24 + */ +typedef enum { /*< since=1.24 >*/ + QMI_NAS_SWI_MODEM_MODE_POWERING_OFF = 0x00, + QMI_NAS_SWI_MODEM_MODE_FACTORY_TEST = 0x01, + QMI_NAS_SWI_MODEM_MODE_OFFLINE = 0x02, + QMI_NAS_SWI_MODEM_MODE_OFFLINE_AMPS = 0x03, + QMI_NAS_SWI_MODEM_MODE_OFFLINE_CDMA = 0x04, + QMI_NAS_SWI_MODEM_MODE_ONLINE = 0x05, + QMI_NAS_SWI_MODEM_MODE_LOW_POWER = 0x06, + QMI_NAS_SWI_MODEM_MODE_RESETTING = 0x07, + QMI_NAS_SWI_MODEM_MODE_NETWORK_TEST = 0x08, + QMI_NAS_SWI_MODEM_MODE_OFFLINE_REQUEST = 0x09, + QMI_NAS_SWI_MODEM_MODE_PSEUDO_ONLINE = 0x0a, + QMI_NAS_SWI_MODEM_MODE_RESETTING_MODEM = 0x0b, + QMI_NAS_SWI_MODEM_MODE_UNKNOWN = 0xff +} QmiNasSwiModemMode; + +/** + * QmiNasSwiSystemMode: + * @QMI_NAS_SWI_SYSTEM_MODE_NO_SERVICE: No service + * @QMI_NAS_SWI_SYSTEM_MODE_AMPS: AMPS + * @QMI_NAS_SWI_SYSTEM_MODE_CDMA: CDMA + * @QMI_NAS_SWI_SYSTEM_MODE_GSM: GSM + * @QMI_NAS_SWI_SYSTEM_MODE_HDR: HDR + * @QMI_NAS_SWI_SYSTEM_MODE_WCDMA: WCDMA + * @QMI_NAS_SWI_SYSTEM_MODE_GPS: GPS + * @QMI_NAS_SWI_SYSTEM_MODE_WLAN: WLAN + * @QMI_NAS_SWI_SYSTEM_MODE_LTE: LTE + * @QMI_NAS_SWI_SYSTEM_MODE_UNKNOWN: Unknown + * + * System mode (Sierra Wireless specific). + * + * Since: 1.24 + */ +typedef enum { /*< since=1.24 >*/ + QMI_NAS_SWI_SYSTEM_MODE_NO_SERVICE = 0x00, + QMI_NAS_SWI_SYSTEM_MODE_AMPS = 0x01, + QMI_NAS_SWI_SYSTEM_MODE_CDMA = 0x02, + QMI_NAS_SWI_SYSTEM_MODE_GSM = 0x03, + QMI_NAS_SWI_SYSTEM_MODE_HDR = 0x04, + QMI_NAS_SWI_SYSTEM_MODE_WCDMA = 0x05, + QMI_NAS_SWI_SYSTEM_MODE_GPS = 0x06, + QMI_NAS_SWI_SYSTEM_MODE_WLAN = 0x08, + QMI_NAS_SWI_SYSTEM_MODE_LTE = 0x09, + QMI_NAS_SWI_SYSTEM_MODE_UNKNOWN = 0xff +} QmiNasSwiSystemMode; + +/** + * QmiNasSwiImsRegState: + * @QMI_NAS_SWI_IMS_REG_NO_SRV: No service + * @QMI_NAS_SWI_IMS_REG_IN_PROG: In prog + * @QMI_NAS_SWI_IMS_REG_FAILED: Failed + * @QMI_NAS_SWI_IMS_REG_LIMITED: Limited + * @QMI_NAS_SWI_IMS_REG_FULL_SRV: Full service + * @QMI_NAS_SWI_IMS_REG__UNKNOWN: Unknown + * + * IMS registration state. (Sierra Wireless specific). + * + * Since: 1.24 + */ +typedef enum { /*< since=1.24 >*/ + QMI_NAS_SWI_IMS_REG_NO_SRV = 0x00, + QMI_NAS_SWI_IMS_REG_IN_PROG = 0x01, + QMI_NAS_SWI_IMS_REG_FAILED = 0x02, + QMI_NAS_SWI_IMS_REG_LIMITED = 0x03, + QMI_NAS_SWI_IMS_REG_FULL_SRV = 0x04, + QMI_NAS_SWI_IMS_REG__UNKNOWN = 0xff +} QmiNasSwiImsRegState; + +/** + * QmiNasSwiPsState: + * @QMI_NAS_SWI_PS_STATE_ATTACHED: Attached + * @QMI_NAS_SWI_PS_STATE_DETACHED: Detached + * @QMI_NAS_SWI_PS_STATE_UNKNOWN: Unknown + * + * PS registration state. (Sierra Wireless specific). + * + * Since: 1.24 + */ +typedef enum { /*< since=1.24 >*/ + QMI_NAS_SWI_PS_STATE_ATTACHED = 0x00, + QMI_NAS_SWI_PS_STATE_DETACHED = 0x01, + QMI_NAS_SWI_PS_STATE_UNKNOWN = 0xff +} QmiNasSwiPsState; + +/** + * QmiNasSwiEmmState: + * @QMI_NAS_SWI_EMM_STATE_DEREGISTERED: Deregistered + * @QMI_NAS_SWI_EMM_STATE_REG_INITIATED: Registration initiated + * @QMI_NAS_SWI_EMM_STATE_REGISTERED: Registered + * @QMI_NAS_SWI_EMM_STATE_TAU_INITIATED: TAU initiated + * @QMI_NAS_SWI_EMM_STATE_SR_INITIATED: SR initiated + * @QMI_NAS_SWI_EMM_STATE_DEREG_INITIATED: Deregistration initiated + * @QMI_NAS_SWI_EMM_STATE_INVALID: Invalid + * @QMI_NAS_SWI_EMM_STATE_UNKNOWN: Unknown + * + * EMM registration state. (Sierra Wireless specific). + * + * Since: 1.24 + */ +typedef enum { /*< since=1.24 >*/ + QMI_NAS_SWI_EMM_STATE_DEREGISTERED = 0x00, + QMI_NAS_SWI_EMM_STATE_REG_INITIATED = 0x01, + QMI_NAS_SWI_EMM_STATE_REGISTERED = 0x02, + QMI_NAS_SWI_EMM_STATE_TAU_INITIATED = 0x03, + QMI_NAS_SWI_EMM_STATE_SR_INITIATED = 0x04, + QMI_NAS_SWI_EMM_STATE_DEREG_INITIATED = 0x05, + QMI_NAS_SWI_EMM_STATE_INVALID = 0x06, + QMI_NAS_SWI_EMM_STATE_UNKNOWN = 0xff +} QmiNasSwiEmmState; + +/** + * QmiNasSwiEmmConnectionState: + * @QMI_NAS_SWI_EMM_CONN_STATE_RRC_IDLE: RRC idle + * @QMI_NAS_SWI_EMM_CONN_STATE_WAITING_RRC_CFM: Waiting RRC Cfm + * @QMI_NAS_SWI_EMM_CONN_STATE_RRC_CONNECTING: RRC connecting + * @QMI_NAS_SWI_EMM_CONN_STATE_RRC_RELEASING: RRC releasing + * @QMI_NAS_SWI_EMM_CONN_STATE_UNKNOWN: Unknown + * + * EMM connection state state. (Sierra Wireless specific). + * + * Since: 1.24 + */ +typedef enum { /*< since=1.24 >*/ + QMI_NAS_SWI_EMM_CONN_STATE_RRC_IDLE = 0x00, + QMI_NAS_SWI_EMM_CONN_STATE_WAITING_RRC_CFM = 0x01, + QMI_NAS_SWI_EMM_CONN_STATE_RRC_CONNECTING = 0x02, + QMI_NAS_SWI_EMM_CONN_STATE_RRC_RELEASING = 0x03, + QMI_NAS_SWI_EMM_CONN_STATE_UNKNOWN = 0xff +} QmiNasSwiEmmConnectionState; + +/** + * QmiNasDrx: + * @QMI_NAS_DRX_UNKNOWN: Unknown or not specified. + * @QMI_NAS_DRX_CN6_T32: CN=6, T=32. + * @QMI_NAS_DRX_CN7_T64: CN=7, T=64. + * @QMI_NAS_DRX_CN8_T128: CN=8, T=128. + * @QMI_NAS_DRX_CN9_T256: CN=9, T=256. + * + * DRX setting of the device. + * + * Since: 1.28 + */ +typedef enum { /*< since=1.28 >*/ + QMI_NAS_DRX_UNKNOWN = 0x00, + QMI_NAS_DRX_CN6_T32 = 0x06, + QMI_NAS_DRX_CN7_T64 = 0x07, + QMI_NAS_DRX_CN8_T128 = 0x08, + QMI_NAS_DRX_CN9_T256 = 0x09, +} QmiNasDrx; + +/** + * QmiNasBoolean: + * @QMI_NAS_BOOLEAN_FALSE: Status FALSE. + * @QMI_NAS_BOOLEAN_TRUE: Status TRUE. + * @QMI_NAS_BOOLEAN_UNKNOWN: Status Unknown. + * + * Boolean flag with validity info. + * + * Since: 1.28 + */ +typedef enum { /*< since=1.28 >*/ + QMI_NAS_BOOLEAN_FALSE = 0x00, + QMI_NAS_BOOLEAN_TRUE = 0x01, + QMI_NAS_BOOLEAN_UNKNOWN = 0x02 +} QmiNasBoolean; + +/** + * QmiNasPlmnLanguageId: + * @QMI_NAS_PLMN_LANGUAGE_ID_UNKNOWN: Language Unknown. + * @QMI_NAS_PLMN_LANGUAGE_ID_ZH_TRAD: Traditional Chinese. + * @QMI_NAS_PLMN_LANGUAGE_ID_ZH_SIMP: Simplified Chinese. + * + * Language ID used when encoding the PLMN. + * + * Since: 1.28 + */ +typedef enum { /*< since=1.28 >*/ + QMI_NAS_PLMN_LANGUAGE_ID_UNKNOWN = 0x00, + QMI_NAS_PLMN_LANGUAGE_ID_ZH_TRAD = 0x01, + QMI_NAS_PLMN_LANGUAGE_ID_ZH_SIMP = 0x02 +} QmiNasPlmnLanguageId; + +/** + * QmiNasLteVoiceDomain: + * @QMI_NAS_LTE_VOICE_DOMAIN_NONE: No voice. + * @QMI_NAS_LTE_VOICE_DOMAIN_IMS: Voice is supported over IMS network. + * @QMI_NAS_LTE_VOICE_DOMAIN_1X: Voice is supported over the 1X network. + * @QMI_NAS_LTE_VOICE_DOMAIN_3GPP: Voice is supported over the 3GPP network. + * + * LTE voice domain. + * + * Since: 1.28 + */ +typedef enum { /*< since=1.28 >*/ + QMI_NAS_LTE_VOICE_DOMAIN_NONE = 0x00, + QMI_NAS_LTE_VOICE_DOMAIN_IMS = 0x01, + QMI_NAS_LTE_VOICE_DOMAIN_1X = 0x02, + QMI_NAS_LTE_VOICE_DOMAIN_3GPP = 0x03 +} QmiNasLteVoiceDomain; + +/** + * QmiNasRejectCause: + * @QMI_NAS_REJECT_CAUSE_NONE: None. + * @QMI_NAS_REJECT_CAUSE_IMSI_UNKNOWN_IN_HLR: IMSI unknown in HLR/HSS. + * @QMI_NAS_REJECT_CAUSE_ILLEGAL_UE: Illegal MS/UE. + * @QMI_NAS_REJECT_CAUSE_IMSI_UNKNOWN_IN_VLR: IMSI unknown in VLR. + * @QMI_NAS_REJECT_CAUSE_IMEI_NOT_ACCEPTED: IMEI not accepted. + * @QMI_NAS_REJECT_CAUSE_ILLEGAL_ME: Illegal ME. + * @QMI_NAS_REJECT_CAUSE_PS_SERVICES_NOT_ALLOWED: GPRS/EPS services not allowed. + * @QMI_NAS_REJECT_CAUSE_PS_AND_NON_PS_SERVICES_NOT_ALLOWED: GPRS/EPS and non-GPRS/EPS services not allowed. + * @QMI_NAS_REJECT_CAUSE_UE_IDENTITY_NOT_DERIVED_BY_NETWORK: MS/UE identity not derived by network. + * @QMI_NAS_REJECT_CAUSE_IMPLICITLY_DETACHED: Implicitly detached. + * @QMI_NAS_REJECT_CAUSE_PLMN_NOT_ALLOWED: PLMN not allowed. + * @QMI_NAS_REJECT_CAUSE_LOCATION_AREA_NOT_ALLOWED: Location/tracking area not allowed. + * @QMI_NAS_REJECT_CAUSE_ROAMING_IN_LOCATION_AREA_NOT_ALLOWED: Roaming in location/tracking area not allowed. + * @QMI_NAS_REJECT_CAUSE_PS_SERVICES_IN_LOCATION_AREA_NOT_ALLOWED: GPRS/EPS services in location/tracking area not allowed. + * @QMI_NAS_REJECT_CAUSE_NO_SUITABLE_CELLS_IN_LOCATION_AREA: No suitable cells in location/tracking area. + * @QMI_NAS_REJECT_CAUSE_MSC_TEMPORARILY_NOT_REACHABLE: MSC temporarily not reachable. + * @QMI_NAS_REJECT_CAUSE_NETWORK_FAILURE: Network failure. + * @QMI_NAS_REJECT_CAUSE_CS_DOMAIN_NOT_AVAILABLE: CS domain not available. + * @QMI_NAS_REJECT_CAUSE_ESM_FAILURE: ESM failure. + * @QMI_NAS_REJECT_CAUSE_MAC_FAILURE: MAC failure. + * @QMI_NAS_REJECT_CAUSE_SYNCH_FAILURE: Synch failure. + * @QMI_NAS_REJECT_CAUSE_CONGESTION: Congestion. + * @QMI_NAS_REJECT_CAUSE_UE_SECURITY_CAPABILITIES_MISMATCH: GSM authentication unacceptable, UE security capabilities mismatch. + * @QMI_NAS_REJECT_CAUSE_SECURITY_MODE_REJECTED_UNSPECIFIED: Security mode rejected or unspecified. + * @QMI_NAS_REJECT_CAUSE_CSG_NOT_AUTHORIZED: CSG not authorized. + * @QMI_NAS_REJECT_CAUSE_NON_EPS_AUTHENTICATION_UNACCEPTABLE: Non-EPS authentication unacceptable. + * @QMI_NAS_REJECT_CAUSE_SMS_PROVIDED_BY_GPRS_IN_ROUTING_AREA: SMS provided by GPRS in routing area. + * @QMI_NAS_REJECT_CAUSE_REDIRECTION_TO_5GCN_REQUIRED: Redirection to 5GCN required. + * @QMI_NAS_REJECT_CAUSE_SERVICE_OPTION_NOT_SUPPORTED: Service option not supported. + * @QMI_NAS_REJECT_CAUSE_REQUESTED_SERVICE_OPTION_NOT_SUBSCRIBED: Requested service option not subscribed. + * @QMI_NAS_REJECT_CAUSE_SERVICE_OPTION_TEMPORARILY_OUT_OF_ORDER: Service option temporarily out of order. + * @QMI_NAS_REJECT_CAUSE_REQUESTED_SERVICE_OPTION_NOT_AUTHORIZED: Requested service option not authorized. + * @QMI_NAS_REJECT_CAUSE_CALL_CANNOT_BE_IDENTIFIED: Call cannot be identified. + * @QMI_NAS_REJECT_CAUSE_CS_SERVICE_TEMPORARILY_NOT_AVAILABLE: CS service temporarily not available. + * @QMI_NAS_REJECT_CAUSE_NO_EPS_BEARER_CONTEXT_ACTIVATED: No EPS bearer context activated. + * @QMI_NAS_REJECT_CAUSE_SEVERE_NETWORK_FAILURE: Severe network failure. + * @QMI_NAS_REJECT_CAUSE_RETRY_UPON_ENTRY_INTO_NEW_CELL_0: Retry upon entry 0. + * @QMI_NAS_REJECT_CAUSE_RETRY_UPON_ENTRY_INTO_NEW_CELL_1: Retry upon entry 1. + * @QMI_NAS_REJECT_CAUSE_RETRY_UPON_ENTRY_INTO_NEW_CELL_2: Retry upon entry 2. + * @QMI_NAS_REJECT_CAUSE_RETRY_UPON_ENTRY_INTO_NEW_CELL_3: Retry upon entry 3. + * @QMI_NAS_REJECT_CAUSE_RETRY_UPON_ENTRY_INTO_NEW_CELL_4: Retry upon entry 4. + * @QMI_NAS_REJECT_CAUSE_RETRY_UPON_ENTRY_INTO_NEW_CELL_5: Retry upon entry 5. + * @QMI_NAS_REJECT_CAUSE_RETRY_UPON_ENTRY_INTO_NEW_CELL_6: Retry upon entry 6. + * @QMI_NAS_REJECT_CAUSE_RETRY_UPON_ENTRY_INTO_NEW_CELL_7: Retry upon entry 7. + * @QMI_NAS_REJECT_CAUSE_RETRY_UPON_ENTRY_INTO_NEW_CELL_8: Retry upon entry 8. + * @QMI_NAS_REJECT_CAUSE_RETRY_UPON_ENTRY_INTO_NEW_CELL_9: Retry upon entry 9. + * @QMI_NAS_REJECT_CAUSE_RETRY_UPON_ENTRY_INTO_NEW_CELL_10: Retry upon entry 10. + * @QMI_NAS_REJECT_CAUSE_RETRY_UPON_ENTRY_INTO_NEW_CELL_11: Retry upon entry 11. + * @QMI_NAS_REJECT_CAUSE_RETRY_UPON_ENTRY_INTO_NEW_CELL_12: Retry upon entry 12. + * @QMI_NAS_REJECT_CAUSE_RETRY_UPON_ENTRY_INTO_NEW_CELL_13: Retry upon entry 13. + * @QMI_NAS_REJECT_CAUSE_RETRY_UPON_ENTRY_INTO_NEW_CELL_14: Retry upon entry 14. + * @QMI_NAS_REJECT_CAUSE_RETRY_UPON_ENTRY_INTO_NEW_CELL_15: Retry upon entry 15. + * @QMI_NAS_REJECT_CAUSE_SEMANTICALLY_INCORRECT_MESSAGE: Semantically incorrect message. + * @QMI_NAS_REJECT_CAUSE_INVALID_MANDATORY_INFORMATION: Invalid mandatory information. + * @QMI_NAS_REJECT_CAUSE_MESSAGE_TYPE_NON_EXISTENT: Message type non existent. + * @QMI_NAS_REJECT_CAUSE_MESSAGE_TYPE_NOT_COMPATIBLE: Message type not compatible. + * @QMI_NAS_REJECT_CAUSE_INFORMATION_ELEMENT_NON_EXISTENT: Information element non existent. + * @QMI_NAS_REJECT_CAUSE_CONDITIONAL_INFORMATION_ELEMENT_ERROR: Conditional information element error. + * @QMI_NAS_REJECT_CAUSE_MESSAGE_NOT_COMPATIBLE: Message not compatible. + * @QMI_NAS_REJECT_CAUSE_UNSPECIFIED_PROTOCOL_ERROR: Unspecified protocol error. + * + * Reason why a request from the mobile station is rejected by the network. + * + * Defined in 3GPP TS 24.008 in sections 10.5.3.6 and 10.5.5.14 (detailed in + * annex G) and in 3GPP TS 24.301 in section 9.9.3.9. + * + * Since: 1.30 + */ +typedef enum { /*< since=1.30 >*/ + QMI_NAS_REJECT_CAUSE_NONE = 0x00, + QMI_NAS_REJECT_CAUSE_IMSI_UNKNOWN_IN_HLR = 0x02, + QMI_NAS_REJECT_CAUSE_ILLEGAL_UE = 0x03, + QMI_NAS_REJECT_CAUSE_IMSI_UNKNOWN_IN_VLR = 0x04, + QMI_NAS_REJECT_CAUSE_IMEI_NOT_ACCEPTED = 0x05, + QMI_NAS_REJECT_CAUSE_ILLEGAL_ME = 0x06, + QMI_NAS_REJECT_CAUSE_PS_SERVICES_NOT_ALLOWED = 0x07, + QMI_NAS_REJECT_CAUSE_PS_AND_NON_PS_SERVICES_NOT_ALLOWED = 0x08, + QMI_NAS_REJECT_CAUSE_UE_IDENTITY_NOT_DERIVED_BY_NETWORK = 0x09, + QMI_NAS_REJECT_CAUSE_IMPLICITLY_DETACHED = 0x0A, + QMI_NAS_REJECT_CAUSE_PLMN_NOT_ALLOWED = 0x0B, + QMI_NAS_REJECT_CAUSE_LOCATION_AREA_NOT_ALLOWED = 0x0C, + QMI_NAS_REJECT_CAUSE_ROAMING_IN_LOCATION_AREA_NOT_ALLOWED = 0x0D, + QMI_NAS_REJECT_CAUSE_PS_SERVICES_IN_LOCATION_AREA_NOT_ALLOWED = 0x0E, + QMI_NAS_REJECT_CAUSE_NO_SUITABLE_CELLS_IN_LOCATION_AREA = 0x0F, + QMI_NAS_REJECT_CAUSE_MSC_TEMPORARILY_NOT_REACHABLE = 0x10, + QMI_NAS_REJECT_CAUSE_NETWORK_FAILURE = 0x11, + QMI_NAS_REJECT_CAUSE_CS_DOMAIN_NOT_AVAILABLE = 0x12, + QMI_NAS_REJECT_CAUSE_ESM_FAILURE = 0x13, + QMI_NAS_REJECT_CAUSE_MAC_FAILURE = 0x14, + QMI_NAS_REJECT_CAUSE_SYNCH_FAILURE = 0x15, + QMI_NAS_REJECT_CAUSE_CONGESTION = 0x16, + QMI_NAS_REJECT_CAUSE_UE_SECURITY_CAPABILITIES_MISMATCH = 0x17, + QMI_NAS_REJECT_CAUSE_SECURITY_MODE_REJECTED_UNSPECIFIED = 0x18, + QMI_NAS_REJECT_CAUSE_CSG_NOT_AUTHORIZED = 0x19, + QMI_NAS_REJECT_CAUSE_NON_EPS_AUTHENTICATION_UNACCEPTABLE = 0x1A, + QMI_NAS_REJECT_CAUSE_SMS_PROVIDED_BY_GPRS_IN_ROUTING_AREA = 0x1C, + QMI_NAS_REJECT_CAUSE_REDIRECTION_TO_5GCN_REQUIRED = 0x1F, + QMI_NAS_REJECT_CAUSE_SERVICE_OPTION_NOT_SUPPORTED = 0x20, + QMI_NAS_REJECT_CAUSE_REQUESTED_SERVICE_OPTION_NOT_SUBSCRIBED = 0x21, + QMI_NAS_REJECT_CAUSE_SERVICE_OPTION_TEMPORARILY_OUT_OF_ORDER = 0x22, + QMI_NAS_REJECT_CAUSE_REQUESTED_SERVICE_OPTION_NOT_AUTHORIZED = 0x23, + QMI_NAS_REJECT_CAUSE_CALL_CANNOT_BE_IDENTIFIED = 0x26, + QMI_NAS_REJECT_CAUSE_CS_SERVICE_TEMPORARILY_NOT_AVAILABLE = 0x27, + QMI_NAS_REJECT_CAUSE_NO_EPS_BEARER_CONTEXT_ACTIVATED = 0x28, + QMI_NAS_REJECT_CAUSE_SEVERE_NETWORK_FAILURE = 0x2A, + QMI_NAS_REJECT_CAUSE_RETRY_UPON_ENTRY_INTO_NEW_CELL_0 = 0x30, + QMI_NAS_REJECT_CAUSE_RETRY_UPON_ENTRY_INTO_NEW_CELL_1 = 0x31, + QMI_NAS_REJECT_CAUSE_RETRY_UPON_ENTRY_INTO_NEW_CELL_2 = 0x32, + QMI_NAS_REJECT_CAUSE_RETRY_UPON_ENTRY_INTO_NEW_CELL_3 = 0x33, + QMI_NAS_REJECT_CAUSE_RETRY_UPON_ENTRY_INTO_NEW_CELL_4 = 0x34, + QMI_NAS_REJECT_CAUSE_RETRY_UPON_ENTRY_INTO_NEW_CELL_5 = 0x35, + QMI_NAS_REJECT_CAUSE_RETRY_UPON_ENTRY_INTO_NEW_CELL_6 = 0x36, + QMI_NAS_REJECT_CAUSE_RETRY_UPON_ENTRY_INTO_NEW_CELL_7 = 0x37, + QMI_NAS_REJECT_CAUSE_RETRY_UPON_ENTRY_INTO_NEW_CELL_8 = 0x38, + QMI_NAS_REJECT_CAUSE_RETRY_UPON_ENTRY_INTO_NEW_CELL_9 = 0x39, + QMI_NAS_REJECT_CAUSE_RETRY_UPON_ENTRY_INTO_NEW_CELL_10 = 0x3A, + QMI_NAS_REJECT_CAUSE_RETRY_UPON_ENTRY_INTO_NEW_CELL_11 = 0x3B, + QMI_NAS_REJECT_CAUSE_RETRY_UPON_ENTRY_INTO_NEW_CELL_12 = 0x3C, + QMI_NAS_REJECT_CAUSE_RETRY_UPON_ENTRY_INTO_NEW_CELL_13 = 0x3D, + QMI_NAS_REJECT_CAUSE_RETRY_UPON_ENTRY_INTO_NEW_CELL_14 = 0x3E, + QMI_NAS_REJECT_CAUSE_RETRY_UPON_ENTRY_INTO_NEW_CELL_15 = 0x3F, + QMI_NAS_REJECT_CAUSE_SEMANTICALLY_INCORRECT_MESSAGE = 0x5F, + QMI_NAS_REJECT_CAUSE_INVALID_MANDATORY_INFORMATION = 0x60, + QMI_NAS_REJECT_CAUSE_MESSAGE_TYPE_NON_EXISTENT = 0x61, + QMI_NAS_REJECT_CAUSE_MESSAGE_TYPE_NOT_COMPATIBLE = 0x62, + QMI_NAS_REJECT_CAUSE_INFORMATION_ELEMENT_NON_EXISTENT = 0x63, + QMI_NAS_REJECT_CAUSE_CONDITIONAL_INFORMATION_ELEMENT_ERROR = 0x64, + QMI_NAS_REJECT_CAUSE_MESSAGE_NOT_COMPATIBLE = 0x65, + QMI_NAS_REJECT_CAUSE_UNSPECIFIED_PROTOCOL_ERROR = 0x6F, +} QmiNasRejectCause; + #endif /* _LIBQMI_GLIB_QMI_ENUMS_NAS_H_ */ diff --git a/qmi-enums-pds.h b/qmi-enums-pds.h index ee26418..b3fbc0d 100644 --- a/qmi-enums-pds.h +++ b/qmi-enums-pds.h @@ -18,6 +18,7 @@ * Boston, MA 02110-1301 USA. * * Copyright (C) 2012 Google Inc. + * Copyright (C) 2012-2017 Aleksander Morgado */ #ifndef _LIBQMI_GLIB_QMI_ENUMS_PDS_H_ @@ -25,7 +26,6 @@ /** * SECTION: qmi-enums-pds - * @title: PDS enumerations and flags * * This section defines enumerations and flags used in the PDS service * interface. @@ -38,12 +38,14 @@ * QmiPdsOperationMode: * @QMI_PDS_OPERATION_MODE_UNKNOWN: Unknown (position not fixed yet). * @QMI_PDS_OPERATION_MODE_STANDALONE: Standalone. - * @QMI_PDS_OPERATION_MODE_MS_BASED: MS based. - * @QMI_PDS_OPERATION_MODE_MS_ASSISTED: MS assisted. + * @QMI_PDS_OPERATION_MODE_MS_BASED: Mobile Station Based (MSB) A-GPS. + * @QMI_PDS_OPERATION_MODE_MS_ASSISTED: Mobile Station Assisted (MSA) A-GPS. * * Operation mode used to compute the position. + * + * Since: 1.0 */ -typedef enum { +typedef enum { /*< since=1.0 >*/ QMI_PDS_OPERATION_MODE_UNKNOWN = -1, QMI_PDS_OPERATION_MODE_STANDALONE = 0, QMI_PDS_OPERATION_MODE_MS_BASED = 1, @@ -63,8 +65,10 @@ typedef enum { * @QMI_PDS_POSITION_SESSION_STATUS_E911_SESSION_IN_PROGRESS: Emergency call in progress. * * Status of the positioning session. + * + * Since: 1.0 */ -typedef enum { +typedef enum { /*< since=1.0 >*/ QMI_PDS_POSITION_SESSION_STATUS_SUCCESS = 0x00, QMI_PDS_POSITION_SESSION_STATUS_IN_PROGRESS = 0x01, QMI_PDS_POSITION_SESSION_STATUS_GENERAL_FAILURE = 0x02, @@ -103,8 +107,10 @@ typedef enum { * @QMI_PDS_DATA_VALID_OPERATING_MODE: Operating mode. * * Flags to indicate which position data parameters are valid. + * + * Since: 1.0 */ -typedef enum { +typedef enum { /*< since=1.0 >*/ QMI_PDS_DATA_VALID_TIMESTAMP_CALENDAR = 1 << 0, QMI_PDS_DATA_VALID_TIMESTAMP_UTC = 1 << 1, QMI_PDS_DATA_VALID_LEAP_SECONDS = 1 << 2, @@ -140,8 +146,10 @@ typedef enum { * @QMI_PDS_TRACKING_SESSION_STATE_ACTIVE: Session active. * * State of the tracking session. + * + * Since: 1.0 */ -typedef enum { +typedef enum { /*< since=1.0 >*/ QMI_PDS_TRACKING_SESSION_STATE_UNKNOWN = 0, QMI_PDS_TRACKING_SESSION_STATE_INACTIVE = 1, QMI_PDS_TRACKING_SESSION_STATE_ACTIVE = 2 @@ -153,12 +161,14 @@ typedef enum { /** * QmiPdsOperatingMode: * @QMI_PDS_OPERATING_MODE_STANDALONE: Standalone (GPS only). - * @QMI_PDS_OPERATING_MODE_MS_BASED: MS-based. - * @QMI_PDS_OPERATING_MODE_MS_ASSISTED: MS-assisted (A-GPS). + * @QMI_PDS_OPERATING_MODE_MS_BASED: Mobile Station Based (MSB) A-GPS + * @QMI_PDS_OPERATING_MODE_MS_ASSISTED: Mobile Station Assisted (MSA) A-GPS. * * GPS operating mode. + * + * Since: 1.12 */ -typedef enum { +typedef enum { /*< since=1.12 >*/ QMI_PDS_OPERATING_MODE_STANDALONE = 0, QMI_PDS_OPERATING_MODE_MS_BASED = 1, QMI_PDS_OPERATING_MODE_MS_ASSISTED = 2, @@ -173,8 +183,10 @@ typedef enum { * @QMI_PDS_NETWORK_MODE_CDMA: CDMA. * * Network mode used during the A-GPS setup. + * + * Since: 1.12 */ -typedef enum { +typedef enum { /*< since=1.12 >*/ QMI_PDS_NETWORK_MODE_UMTS = 0, QMI_PDS_NETWORK_MODE_CDMA = 1, } QmiPdsNetworkMode; diff --git a/qmi-enums-private.h b/qmi-enums-private.h index d383f56..04b2626 100644 --- a/qmi-enums-private.h +++ b/qmi-enums-private.h @@ -18,6 +18,7 @@ * Boston, MA 02110-1301 USA. * * Copyright (C) 2012 Google Inc. + * Copyright (C) 2012-2017 Aleksander Morgado */ #ifndef _LIBQMI_GLIB_QMI_ENUMS_PRIVATE_H_ @@ -82,4 +83,6 @@ typedef enum { QMI_SERVICE_FLAG_INDICATION = 1 << 2 } QmiServiceFlag; + + #endif /* _LIBQMI_GLIB_QMI_ENUMS_PRIVATE_H_ */ diff --git a/qmi-enums-uim.h b/qmi-enums-uim.h index 5f6fdb3..dc8d4db 100644 --- a/qmi-enums-uim.h +++ b/qmi-enums-uim.h @@ -18,6 +18,7 @@ * Boston, MA 02110-1301 USA. * * Copyright (C) 2012 Google Inc. + * Copyright (C) 2012-2017 Aleksander Morgado */ #ifndef _LIBQMI_GLIB_QMI_ENUMS_UIM_H_ @@ -25,12 +26,32 @@ /** * SECTION: qmi-enums-uim - * @title: UIM enumerations and flags * * This section defines enumerations and flags used in the UIM service * interface. */ +/*****************************************************************************/ +/* Helper enums for the 'QMI UIM Indication Register' indication */ + +/** + * QmiUimEventRegistrationFlag: + * @QMI_UIM_EVENT_REGISTRATION_FLAG_CARD_STATUS: Card status. + * @QMI_UIM_EVENT_REGISTRATION_FLAG_SAP_CONNECTION: SAP connection. + * @QMI_UIM_EVENT_REGISTRATION_FLAG_EXTENDED_CARD_STATUS: Extended card status. + * @QMI_UIM_EVENT_REGISTRATION_FLAG_PHYSICAL_SLOT_STATUS: Physical slot status. Since 1.26. + * + * Flags to use to register to UIM indications. + * + * Since: 1.22.4 + */ +typedef enum { /*< since=1.22.4 >*/ + QMI_UIM_EVENT_REGISTRATION_FLAG_CARD_STATUS = 1 << 0, + QMI_UIM_EVENT_REGISTRATION_FLAG_SAP_CONNECTION = 1 << 1, + QMI_UIM_EVENT_REGISTRATION_FLAG_EXTENDED_CARD_STATUS = 1 << 2, + QMI_UIM_EVENT_REGISTRATION_FLAG_PHYSICAL_SLOT_STATUS = 1 << 4, +} QmiUimEventRegistrationFlag; + /*****************************************************************************/ /* Helper enums for the 'QMI UIM Read Record' request/response */ @@ -46,20 +67,52 @@ * @QMI_UIM_SESSION_TYPE_CARD_SLOT_2: Card on slot 2. * @QMI_UIM_SESSION_TYPE_LOGICAL_CHANNEL_SLOT_1: Logical channel on slot 1. * @QMI_UIM_SESSION_TYPE_LOGICAL_CHANNEL_SLOT_2: Logical channel on slot 2. + * @QMI_UIM_SESSION_TYPE_TERTIARY_GW_PROVISIONING: Tertiary GSM/WCDMA provisioning. Since 1.28. + * @QMI_UIM_SESSION_TYPE_TERTIARY_1X_PROVISIONING: Tertiary CDMA1x provisioning. Since 1.28. + * @QMI_UIM_SESSION_TYPE_QUATERNARY_GW_PROVISIONING: Quaternary GSM/WCDMA provisioning. Since 1.28. + * @QMI_UIM_SESSION_TYPE_QUATERNARY_1X_PROVISIONING: Quaternary CDMA1x provisioning. Since 1.28. + * @QMI_UIM_SESSION_TYPE_QUINARY_GW_PROVISIONING: Quinary GSM/WCDMA provisioning. Since 1.28. + * @QMI_UIM_SESSION_TYPE_QUINARY_1X_PROVISIONING: Quinary CDMA1x provisioning. Since 1.28. + * @QMI_UIM_SESSION_TYPE_NONPROVISIONING_SLOT_3: Nonprovisioning on slot 3. Since 1.28. + * @QMI_UIM_SESSION_TYPE_NONPROVISIONING_SLOT_4: Nonprovisioning on slot 4. Since 1.28. + * @QMI_UIM_SESSION_TYPE_NONPROVISIONING_SLOT_5: Nonprovisioning on slot 5. Since 1.28. + * @QMI_UIM_SESSION_TYPE_CARD_SLOT_3: Card on slot 3. Since 1.28. + * @QMI_UIM_SESSION_TYPE_CARD_SLOT_4: Card on slot 4. Since 1.28. + * @QMI_UIM_SESSION_TYPE_CARD_SLOT_5: Card on slot 5. Since 1.28. + * @QMI_UIM_SESSION_TYPE_LOGICAL_CHANNEL_SLOT_3: Logical channel on slot 3. Since 1.28. + * @QMI_UIM_SESSION_TYPE_LOGICAL_CHANNEL_SLOT_4: Logical channel on slot 4. Since 1.28. + * @QMI_UIM_SESSION_TYPE_LOGICAL_CHANNEL_SLOT_5: Logical channel on slot 5. Since 1.28. * * Type of UIM session. + * + * Since: 1.6 */ -typedef enum { - QMI_UIM_SESSION_TYPE_PRIMARY_GW_PROVISIONING = 0, - QMI_UIM_SESSION_TYPE_PRIMARY_1X_PROVISIONING = 1, - QMI_UIM_SESSION_TYPE_SECONDARY_GW_PROVISIONING = 2, - QMI_UIM_SESSION_TYPE_SECONDARY_1X_PROVISIONING = 3, - QMI_UIM_SESSION_TYPE_NONPROVISIONING_SLOT_1 = 4, - QMI_UIM_SESSION_TYPE_NONPROVISIONING_SLOT_2 = 5, - QMI_UIM_SESSION_TYPE_CARD_SLOT_1 = 6, - QMI_UIM_SESSION_TYPE_CARD_SLOT_2 = 7, - QMI_UIM_SESSION_TYPE_LOGICAL_CHANNEL_SLOT_1 = 8, - QMI_UIM_SESSION_TYPE_LOGICAL_CHANNEL_SLOT_2 = 9 +typedef enum { /*< since=1.6 >*/ + QMI_UIM_SESSION_TYPE_PRIMARY_GW_PROVISIONING = 0, + QMI_UIM_SESSION_TYPE_PRIMARY_1X_PROVISIONING = 1, + QMI_UIM_SESSION_TYPE_SECONDARY_GW_PROVISIONING = 2, + QMI_UIM_SESSION_TYPE_SECONDARY_1X_PROVISIONING = 3, + QMI_UIM_SESSION_TYPE_NONPROVISIONING_SLOT_1 = 4, + QMI_UIM_SESSION_TYPE_NONPROVISIONING_SLOT_2 = 5, + QMI_UIM_SESSION_TYPE_CARD_SLOT_1 = 6, + QMI_UIM_SESSION_TYPE_CARD_SLOT_2 = 7, + QMI_UIM_SESSION_TYPE_LOGICAL_CHANNEL_SLOT_1 = 8, + QMI_UIM_SESSION_TYPE_LOGICAL_CHANNEL_SLOT_2 = 9, + QMI_UIM_SESSION_TYPE_TERTIARY_GW_PROVISIONING = 10, + QMI_UIM_SESSION_TYPE_TERTIARY_1X_PROVISIONING = 11, + QMI_UIM_SESSION_TYPE_QUATERNARY_GW_PROVISIONING = 12, + QMI_UIM_SESSION_TYPE_QUATERNARY_1X_PROVISIONING = 13, + QMI_UIM_SESSION_TYPE_QUINARY_GW_PROVISIONING = 14, + QMI_UIM_SESSION_TYPE_QUINARY_1X_PROVISIONING = 15, + QMI_UIM_SESSION_TYPE_NONPROVISIONING_SLOT_3 = 16, + QMI_UIM_SESSION_TYPE_NONPROVISIONING_SLOT_4 = 17, + QMI_UIM_SESSION_TYPE_NONPROVISIONING_SLOT_5 = 18, + QMI_UIM_SESSION_TYPE_CARD_SLOT_3 = 19, + QMI_UIM_SESSION_TYPE_CARD_SLOT_4 = 20, + QMI_UIM_SESSION_TYPE_CARD_SLOT_5 = 21, + QMI_UIM_SESSION_TYPE_LOGICAL_CHANNEL_SLOT_3 = 22, + QMI_UIM_SESSION_TYPE_LOGICAL_CHANNEL_SLOT_4 = 23, + QMI_UIM_SESSION_TYPE_LOGICAL_CHANNEL_SLOT_5 = 24, } QmiUimSessionType; /*****************************************************************************/ @@ -74,8 +127,10 @@ typedef enum { * @QMI_UIM_FILE_TYPE_MASTER_FILE: Master file. * * Type of UIM file. + * + * Since: 1.6 */ -typedef enum { +typedef enum { /*< since=1.6 >*/ QMI_UIM_FILE_TYPE_TRANSPARENT = 0, QMI_UIM_FILE_TYPE_CYCLIC = 1, QMI_UIM_FILE_TYPE_LINEAR_FIXED = 2, @@ -92,8 +147,10 @@ typedef enum { * @QMI_UIM_SECURITY_ATTRIBUTE_LOGIC_SINGLE: Single. * * Logic applicable to security attributes. + * + * Since: 1.6 */ -typedef enum { +typedef enum { /*< since=1.6 >*/ QMI_UIM_SECURITY_ATTRIBUTE_LOGIC_ALWAYS = 0, QMI_UIM_SECURITY_ATTRIBUTE_LOGIC_NEVER = 1, QMI_UIM_SECURITY_ATTRIBUTE_LOGIC_AND = 2, @@ -109,8 +166,10 @@ typedef enum { * @QMI_UIM_SECURITY_ATTRIBUTE_ADM: ADM. * * Security Attributes. + * + * Since: 1.6 */ -typedef enum { +typedef enum { /*< since=1.6 >*/ QMI_UIM_SECURITY_ATTRIBUTE_PIN1 = 1 << 0, QMI_UIM_SECURITY_ATTRIBUTE_PIN2 = 1 << 1, QMI_UIM_SECURITY_ATTRIBUTE_UPIN = 1 << 2, @@ -129,8 +188,10 @@ typedef enum { * @QMI_UIM_PIN_ID_HIDDEN_KEY: Hidden key. * * PIN ID. + * + * Since: 1.14 */ -typedef enum { +typedef enum { /*< since=1.14 >*/ QMI_UIM_PIN_ID_UNKNOWN = 0, QMI_UIM_PIN_ID_PIN1 = 1, QMI_UIM_PIN_ID_PIN2 = 2, @@ -148,8 +209,10 @@ typedef enum { * @QMI_UIM_CARD_STATE_ERROR: Error. * * State of the card. + * + * Since: 1.10 */ -typedef enum { +typedef enum { /*< since=1.10 >*/ QMI_UIM_CARD_STATE_ABSENT = 0, QMI_UIM_CARD_STATE_PRESENT = 1, QMI_UIM_CARD_STATE_ERROR = 2 @@ -165,8 +228,10 @@ typedef enum { * @QMI_UIM_PIN_STATE_PERMANENTLY_BLOCKED: Permanently Blocked. * * The PIN state. + * + * Since: 1.10 */ -typedef enum { +typedef enum { /*< since=1.10 >*/ QMI_UIM_PIN_STATE_NOT_INITIALIZED = 0, QMI_UIM_PIN_STATE_ENABLED_NOT_VERIFIED = 1, QMI_UIM_PIN_STATE_ENABLED_VERIFIED = 2, @@ -187,8 +252,10 @@ typedef enum { * @QMI_UIM_CARD_ERROR_TECHNICAL: Technical problem. * * Card error. + * + * Since: 1.10 */ -typedef enum { +typedef enum { /*< since=1.10 >*/ QMI_UIM_CARD_ERROR_UNKNOWN = 0, QMI_UIM_CARD_ERROR_POWER_DOWN = 1, QMI_UIM_CARD_ERROR_POLL = 2, @@ -209,8 +276,10 @@ typedef enum { * @QMI_UIM_CARD_APPLICATION_TYPE_ISIM: ISIM. * * Card application type. + * + * Since: 1.10 */ -typedef enum { +typedef enum { /*< since=1.10 >*/ QMI_UIM_CARD_APPLICATION_TYPE_UNKNOWN = 0, QMI_UIM_CARD_APPLICATION_TYPE_SIM = 1, QMI_UIM_CARD_APPLICATION_TYPE_USIM = 2, @@ -231,8 +300,10 @@ typedef enum { * @QMI_UIM_CARD_APPLICATION_STATE_READY: Ready * * Card application state. + * + * Since: 1.10 */ -typedef enum { +typedef enum { /*< since=1.10 >*/ QMI_UIM_CARD_APPLICATION_STATE_UNKNOWN = 0, QMI_UIM_CARD_APPLICATION_STATE_DETECTED = 1, QMI_UIM_CARD_APPLICATION_STATE_PIN1_OR_UPIN_PIN_REQUIRED = 2, @@ -253,8 +324,10 @@ typedef enum { * @QMI_UIM_CARD_APPLICATION_PERSONALIZATION_STATE_PERMANENTLY_BLOCKED: Permanently blocked- * * Card application personalization state. + * + * Since: 1.10 */ -typedef enum { +typedef enum { /*< since=1.10 >*/ QMI_UIM_CARD_APPLICATION_PERSONALIZATION_STATE_UNKNOWN = 0, QMI_UIM_CARD_APPLICATION_PERSONALIZATION_STATE_IN_PROGRESS = 1, QMI_UIM_CARD_APPLICATION_PERSONALIZATION_STATE_READY = 2, @@ -279,8 +352,10 @@ typedef enum { * @QMI_UIM_CARD_APPLICATION_PERSONALIZATION_FEATURE_UNKNOWN: Unknown. * * Card application personalization feature, when a code is required. + * + * Since: 1.10 */ -typedef enum { +typedef enum { /*< since=1.10 >*/ QMI_UIM_CARD_APPLICATION_PERSONALIZATION_FEATURE_GW_NETWORK = 0, QMI_UIM_CARD_APPLICATION_PERSONALIZATION_FEATURE_GW_NETWORK_SUBSET = 1, QMI_UIM_CARD_APPLICATION_PERSONALIZATION_FEATURE_GW_SERVICE_PROVIDER = 2, @@ -295,4 +370,129 @@ typedef enum { QMI_UIM_CARD_APPLICATION_PERSONALIZATION_FEATURE_UNKNOWN = 11 } QmiUimCardApplicationPersonalizationFeature; +/*****************************************************************************/ +/* Helper enums for the 'QMI UIM Refresh' indication */ + +/** + * QmiUimRefreshStage: + * @QMI_UIM_REFRESH_STAGE_WAIT_FOR_OK: Waiting for REFRESH OK message. + * @QMI_UIM_REFRESH_STAGE_START: Refresh started. + * @QMI_UIM_REFRESH_STAGE_END_WITH_SUCCESS: Refresh completed successfully. + * @QMI_UIM_REFRESH_STAGE_END_WITH_FAILURE: Refresh has failed. + * + * Current stage of the refresh procedure. + * + * Since: 1.28 + */ +typedef enum { /*< since=1.28 >*/ + QMI_UIM_REFRESH_STAGE_WAIT_FOR_OK = 0, + QMI_UIM_REFRESH_STAGE_START = 1, + QMI_UIM_REFRESH_STAGE_END_WITH_SUCCESS = 2, + QMI_UIM_REFRESH_STAGE_END_WITH_FAILURE = 3 +} QmiUimRefreshStage; + +/** + * QmiUimRefreshMode: + * @QMI_UIM_REFRESH_MODE_RESET: Reset. + * @QMI_UIM_REFRESH_MODE_INIT: Init. + * @QMI_UIM_REFRESH_MODE_INIT_FCN: Init & FCN. + * @QMI_UIM_REFRESH_MODE_FCN: FCN. + * @QMI_UIM_REFRESH_MODE_INIT_FULL_FCN: Init & full FCN. + * @QMI_UIM_REFRESH_MODE_APP_RESET: Application reset. + * @QMI_UIM_REFRESH_MODE_3G_RESET: 3G session reset. + * + * Refresh mode + * + * Since: 1.28 + */ +typedef enum { /*< since=1.28 >*/ + QMI_UIM_REFRESH_MODE_RESET = 0, + QMI_UIM_REFRESH_MODE_INIT = 1, + QMI_UIM_REFRESH_MODE_INIT_FCN = 2, + QMI_UIM_REFRESH_MODE_FCN = 3, + QMI_UIM_REFRESH_MODE_INIT_FULL_FCN = 4, + QMI_UIM_REFRESH_MODE_APP_RESET = 5, + QMI_UIM_REFRESH_MODE_3G_RESET = 6 +} QmiUimRefreshMode; + +/*****************************************************************************/ +/* Helper enums for the 'QMI UIM Get Slot Status' request/response */ + +/** + * QmiUimPhysicalCardState: + * @QMI_UIM_PHYSICAL_CARD_STATE_UNKNOWN: Unknown. + * @QMI_UIM_PHYSICAL_CARD_STATE_ABSENT: Absent. + * @QMI_UIM_PHYSICAL_CARD_STATE_PRESENT: Present. + * + * State of the physical card. + * + * Since: 1.26 + */ +typedef enum { /*< since=1.26 >*/ + QMI_UIM_PHYSICAL_CARD_STATE_UNKNOWN = 0, + QMI_UIM_PHYSICAL_CARD_STATE_ABSENT = 1, + QMI_UIM_PHYSICAL_CARD_STATE_PRESENT = 2, +} QmiUimPhysicalCardState; + +/** + * QmiUimSlotState: + * @QMI_UIM_SLOT_STATE_INACTIVE: Inactive. + * @QMI_UIM_SLOT_STATE_ACTIVE: Active. + * + * State of the slot. + * + * Since: 1.26 + */ +typedef enum { /*< since=1.26 >*/ + QMI_UIM_SLOT_STATE_INACTIVE = 0, + QMI_UIM_SLOT_STATE_ACTIVE = 1, +} QmiUimSlotState; + +/** + * QmiUimCardProtocol: + * @QMI_UIM_CARD_PROTOCOL_UNKNOWN: Unknown. + * @QMI_UIM_CARD_PROTOCOL_ICC: ICC protocol. + * @QMI_UIM_CARD_PROTOCOL_UICC: UICC protocol. + * + * Protocol for the card. + * + * Since: 1.26 + */ +typedef enum { /*< since=1.26 >*/ + QMI_UIM_CARD_PROTOCOL_UNKNOWN = 0, + QMI_UIM_CARD_PROTOCOL_ICC = 1, + QMI_UIM_CARD_PROTOCOL_UICC = 2, +} QmiUimCardProtocol; + +/** + * QmiUimConfiguration: + * @QMI_UIM_CONFIGURATION_AUTOMATIC_SELECTION: Automatic selection. + * @QMI_UIM_CONFIGURATION_PERSONALIZATION_STATUS: Personalization status. + * @QMI_UIM_CONFIGURATION_HALT_SUBSCRIPTION: Halt publication of subscription. + * + * Requested configurations. If none explicitly requested, all configuration + * items are returned. + * + * Since: 1.30 + */ +typedef enum { /*< since=1.30 >*/ + QMI_UIM_CONFIGURATION_AUTOMATIC_SELECTION = 1 << 0, + QMI_UIM_CONFIGURATION_PERSONALIZATION_STATUS = 1 << 1, + QMI_UIM_CONFIGURATION_HALT_SUBSCRIPTION = 1 << 2, +} QmiUimConfiguration; + +/** + * QmiUimDepersonalizationOperation: + * @QMI_UIM_DEPERSONALIZATION_OPERATION_DEACTIVATE: Deactivate personalization + * @QMI_UIM_DEPERSONALIZATION_OPERATION_UNBLOCK: Unblock personalization + * + * Depersonalization operation to perform. + * + * Since: 1.30 + */ +typedef enum { /*< since=1.30 >*/ + QMI_UIM_DEPERSONALIZATION_OPERATION_DEACTIVATE = 0, + QMI_UIM_DEPERSONALIZATION_OPERATION_UNBLOCK = 1, +} QmiUimDepersonalizationOperation; + #endif /* _LIBQMI_GLIB_QMI_ENUMS_UIM_H_ */ diff --git a/qmi-enums-wda.h b/qmi-enums-wda.h index b45bae0..d44994b 100644 --- a/qmi-enums-wda.h +++ b/qmi-enums-wda.h @@ -17,7 +17,7 @@ * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * Boston, MA 02110-1301 USA. * - * Copyright (C) 2014 Aleksander Morgado + * Copyright (C) 2014-2017 Aleksander Morgado */ #ifndef _LIBQMI_GLIB_QMI_ENUMS_WDA_H_ @@ -25,7 +25,6 @@ /** * SECTION: qmi-enums-wda - * @title: WDA enumerations and flags * * This section defines enumerations and flags used in the WDA service * interface. @@ -38,8 +37,10 @@ * @QMI_WDA_LINK_LAYER_PROTOCOL_RAW_IP: Raw IP mode. * * Link layer protocol. + * + * Since: 1.10 */ -typedef enum { +typedef enum { /*< since=1.10 >*/ QMI_WDA_LINK_LAYER_PROTOCOL_UNKNOWN = 0x00, QMI_WDA_LINK_LAYER_PROTOCOL_802_3 = 0x01, QMI_WDA_LINK_LAYER_PROTOCOL_RAW_IP = 0x02, @@ -53,16 +54,26 @@ typedef enum { * @QMI_WDA_DATA_AGGREGATION_PROTOCOL_MBIM: MBIM enabled. * @QMI_WDA_DATA_AGGREGATION_PROTOCOL_RNDIS: RNDIS enabled. * @QMI_WDA_DATA_AGGREGATION_PROTOCOL_QMAP: QMAP enabled. + * @QMI_WDA_DATA_AGGREGATION_PROTOCOL_QMAPV2: QMAPV2 enabled. Since: 1.30. + * @QMI_WDA_DATA_AGGREGATION_PROTOCOL_QMAPV3: QMAPV3 enabled. Since: 1.30. + * @QMI_WDA_DATA_AGGREGATION_PROTOCOL_QMAPV4: QMAPV4 enabled. Since: 1.30. + * @QMI_WDA_DATA_AGGREGATION_PROTOCOL_QMAPV5: QMAPV5 enabled. Since: 1.28. * * Data aggregation protocol in uplink or downlink. + * + * Since: 1.10 */ -typedef enum { +typedef enum { /*< since=1.10 >*/ QMI_WDA_DATA_AGGREGATION_PROTOCOL_DISABLED = 0x00, QMI_WDA_DATA_AGGREGATION_PROTOCOL_TLP = 0x01, QMI_WDA_DATA_AGGREGATION_PROTOCOL_QC_NCM = 0x02, QMI_WDA_DATA_AGGREGATION_PROTOCOL_MBIM = 0x03, QMI_WDA_DATA_AGGREGATION_PROTOCOL_RNDIS = 0x04, QMI_WDA_DATA_AGGREGATION_PROTOCOL_QMAP = 0x05, + QMI_WDA_DATA_AGGREGATION_PROTOCOL_QMAPV2 = 0x06, + QMI_WDA_DATA_AGGREGATION_PROTOCOL_QMAPV3 = 0x07, + QMI_WDA_DATA_AGGREGATION_PROTOCOL_QMAPV4 = 0x08, + QMI_WDA_DATA_AGGREGATION_PROTOCOL_QMAPV5 = 0x09, } QmiWdaDataAggregationProtocol; #endif /* _LIBQMI_GLIB_QMI_ENUMS_WDA_H_ */ diff --git a/qmi-enums-wds.h b/qmi-enums-wds.h index 6af5936..a041e65 100644 --- a/qmi-enums-wds.h +++ b/qmi-enums-wds.h @@ -17,24 +17,37 @@ * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * Boston, MA 02110-1301 USA. * - * Copyright (C) 2012 Lanedo GmbH + * Copyright (C) 2012 Lanedo GmbH + * Copyright (C) 2015 Velocloud Inc. + * Copyright (C) 2012-2017 Aleksander Morgado */ #ifndef _LIBQMI_GLIB_QMI_ENUMS_WDS_H_ #define _LIBQMI_GLIB_QMI_ENUMS_WDS_H_ +/** + * SECTION: qmi-enums-wds + * + * This section defines enumerations and flags used in the WDS service + * interface. + */ + /*****************************************************************************/ /* Helper enums for the 'QMI WDS Start Network' message */ /** * QmiWdsIpFamily: + * @QMI_WDS_IP_FAMILY_UNKNOWN: unknown. Since: 1.18. * @QMI_WDS_IP_FAMILY_IPV4: IPv4. * @QMI_WDS_IP_FAMILY_IPV6: IPv6. * @QMI_WDS_IP_FAMILY_UNSPECIFIED: None specified. * - * Type of IP family preference. + * Type of IP family. + * + * Since: 1.0 */ -typedef enum { +typedef enum { /*< since=1.0 >*/ + QMI_WDS_IP_FAMILY_UNKNOWN = 0, QMI_WDS_IP_FAMILY_IPV4 = 4, QMI_WDS_IP_FAMILY_IPV6 = 6, QMI_WDS_IP_FAMILY_UNSPECIFIED = 8 @@ -46,8 +59,10 @@ typedef enum { * @QMI_WDS_TECHNOLOGY_PREFERENCE_ALLOW_3GPP2: 3GPP2 allowed. * * Type of network allowed when trying to connect. + * + * Since: 1.0 */ -typedef enum { +typedef enum { /*< since=1.0 >*/ QMI_WDS_TECHNOLOGY_PREFERENCE_ALLOW_3GPP = 1 << 0, QMI_WDS_TECHNOLOGY_PREFERENCE_ALLOW_3GPP2 = 1 << 1 } QmiWdsTechnologyPreference; @@ -56,13 +71,15 @@ typedef enum { * QmiWdsExtendedTechnologyPreference: * @QMI_WDS_EXTENDED_TECHNOLOGY_PREFERENCE_CDMA: Use CDMA. * @QMI_WDS_EXTENDED_TECHNOLOGY_PREFERENCE_UMTS: Use UMTS. - * @QMI_WDS_EXTENDED_TECHNOLOGY_PREFERENCE_EPC: Use EPC (LTE). + * @QMI_WDS_EXTENDED_TECHNOLOGY_PREFERENCE_EPC: Use EPC, LTE. * @QMI_WDS_EXTENDED_TECHNOLOGY_PREFERENCE_EMBMS: Use eMBMS. * @QMI_WDS_EXTENDED_TECHNOLOGY_PREFERENCE_MODEM_LINK_LOCAL: Use modem link-local. * * Type of network allowed when trying to connect. + * + * Since: 1.0 */ -typedef enum { +typedef enum { /*< since=1.0 >*/ QMI_WDS_EXTENDED_TECHNOLOGY_PREFERENCE_CDMA = 32769, QMI_WDS_EXTENDED_TECHNOLOGY_PREFERENCE_UMTS = 32772, QMI_WDS_EXTENDED_TECHNOLOGY_PREFERENCE_EPC = 34944, @@ -76,8 +93,10 @@ typedef enum { * @QMI_WDS_CALL_TYPE_EMBEDDED: Embedded call. * * Type of call to originate. + * + * Since: 1.0 */ -typedef enum { +typedef enum { /*< since=1.0 >*/ QMI_WDS_CALL_TYPE_LAPTOP = 0, QMI_WDS_CALL_TYPE_EMBEDDED = 1 } QmiWdsCallType; @@ -95,71 +114,73 @@ typedef enum { * @QMI_WDS_CALL_END_REASON_GENERIC_CLOSE_IN_PROGRESS: Close in progress. * @QMI_WDS_CALL_END_REASON_GENERIC_AUTHENTICATION_FAILED: Authentication failed. * @QMI_WDS_CALL_END_REASON_GENERIC_INTERNAL_ERROR: Internal error. - * @QMI_WDS_CALL_END_REASON_CDMA_LOCK: (CDMA) Phone is CDMA-locked. - * @QMI_WDS_CALL_END_REASON_CDMA_INTERCEPT: (CDMA) Received intercept from the BS. - * @QMI_WDS_CALL_END_REASON_CDMA_REORDER: (CDMA) Received reorder from the BS. - * @QMI_WDS_CALL_END_REASON_CDMA_RELEASE_SO_REJECT: (CDMA) Received release from the BS, SO reject. - * @QMI_WDS_CALL_END_REASON_CDMA_INCOMING_CALL: (CDMA) Received incoming call from the BS. - * @QMI_WDS_CALL_END_REASON_CDMA_ALERT_STOP: (CDMA) Received alert stop from the BS. - * @QMI_WDS_CALL_END_REASON_CDMA_ACTIVATION: (CDMA) Received end activation. - * @QMI_WDS_CALL_END_REASON_CDMA_MAX_ACCESS_PROBES: (CDMA) Maximum access probes transmitted. - * @QMI_WDS_CALL_END_REASON_CDMA_CCS_NOT_SUPPORTED_BY_BS: (CDMA) Concurrent service not supported by the BS. - * @QMI_WDS_CALL_END_REASON_CDMA_NO_RESPONSE_FROM_BS: (CDMA) No response received from the BS. - * @QMI_WDS_CALL_END_REASON_CDMA_REJECTED_BY_BS: (CDMA) Rejected by the BS. - * @QMI_WDS_CALL_END_REASON_CDMA_INCOMPATIBLE: (CDMA) Concurrent services requested are incompatible. - * @QMI_WDS_CALL_END_REASON_CDMA_ALREADY_IN_TC: (CDMA) Already in TC. - * @QMI_WDS_CALL_END_REASON_CDMA_USER_CALL_ORIGINATED_DURING_GPS: (CDMA) Call originated during GPS. - * @QMI_WDS_CALL_END_REASON_CDMA_USER_CALL_ORIGINATED_DURING_SMS: (CDMA) Call originated during SMS. - * @QMI_WDS_CALL_END_REASON_CDMA_NO_SERVICE: (CDMA) No service. - * @QMI_WDS_CALL_END_REASON_GSM_WCDMA_CONFERENCE_FAILED: (GSM/WCDMA) Call origination request failed. - * @QMI_WDS_CALL_END_REASON_GSM_WCDMA_INCOMING_REJECTED: (GSM/WCDMA) Client rejected incoming call. - * @QMI_WDS_CALL_END_REASON_GSM_WCDMA_NO_SERVICE: (GSM/WCDMA) No service. - * @QMI_WDS_CALL_END_REASON_GSM_WCDMA_NETWORK_END: (GSM/WCDMA) Network ended the call. - * @QMI_WDS_CALL_END_REASON_GSM_WCDMA_LLC_SNDCP_FAILURE: (GSM/WCDMA) LLC or SNDCP failure. - * @QMI_WDS_CALL_END_REASON_GSM_WCDMA_INSUFFICIENT_RESOURCES: (GSM/WCDMA) Insufficient resources. - * @QMI_WDS_CALL_END_REASON_GSM_WCDMA_OPTION_TEMPORARILY_OUT_OF_ORDER: (GSM/WCDMA) Service option temporarily out of order. - * @QMI_WDS_CALL_END_REASON_GSM_WCDMA_NSAPI_ALREADY_USED: (GSM/WCDMA) NSAPI already used. - * @QMI_WDS_CALL_END_REASON_GSM_WCDMA_REGULAR_DEACTIVATION: (GSM/WCDMA) Regular PDP context deactivation. - * @QMI_WDS_CALL_END_REASON_GSM_WCDMA_NETWORK_FAILURE: (GSM/WCDMA) Network failure. - * @QMI_WDS_CALL_END_REASON_GSM_WCDMA_REATTACH_REQUIRED: (GSM/WCDMA) Reattach required. - * @QMI_WDS_CALL_END_REASON_GSM_WCDMA_PROTOCOL_ERROR: (GSM/WCDMA) Protocol error. - * @QMI_WDS_CALL_END_REASON_GSM_WCDMA_OPERATOR_DETERMINED_BARRING: (GSM/WCDMA) Operator-determined barring. - * @QMI_WDS_CALL_END_REASON_GSM_WCDMA_UNKNOWN_APN: (GSM/WCDMA) Unknown or missing APN. - * @QMI_WDS_CALL_END_REASON_GSM_WCDMA_UNKNOWN_PDP: (GSM/WCDMA) Unknown PDP address or type. - * @QMI_WDS_CALL_END_REASON_GSM_WCDMA_GGSN_REJECT: (GSM/WCDMA) Activation rejected by GGSN. - * @QMI_WDS_CALL_END_REASON_GSM_WCDMA_ACTIVATION_REJECT: (GSM/WCDMA) Activation rejected. - * @QMI_WDS_CALL_END_REASON_GSM_WCDMA_OPTION_NOT_SUPPORTED: (GSM/WCDMA) Service option not supported. - * @QMI_WDS_CALL_END_REASON_GSM_WCDMA_OPTION_UNSUBSCRIBED: (GSM/WCDMA) Service option not subscribed. - * @QMI_WDS_CALL_END_REASON_GSM_WCDMA_QOS_NOT_ACCEPTED: (GSM/WCDMA) QoS not accepted. - * @QMI_WDS_CALL_END_REASON_GSM_WCDMA_TFT_SEMANTIC_ERROR: (GSM/WCDMA) Semantic error in TFT operation. - * @QMI_WDS_CALL_END_REASON_GSM_WCDMA_TFT_SYNTAX_ERROR: (GSM/WCDMA) Syntax error in TFT operation. - * @QMI_WDS_CALL_END_REASON_GSM_WCDMA_UNKNOWN_PDP_CONTEXT: (GSM/WCDMA) Unknown PDP context. - * @QMI_WDS_CALL_END_REASON_GSM_WCDMA_FILTER_SEMANTIC_ERROR: (GSM/WCDMA) Semantic error in packet filters. - * @QMI_WDS_CALL_END_REASON_GSM_WCDMA_FILTER_SYNTAX_ERROR: (GSM/WCDMA) Syntax error in packet filters. - * @QMI_WDS_CALL_END_REASON_GSM_WCDMA_PDP_WITHOUT_ACTIVE_TFT: (GSM/WCDMA) PDP context without TFT activated. - * @QMI_WDS_CALL_END_REASON_GSM_WCDMA_INVALID_TRANSACTION_ID: (GSM/WCDMA) Invalid transaction ID. - * @QMI_WDS_CALL_END_REASON_GSM_WCDMA_MESSAGE_INCORRECT_SEMANTIC: (GSM/WCDMA) Message incorrect semantically. - * @QMI_WDS_CALL_END_REASON_GSM_WCDMA_INVALID_MANDATORY_INFO: (GSM/WCDMA) Invalid mandatory information. - * @QMI_WDS_CALL_END_REASON_GSM_WCDMA_MESSAGE_TYPE_UNSUPPORTED: (GSM/WCDMA) Message type not implemented. - * @QMI_WDS_CALL_END_REASON_GSM_WCDMA_MESSAGE_TYPE_NONCOMPATIBLE_STATE: (GSM/WCDMA) Message not compatible with state. - * @QMI_WDS_CALL_END_REASON_GSM_WCDMA_UNKNOWN_INFO_ELEMENT: (GSM/WCDMA) Information element unknown. - * @QMI_WDS_CALL_END_REASON_GSM_WCDMA_CONDITIONAL_IE_ERROR: (GSM/WCDMA) Conditional IE error. - * @QMI_WDS_CALL_END_REASON_GSM_WCDMA_MESSAGE_AND_PROTOCOL_STATE_UNCOMPATIBLE: (GSM/WCDMA) Message and protocol state uncompatible. - * @QMI_WDS_CALL_END_REASON_GSM_WCDMA_APN_TYPE_CONFLICT: (GSM/WCDMA) APN type conflict. - * @QMI_WDS_CALL_END_REASON_GSM_WCDMA_NO_GPRS_CONTEXT: (GSM/WCDMA) No GPRS context. - * @QMI_WDS_CALL_END_REASON_GSM_WCDMA_FEATURE_NOT_SUPPORTED: (GSM/WCDMA) Feature not supported. - * @QMI_WDS_CALL_END_REASON_EVDO_CONNECTION_DENY_GENERAL_OR_BUSY: (EV-DO) Received Connection Deny (General or Network busy). - * @QMI_WDS_CALL_END_REASON_EVDO_CONNECTION_DENY_BILLING_OR_AUTHENTICATION_FAILURE: (EV-DO) Received Connection Deny (Billing or Authentication failure). - * @QMI_WDS_CALL_END_REASON_EVDO_HDR_CHANGE: (EV-DO) Change HDR. - * @QMI_WDS_CALL_END_REASON_EVDO_HDR_EXIT: (EV-DO) Exit HDR. - * @QMI_WDS_CALL_END_REASON_EVDO_HDR_NO_SESSION: (EV-DO) No HDR session. - * @QMI_WDS_CALL_END_REASON_EVDO_HDR_ORIGINATION_DURING_GPS_FIX: (EV-DO) HDR call ended in favor of a GPS fix. - * @QMI_WDS_CALL_END_REASON_EVDO_HDR_CONNECTION_SETUP_TIMEOUT: (EV-DO) Connection setup timeout. - * @QMI_WDS_CALL_END_REASON_EVDO_HDR_RELEASED_BY_CM: (EV-DO) Released HDR call by call manager. + * @QMI_WDS_CALL_END_REASON_CDMA_LOCK: CDMA specific. Phone is CDMA-locked. + * @QMI_WDS_CALL_END_REASON_CDMA_INTERCEPT: CDMA specific. Received intercept from the BS. + * @QMI_WDS_CALL_END_REASON_CDMA_REORDER: CDMA specific. Received reorder from the BS. + * @QMI_WDS_CALL_END_REASON_CDMA_RELEASE_SO_REJECT: CDMA specific. Received release from the BS, SO reject. + * @QMI_WDS_CALL_END_REASON_CDMA_INCOMING_CALL: CDMA specific. Received incoming call from the BS. + * @QMI_WDS_CALL_END_REASON_CDMA_ALERT_STOP: CDMA specific. Received alert stop from the BS. + * @QMI_WDS_CALL_END_REASON_CDMA_ACTIVATION: CDMA specific. Received end activation. + * @QMI_WDS_CALL_END_REASON_CDMA_MAX_ACCESS_PROBES: CDMA specific. Maximum access probes transmitted. + * @QMI_WDS_CALL_END_REASON_CDMA_CCS_NOT_SUPPORTED_BY_BS: CDMA specific. Concurrent service not supported by the BS. + * @QMI_WDS_CALL_END_REASON_CDMA_NO_RESPONSE_FROM_BS: CDMA specific. No response received from the BS. + * @QMI_WDS_CALL_END_REASON_CDMA_REJECTED_BY_BS: CDMA specific. Rejected by the BS. + * @QMI_WDS_CALL_END_REASON_CDMA_INCOMPATIBLE: CDMA specific. Concurrent services requested are incompatible. + * @QMI_WDS_CALL_END_REASON_CDMA_ALREADY_IN_TC: CDMA specific. Already in TC. + * @QMI_WDS_CALL_END_REASON_CDMA_USER_CALL_ORIGINATED_DURING_GPS: CDMA specific. Call originated during GPS. + * @QMI_WDS_CALL_END_REASON_CDMA_USER_CALL_ORIGINATED_DURING_SMS: CDMA specific. Call originated during SMS. + * @QMI_WDS_CALL_END_REASON_CDMA_NO_SERVICE: CDMA specific. No service. + * @QMI_WDS_CALL_END_REASON_GSM_WCDMA_CONFERENCE_FAILED: GSM/WCDMA specific. Call origination request failed. + * @QMI_WDS_CALL_END_REASON_GSM_WCDMA_INCOMING_REJECTED: GSM/WCDMA specific. Client rejected incoming call. + * @QMI_WDS_CALL_END_REASON_GSM_WCDMA_NO_SERVICE: GSM/WCDMA specific. No service. + * @QMI_WDS_CALL_END_REASON_GSM_WCDMA_NETWORK_END: GSM/WCDMA specific. Network ended the call. + * @QMI_WDS_CALL_END_REASON_GSM_WCDMA_LLC_SNDCP_FAILURE: GSM/WCDMA specific. LLC or SNDCP failure. + * @QMI_WDS_CALL_END_REASON_GSM_WCDMA_INSUFFICIENT_RESOURCES: GSM/WCDMA specific. Insufficient resources. + * @QMI_WDS_CALL_END_REASON_GSM_WCDMA_OPTION_TEMPORARILY_OUT_OF_ORDER: GSM/WCDMA specific. Service option temporarily out of order. + * @QMI_WDS_CALL_END_REASON_GSM_WCDMA_NSAPI_ALREADY_USED: GSM/WCDMA specific. NSAPI already used. + * @QMI_WDS_CALL_END_REASON_GSM_WCDMA_REGULAR_DEACTIVATION: GSM/WCDMA specific. Regular PDP context deactivation. + * @QMI_WDS_CALL_END_REASON_GSM_WCDMA_NETWORK_FAILURE: GSM/WCDMA specific. Network failure. + * @QMI_WDS_CALL_END_REASON_GSM_WCDMA_REATTACH_REQUIRED: GSM/WCDMA specific. Reattach required. + * @QMI_WDS_CALL_END_REASON_GSM_WCDMA_PROTOCOL_ERROR: GSM/WCDMA specific. Protocol error. + * @QMI_WDS_CALL_END_REASON_GSM_WCDMA_OPERATOR_DETERMINED_BARRING: GSM/WCDMA specific. Operator-determined barring. + * @QMI_WDS_CALL_END_REASON_GSM_WCDMA_UNKNOWN_APN: GSM/WCDMA specific. Unknown or missing APN. + * @QMI_WDS_CALL_END_REASON_GSM_WCDMA_UNKNOWN_PDP: GSM/WCDMA specific. Unknown PDP address or type. + * @QMI_WDS_CALL_END_REASON_GSM_WCDMA_GGSN_REJECT: GSM/WCDMA specific. Activation rejected by GGSN. + * @QMI_WDS_CALL_END_REASON_GSM_WCDMA_ACTIVATION_REJECT: GSM/WCDMA specific. Activation rejected. + * @QMI_WDS_CALL_END_REASON_GSM_WCDMA_OPTION_NOT_SUPPORTED: GSM/WCDMA specific. Service option not supported. + * @QMI_WDS_CALL_END_REASON_GSM_WCDMA_OPTION_UNSUBSCRIBED: GSM/WCDMA specific. Service option not subscribed. + * @QMI_WDS_CALL_END_REASON_GSM_WCDMA_QOS_NOT_ACCEPTED: GSM/WCDMA specific. QoS not accepted. + * @QMI_WDS_CALL_END_REASON_GSM_WCDMA_TFT_SEMANTIC_ERROR: GSM/WCDMA specific. Semantic error in TFT operation. + * @QMI_WDS_CALL_END_REASON_GSM_WCDMA_TFT_SYNTAX_ERROR: GSM/WCDMA specific. Syntax error in TFT operation. + * @QMI_WDS_CALL_END_REASON_GSM_WCDMA_UNKNOWN_PDP_CONTEXT: GSM/WCDMA specific. Unknown PDP context. + * @QMI_WDS_CALL_END_REASON_GSM_WCDMA_FILTER_SEMANTIC_ERROR: GSM/WCDMA specific. Semantic error in packet filters. + * @QMI_WDS_CALL_END_REASON_GSM_WCDMA_FILTER_SYNTAX_ERROR: GSM/WCDMA specific. Syntax error in packet filters. + * @QMI_WDS_CALL_END_REASON_GSM_WCDMA_PDP_WITHOUT_ACTIVE_TFT: GSM/WCDMA specific. PDP context without TFT activated. + * @QMI_WDS_CALL_END_REASON_GSM_WCDMA_INVALID_TRANSACTION_ID: GSM/WCDMA specific. Invalid transaction ID. + * @QMI_WDS_CALL_END_REASON_GSM_WCDMA_MESSAGE_INCORRECT_SEMANTIC: GSM/WCDMA specific. Message incorrect semantically. + * @QMI_WDS_CALL_END_REASON_GSM_WCDMA_INVALID_MANDATORY_INFO: GSM/WCDMA specific. Invalid mandatory information. + * @QMI_WDS_CALL_END_REASON_GSM_WCDMA_MESSAGE_TYPE_UNSUPPORTED: GSM/WCDMA specific. Message type not implemented. + * @QMI_WDS_CALL_END_REASON_GSM_WCDMA_MESSAGE_TYPE_NONCOMPATIBLE_STATE: GSM/WCDMA specific. Message not compatible with state. + * @QMI_WDS_CALL_END_REASON_GSM_WCDMA_UNKNOWN_INFO_ELEMENT: GSM/WCDMA specific. Information element unknown. + * @QMI_WDS_CALL_END_REASON_GSM_WCDMA_CONDITIONAL_IE_ERROR: GSM/WCDMA specific. Conditional IE error. + * @QMI_WDS_CALL_END_REASON_GSM_WCDMA_MESSAGE_AND_PROTOCOL_STATE_UNCOMPATIBLE: GSM/WCDMA specific. Message and protocol state uncompatible. + * @QMI_WDS_CALL_END_REASON_GSM_WCDMA_APN_TYPE_CONFLICT: GSM/WCDMA specific. APN type conflict. + * @QMI_WDS_CALL_END_REASON_GSM_WCDMA_NO_GPRS_CONTEXT: GSM/WCDMA specific. No GPRS context. + * @QMI_WDS_CALL_END_REASON_GSM_WCDMA_FEATURE_NOT_SUPPORTED: GSM/WCDMA specific. Feature not supported. + * @QMI_WDS_CALL_END_REASON_EVDO_CONNECTION_DENY_GENERAL_OR_BUSY: CDMA/EVDO specific. Received Connection Deny: General or Network busy. + * @QMI_WDS_CALL_END_REASON_EVDO_CONNECTION_DENY_BILLING_OR_AUTHENTICATION_FAILURE: CDMA/EVDO specific. Received Connection Deny: Billing or Authentication failure. + * @QMI_WDS_CALL_END_REASON_EVDO_HDR_CHANGE: CDMA/EVDO specific. Change HDR. + * @QMI_WDS_CALL_END_REASON_EVDO_HDR_EXIT: CDMA/EVDO specific. Exit HDR. + * @QMI_WDS_CALL_END_REASON_EVDO_HDR_NO_SESSION: CDMA/EVDO specific. No HDR session. + * @QMI_WDS_CALL_END_REASON_EVDO_HDR_ORIGINATION_DURING_GPS_FIX: CDMA/EVDO specific. HDR call ended in favor of a GPS fix. + * @QMI_WDS_CALL_END_REASON_EVDO_HDR_CONNECTION_SETUP_TIMEOUT: CDMA/EVDO specific. Connection setup timeout. + * @QMI_WDS_CALL_END_REASON_EVDO_HDR_RELEASED_BY_CM: CDMA/EVDO specific. Released HDR call by call manager. * * Reason for ending the call. + * + * Since: 1.0 */ -typedef enum { +typedef enum { /*< since=1.0 >*/ /* Generic reasons */ QMI_WDS_CALL_END_REASON_GENERIC_UNSPECIFIED = 1, QMI_WDS_CALL_END_REASON_GENERIC_CLIENT_END = 2, @@ -230,7 +251,7 @@ typedef enum { QMI_WDS_CALL_END_REASON_GSM_WCDMA_NO_GPRS_CONTEXT = 1035, QMI_WDS_CALL_END_REASON_GSM_WCDMA_FEATURE_NOT_SUPPORTED = 1036, - /* EV-DO specific reasons */ + /* EVDO specific reasons */ QMI_WDS_CALL_END_REASON_EVDO_CONNECTION_DENY_GENERAL_OR_BUSY = 1500, QMI_WDS_CALL_END_REASON_EVDO_CONNECTION_DENY_BILLING_OR_AUTHENTICATION_FAILURE = 1501, QMI_WDS_CALL_END_REASON_EVDO_HDR_CHANGE = 1502, @@ -250,10 +271,12 @@ typedef enum { * @QMI_WDS_VERBOSE_CALL_END_REASON_TYPE_PPP: PPP. * @QMI_WDS_VERBOSE_CALL_END_REASON_TYPE_EHRPD: eHRPD. * @QMI_WDS_VERBOSE_CALL_END_REASON_TYPE_IPV6: IPv6. - * + * * Type of verbose call end reason. + * + * Since: 1.0 */ -typedef enum { +typedef enum { /*< since=1.0 >*/ QMI_WDS_VERBOSE_CALL_END_REASON_TYPE_MIP = 1, QMI_WDS_VERBOSE_CALL_END_REASON_TYPE_INTERNAL = 2, QMI_WDS_VERBOSE_CALL_END_REASON_TYPE_CM = 3, @@ -266,40 +289,42 @@ typedef enum { /** * QmiWdsVerboseCallEndReasonMip: * @QMI_WDS_VERBOSE_CALL_END_REASON_MIP_ERROR_REASON_UNKNOWN: Unknown reason. - * @QMI_WDS_VERBOSE_CALL_END_REASON_MIP_FA_ERROR_REASON_UNSPECIFIED: (FA error) Reason unspecified. - * @QMI_WDS_VERBOSE_CALL_END_REASON_MIP_FA_ERROR_ADMINISTRATIVELY_PROHIBITED: (FA error) Administratively prohibited. - * @QMI_WDS_VERBOSE_CALL_END_REASON_MIP_FA_ERROR_INSUFFICIENT_RESOURCES: (FA error) Insufficient resources. - * @QMI_WDS_VERBOSE_CALL_END_REASON_MIP_FA_ERROR_MOBILE_NODE_AUTHENTICATION_FAILURE: (FA error) Mobile node authenticatin failure. - * @QMI_WDS_VERBOSE_CALL_END_REASON_MIP_FA_ERROR_HA_AUTHENTICATION_FAILURE: (FA error) HA authentication failure. - * @QMI_WDS_VERBOSE_CALL_END_REASON_MIP_FA_ERROR_REQUESTED_LIFETIME_TOO_LONG: (FA error) Requested lifetime too long. - * @QMI_WDS_VERBOSE_CALL_END_REASON_MIP_FA_ERROR_MALFORMED_REQUEST: (FA error) Malformed request. - * @QMI_WDS_VERBOSE_CALL_END_REASON_MIP_FA_ERROR_MALFORMED_REPLY: (FA error) Malformed reply. - * @QMI_WDS_VERBOSE_CALL_END_REASON_MIP_FA_ERROR_ENCAPSULATION_UNAVAILABLE: (FA error) Encapsulation unavailable. - * @QMI_WDS_VERBOSE_CALL_END_REASON_MIP_FA_ERROR_VJHC_UNAVAILABLE: (FA error) VJHC unavailable. - * @QMI_WDS_VERBOSE_CALL_END_REASON_MIP_FA_ERROR_REVERSE_TUNNEL_UNAVAILABLE: (FA error) Reverse tunnel unavailable. - * @QMI_WDS_VERBOSE_CALL_END_REASON_MIP_FA_ERROR_REVERSE_TUNNEL_MANDATORY_AND_T_BIT_NOT_SET: (FA error) Reverse tunnel mandatory and T bit not set. - * @QMI_WDS_VERBOSE_CALL_END_REASON_MIP_FA_ERROR_DELIVERY_STYLE_NOT_SUPPORTED: (FA error) Delivery style not supported. - * @QMI_WDS_VERBOSE_CALL_END_REASON_MIP_FA_ERROR_MISSING_NAI: (FA error) Missing NAI. - * @QMI_WDS_VERBOSE_CALL_END_REASON_MIP_FA_ERROR_MISSING_HA: (FA error) Missing HA. - * @QMI_WDS_VERBOSE_CALL_END_REASON_MIP_FA_ERROR_MISSING_HOME_ADDRESS: (FA error) Missing home address. - * @QMI_WDS_VERBOSE_CALL_END_REASON_MIP_FA_ERROR_UNKNOWN_CHALLENGE: (FA error) Unknown challenge. - * @QMI_WDS_VERBOSE_CALL_END_REASON_MIP_FA_ERROR_MISSING_CHALLENGE: (FA error) Missing challenge. - * @QMI_WDS_VERBOSE_CALL_END_REASON_MIP_FA_ERROR_STALE_CHALLENGE: (FA error) Stale challenge. - * @QMI_WDS_VERBOSE_CALL_END_REASON_MIP_HA_ERROR_REASON_UNSPECIFIED: (HA error) Reason unspecified. - * @QMI_WDS_VERBOSE_CALL_END_REASON_MIP_HA_ERROR_ADMINISTRATIVELY_PROHIBITED: (HA error) Administratively prohibited. - * @QMI_WDS_VERBOSE_CALL_END_REASON_MIP_HA_ERROR_INSUFFICIENT_RESOURCES: (HA error) Insufficient resources. - * @QMI_WDS_VERBOSE_CALL_END_REASON_MIP_HA_ERROR_MOBILE_NODE_AUTHENTICATION_FAILURE: (HA error) Mobile node authentication failure. - * @QMI_WDS_VERBOSE_CALL_END_REASON_MIP_HA_ERROR_FA_AUTHENTICATION_FAILURE: (HA error) FA authentication failure. - * @QMI_WDS_VERBOSE_CALL_END_REASON_MIP_HA_ERROR_REGISTRATION_ID_MISMATCH: (HA error) Registration ID mismatch. - * @QMI_WDS_VERBOSE_CALL_END_REASON_MIP_HA_ERROR_MALFORMED_REQUEST: (HA error) Malformed request. - * @QMI_WDS_VERBOSE_CALL_END_REASON_MIP_HA_ERROR_UNKNOWN_HA_ADDRESS: (HA error) Unknown HA address. - * @QMI_WDS_VERBOSE_CALL_END_REASON_MIP_HA_ERROR_REVERSE_TUNNEL_UNAVAILABLE: (HA error) Reverse tunnel unavailable. - * @QMI_WDS_VERBOSE_CALL_END_REASON_MIP_HA_ERROR_REVERSE_TUNNEL_MANDATORY_AND_T_BIT_NOT_SET: (HA error) Reverse tunnel mandatory and T bit not set. - * @QMI_WDS_VERBOSE_CALL_END_REASON_MIP_HA_ERROR_ENCAPSULATION_UNAVAILABLE: (HA error) Encapsulation unavailable. + * @QMI_WDS_VERBOSE_CALL_END_REASON_MIP_FA_ERROR_REASON_UNSPECIFIED: FA error. Reason unspecified. + * @QMI_WDS_VERBOSE_CALL_END_REASON_MIP_FA_ERROR_ADMINISTRATIVELY_PROHIBITED: FA error. Administratively prohibited. + * @QMI_WDS_VERBOSE_CALL_END_REASON_MIP_FA_ERROR_INSUFFICIENT_RESOURCES: FA error. Insufficient resources. + * @QMI_WDS_VERBOSE_CALL_END_REASON_MIP_FA_ERROR_MOBILE_NODE_AUTHENTICATION_FAILURE: FA error. Mobile node authenticatin failure. + * @QMI_WDS_VERBOSE_CALL_END_REASON_MIP_FA_ERROR_HA_AUTHENTICATION_FAILURE: FA error. HA authentication failure. + * @QMI_WDS_VERBOSE_CALL_END_REASON_MIP_FA_ERROR_REQUESTED_LIFETIME_TOO_LONG: FA error. Requested lifetime too long. + * @QMI_WDS_VERBOSE_CALL_END_REASON_MIP_FA_ERROR_MALFORMED_REQUEST: FA error. Malformed request. + * @QMI_WDS_VERBOSE_CALL_END_REASON_MIP_FA_ERROR_MALFORMED_REPLY: FA error. Malformed reply. + * @QMI_WDS_VERBOSE_CALL_END_REASON_MIP_FA_ERROR_ENCAPSULATION_UNAVAILABLE: FA error. Encapsulation unavailable. + * @QMI_WDS_VERBOSE_CALL_END_REASON_MIP_FA_ERROR_VJHC_UNAVAILABLE: FA error. VJHC unavailable. + * @QMI_WDS_VERBOSE_CALL_END_REASON_MIP_FA_ERROR_REVERSE_TUNNEL_UNAVAILABLE: FA error. Reverse tunnel unavailable. + * @QMI_WDS_VERBOSE_CALL_END_REASON_MIP_FA_ERROR_REVERSE_TUNNEL_MANDATORY_AND_T_BIT_NOT_SET: FA error. Reverse tunnel mandatory and T bit not set. + * @QMI_WDS_VERBOSE_CALL_END_REASON_MIP_FA_ERROR_DELIVERY_STYLE_NOT_SUPPORTED: FA error. Delivery style not supported. + * @QMI_WDS_VERBOSE_CALL_END_REASON_MIP_FA_ERROR_MISSING_NAI: FA error. Missing NAI. + * @QMI_WDS_VERBOSE_CALL_END_REASON_MIP_FA_ERROR_MISSING_HA: FA error. Missing HA. + * @QMI_WDS_VERBOSE_CALL_END_REASON_MIP_FA_ERROR_MISSING_HOME_ADDRESS: FA error. Missing home address. + * @QMI_WDS_VERBOSE_CALL_END_REASON_MIP_FA_ERROR_UNKNOWN_CHALLENGE: FA error. Unknown challenge. + * @QMI_WDS_VERBOSE_CALL_END_REASON_MIP_FA_ERROR_MISSING_CHALLENGE: FA error. Missing challenge. + * @QMI_WDS_VERBOSE_CALL_END_REASON_MIP_FA_ERROR_STALE_CHALLENGE: FA error. Stale challenge. + * @QMI_WDS_VERBOSE_CALL_END_REASON_MIP_HA_ERROR_REASON_UNSPECIFIED: HA error. Reason unspecified. + * @QMI_WDS_VERBOSE_CALL_END_REASON_MIP_HA_ERROR_ADMINISTRATIVELY_PROHIBITED: HA error. Administratively prohibited. + * @QMI_WDS_VERBOSE_CALL_END_REASON_MIP_HA_ERROR_INSUFFICIENT_RESOURCES: HA error. Insufficient resources. + * @QMI_WDS_VERBOSE_CALL_END_REASON_MIP_HA_ERROR_MOBILE_NODE_AUTHENTICATION_FAILURE: HA error. Mobile node authentication failure. + * @QMI_WDS_VERBOSE_CALL_END_REASON_MIP_HA_ERROR_FA_AUTHENTICATION_FAILURE: HA error. FA authentication failure. + * @QMI_WDS_VERBOSE_CALL_END_REASON_MIP_HA_ERROR_REGISTRATION_ID_MISMATCH: HA error. Registration ID mismatch. + * @QMI_WDS_VERBOSE_CALL_END_REASON_MIP_HA_ERROR_MALFORMED_REQUEST: HA error. Malformed request. + * @QMI_WDS_VERBOSE_CALL_END_REASON_MIP_HA_ERROR_UNKNOWN_HA_ADDRESS: HA error. Unknown HA address. + * @QMI_WDS_VERBOSE_CALL_END_REASON_MIP_HA_ERROR_REVERSE_TUNNEL_UNAVAILABLE: HA error. Reverse tunnel unavailable. + * @QMI_WDS_VERBOSE_CALL_END_REASON_MIP_HA_ERROR_REVERSE_TUNNEL_MANDATORY_AND_T_BIT_NOT_SET: HA error. Reverse tunnel mandatory and T bit not set. + * @QMI_WDS_VERBOSE_CALL_END_REASON_MIP_HA_ERROR_ENCAPSULATION_UNAVAILABLE: HA error. Encapsulation unavailable. * * Mobile IP specific call end reasons, given when the @QmiWdsVerboseCallEndReasonType is #QMI_WDS_VERBOSE_CALL_END_REASON_TYPE_MIP. + * + * Since: 1.0 */ -typedef enum { +typedef enum { /*< since=1.0 >*/ QMI_WDS_VERBOSE_CALL_END_REASON_MIP_ERROR_REASON_UNKNOWN = -1, QMI_WDS_VERBOSE_CALL_END_REASON_MIP_FA_ERROR_REASON_UNSPECIFIED = 64, @@ -346,39 +371,134 @@ typedef enum { * @QMI_WDS_VERBOSE_CALL_END_REASON_INTERNAL_CLOSE_IN_PROGRESS: Close in progress. * @QMI_WDS_VERBOSE_CALL_END_REASON_INTERNAL_NETWORK_INITIATED_TERMINATION: Network initiated termination. * @QMI_WDS_VERBOSE_CALL_END_REASON_INTERNAL_APP_PREEMPTED: App preempted. + * @QMI_WDS_VERBOSE_CALL_END_REASON_INTERNAL_PDN_IPV4_CALL_DISALLOWED: PDN IPv4 call disallowed. Since: 1.14. + * @QMI_WDS_VERBOSE_CALL_END_REASON_INTERNAL_PDN_IPV4_CALL_THROTTLED: PDN IPv4 call throttled. Since: 1.14. + * @QMI_WDS_VERBOSE_CALL_END_REASON_INTERNAL_PDN_IPV6_CALL_DISALLOWED: PDN IPv6 call disallowed. Since: 1.14. + * @QMI_WDS_VERBOSE_CALL_END_REASON_INTERNAL_PDN_IPV6_CALL_THROTTLED: PDN IPv6 call throttled. Since: 1.14. + * @QMI_WDS_VERBOSE_CALL_END_REASON_INTERNAL_MODEM_RESTART: Modem restart. Since: 1.14. + * @QMI_WDS_VERBOSE_CALL_END_REASON_INTERNAL_PDP_PPP_NOT_SUPPORTED: PDP PPP not supported. Since: 1.14. + * @QMI_WDS_VERBOSE_CALL_END_REASON_INTERNAL_UNPREFERRED_RAT: Unpreferred RAT. Since: 1.14. + * @QMI_WDS_VERBOSE_CALL_END_REASON_INTERNAL_PHYSICAL_LINK_CLOSE_IN_PROGRESS: Physical link close in progress. Since: 1.14. + * @QMI_WDS_VERBOSE_CALL_END_REASON_INTERNAL_APN_PENDING_HANDOVER: APN pending handover. Since: 1.14. + * @QMI_WDS_VERBOSE_CALL_END_REASON_INTERNAL_PROFILE_BEARER_INCOMPATIBLE: Profile bearer incompatible. Since: 1.14. + * @QMI_WDS_VERBOSE_CALL_END_REASON_INTERNAL_MMGDSI_CARD_EVENT: MMGDSI Card event. Since: 1.14. + * @QMI_WDS_VERBOSE_CALL_END_REASON_INTERNAL_LPM_OR_POWER_DOWN: LPM or power down. Since: 1.14. + * @QMI_WDS_VERBOSE_CALL_END_REASON_INTERNAL_APN_DISABLED: APN disabled. Since: 1.14. + * @QMI_WDS_VERBOSE_CALL_END_REASON_INTERNAL_MPIT_EXPIRED: MPIT expired. Since: 1.14. + * @QMI_WDS_VERBOSE_CALL_END_REASON_INTERNAL_IPV6_ADDRESS_TRANSFER_FAILED: IPv6 address transfer failed. Since: 1.14. + * @QMI_WDS_VERBOSE_CALL_END_REASON_INTERNAL_TRAT_SWAP_FAILED: TRAT swap failed. Since: 1.14. + * @QMI_WDS_VERBOSE_CALL_END_REASON_INTERNAL_EHRPD_TO_HRPD_FALLBACK: eHRPD to HRPD fallback. Since 1.24.10. + * @QMI_WDS_VERBOSE_CALL_END_REASON_INTERNAL_MANDATORY_APN_DISABLED: Mandatory APN disabled. Since 1.24.10. + * @QMI_WDS_VERBOSE_CALL_END_REASON_INTERNAL_MIP_CONFIG_FAILURE: MIP config failure. Since 1.24.10. + * @QMI_WDS_VERBOSE_CALL_END_REASON_INTERNAL_PDN_INACTIVITY_TIMER_EXPIRED: PDN inactivity timeout expired. Since 1.24.10. + * @QMI_WDS_VERBOSE_CALL_END_REASON_INTERNAL_MAX_V4_CONNECTIONS: Max IPv4 connections. Since 1.24.10. + * @QMI_WDS_VERBOSE_CALL_END_REASON_INTERNAL_MAX_V6_CONNECTIONS: Max IPv6 connections. Since 1.24.10. + * @QMI_WDS_VERBOSE_CALL_END_REASON_INTERNAL_APN_MISMATCH: APN mismatch. Since 1.24.10. + * @QMI_WDS_VERBOSE_CALL_END_REASON_INTERNAL_IP_VERSION_MISMATCH: IP version mismatch. Since 1.24.10. + * @QMI_WDS_VERBOSE_CALL_END_REASON_INTERNAL_DUN_CALL_DISALLOWED: DUN call disallowed. Since 1.24.10. + * @QMI_WDS_VERBOSE_CALL_END_REASON_INTERNAL_INVALID_PROFILE: Invalid profile. Since 1.24.10. + * @QMI_WDS_VERBOSE_CALL_END_REASON_INTERNAL_EPC_NONEPC_TRANSITION: EPC to non-EPC transition. Since 1.24.10. + * @QMI_WDS_VERBOSE_CALL_END_REASON_INTERNAL_INVALID_PROFILE_ID: Invalid profile ID. Since 1.24.10. + * @QMI_WDS_VERBOSE_CALL_END_REASON_INTERNAL_CALL_ALREADY_PRESENT: Call already present. Since 1.24.10. + * @QMI_WDS_VERBOSE_CALL_END_REASON_INTERNAL_INTERFACE_IN_USE: Interface in use. Since 1.24.10. + * @QMI_WDS_VERBOSE_CALL_END_REASON_INTERNAL_IP_PDP_MISMATCH: IP PDP mismatch. Since 1.24.10. + * @QMI_WDS_VERBOSE_CALL_END_REASON_INTERNAL_APN_DISALLOWED_ON_ROAMING: APN disallowed on roaming. Since 1.24.10. + * @QMI_WDS_VERBOSE_CALL_END_REASON_INTERNAL_APN_PARAMETER_CHANGE: APN parameter change. Since 1.24.10. + * @QMI_WDS_VERBOSE_CALL_END_REASON_INTERNAL_INTERFACE_IN_USE_CONFIG_MATCH: Interface in use config match. Since 1.24.10. + * @QMI_WDS_VERBOSE_CALL_END_REASON_INTERNAL_NULL_APN_DISALLOWED: NULL APN disallowed. Since 1.24.10. + * @QMI_WDS_VERBOSE_CALL_END_REASON_INTERNAL_THERMAL_MITIGATION: Thermal mitigation. Since 1.24.10. + * @QMI_WDS_VERBOSE_CALL_END_REASON_INTERNAL_SUBS_ID_MISMATCH: Subs ID mismatch Since 1.24.10. + * @QMI_WDS_VERBOSE_CALL_END_REASON_INTERNAL_DATA_SETTINGS_DISABLED: Data settings disabled. Since 1.24.10. + * @QMI_WDS_VERBOSE_CALL_END_REASON_INTERNAL_DATA_ROAMING_SETTINGS_DISABLED: Data roaming settings disabled. Since 1.24.10. + * @QMI_WDS_VERBOSE_CALL_END_REASON_INTERNAL_APN_FORMAT_INVALID: APN format invalid. Since 1.24.10. + * @QMI_WDS_VERBOSE_CALL_END_REASON_INTERNAL_DDS_CALL_ABORT: DDS call abort. Since 1.24.10. + * @QMI_WDS_VERBOSE_CALL_END_REASON_INTERNAL_VALIDATION_FAILURE: Validation failure. Since 1.24.10. * * Internal call end reasons, given when the @QmiWdsVerboseCallEndReasonType is #QMI_WDS_VERBOSE_CALL_END_REASON_TYPE_INTERNAL. + * + * Since: 1.0 */ -typedef enum { - QMI_WDS_VERBOSE_CALL_END_REASON_INTERNAL_ERROR = 201, - QMI_WDS_VERBOSE_CALL_END_REASON_INTERNAL_CALL_ENDED = 202, - QMI_WDS_VERBOSE_CALL_END_REASON_INTERNAL_UNKNOWN_INTERNAL_CAUSE = 203, - QMI_WDS_VERBOSE_CALL_END_REASON_INTERNAL_UNKNOWN_CAUSE = 204, - QMI_WDS_VERBOSE_CALL_END_REASON_INTERNAL_CLOSE_IN_PROGRESS = 205, - QMI_WDS_VERBOSE_CALL_END_REASON_INTERNAL_NETWORK_INITIATED_TERMINATION = 206, - QMI_WDS_VERBOSE_CALL_END_REASON_INTERNAL_APP_PREEMPTED = 207 +typedef enum { /*< since=1.0 >*/ + QMI_WDS_VERBOSE_CALL_END_REASON_INTERNAL_ERROR = 201, + QMI_WDS_VERBOSE_CALL_END_REASON_INTERNAL_CALL_ENDED = 202, + QMI_WDS_VERBOSE_CALL_END_REASON_INTERNAL_UNKNOWN_INTERNAL_CAUSE = 203, + QMI_WDS_VERBOSE_CALL_END_REASON_INTERNAL_UNKNOWN_CAUSE = 204, + QMI_WDS_VERBOSE_CALL_END_REASON_INTERNAL_CLOSE_IN_PROGRESS = 205, + QMI_WDS_VERBOSE_CALL_END_REASON_INTERNAL_NETWORK_INITIATED_TERMINATION = 206, + QMI_WDS_VERBOSE_CALL_END_REASON_INTERNAL_APP_PREEMPTED = 207, + QMI_WDS_VERBOSE_CALL_END_REASON_INTERNAL_PDN_IPV4_CALL_DISALLOWED = 208, + QMI_WDS_VERBOSE_CALL_END_REASON_INTERNAL_PDN_IPV4_CALL_THROTTLED = 209, + QMI_WDS_VERBOSE_CALL_END_REASON_INTERNAL_PDN_IPV6_CALL_DISALLOWED = 210, + QMI_WDS_VERBOSE_CALL_END_REASON_INTERNAL_PDN_IPV6_CALL_THROTTLED = 211, + QMI_WDS_VERBOSE_CALL_END_REASON_INTERNAL_MODEM_RESTART = 212, + QMI_WDS_VERBOSE_CALL_END_REASON_INTERNAL_PDP_PPP_NOT_SUPPORTED = 213, + QMI_WDS_VERBOSE_CALL_END_REASON_INTERNAL_UNPREFERRED_RAT = 214, + QMI_WDS_VERBOSE_CALL_END_REASON_INTERNAL_PHYSICAL_LINK_CLOSE_IN_PROGRESS = 215, + QMI_WDS_VERBOSE_CALL_END_REASON_INTERNAL_APN_PENDING_HANDOVER = 216, + QMI_WDS_VERBOSE_CALL_END_REASON_INTERNAL_PROFILE_BEARER_INCOMPATIBLE = 217, + QMI_WDS_VERBOSE_CALL_END_REASON_INTERNAL_MMGDSI_CARD_EVENT = 218, + QMI_WDS_VERBOSE_CALL_END_REASON_INTERNAL_LPM_OR_POWER_DOWN = 219, + QMI_WDS_VERBOSE_CALL_END_REASON_INTERNAL_APN_DISABLED = 220, + QMI_WDS_VERBOSE_CALL_END_REASON_INTERNAL_MPIT_EXPIRED = 221, + QMI_WDS_VERBOSE_CALL_END_REASON_INTERNAL_IPV6_ADDRESS_TRANSFER_FAILED = 222, + QMI_WDS_VERBOSE_CALL_END_REASON_INTERNAL_TRAT_SWAP_FAILED = 223, + QMI_WDS_VERBOSE_CALL_END_REASON_INTERNAL_EHRPD_TO_HRPD_FALLBACK = 224, + QMI_WDS_VERBOSE_CALL_END_REASON_INTERNAL_MANDATORY_APN_DISABLED = 225, + QMI_WDS_VERBOSE_CALL_END_REASON_INTERNAL_MIP_CONFIG_FAILURE = 226, + QMI_WDS_VERBOSE_CALL_END_REASON_INTERNAL_PDN_INACTIVITY_TIMER_EXPIRED = 227, + QMI_WDS_VERBOSE_CALL_END_REASON_INTERNAL_MAX_V4_CONNECTIONS = 228, + QMI_WDS_VERBOSE_CALL_END_REASON_INTERNAL_MAX_V6_CONNECTIONS = 229, + QMI_WDS_VERBOSE_CALL_END_REASON_INTERNAL_APN_MISMATCH = 230, + QMI_WDS_VERBOSE_CALL_END_REASON_INTERNAL_IP_VERSION_MISMATCH = 231, + QMI_WDS_VERBOSE_CALL_END_REASON_INTERNAL_DUN_CALL_DISALLOWED = 232, + QMI_WDS_VERBOSE_CALL_END_REASON_INTERNAL_INVALID_PROFILE = 233, + QMI_WDS_VERBOSE_CALL_END_REASON_INTERNAL_EPC_NONEPC_TRANSITION = 234, + QMI_WDS_VERBOSE_CALL_END_REASON_INTERNAL_INVALID_PROFILE_ID = 235, + QMI_WDS_VERBOSE_CALL_END_REASON_INTERNAL_CALL_ALREADY_PRESENT = 236, + QMI_WDS_VERBOSE_CALL_END_REASON_INTERNAL_INTERFACE_IN_USE = 237, + QMI_WDS_VERBOSE_CALL_END_REASON_INTERNAL_IP_PDP_MISMATCH = 238, + QMI_WDS_VERBOSE_CALL_END_REASON_INTERNAL_APN_DISALLOWED_ON_ROAMING = 239, + QMI_WDS_VERBOSE_CALL_END_REASON_INTERNAL_APN_PARAMETER_CHANGE = 240, + QMI_WDS_VERBOSE_CALL_END_REASON_INTERNAL_INTERFACE_IN_USE_CONFIG_MATCH = 241, + QMI_WDS_VERBOSE_CALL_END_REASON_INTERNAL_NULL_APN_DISALLOWED = 242, + QMI_WDS_VERBOSE_CALL_END_REASON_INTERNAL_THERMAL_MITIGATION = 243, + QMI_WDS_VERBOSE_CALL_END_REASON_INTERNAL_SUBS_ID_MISMATCH = 244, + QMI_WDS_VERBOSE_CALL_END_REASON_INTERNAL_DATA_SETTINGS_DISABLED = 245, + QMI_WDS_VERBOSE_CALL_END_REASON_INTERNAL_DATA_ROAMING_SETTINGS_DISABLED = 246, + QMI_WDS_VERBOSE_CALL_END_REASON_INTERNAL_APN_FORMAT_INVALID = 247, + QMI_WDS_VERBOSE_CALL_END_REASON_INTERNAL_DDS_CALL_ABORT = 248, + QMI_WDS_VERBOSE_CALL_END_REASON_INTERNAL_VALIDATION_FAILURE = 249, } QmiWdsVerboseCallEndReasonInternal; /** * QmiWdsVerboseCallEndReasonCm: - * @QMI_WDS_VERBOSE_CALL_END_REASON_CM_CDMA_LOCK: (CDMA) Phone is CDMA-locked. - * @QMI_WDS_VERBOSE_CALL_END_REASON_CM_INTERCEPT: (CDMA) Received intercept from the BS. - * @QMI_WDS_VERBOSE_CALL_END_REASON_CM_REORDER: (CDMA) Received reorder from the BS. - * @QMI_WDS_VERBOSE_CALL_END_REASON_CM_RELEASE_SO_REJECT: (CDMA) Received release from the BS, SO reject. - * @QMI_WDS_VERBOSE_CALL_END_REASON_CM_INCOMING_CALL: (CDMA) Received incoming call from the BS. - * @QMI_WDS_VERBOSE_CALL_END_REASON_CM_ALERT_STOP: (CDMA) Received alert stop from the BS. - * @QMI_WDS_VERBOSE_CALL_END_REASON_CM_ACTIVATION: (CDMA) Received end activation. - * @QMI_WDS_VERBOSE_CALL_END_REASON_CM_MAX_ACCESS_PROBES: (CDMA) Maximum access probes transmitted. - * @QMI_WDS_VERBOSE_CALL_END_REASON_CM_CCS_NOT_SUPPORTED_BY_BS: (CDMA) Concurrent service not supported by the BS. - * @QMI_WDS_VERBOSE_CALL_END_REASON_CM_NO_RESPONSE_FROM_BS: (CDMA) No response received from the BS. - * @QMI_WDS_VERBOSE_CALL_END_REASON_CM_REJECTED_BY_BS: (CDMA) Rejected by the BS. - * @QMI_WDS_VERBOSE_CALL_END_REASON_CM_INCOMPATIBLE: (CDMA) Concurrent services requested are incompatible. - * @QMI_WDS_VERBOSE_CALL_END_REASON_CM_ALREADY_IN_TC: (CDMA) Already in TC. - * @QMI_WDS_VERBOSE_CALL_END_REASON_CM_USER_CALL_ORIGINATED_DURING_GPS: (CDMA) Call originated during GPS. - * @QMI_WDS_VERBOSE_CALL_END_REASON_CM_USER_CALL_ORIGINATED_DURING_SMS: (CDMA) Call originated during SMS. - * @QMI_WDS_VERBOSE_CALL_END_REASON_CM_NO_CDMA_SERVICE: (CDMA) No service. + * @QMI_WDS_VERBOSE_CALL_END_REASON_CM_CDMA_LOCK: CDMA specific. Phone is CDMA-locked. + * @QMI_WDS_VERBOSE_CALL_END_REASON_CM_INTERCEPT: CDMA specific. Received intercept from the BS. + * @QMI_WDS_VERBOSE_CALL_END_REASON_CM_REORDER: CDMA specific. Received reorder from the BS. + * @QMI_WDS_VERBOSE_CALL_END_REASON_CM_RELEASE_SO_REJECT: CDMA specific. Received release from the BS, SO reject. + * @QMI_WDS_VERBOSE_CALL_END_REASON_CM_INCOMING_CALL: CDMA specific. Received incoming call from the BS. + * @QMI_WDS_VERBOSE_CALL_END_REASON_CM_ALERT_STOP: CDMA specific. Received alert stop from the BS. + * @QMI_WDS_VERBOSE_CALL_END_REASON_CM_ACTIVATION: CDMA specific. Received end activation. + * @QMI_WDS_VERBOSE_CALL_END_REASON_CM_MAX_ACCESS_PROBES: CDMA specific. Maximum access probes transmitted. + * @QMI_WDS_VERBOSE_CALL_END_REASON_CM_CCS_NOT_SUPPORTED_BY_BS: CDMA specific. Concurrent service not supported by the BS. + * @QMI_WDS_VERBOSE_CALL_END_REASON_CM_NO_RESPONSE_FROM_BS: CDMA specific. No response received from the BS. + * @QMI_WDS_VERBOSE_CALL_END_REASON_CM_REJECTED_BY_BS: CDMA specific. Rejected by the BS. + * @QMI_WDS_VERBOSE_CALL_END_REASON_CM_INCOMPATIBLE: CDMA specific. Concurrent services requested are incompatible. + * @QMI_WDS_VERBOSE_CALL_END_REASON_CM_ALREADY_IN_TC: CDMA specific. Already in TC. + * @QMI_WDS_VERBOSE_CALL_END_REASON_CM_USER_CALL_ORIGINATED_DURING_GPS: CDMA specific. Call originated during GPS. + * @QMI_WDS_VERBOSE_CALL_END_REASON_CM_USER_CALL_ORIGINATED_DURING_SMS: CDMA specific. Call originated during SMS. + * @QMI_WDS_VERBOSE_CALL_END_REASON_CM_NO_CDMA_SERVICE: CDMA specific. No service. + * @QMI_WDS_VERBOSE_CALL_END_REASON_CM_MC_ABORT: MC abort. Since 1.24.10. + * @QMI_WDS_VERBOSE_CALL_END_REASON_CM_PSIST_NG: Persistence test failure. Since 1.24.10. + * @QMI_WDS_VERBOSE_CALL_END_REASON_CM_UIM_NOT_PRESENT: UIM not present. Since 1.24.10. * @QMI_WDS_VERBOSE_CALL_END_REASON_CM_RETRY_ORDER: Retry order. - * @QMI_WDS_VERBOSE_CALL_END_REASON_CM_CONFIGURATION_FAILED: Configuration failed. + * @QMI_WDS_VERBOSE_CALL_END_REASON_CM_ACCESS_BLOCK: Access blocked. Since 1.24.10. + * @QMI_WDS_VERBOSE_CALL_END_REASON_CM_ACCESS_BLOCK_ALL: Access blocked for all. Since 1.24.10. + * @QMI_WDS_VERBOSE_CALL_END_REASON_CM_IS707B_MAX_ACCESS_PROBES: Maximum access probes for IS-707B call. Since 1.24.10. + * @QMI_WDS_VERBOSE_CALL_END_REASON_CM_THERMAL_EMERGENCY: Thermal emergency. Since 1.24.10. + * @QMI_WDS_VERBOSE_CALL_END_REASON_CM_CALL_ORIGINATION_THROTTLED: Call origination throttled. Since 1.24.10. + * @QMI_WDS_VERBOSE_CALL_END_REASON_CM_USER_CALL_ORIGINATED: Voice call originated and concurrent voice/data not supported. Since 1.24.10. + * @QMI_WDS_VERBOSE_CALL_END_REASON_CM_CONFERENCE_FAILED: Conference failed. Since 1.24.10. * @QMI_WDS_VERBOSE_CALL_END_REASON_CM_INCOMING_REJECTED: Incoming rejected. * @QMI_WDS_VERBOSE_CALL_END_REASON_CM_NO_GATEWAY_SERVICE: No gateway service. * @QMI_WDS_VERBOSE_CALL_END_REASON_CM_NO_GPRS_CONTEXT: No GPRS context. @@ -396,15 +516,74 @@ typedef enum { * @QMI_WDS_VERBOSE_CALL_END_REASON_CM_CONGESTION: Congestion. * @QMI_WDS_VERBOSE_CALL_END_REASON_CM_NO_PDP_CONTEXT_ACTIVATED: No PDP context activated. * @QMI_WDS_VERBOSE_CALL_END_REASON_CM_ACCESS_CLASS_DSAC_REJECTION: Access class DSAC rejection. - * @QMI_WDS_VERBOSE_CALL_END_REASON_CM_CONNECTION_DENY_GENERAL_OR_BUSY: (EV-DO) Received Connection Deny (General or Network busy). - * @QMI_WDS_VERBOSE_CALL_END_REASON_CM_CONNECTION_DENY_BILLING_OR_AUTHENTICATION_FAILURE: (EV-DO) Received Connection Deny (Billing or Authentication failure). - * @QMI_WDS_VERBOSE_CALL_END_REASON_CM_HDR_CHANGE: (EV-DO) Change HDR. - * @QMI_WDS_VERBOSE_CALL_END_REASON_CM_HDR_EXIT: (EV-DO) Exit HDR. - * @QMI_WDS_VERBOSE_CALL_END_REASON_CM_HDR_NO_SESSION: (EV-DO) No HDR session. - * @QMI_WDS_VERBOSE_CALL_END_REASON_CM_HDR_ORIGINATION_DURING_GPS_FIX: (EV-DO) HDR call ended in favor of a GPS fix. - * @QMI_WDS_VERBOSE_CALL_END_REASON_CM_HDR_CONNECTION_SETUP_TIMEOUT: (EV-DO) Connection setup timeout. - * @QMI_WDS_VERBOSE_CALL_END_REASON_CM_HDR_RELEASED_BY_CM: (EV-DO) Released HDR call by call manager. - * @QMI_WDS_VERBOSE_CALL_END_REASON_CM_NO_HYBRID_HDR_SERVICE: (EV-DO) No hybrid HDR service. + * @QMI_WDS_VERBOSE_CALL_END_REASON_CM_PDP_ACTIVATE_MAX_RETRY_FAILED: Maximum retries failed to activate PDP context. Since 1.24.10. + * @QMI_WDS_VERBOSE_CALL_END_REASON_CM_RAB_FAILURE: RAB failure. Since 1.24.10. + * @QMI_WDS_VERBOSE_CALL_END_REASON_CM_EPS_SERVICE_NOT_ALLOWED: EPS service not allowed. Since 1.24.10. + * @QMI_WDS_VERBOSE_CALL_END_REASON_CM_TRACKING_AREA_NOT_ALLOWED: Tracking area not allowed. Since 1.24.10. + * @QMI_WDS_VERBOSE_CALL_END_REASON_CM_ROAMING_NOT_ALLOWED_IN_TRACKING_AREA: Roaming not allowed in tracking area. Since 1.24.10. + * @QMI_WDS_VERBOSE_CALL_END_REASON_CM_NO_SUITABLE_CELLS_IN_TRACKING_AREA: No suitable cells in tracking area. Since 1.24.10. + * @QMI_WDS_VERBOSE_CALL_END_REASON_CM_NOT_AUTHORIZED_CLOSED_SUBSCRIBER_GROUP: Not authorized in closed subscriber group. Since 1.24.10. + * @QMI_WDS_VERBOSE_CALL_END_REASON_CM_ESM_UNKNOWN_EPS_BEARER_CONTEXT: EPS Session Management, unknown EPS bearer context. Since 1.24.10. + * @QMI_WDS_VERBOSE_CALL_END_REASON_CM_DRB_RELEASED_AT_RRC: DRB released at RRC. Since 1.24.10. + * @QMI_WDS_VERBOSE_CALL_END_REASON_CM_NAS_SIGNAL_CONNECTION_RELEASED: NAS signal connection released. Since 1.24.10. + * @QMI_WDS_VERBOSE_CALL_END_REASON_CM_EMM_DETACHED: EPS Mobility Management, detached. Since 1.24.10. + * @QMI_WDS_VERBOSE_CALL_END_REASON_CM_EMM_ATTACH_FAILED: EPS Mobility Management, attach failed. Since 1.24.10. + * @QMI_WDS_VERBOSE_CALL_END_REASON_CM_EMM_ATTACH_STARTED: EPS Mobility Management, attach started. Since 1.24.10. + * @QMI_WDS_VERBOSE_CALL_END_REASON_CM_LTE_NAS_SERVICE_REQUEST_FAILED: LTE NAS service request failed. Since 1.24.10. + * @QMI_WDS_VERBOSE_CALL_END_REASON_CM_ESM_ACTIVE_DEDICATED_BEARER_REACTIVATED_BY_NW: EPS Session Management, active dedicated bearer reactivated by network. Since 1.24.10. + * @QMI_WDS_VERBOSE_CALL_END_REASON_CM_ESM_LOWER_LAYER_FAILURE: EPS Session Management, lower layer failure. Since 1.24.10. + * @QMI_WDS_VERBOSE_CALL_END_REASON_CM_ESM_SYNC_UP_WITH_NW: EPS Session Management, sync up with network. Since 1.24.10. + * @QMI_WDS_VERBOSE_CALL_END_REASON_CM_ESM_NW_ACTIVATED_DEDICATED_BEARER_WITH_ID_OF_DEFAULT_BEARER: EPS Session Management, network activated dedicated bearer with id of default bearer. Since 1.24.10. + * @QMI_WDS_VERBOSE_CALL_END_REASON_CM_ESM_BAD_OTA_MESSAGE: EPS Session Management, bad OTA message. Since 1.24.10. + * @QMI_WDS_VERBOSE_CALL_END_REASON_CM_ESM_DS_REJECTED_CALL: EPS Session Management, DS rejected call. Since 1.24.10. + * @QMI_WDS_VERBOSE_CALL_END_REASON_CM_ESM_CONTEXT_TRANSFERRED_DUE_TO_IRAT: EPS Session Management, context transferred due to IRAT. Since 1.24.10. + * @QMI_WDS_VERBOSE_CALL_END_REASON_CM_DS_EXPLICIT_DEACT: DS explicit deactivation. Since 1.24.10. + * @QMI_WDS_VERBOSE_CALL_END_REASON_CM_ESM_LOCAL_CAUSE_NONE: EPS Session Management, local cause none. Since 1.24.10. + * @QMI_WDS_VERBOSE_CALL_END_REASON_CM_LTE_NAS_SERVICE_REQUEST_FAILED_NO_THROTTLE: LTE NAS service request failed, no throttle. Since 1.24.10. + * @QMI_WDS_VERBOSE_CALL_END_REASON_CM_ACL_FAILURE: ACL failure. Since 1.24.10. + * @QMI_WDS_VERBOSE_CALL_END_REASON_CM_LTE_NAS_SERVICE_REQUEST_FAILED_DS_DISALLOW: LTE NAS service request failed, DS disallow. Since 1.24.10. + * @QMI_WDS_VERBOSE_CALL_END_REASON_CM_EMM_T3417_EXPIRED: EPS Mobility Management, T3417 expired. Since 1.24.10. + * @QMI_WDS_VERBOSE_CALL_END_REASON_CM_EMM_T3417_EXT_EXPIRED: EPS Mobility Management, T3417 ext expired. Since 1.24.10. + * @QMI_WDS_VERBOSE_CALL_END_REASON_CM_LRRC_UL_DATA_CONFIRMATION_FAILURE_TXN: LTE Radio Resource Control, UL data confirmation failure, txn. Since 1.24.10. + * @QMI_WDS_VERBOSE_CALL_END_REASON_CM_LRRC_UL_DATA_CONFIRMATION_FAILURE_HANDOVER: LTE Radio Resource Control, UL data confirmation failure, handover. Since 1.24.10. + * @QMI_WDS_VERBOSE_CALL_END_REASON_CM_LRRC_UL_DATA_CONFIRMATION_FAILURE_CONN_REL: LTE Radio Resource Control, UL data confirmation failure, connection release. Since 1.24.10. + * @QMI_WDS_VERBOSE_CALL_END_REASON_CM_LRRC_UL_DATA_CONFIRMATION_FAILURE_RLF: LTE Radio Resource Control, UL data confirmation failure, radio link failure. Since 1.24.10. + * @QMI_WDS_VERBOSE_CALL_END_REASON_CM_LRRC_UL_DATA_CONFIRMATION_FAILURE_CTRL_NOT_CONN: LTE Radio Resource Control, UL data confirmation failure, ctrl not conn. Since 1.24.10. + * @QMI_WDS_VERBOSE_CALL_END_REASON_CM_LRRC_CONNECTION_ESTABLISHMENT_FAILURE: LTE Radio Resource Control, connection establishment failure. Since 1.24.10. + * @QMI_WDS_VERBOSE_CALL_END_REASON_CM_LRRC_CONNECTION_ESTABLISHMENT_FAILURE_ABORTED: LTE Radio Resource Control, connection establishment failure, aborted. Since 1.24.10. + * @QMI_WDS_VERBOSE_CALL_END_REASON_CM_LRRC_CONNECTION_ESTABLISHMENT_FAILURE_ACCESS_BARRED: LTE Radio Resource Control, connection establishment failure, access barred. Since 1.24.10. + * @QMI_WDS_VERBOSE_CALL_END_REASON_CM_LRRC_CONNECTION_ESTABLISHMENT_FAILURE_CELL_RESELECTION: LTE Radio Resource Control, connection establishment failure, cell reselection. Since 1.24.10. + * @QMI_WDS_VERBOSE_CALL_END_REASON_CM_LRRC_CONNECTION_ESTABLISHMENT_FAILURE_CONFIG_FAILURE: LTE Radio Resource Control, connection establishment failure, config failure. Since 1.24.10. + * @QMI_WDS_VERBOSE_CALL_END_REASON_CM_LRRC_CONNECTION_ESTABLISHMENT_FAILURE_TIMER_EXPIRED: LTE Radio Resource Control, connection establishment failure, timer expired. Since 1.24.10. + * @QMI_WDS_VERBOSE_CALL_END_REASON_CM_LRRC_CONNECTION_ESTABLISHMENT_FAILURE_LINK_FAILURE: LTE Radio Resource Control, connection establishment failure, link failure. Since 1.24.10. + * @QMI_WDS_VERBOSE_CALL_END_REASON_CM_LRRC_CONNECTION_ESTABLISHMENT_FAILURE_NOT_CAMPED: LTE Radio Resource Control, connection establishment failure, not camped. Since 1.24.10. + * @QMI_WDS_VERBOSE_CALL_END_REASON_CM_LRRC_CONNECTION_ESTABLISHMENT_FAILURE_SI_FAILURE: LTE Radio Resource Control, connection establishment failure, SI failure. Since 1.24.10. + * @QMI_WDS_VERBOSE_CALL_END_REASON_CM_LRRC_CONNECTION_ESTABLISHMENT_FAILURE_REJECTED: LTE Radio Resource Control, connection establishment failure, rejected. Since 1.24.10. + * @QMI_WDS_VERBOSE_CALL_END_REASON_CM_LRRC_CONNECTION_RELEASE_NORMAL: LTE Radio Resource Control, connection release, normal. Since 1.24.10. + * @QMI_WDS_VERBOSE_CALL_END_REASON_CM_LRRC_CONNECTION_RELEASE_RLF: LTE Radio Resource Control, connection release, radio link failure. Since 1.24.10. + * @QMI_WDS_VERBOSE_CALL_END_REASON_CM_LRRC_CONNECTION_RELEASE_CRE_FAILURE: LTE Radio Resource Control, connection release, cre failure. Since 1.24.10. + * @QMI_WDS_VERBOSE_CALL_END_REASON_CM_LRRC_CONNECTION_RELEASE_OOS_DURING_CRE: LTE Radio Resource Control, connection release, oos during cre. Since 1.24.10. + * @QMI_WDS_VERBOSE_CALL_END_REASON_CM_LRRC_CONNECTION_RELEASE_ABORTED: LTE Radio Resource Control, connection release, aborted. Since 1.24.10. + * @QMI_WDS_VERBOSE_CALL_END_REASON_CM_LRRC_CONNECTION_RELEASE_SIB_READ_ERROR: LTE Radio Resource Control, connection release, SIB read error. Since 1.24.10. + * @QMI_WDS_VERBOSE_CALL_END_REASON_CM_DETACH_WITH_REATTACH_LTE_NW_DETACH: Detach with reattach LTE network detach. Since 1.24.10. + * @QMI_WDS_VERBOSE_CALL_END_REASON_CM_DETACH_WITHOUT_REATTACH_LTE_NW_DETACH: Detach without reattach LTE network detach. Since 1.24.10. + * @QMI_WDS_VERBOSE_CALL_END_REASON_CM_ESM_PROC_TIMEOUT: EPS Session Management, proc timeout. Since 1.24.10. + * @QMI_WDS_VERBOSE_CALL_END_REASON_CM_MESSAGE_EXCEED_MAX_L2_LIMIT: Message exceed max L2 limit. Since 1.24.10. + * @QMI_WDS_VERBOSE_CALL_END_REASON_CM_CONNECTION_DENY_GENERAL_OR_BUSY: CDMA/EVDO specific. Received Connection Deny. General or Network busy. + * @QMI_WDS_VERBOSE_CALL_END_REASON_CM_CONNECTION_DENY_BILLING_OR_AUTHENTICATION_FAILURE: CDMA/EVDO specific. Received Connection Deny. Billing or Authentication failure. + * @QMI_WDS_VERBOSE_CALL_END_REASON_CM_HDR_CHANGE: CDMA/EVDO specific. Change HDR. + * @QMI_WDS_VERBOSE_CALL_END_REASON_CM_HDR_EXIT: CDMA/EVDO specific. Exit HDR. + * @QMI_WDS_VERBOSE_CALL_END_REASON_CM_HDR_NO_SESSION: CDMA/EVDO specific. No HDR session. + * @QMI_WDS_VERBOSE_CALL_END_REASON_CM_HDR_ORIGINATION_DURING_GPS_FIX: CDMA/EVDO specific. HDR call ended in favor of a GPS fix. + * @QMI_WDS_VERBOSE_CALL_END_REASON_CM_HDR_CONNECTION_SETUP_TIMEOUT: CDMA/EVDO specific. Connection setup timeout. + * @QMI_WDS_VERBOSE_CALL_END_REASON_CM_HDR_RELEASED_BY_CM: CDMA/EVDO specific. Released HDR call by call manager. + * @QMI_WDS_VERBOSE_CALL_END_REASON_CM_HDR_COLLOCATED_ACQUISITION_FAILED: Failed to acquire co-located HDR for origination. Since 1.24.10. + * @QMI_WDS_VERBOSE_CALL_END_REASON_CM_OTASP_COMMIT_IN_PROGRESS: CDMA/EVDO specific. OTASP commit in progress. Since 1.24.10. + * @QMI_WDS_VERBOSE_CALL_END_REASON_CM_HDR_NO_HYBRID_SERVICE: CDMA/EVDO specific. No hybrid HDR service. + * @QMI_WDS_VERBOSE_CALL_END_REASON_CM_HDR_NO_LOCK_GRANTED: CDMA/EVDO specific. No lock granted. Since 1.24.10. + * @QMI_WDS_VERBOSE_CALL_END_REASON_CM_HOLD_OTHER_IN_PROGRESS: CDMA/EVDO specific. hold other in progress. Since 1.24.10. + * @QMI_WDS_VERBOSE_CALL_END_REASON_CM_HDR_FADE: CDMA/EVDO specific. Fade. Since 1.24.10. + * @QMI_WDS_VERBOSE_CALL_END_REASON_CM_HDR_ACCESS_FAILURE: CDMA/EVDO specific. Access failure. Since 1.24.10. * @QMI_WDS_VERBOSE_CALL_END_REASON_CM_CLIENT_END: Client end. * @QMI_WDS_VERBOSE_CALL_END_REASON_CM_NO_SERVICE: No service. * @QMI_WDS_VERBOSE_CALL_END_REASON_CM_FADE: Fade. @@ -412,10 +591,19 @@ typedef enum { * @QMI_WDS_VERBOSE_CALL_END_REASON_CM_ACCESS_ATTEMPT_IN_PROGRESS: Access attempt in progress. * @QMI_WDS_VERBOSE_CALL_END_REASON_CM_ACCESS_FAILURE: Access Failure. * @QMI_WDS_VERBOSE_CALL_END_REASON_CM_REDIRECTION_OR_HANDOFF: Redirection or handoff. + * @QMI_WDS_VERBOSE_CALL_END_REASON_CM_OFFLINE: Offline. Since 1.24.10. + * @QMI_WDS_VERBOSE_CALL_END_REASON_CM_EMERGENCY_MODE: Emergency mode. Since 1.24.10. + * @QMI_WDS_VERBOSE_CALL_END_REASON_CM_PHONE_IN_USE: Phone in use. Since 1.24.10. + * @QMI_WDS_VERBOSE_CALL_END_REASON_CM_INVALID_MODE: Invalid mode. Since 1.24.10. + * @QMI_WDS_VERBOSE_CALL_END_REASON_CM_INVALID_SIM_STATE: Invalid SIM state. Since 1.24.10. + * @QMI_WDS_VERBOSE_CALL_END_REASON_CM_NO_COLLOCATED_HDR: No collocated HDR. Since 1.24.10. + * @QMI_WDS_VERBOSE_CALL_END_REASON_CM_CALL_CONTROL_REJECTED: Call control rejected. Since 1.24.10. * * Call manager specific call end reasons, given when the @QmiWdsVerboseCallEndReasonType is #QMI_WDS_VERBOSE_CALL_END_REASON_TYPE_CM. + * + * Since: 1.0 */ -typedef enum { +typedef enum { /*< since=1.0 >*/ QMI_WDS_VERBOSE_CALL_END_REASON_CM_CDMA_LOCK = 500, QMI_WDS_VERBOSE_CALL_END_REASON_CM_INTERCEPT = 501, QMI_WDS_VERBOSE_CALL_END_REASON_CM_REORDER = 502, @@ -432,9 +620,18 @@ typedef enum { QMI_WDS_VERBOSE_CALL_END_REASON_CM_USER_CALL_ORIGINATED_DURING_GPS = 513, QMI_WDS_VERBOSE_CALL_END_REASON_CM_USER_CALL_ORIGINATED_DURING_SMS = 514, QMI_WDS_VERBOSE_CALL_END_REASON_CM_NO_CDMA_SERVICE = 515, + QMI_WDS_VERBOSE_CALL_END_REASON_CM_MC_ABORT = 516, + QMI_WDS_VERBOSE_CALL_END_REASON_CM_PSIST_NG = 517, + QMI_WDS_VERBOSE_CALL_END_REASON_CM_UIM_NOT_PRESENT = 518, QMI_WDS_VERBOSE_CALL_END_REASON_CM_RETRY_ORDER = 519, + QMI_WDS_VERBOSE_CALL_END_REASON_CM_ACCESS_BLOCK = 520, + QMI_WDS_VERBOSE_CALL_END_REASON_CM_ACCESS_BLOCK_ALL = 521, + QMI_WDS_VERBOSE_CALL_END_REASON_CM_IS707B_MAX_ACCESS_PROBES = 522, + QMI_WDS_VERBOSE_CALL_END_REASON_CM_THERMAL_EMERGENCY = 523, + QMI_WDS_VERBOSE_CALL_END_REASON_CM_CALL_ORIGINATION_THROTTLED = 524, + QMI_WDS_VERBOSE_CALL_END_REASON_CM_USER_CALL_ORIGINATED = 525, - QMI_WDS_VERBOSE_CALL_END_REASON_CM_CONFIGURATION_FAILED = 1000, + QMI_WDS_VERBOSE_CALL_END_REASON_CM_CONFERENCE_FAILED = 1000, QMI_WDS_VERBOSE_CALL_END_REASON_CM_INCOMING_REJECTED = 1001, QMI_WDS_VERBOSE_CALL_END_REASON_CM_NO_GATEWAY_SERVICE = 1002, QMI_WDS_VERBOSE_CALL_END_REASON_CM_NO_GPRS_CONTEXT = 1003, @@ -452,6 +649,59 @@ typedef enum { QMI_WDS_VERBOSE_CALL_END_REASON_CM_CONGESTION = 1015, QMI_WDS_VERBOSE_CALL_END_REASON_CM_NO_PDP_CONTEXT_ACTIVATED = 1016, QMI_WDS_VERBOSE_CALL_END_REASON_CM_ACCESS_CLASS_DSAC_REJECTION = 1017, + QMI_WDS_VERBOSE_CALL_END_REASON_CM_PDP_ACTIVATE_MAX_RETRY_FAILED = 1018, + QMI_WDS_VERBOSE_CALL_END_REASON_CM_RAB_FAILURE = 1019, + QMI_WDS_VERBOSE_CALL_END_REASON_CM_EPS_SERVICE_NOT_ALLOWED = 1020, + QMI_WDS_VERBOSE_CALL_END_REASON_CM_TRACKING_AREA_NOT_ALLOWED = 1021, + QMI_WDS_VERBOSE_CALL_END_REASON_CM_ROAMING_NOT_ALLOWED_IN_TRACKING_AREA = 1022, + QMI_WDS_VERBOSE_CALL_END_REASON_CM_NO_SUITABLE_CELLS_IN_TRACKING_AREA = 1023, + QMI_WDS_VERBOSE_CALL_END_REASON_CM_NOT_AUTHORIZED_CLOSED_SUBSCRIBER_GROUP = 1024, + QMI_WDS_VERBOSE_CALL_END_REASON_CM_ESM_UNKNOWN_EPS_BEARER_CONTEXT = 1025, + QMI_WDS_VERBOSE_CALL_END_REASON_CM_DRB_RELEASED_AT_RRC = 1026, + QMI_WDS_VERBOSE_CALL_END_REASON_CM_NAS_SIGNAL_CONNECTION_RELEASED = 1027, + QMI_WDS_VERBOSE_CALL_END_REASON_CM_EMM_DETACHED = 1028, + QMI_WDS_VERBOSE_CALL_END_REASON_CM_EMM_ATTACH_FAILED = 1029, + QMI_WDS_VERBOSE_CALL_END_REASON_CM_EMM_ATTACH_STARTED = 1030, + QMI_WDS_VERBOSE_CALL_END_REASON_CM_LTE_NAS_SERVICE_REQUEST_FAILED = 1031, + QMI_WDS_VERBOSE_CALL_END_REASON_CM_ESM_ACTIVE_DEDICATED_BEARER_REACTIVATED_BY_NW = 1032, + QMI_WDS_VERBOSE_CALL_END_REASON_CM_ESM_LOWER_LAYER_FAILURE = 1033, + QMI_WDS_VERBOSE_CALL_END_REASON_CM_ESM_SYNC_UP_WITH_NW = 1034, + QMI_WDS_VERBOSE_CALL_END_REASON_CM_ESM_NW_ACTIVATED_DEDICATED_BEARER_WITH_ID_OF_DEFAULT_BEARER = 1035, + QMI_WDS_VERBOSE_CALL_END_REASON_CM_ESM_BAD_OTA_MESSAGE = 1036, + QMI_WDS_VERBOSE_CALL_END_REASON_CM_ESM_DS_REJECTED_CALL = 1037, + QMI_WDS_VERBOSE_CALL_END_REASON_CM_ESM_CONTEXT_TRANSFERRED_DUE_TO_IRAT = 1038, + QMI_WDS_VERBOSE_CALL_END_REASON_CM_DS_EXPLICIT_DEACT = 1039, + QMI_WDS_VERBOSE_CALL_END_REASON_CM_ESM_LOCAL_CAUSE_NONE = 1040, + QMI_WDS_VERBOSE_CALL_END_REASON_CM_LTE_NAS_SERVICE_REQUEST_FAILED_NO_THROTTLE = 1041, + QMI_WDS_VERBOSE_CALL_END_REASON_CM_ACL_FAILURE = 1042, + QMI_WDS_VERBOSE_CALL_END_REASON_CM_LTE_NAS_SERVICE_REQUEST_FAILED_DS_DISALLOW = 1043, + QMI_WDS_VERBOSE_CALL_END_REASON_CM_EMM_T3417_EXPIRED = 1044, + QMI_WDS_VERBOSE_CALL_END_REASON_CM_EMM_T3417_EXT_EXPIRED = 1045, + QMI_WDS_VERBOSE_CALL_END_REASON_CM_LRRC_UL_DATA_CONFIRMATION_FAILURE_TXN = 1046, + QMI_WDS_VERBOSE_CALL_END_REASON_CM_LRRC_UL_DATA_CONFIRMATION_FAILURE_HANDOVER = 1047, + QMI_WDS_VERBOSE_CALL_END_REASON_CM_LRRC_UL_DATA_CONFIRMATION_FAILURE_CONN_REL = 1048, + QMI_WDS_VERBOSE_CALL_END_REASON_CM_LRRC_UL_DATA_CONFIRMATION_FAILURE_RLF = 1049, + QMI_WDS_VERBOSE_CALL_END_REASON_CM_LRRC_UL_DATA_CONFIRMATION_FAILURE_CTRL_NOT_CONN = 1050, + QMI_WDS_VERBOSE_CALL_END_REASON_CM_LRRC_CONNECTION_ESTABLISHMENT_FAILURE = 1051, + QMI_WDS_VERBOSE_CALL_END_REASON_CM_LRRC_CONNECTION_ESTABLISHMENT_FAILURE_ABORTED = 1052, + QMI_WDS_VERBOSE_CALL_END_REASON_CM_LRRC_CONNECTION_ESTABLISHMENT_FAILURE_ACCESS_BARRED = 1053, + QMI_WDS_VERBOSE_CALL_END_REASON_CM_LRRC_CONNECTION_ESTABLISHMENT_FAILURE_CELL_RESELECTION = 1054, + QMI_WDS_VERBOSE_CALL_END_REASON_CM_LRRC_CONNECTION_ESTABLISHMENT_FAILURE_CONFIG_FAILURE = 1055, + QMI_WDS_VERBOSE_CALL_END_REASON_CM_LRRC_CONNECTION_ESTABLISHMENT_FAILURE_TIMER_EXPIRED = 1056, + QMI_WDS_VERBOSE_CALL_END_REASON_CM_LRRC_CONNECTION_ESTABLISHMENT_FAILURE_LINK_FAILURE = 1057, + QMI_WDS_VERBOSE_CALL_END_REASON_CM_LRRC_CONNECTION_ESTABLISHMENT_FAILURE_NOT_CAMPED = 1058, + QMI_WDS_VERBOSE_CALL_END_REASON_CM_LRRC_CONNECTION_ESTABLISHMENT_FAILURE_SI_FAILURE = 1059, + QMI_WDS_VERBOSE_CALL_END_REASON_CM_LRRC_CONNECTION_ESTABLISHMENT_FAILURE_REJECTED = 1060, + QMI_WDS_VERBOSE_CALL_END_REASON_CM_LRRC_CONNECTION_RELEASE_NORMAL = 1061, + QMI_WDS_VERBOSE_CALL_END_REASON_CM_LRRC_CONNECTION_RELEASE_RLF = 1062, + QMI_WDS_VERBOSE_CALL_END_REASON_CM_LRRC_CONNECTION_RELEASE_CRE_FAILURE = 1063, + QMI_WDS_VERBOSE_CALL_END_REASON_CM_LRRC_CONNECTION_RELEASE_OOS_DURING_CRE = 1064, + QMI_WDS_VERBOSE_CALL_END_REASON_CM_LRRC_CONNECTION_RELEASE_ABORTED = 1065, + QMI_WDS_VERBOSE_CALL_END_REASON_CM_LRRC_CONNECTION_RELEASE_SIB_READ_ERROR = 1066, + QMI_WDS_VERBOSE_CALL_END_REASON_CM_DETACH_WITH_REATTACH_LTE_NW_DETACH = 1067, + QMI_WDS_VERBOSE_CALL_END_REASON_CM_DETACH_WITHOUT_REATTACH_LTE_NW_DETACH = 1068, + QMI_WDS_VERBOSE_CALL_END_REASON_CM_ESM_PROC_TIMEOUT = 1069, + QMI_WDS_VERBOSE_CALL_END_REASON_CM_MESSAGE_EXCEED_MAX_L2_LIMIT = 1070, QMI_WDS_VERBOSE_CALL_END_REASON_CM_CONNECTION_DENY_GENERAL_OR_BUSY = 1500, QMI_WDS_VERBOSE_CALL_END_REASON_CM_CONNECTION_DENY_BILLING_OR_AUTHENTICATION_FAILURE = 1501, @@ -461,7 +711,13 @@ typedef enum { QMI_WDS_VERBOSE_CALL_END_REASON_CM_HDR_ORIGINATION_DURING_GPS_FIX = 1505, QMI_WDS_VERBOSE_CALL_END_REASON_CM_HDR_CONNECTION_SETUP_TIMEOUT = 1506, QMI_WDS_VERBOSE_CALL_END_REASON_CM_HDR_RELEASED_BY_CM = 1507, - QMI_WDS_VERBOSE_CALL_END_REASON_CM_NO_HYBRID_HDR_SERVICE = 1510, + QMI_WDS_VERBOSE_CALL_END_REASON_CM_HDR_COLLOCATED_ACQUISITION_FAILED = 1508, + QMI_WDS_VERBOSE_CALL_END_REASON_CM_OTASP_COMMIT_IN_PROGRESS = 1509, + QMI_WDS_VERBOSE_CALL_END_REASON_CM_HDR_NO_HYBRID_SERVICE = 1510, + QMI_WDS_VERBOSE_CALL_END_REASON_CM_HDR_NO_LOCK_GRANTED = 1511, + QMI_WDS_VERBOSE_CALL_END_REASON_CM_HOLD_OTHER_IN_PROGRESS = 1512, + QMI_WDS_VERBOSE_CALL_END_REASON_CM_HDR_FADE = 1513, + QMI_WDS_VERBOSE_CALL_END_REASON_CM_HDR_ACCESS_FAILURE = 1514, QMI_WDS_VERBOSE_CALL_END_REASON_CM_CLIENT_END = 2000, QMI_WDS_VERBOSE_CALL_END_REASON_CM_NO_SERVICE = 2001, @@ -469,7 +725,15 @@ typedef enum { QMI_WDS_VERBOSE_CALL_END_REASON_CM_RELEASE_NORMAL = 2003, QMI_WDS_VERBOSE_CALL_END_REASON_CM_ACCESS_ATTEMPT_IN_PROGRESS = 2004, QMI_WDS_VERBOSE_CALL_END_REASON_CM_ACCESS_FAILURE = 2005, - QMI_WDS_VERBOSE_CALL_END_REASON_CM_REDIRECTION_OR_HANDOFF = 2006 + QMI_WDS_VERBOSE_CALL_END_REASON_CM_REDIRECTION_OR_HANDOFF = 2006, + + QMI_WDS_VERBOSE_CALL_END_REASON_CM_OFFLINE = 2500, + QMI_WDS_VERBOSE_CALL_END_REASON_CM_EMERGENCY_MODE = 2501, + QMI_WDS_VERBOSE_CALL_END_REASON_CM_PHONE_IN_USE = 2502, + QMI_WDS_VERBOSE_CALL_END_REASON_CM_INVALID_MODE = 2503, + QMI_WDS_VERBOSE_CALL_END_REASON_CM_INVALID_SIM_STATE = 2504, + QMI_WDS_VERBOSE_CALL_END_REASON_CM_NO_COLLOCATED_HDR = 2505, + QMI_WDS_VERBOSE_CALL_END_REASON_CM_CALL_CONTROL_REJECTED = 2506, } QmiWdsVerboseCallEndReasonCm; /** @@ -513,10 +777,13 @@ typedef enum { * @QMI_WDS_VERBOSE_CALL_END_REASON_3GPP_MESSAGE_AND_PROTOCOL_STATE_UNCOMPATIBLE: Message and protocol state uncompatible. * @QMI_WDS_VERBOSE_CALL_END_REASON_3GPP_PROTOCOL_ERROR: Protocol error. * @QMI_WDS_VERBOSE_CALL_END_REASON_3GPP_APN_TYPE_CONFLICT: APN type conflict. + * @QMI_WDS_VERBOSE_CALL_END_REASON_3GPP_INVALID_PROXY_CALL_SESSION_CONTROL_FUNCTION_ADDRESS: Invalid proxy call session control function address. Since 1.24.10. * * 3GPP-specific call end reasons, given when the @QmiWdsVerboseCallEndReasonType is #QMI_WDS_VERBOSE_CALL_END_REASON_TYPE_3GPP. + * + * Since: 1.0 */ -typedef enum { /*< underscore_name=qmi_wds_verbose_call_end_reason_3gpp >*/ +typedef enum { /*< underscore_name=qmi_wds_verbose_call_end_reason_3gpp,since=1.0 >*/ QMI_WDS_VERBOSE_CALL_END_REASON_3GPP_OPERATOR_DETERMINED_BARRING = 8, QMI_WDS_VERBOSE_CALL_END_REASON_3GPP_LLC_SNDCP_FAILURE = 25, @@ -559,8 +826,9 @@ typedef enum { /*< underscore_name=qmi_wds_verbose_call_end_reason_3gpp >*/ QMI_WDS_VERBOSE_CALL_END_REASON_3GPP_CONDITIONAL_IE_ERROR = 100, QMI_WDS_VERBOSE_CALL_END_REASON_3GPP_MESSAGE_AND_PROTOCOL_STATE_UNCOMPATIBLE = 101, - QMI_WDS_VERBOSE_CALL_END_REASON_3GPP_PROTOCOL_ERROR = 111, - QMI_WDS_VERBOSE_CALL_END_REASON_3GPP_APN_TYPE_CONFLICT = 112 + QMI_WDS_VERBOSE_CALL_END_REASON_3GPP_PROTOCOL_ERROR = 111, + QMI_WDS_VERBOSE_CALL_END_REASON_3GPP_APN_TYPE_CONFLICT = 112, + QMI_WDS_VERBOSE_CALL_END_REASON_3GPP_INVALID_PROXY_CALL_SESSION_CONTROL_FUNCTION_ADDRESS = 113, } QmiWdsVerboseCallEndReason3gpp; /** @@ -571,42 +839,49 @@ typedef enum { /*< underscore_name=qmi_wds_verbose_call_end_reason_3gpp >*/ * @QMI_WDS_VERBOSE_CALL_END_REASON_PPP_OPTION_MISMATCH: Option mismatch. * @QMI_WDS_VERBOSE_CALL_END_REASON_PPP_PAP_FAILURE: PAP failure. * @QMI_WDS_VERBOSE_CALL_END_REASON_PPP_CHAP_FAILURE: CHAP failure. + * @QMI_WDS_VERBOSE_CALL_END_REASON_PPP_CLOSE_IN_PROGRESS: Close in progress. Since 1.24.10. * * PPP-specific call end reasons, given when the @QmiWdsVerboseCallEndReasonType is #QMI_WDS_VERBOSE_CALL_END_REASON_TYPE_PPP. + * + * Since: 1.0 */ -typedef enum { +typedef enum { /*< since=1.0 >*/ QMI_WDS_VERBOSE_CALL_END_REASON_PPP_UNKNOWN = -1, QMI_WDS_VERBOSE_CALL_END_REASON_PPP_TIMEOUT = 1, QMI_WDS_VERBOSE_CALL_END_REASON_PPP_AUTHENTICATION_FAILURE = 2, QMI_WDS_VERBOSE_CALL_END_REASON_PPP_OPTION_MISMATCH = 3, - QMI_WDS_VERBOSE_CALL_END_REASON_PPP_PAP_FAILURE = 31, - QMI_WDS_VERBOSE_CALL_END_REASON_PPP_CHAP_FAILURE = 32 + QMI_WDS_VERBOSE_CALL_END_REASON_PPP_PAP_FAILURE = 31, + QMI_WDS_VERBOSE_CALL_END_REASON_PPP_CHAP_FAILURE = 32, + QMI_WDS_VERBOSE_CALL_END_REASON_PPP_CLOSE_IN_PROGRESS = 33, + } QmiWdsVerboseCallEndReasonPpp; /** * QmiWdsVerboseCallEndReasonEhrpd: * @QMI_WDS_VERBOSE_CALL_END_REASON_EHRPD_SUBSCRIPTION_LIMITED_TO_IPV4: Subscription limited to IPv4. * @QMI_WDS_VERBOSE_CALL_END_REASON_EHRPD_SUBSCRIPTION_LIMITED_TO_IPV6: Subscription limited to IPv6. - * @QMI_WDS_VERBOSE_CALL_END_REASON_EHRPD_VSNCP_TIMEOUT: (VSNCP) timeout. - * @QMI_WDS_VERBOSE_CALL_END_REASON_EHRPD_VSNCP_FAILURE: (VSNCP) failure. - * @QMI_WDS_VERBOSE_CALL_END_REASON_EHRPD_VSNCP_3GPP2_GENERAL_ERROR: (VSCNP) 3GPP2 general error. - * @QMI_WDS_VERBOSE_CALL_END_REASON_EHRPD_VSNCP_3GPP2_UNAUTHENTICATED_APN: (VSCNP) 3GPP2 unauthenticated APN. - * @QMI_WDS_VERBOSE_CALL_END_REASON_EHRPD_VSNCP_3GPP2_PDN_LIMIT_EXCEEDED: (VSCNP) 3GPP2 PDN limit exceeded. - * @QMI_WDS_VERBOSE_CALL_END_REASON_EHRPD_VSNCP_3GPP2_NO_PDN_GATEWAY: (VSCNP) 3GPP2 no PDN gateway. - * @QMI_WDS_VERBOSE_CALL_END_REASON_EHRPD_VSNCP_3GPP2_PDN_GATEWAY_UNREACHABLE: (VSCNP) 3GPP2 PDN gateway unreachable. - * @QMI_WDS_VERBOSE_CALL_END_REASON_EHRPD_VSNCP_3GPP2_PDN_GATEWAY_REJECTED: (VSCNP) 3GPP2 PDN gateway rejected. - * @QMI_WDS_VERBOSE_CALL_END_REASON_EHRPD_VSNCP_3GPP2_INSUFFICIENT_PARAMETERS: (VSCNP) 3GPP2 insufficient parameters. - * @QMI_WDS_VERBOSE_CALL_END_REASON_EHRPD_VSNCP_3GPP2_RESOURCE_UNAVAILABLE: (VSCNP) 3GPP2 resource unavailable. - * @QMI_WDS_VERBOSE_CALL_END_REASON_EHRPD_VSNCP_3GPP2_ADMINISTRATIVELY_PROHIBITED: (VSCNP) 3GPP2 administratively prohibited. - * @QMI_WDS_VERBOSE_CALL_END_REASON_EHRPD_VSNCP_3GPP2_PDN_ID_IN_USE: (VSCNP) 3GPP2 PDN ID in use. - * @QMI_WDS_VERBOSE_CALL_END_REASON_EHRPD_VSNCP_3GPP2_SUBSCRIPTION_LIMITATION: (VSCNP) 3GPP2 subscription limitation. - * @QMI_WDS_VERBOSE_CALL_END_REASON_EHRPD_VSNCP_3GPP2_PDN_EXISTS_FOR_THIS_APN: (VSCNP) 3GPP2 PDN exists for this APN. + * @QMI_WDS_VERBOSE_CALL_END_REASON_EHRPD_VSNCP_TIMEOUT: VSNCP specific. timeout. + * @QMI_WDS_VERBOSE_CALL_END_REASON_EHRPD_VSNCP_FAILURE: VSNCP specific. failure. + * @QMI_WDS_VERBOSE_CALL_END_REASON_EHRPD_VSNCP_3GPP2_GENERAL_ERROR: VSNCP specific. 3GPP2 general error. + * @QMI_WDS_VERBOSE_CALL_END_REASON_EHRPD_VSNCP_3GPP2_UNAUTHENTICATED_APN: VSNCP specific. 3GPP2 unauthenticated APN. + * @QMI_WDS_VERBOSE_CALL_END_REASON_EHRPD_VSNCP_3GPP2_PDN_LIMIT_EXCEEDED: VSNCP specific. 3GPP2 PDN limit exceeded. + * @QMI_WDS_VERBOSE_CALL_END_REASON_EHRPD_VSNCP_3GPP2_NO_PDN_GATEWAY: VSNCP specific. 3GPP2 no PDN gateway. + * @QMI_WDS_VERBOSE_CALL_END_REASON_EHRPD_VSNCP_3GPP2_PDN_GATEWAY_UNREACHABLE: VSNCP specific. 3GPP2 PDN gateway unreachable. + * @QMI_WDS_VERBOSE_CALL_END_REASON_EHRPD_VSNCP_3GPP2_PDN_GATEWAY_REJECTED: VSNCP specific. 3GPP2 PDN gateway rejected. + * @QMI_WDS_VERBOSE_CALL_END_REASON_EHRPD_VSNCP_3GPP2_INSUFFICIENT_PARAMETERS: VSNCP specific. 3GPP2 insufficient parameters. + * @QMI_WDS_VERBOSE_CALL_END_REASON_EHRPD_VSNCP_3GPP2_RESOURCE_UNAVAILABLE: VSNCP specific. 3GPP2 resource unavailable. + * @QMI_WDS_VERBOSE_CALL_END_REASON_EHRPD_VSNCP_3GPP2_ADMINISTRATIVELY_PROHIBITED: VSNCP specific. 3GPP2 administratively prohibited. + * @QMI_WDS_VERBOSE_CALL_END_REASON_EHRPD_VSNCP_3GPP2_PDN_ID_IN_USE: VSNCP specific. 3GPP2 PDN ID in use. + * @QMI_WDS_VERBOSE_CALL_END_REASON_EHRPD_VSNCP_3GPP2_SUBSCRIPTION_LIMITATION: VSNCP specific. 3GPP2 subscription limitation. + * @QMI_WDS_VERBOSE_CALL_END_REASON_EHRPD_VSNCP_3GPP2_PDN_EXISTS_FOR_THIS_APN: VSNCP specific. 3GPP2 PDN exists for this APN. * * eHRPD-specific call end reasons, given when the @QmiWdsVerboseCallEndReasonType is #QMI_WDS_VERBOSE_CALL_END_REASON_TYPE_EHRPD. + * + * Since: 1.0 */ -typedef enum { +typedef enum { /*< since=1.0 >*/ QMI_WDS_VERBOSE_CALL_END_REASON_EHRPD_SUBSCRIPTION_LIMITED_TO_IPV4 = 1, QMI_WDS_VERBOSE_CALL_END_REASON_EHRPD_SUBSCRIPTION_LIMITED_TO_IPV6 = 2, @@ -630,12 +905,16 @@ typedef enum { * QmiWdsVerboseCallEndReasonIpv6: * @QMI_WDS_VERBOSE_CALL_END_REASON_IPV6_PREFIX_UNAVAILABLE: Prefix unavailable. * @QMI_WDS_VERBOSE_CALL_END_REASON_IPV6_HRPD_IPV6_DISABLED: HRDP IPv6 disabled. + * @QMI_WDS_VERBOSE_CALL_END_REASON_IPV6_DISABLED: IPv6 disabled. Since 1.24.10. * * IPv6-specific call end reasons, given when the @QmiWdsVerboseCallEndReasonType is #QMI_WDS_VERBOSE_CALL_END_REASON_TYPE_IPV6. + * + * Since: 1.0 */ -typedef enum { +typedef enum { /*< since=1.0 >*/ QMI_WDS_VERBOSE_CALL_END_REASON_IPV6_PREFIX_UNAVAILABLE = 1, - QMI_WDS_VERBOSE_CALL_END_REASON_IPV6_HRPD_IPV6_DISABLED = 2 + QMI_WDS_VERBOSE_CALL_END_REASON_IPV6_HRPD_IPV6_DISABLED = 2, + QMI_WDS_VERBOSE_CALL_END_REASON_IPV6_DISABLED = 3, } QmiWdsVerboseCallEndReasonIpv6; /*****************************************************************************/ @@ -650,8 +929,10 @@ typedef enum { * @QMI_WDS_CONNECTION_STATUS_AUTHENTICATING: Network authentication is ongoing. * * Status of the network connection. + * + * Since: 1.0 */ -typedef enum { +typedef enum { /*< since=1.0 >*/ QMI_WDS_CONNECTION_STATUS_UNKNOWN = 0, QMI_WDS_CONNECTION_STATUS_DISCONNECTED = 1, QMI_WDS_CONNECTION_STATUS_CONNECTED = 2, @@ -659,7 +940,6 @@ typedef enum { QMI_WDS_CONNECTION_STATUS_AUTHENTICATING = 4 } QmiWdsConnectionStatus; - /*****************************************************************************/ /* Helper enums for the 'QMI WDS Get Data Bearer Technology' message */ @@ -667,10 +947,10 @@ typedef enum { * QmiWdsDataBearerTechnology: * @QMI_WDS_DATA_BEARER_TECHNOLOGY_UNKNOWN: Unknown. * @QMI_WDS_DATA_BEARER_TECHNOLOGY_CDMA20001X: CDMA2000 1x. - * @QMI_WDS_DATA_BEARER_TECHNOLOGY_1xEVDO: CDMA2000 HRPD 1xEV-DO. + * @QMI_WDS_DATA_BEARER_TECHNOLOGY_1xEVDO: CDMA2000 HRPD 1xEVDO. * @QMI_WDS_DATA_BEARER_TECHNOLOGY_GSM: GSM. * @QMI_WDS_DATA_BEARER_TECHNOLOGY_UMTS: UMTS. - * @QMI_WDS_DATA_BEARER_TECHNOLOGY_1xEVDO_REVA: CDMA2000 HRPD 1xEV-DO RevA. + * @QMI_WDS_DATA_BEARER_TECHNOLOGY_1xEVDO_REVA: CDMA2000 HRPD 1xEVDO RevA. * @QMI_WDS_DATA_BEARER_TECHNOLOGY_EDGE: EDGE. * @QMI_WDS_DATA_BEARER_TECHNOLOGY_HSDPA: HSDPA and WCDMA. * @QMI_WDS_DATA_BEARER_TECHNOLOGY_HSUPA: WCDMA and HSUPA. @@ -681,29 +961,40 @@ typedef enum { * @QMI_WDS_DATA_BEARER_TECHNOLOGY_HSDPAPLUS_HSUPA: HSDPA+ and HSUPA. * @QMI_WDS_DATA_BEARER_TECHNOLOGY_DCHSDPAPLUS: DC-HSDPA+ and WCDMA. * @QMI_WDS_DATA_BEARER_TECHNOLOGY_DCHSDPAPLUS_HSUPA: DC-HSDPA+ and HSUPA. + * @QMI_WDS_DATA_BEARER_TECHNOLOGY_HSDPAPLUS_PLUS_64QAM: HSDPA+ with 64QAM. Since: 1.18. + * @QMI_WDS_DATA_BEARER_TECHNOLOGY_HSDPAPLUS_PLUS_64QAM_HSUPA: HSDPA+ with 64QAM and HSUPA. Since: 1.18. + * @QMI_WDS_DATA_BEARER_TECHNOLOGY_TDSCDMA: TD-SCDMA. Since: 1.18. + * @QMI_WDS_DATA_BEARER_TECHNOLOGY_TDSCDMA_HSDPA: TD-SCDMA and HSDPA. Since: 1.18. + * @QMI_WDS_DATA_BEARER_TECHNOLOGY_TDSCDMA_HSUPA: TD-SCDMA and HSUPA. Since: 1.18. * * Data bearer technology. + * + * Since: 1.0 */ -typedef enum { - QMI_WDS_DATA_BEARER_TECHNOLOGY_UNKNOWN = -1, - QMI_WDS_DATA_BEARER_TECHNOLOGY_CDMA20001X = 0x01, - QMI_WDS_DATA_BEARER_TECHNOLOGY_1xEVDO = 0x02, - QMI_WDS_DATA_BEARER_TECHNOLOGY_GSM = 0x03, - QMI_WDS_DATA_BEARER_TECHNOLOGY_UMTS = 0x04, - QMI_WDS_DATA_BEARER_TECHNOLOGY_1xEVDO_REVA = 0x05, - QMI_WDS_DATA_BEARER_TECHNOLOGY_EDGE = 0x06, - QMI_WDS_DATA_BEARER_TECHNOLOGY_HSDPA = 0x07, - QMI_WDS_DATA_BEARER_TECHNOLOGY_HSUPA = 0x08, - QMI_WDS_DATA_BEARER_TECHNOLOGY_HSDPA_HSUPDA = 0x09, - QMI_WDS_DATA_BEARER_TECHNOLOGY_LTE = 0x0A, - QMI_WDS_DATA_BEARER_TECHNOLOGY_EHRPD = 0x0B, - QMI_WDS_DATA_BEARER_TECHNOLOGY_HSDPAPLUS = 0x0C, - QMI_WDS_DATA_BEARER_TECHNOLOGY_HSDPAPLUS_HSUPA = 0x0D, - QMI_WDS_DATA_BEARER_TECHNOLOGY_DCHSDPAPLUS = 0x0E, - QMI_WDS_DATA_BEARER_TECHNOLOGY_DCHSDPAPLUS_HSUPA = 0x0F +typedef enum { /*< since=1.0 >*/ + QMI_WDS_DATA_BEARER_TECHNOLOGY_UNKNOWN = -1, + QMI_WDS_DATA_BEARER_TECHNOLOGY_CDMA20001X = 0x01, + QMI_WDS_DATA_BEARER_TECHNOLOGY_1xEVDO = 0x02, + QMI_WDS_DATA_BEARER_TECHNOLOGY_GSM = 0x03, + QMI_WDS_DATA_BEARER_TECHNOLOGY_UMTS = 0x04, + QMI_WDS_DATA_BEARER_TECHNOLOGY_1xEVDO_REVA = 0x05, + QMI_WDS_DATA_BEARER_TECHNOLOGY_EDGE = 0x06, + QMI_WDS_DATA_BEARER_TECHNOLOGY_HSDPA = 0x07, + QMI_WDS_DATA_BEARER_TECHNOLOGY_HSUPA = 0x08, + QMI_WDS_DATA_BEARER_TECHNOLOGY_HSDPA_HSUPDA = 0x09, + QMI_WDS_DATA_BEARER_TECHNOLOGY_LTE = 0x0A, + QMI_WDS_DATA_BEARER_TECHNOLOGY_EHRPD = 0x0B, + QMI_WDS_DATA_BEARER_TECHNOLOGY_HSDPAPLUS = 0x0C, + QMI_WDS_DATA_BEARER_TECHNOLOGY_HSDPAPLUS_HSUPA = 0x0D, + QMI_WDS_DATA_BEARER_TECHNOLOGY_DCHSDPAPLUS = 0x0E, + QMI_WDS_DATA_BEARER_TECHNOLOGY_DCHSDPAPLUS_HSUPA = 0x0F, + QMI_WDS_DATA_BEARER_TECHNOLOGY_HSDPAPLUS_PLUS_64QAM = 0x10, + QMI_WDS_DATA_BEARER_TECHNOLOGY_HSDPAPLUS_PLUS_64QAM_HSUPA = 0x11, + QMI_WDS_DATA_BEARER_TECHNOLOGY_TDSCDMA = 0x12, + QMI_WDS_DATA_BEARER_TECHNOLOGY_TDSCDMA_HSDPA = 0x13, + QMI_WDS_DATA_BEARER_TECHNOLOGY_TDSCDMA_HSUPA = 0x14, } QmiWdsDataBearerTechnology; - /*****************************************************************************/ /* Helper enums for the 'QMI WDS Get Current Data Bearer Technology' message */ @@ -714,13 +1005,53 @@ typedef enum { * @QMI_WDS_NETWORK_TYPE_3GPP: 3GPP network type. * * Network type of the data bearer. + * + * Since: 1.0 */ -typedef enum { +typedef enum { /*< since=1.0 >*/ QMI_WDS_NETWORK_TYPE_UNKNOWN = 0, QMI_WDS_NETWORK_TYPE_3GPP2 = 1, QMI_WDS_NETWORK_TYPE_3GPP = 2 } 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. + * + * Since: 1.14 + */ +typedef enum { /*< since=1.14 >*/ + QMI_WDS_DATA_SYSTEM_NETWORK_TYPE_3GPP = 0, + QMI_WDS_DATA_SYSTEM_NETWORK_TYPE_3GPP2 = 1, +} QmiWdsDataSystemNetworkType; + +/** + * QmiWdsDataSystem: + * @QMI_WDS_DATA_SYSTEM_UNKNOWN: unknown + * @QMI_WDS_DATA_SYSTEM_CDMA1X: CDMA 1x + * @QMI_WDS_DATA_SYSTEM_CDMA1X_EVDO: CDMA 1x EVDO + * @QMI_WDS_DATA_SYSTEM_GPRS: GPRS + * @QMI_WDS_DATA_SYSTEM_WCDMA: WCDMA + * @QMI_WDS_DATA_SYSTEM_LTE: LTE + * @QMI_WDS_DATA_SYSTEM_TDSCDMA: TD-SCDMA. + * + * Data system type. + * + * Since: 1.18 + */ +typedef enum { /*< since=1.18 >*/ + QMI_WDS_DATA_SYSTEM_UNKNOWN = 0, + QMI_WDS_DATA_SYSTEM_CDMA1X = 1, + QMI_WDS_DATA_SYSTEM_CDMA1X_EVDO = 2, + QMI_WDS_DATA_SYSTEM_GPRS = 3, + QMI_WDS_DATA_SYSTEM_WCDMA = 4, + QMI_WDS_DATA_SYSTEM_LTE = 5, + QMI_WDS_DATA_SYSTEM_TDSCDMA = 6, +} QmiWdsDataSystem; + /** * QmiWdsRat3gpp2: * @QMI_WDS_RAT_3GPP2_NONE: Unknown, to be ignored. @@ -728,17 +1059,23 @@ typedef enum { * @QMI_WDS_RAT_3GPP2_EVDO_REV0: EVDO Rev0. * @QMI_WDS_RAT_3GPP2_EVDO_REVA: EVDO RevA. * @QMI_WDS_RAT_3GPP2_EVDO_REVB: EVDO RevB. + * @QMI_WDS_RAT_3GPP2_EHRPD: eHRPD. Since: 1.18. + * @QMI_WDS_RAT_3GPP2_FMC: FMC. Since: 1.18. * @QMI_WDS_RAT_3GPP2_NULL_BEARER: No bearer. * * Flags specifying the 3GPP2-specific Radio Access Technology, when the data * bearer network type is @QMI_WDS_NETWORK_TYPE_3GPP2. + * + * Since: 1.0 */ -typedef enum { /*< underscore_name=qmi_wds_rat_3gpp2 >*/ +typedef enum { /*< underscore_name=qmi_wds_rat_3gpp2,since=1.0 >*/ QMI_WDS_RAT_3GPP2_NONE = 0, QMI_WDS_RAT_3GPP2_CDMA1X = 1 << 0, QMI_WDS_RAT_3GPP2_EVDO_REV0 = 1 << 1, QMI_WDS_RAT_3GPP2_EVDO_REVA = 1 << 2, QMI_WDS_RAT_3GPP2_EVDO_REVB = 1 << 3, + QMI_WDS_RAT_3GPP2_EHRPD = 1 << 4, + QMI_WDS_RAT_3GPP2_FMC = 1 << 5, QMI_WDS_RAT_3GPP2_NULL_BEARER = 1 << 15 } QmiWdsRat3gpp2; @@ -752,13 +1089,17 @@ typedef enum { /*< underscore_name=qmi_wds_rat_3gpp2 >*/ * @QMI_WDS_RAT_3GPP_EDGE: EDGE. * @QMI_WDS_RAT_3GPP_LTE: LTE. * @QMI_WDS_RAT_3GPP_HSDPAPLUS: HSDPA+. - * @QMI_WDS_RAT_3GPP_DCHSDPAPLUS: DC-HSDPA+ + * @QMI_WDS_RAT_3GPP_DCHSDPAPLUS: DC-HSDPA+. + * @QMI_WDS_RAT_3GPP_64QAM: 64QAM. Since: 1.18. + * @QMI_WDS_RAT_3GPP_TDSCDMA: TD-SCDMA. Since: 1.18. * @QMI_WDS_RAT_3GPP_NULL_BEARER: No bearer. * * Flags specifying the 3GPP-specific Radio Access Technology, when the data * bearer network type is @QMI_WDS_NETWORK_TYPE_3GPP. + * + * Since: 1.0 */ -typedef enum { /*< underscore_name=qmi_wds_rat_3gpp >*/ +typedef enum { /*< underscore_name=qmi_wds_rat_3gpp,since=1.0 >*/ QMI_WDS_RAT_3GPP_NONE = 0, QMI_WDS_RAT_3GPP_WCDMA = 1 << 0, QMI_WDS_RAT_3GPP_GPRS = 1 << 1, @@ -768,6 +1109,8 @@ typedef enum { /*< underscore_name=qmi_wds_rat_3gpp >*/ QMI_WDS_RAT_3GPP_LTE = 1 << 5, QMI_WDS_RAT_3GPP_HSDPAPLUS = 1 << 6, QMI_WDS_RAT_3GPP_DCHSDPAPLUS = 1 << 7, + QMI_WDS_RAT_3GPP_64QAM = 1 << 8, + QMI_WDS_RAT_3GPP_TDSCDMA = 1 << 9, QMI_WDS_RAT_3GPP_NULL_BEARER = 1 << 15 } QmiWdsRat3gpp; @@ -781,34 +1124,79 @@ typedef enum { /*< underscore_name=qmi_wds_rat_3gpp >*/ * Flags specifying the Service Option when the bearer network type is * @QMI_WDS_NETWORK_TYPE_3GPP2 and when the Radio Access Technology mask * contains @QMI_WDS_RAT_3GPP2_CDMA1X. + * + * Since: 1.0 */ -typedef enum { +typedef enum { /*< since=1.0 >*/ QMI_WDS_SO_CDMA1X_NONE = 0, QMI_WDS_SO_CDMA1X_IS95 = 1 << 0, QMI_WDS_SO_CDMA1X_IS2000 = 1 << 1, QMI_WDS_SO_CDMA1X_IS2000_REL_A = 1 << 2 } QmiWdsSoCdma1x; +/** + * QmiWdsSoEvdoRev0: + * @QMI_WDS_SO_EVDO_REV0_NONE: Unknown, to be ignored. + * @QMI_WDS_SO_EVDO_REV0_DPA: DPA. + * + * Flags specifying the Service Option when the bearer network type is + * @QMI_WDS_NETWORK_TYPE_3GPP2 and when the Radio Access Technology mask + * contains @QMI_WDS_RAT_3GPP2_EVDO_REV0. + * + * Since: 1.18 + */ +typedef enum { /*< since=1.18 >*/ + QMI_WDS_SO_EVDO_REV0_NONE = 0, + QMI_WDS_SO_EVDO_REV0_DPA = 1 << 0, +} QmiWdsSoEvdoRev0; + /** * QmiWdsSoEvdoRevA: * @QMI_WDS_SO_EVDO_REVA_NONE: Unknown, to be ignored. * @QMI_WDS_SO_EVDO_REVA_DPA: DPA. * @QMI_WDS_SO_EVDO_REVA_MFPA: MFPA. * @QMI_WDS_SO_EVDO_REVA_EMPA: EMPA. - * @QMI_WDS_SO_EVDO_REVA_EMPA_EHRPD: EMPA EHRPD. + * @QMI_WDS_SO_EVDO_REVA_EMPA_EHRPD: EMPA eHRPD. * * Flags specifying the Service Option when the bearer network type is * @QMI_WDS_NETWORK_TYPE_3GPP2 and when the Radio Access Technology mask * contains @QMI_WDS_RAT_3GPP2_EVDO_REVA. + * + * Since: 1.0 */ -typedef enum { /*< underscore_name=qmi_wds_so_evdo_reva >*/ +typedef enum { /*< underscore_name=qmi_wds_so_evdo_reva,since=1.0 >*/ QMI_WDS_SO_EVDO_REVA_NONE = 0, QMI_WDS_SO_EVDO_REVA_DPA = 1 << 0, QMI_WDS_SO_EVDO_REVA_MFPA = 1 << 1, QMI_WDS_SO_EVDO_REVA_EMPA = 1 << 2, - QMI_WDS_SO_EVDO_REVA_EMPA_EHRPD = 1 << 3 + QMI_WDS_SO_EVDO_REVA_EMPA_EHRPD = 1 << 3, } QmiWdsSoEvdoRevA; +/** + * QmiWdsSoEvdoRevB: + * @QMI_WDS_SO_EVDO_REVB_NONE: Unknown, to be ignored. + * @QMI_WDS_SO_EVDO_REVB_DPA: DPA. + * @QMI_WDS_SO_EVDO_REVB_MFPA: MFPA. + * @QMI_WDS_SO_EVDO_REVB_EMPA: EMPA. + * @QMI_WDS_SO_EVDO_REVB_EMPA_EHRPD: EMPA eHRPD. + * @QMI_WDS_SO_EVDO_REVB_MMPA: MMPA. + * @QMI_WDS_SO_EVDO_REVB_MMPA_EHRPD: MMPA eHRPD. + * + * Flags specifying the Service Option when the bearer network type is + * @QMI_WDS_NETWORK_TYPE_3GPP2 and when the Radio Access Technology mask + * contains @QMI_WDS_RAT_3GPP2_EVDO_REVB. + * + * Since: 1.18 + */ +typedef enum { /*< underscore_name=qmi_wds_so_evdo_revb,since=1.18 >*/ + QMI_WDS_SO_EVDO_REVB_NONE = 0, + QMI_WDS_SO_EVDO_REVB_DPA = 1 << 0, + QMI_WDS_SO_EVDO_REVB_MFPA = 1 << 1, + QMI_WDS_SO_EVDO_REVB_EMPA = 1 << 2, + QMI_WDS_SO_EVDO_REVB_EMPA_EHRPD = 1 << 3, + QMI_WDS_SO_EVDO_REVB_MMPA = 1 << 4, + QMI_WDS_SO_EVDO_REVB_MMPA_EHRPD = 1 << 5, +} QmiWdsSoEvdoRevB; /*****************************************************************************/ /* Helper enums for the 'QMI WDS Get Current Settings' message */ @@ -823,7 +1211,7 @@ typedef enum { /*< underscore_name=qmi_wds_so_evdo_reva >*/ * @QMI_WDS_GET_CURRENT_SETTINGS_REQUESTED_SETTINGS_DNS_ADDRESS: request DNS server addresses * @QMI_WDS_GET_CURRENT_SETTINGS_REQUESTED_SETTINGS_GRANTED_QOS: request granted QoS * @QMI_WDS_GET_CURRENT_SETTINGS_REQUESTED_SETTINGS_USERNAME: request username - * @QMI_WDS_GET_CURRENT_SETTINGS_REQUESTED_SETTINGS_AUTH_PROTOCOL: request authentication protocol (ie PAP/CHAP/none) + * @QMI_WDS_GET_CURRENT_SETTINGS_REQUESTED_SETTINGS_AUTH_PROTOCOL: request authentication protocol, ie PAP/CHAP/none. * @QMI_WDS_GET_CURRENT_SETTINGS_REQUESTED_SETTINGS_IP_ADDRESS: request IP address * @QMI_WDS_GET_CURRENT_SETTINGS_REQUESTED_SETTINGS_GATEWAY_INFO: request gateway address * @QMI_WDS_GET_CURRENT_SETTINGS_REQUESTED_SETTINGS_PCSCF_ADDRESS: request PCSCF address @@ -831,14 +1219,16 @@ typedef enum { /*< underscore_name=qmi_wds_so_evdo_reva >*/ * @QMI_WDS_GET_CURRENT_SETTINGS_REQUESTED_SETTINGS_PCSCF_DOMAIN_NAME_LIST: request PCSCF domain name list * @QMI_WDS_GET_CURRENT_SETTINGS_REQUESTED_SETTINGS_MTU: request MTU * @QMI_WDS_GET_CURRENT_SETTINGS_REQUESTED_SETTINGS_DOMAIN_NAME_LIST: request domain name list - * @QMI_WDS_GET_CURRENT_SETTINGS_REQUESTED_SETTINGS_IP_FAMILY: request IP family (ie IPv4 or IPv6) + * @QMI_WDS_GET_CURRENT_SETTINGS_REQUESTED_SETTINGS_IP_FAMILY: request IP family, ie IPv4 or IPv6. * @QMI_WDS_GET_CURRENT_SETTINGS_REQUESTED_SETTINGS_IMCN_FLAG: request IMCN flag * @QMI_WDS_GET_CURRENT_SETTINGS_REQUESTED_SETTINGS_EXTENDED_TECHNOLOGY: request extended technology info * * Flags specifying which specific settings to return when requesting the * current WDS bearer settings. + * + * Since: 1.0 */ -typedef enum { /*< underscore_name=qmi_wds_get_current_settings_requested_settings >*/ +typedef enum { /*< since=1.0 >*/ QMI_WDS_GET_CURRENT_SETTINGS_REQUESTED_SETTINGS_NONE = 0, QMI_WDS_GET_CURRENT_SETTINGS_REQUESTED_SETTINGS_PROFILE_ID = 1 << 0, QMI_WDS_GET_CURRENT_SETTINGS_REQUESTED_SETTINGS_PROFILE_NAME = 1 << 1, @@ -868,8 +1258,10 @@ typedef enum { /*< underscore_name=qmi_wds_get_current_settings_requested_settin * @QMI_WDS_PDP_TYPE_IPV4_OR_IPV6: IPv4 and IPv6 combined context * * PDP context type. + * + * Since: 1.0 */ -typedef enum { /*< underscore_name=qmi_wds_pdp_type >*/ +typedef enum { /*< since=1.0 >*/ QMI_WDS_PDP_TYPE_IPV4 = 0, QMI_WDS_PDP_TYPE_PPP = 1, QMI_WDS_PDP_TYPE_IPV6 = 2, @@ -878,15 +1270,17 @@ typedef enum { /*< underscore_name=qmi_wds_pdp_type >*/ /** * QmiWdsTrafficClass: - * @QMI_WDS_TRAFFIC_CLASS_SUBSCRIBED: default (?) class, best-effort + * @QMI_WDS_TRAFFIC_CLASS_SUBSCRIBED: default class, best-effort * @QMI_WDS_TRAFFIC_CLASS_CONVERSATIONAL: two-way video/voice, most delay sensitive * @QMI_WDS_TRAFFIC_CLASS_STREAMING: one-way video/audio, delay sensitive - * @QMI_WDS_TRAFFIC_CLASS_INTERACTIVE: delay-insensitive (browsing, SSH) - * @QMI_WDS_TRAFFIC_CLASS_BACKGROUND: delay-insensitive (downloads, email) + * @QMI_WDS_TRAFFIC_CLASS_INTERACTIVE: delay-sensitive, e.g. browsing, SSH. + * @QMI_WDS_TRAFFIC_CLASS_BACKGROUND: delay-insensitive, e.g. downloads, email. * * QoS Traffic Classes. + * + * Since: 1.0 */ -typedef enum { /*< underscore_name=qmi_wds_traffic_class >*/ +typedef enum { /*< since=1.0 >*/ QMI_WDS_TRAFFIC_CLASS_SUBSCRIBED = 0, QMI_WDS_TRAFFIC_CLASS_CONVERSATIONAL = 1, QMI_WDS_TRAFFIC_CLASS_STREAMING = 2, @@ -901,8 +1295,10 @@ typedef enum { /*< underscore_name=qmi_wds_traffic_class >*/ * @QMI_WDS_AUTHENTICATION_CHAP: CHAP authentication * * PDP context authentication protocols. + * + * Since: 1.0 */ -typedef enum { /*< underscore_name=qmi_wds_authentication >*/ +typedef enum { /*< since=1.0 >*/ QMI_WDS_AUTHENTICATION_NONE = 0, QMI_WDS_AUTHENTICATION_PAP = 1 << 0, QMI_WDS_AUTHENTICATION_CHAP = 1 << 1 @@ -914,12 +1310,118 @@ typedef enum { /*< underscore_name=qmi_wds_authentication >*/ * @QMI_WDS_PROFILE_TYPE_3GPP2: 3GPP2 profile type. * * Profile network type family. + * + * Since: 1.0 */ -typedef enum { +typedef enum { /*< since=1.0 >*/ QMI_WDS_PROFILE_TYPE_3GPP = 0, QMI_WDS_PROFILE_TYPE_3GPP2 = 1 } QmiWdsProfileType; + /** + * QmiWdsProfileFamily: + * @QMI_WDS_PROFILE_FAMILY_EMBEDDED: Embedded profile family. + * @QMI_WDS_PROFILE_FAMILY_TETHERED: Tethered profile family. + * + * Profile family. + * + * Since: 1.22 + */ + typedef enum { /*< since=1.22 >*/ + QMI_WDS_PROFILE_FAMILY_EMBEDDED = 0, + QMI_WDS_PROFILE_FAMILY_TETHERED = 1 + } QmiWdsProfileFamily; + +/** + * QmiWdsDeliveryOrder: + * @QMI_WDS_QOS_DELIVERY_ORDER_SUBSCRIBE: Subscribe. + * @QMI_WDS_QOS_DELIVERY_ORDER_ON: On. + * @QMI_WDS_QOS_DELIVERY_ORDER_OFF: Off. + * + * QoS delivery order. + * + * Since: 1.14 + */ +typedef enum { /*< since=1.14 >*/ + QMI_WDS_QOS_DELIVERY_ORDER_SUBSCRIBE = 0, + QMI_WDS_QOS_DELIVERY_ORDER_ON = 1, + QMI_WDS_QOS_DELIVERY_ORDER_OFF = 2 +} QmiWdsDeliveryOrder; + +/** + * QmiWdsSduErrorRatio: + * @QMI_WDS_SDU_ERROR_RATIO_SUBSCRIBE: Subscribe. + * @QMI_WDS_SDU_ERROR_RATIO_1E2: 1x10^2. + * @QMI_WDS_SDU_ERROR_RATIO_7E3: 7x10^3. + * @QMI_WDS_SDU_ERROR_RATIO_1E3: 1x10^3. + * @QMI_WDS_SDU_ERROR_RATIO_1E4: 1x10^4. + * @QMI_WDS_SDU_ERROR_RATIO_1E5: 1x10^5. + * @QMI_WDS_SDU_ERROR_RATIO_1E6: 1x10^6. + * @QMI_WDS_SDU_ERROR_RATIO_1E1: 1x10^7. + * + * Target value for the fraction of SDUs lost or detected as erroneous. + * + * Since: 1.14 + */ +typedef enum { /*< since=1.14 >*/ + QMI_WDS_SDU_ERROR_RATIO_SUBSCRIBE = 0, + QMI_WDS_SDU_ERROR_RATIO_1E2 = 1, + QMI_WDS_SDU_ERROR_RATIO_7E3 = 2, + QMI_WDS_SDU_ERROR_RATIO_1E3 = 3, + QMI_WDS_SDU_ERROR_RATIO_1E4 = 4, + QMI_WDS_SDU_ERROR_RATIO_1E5 = 5, + QMI_WDS_SDU_ERROR_RATIO_1E6 = 6, + QMI_WDS_SDU_ERROR_RATIO_1E1 = 7 +} QmiWdsSduErrorRatio; + +/** + * QmiWdsSduResidualBitErrorRatio: + * @QMI_WDS_SDU_RESIDUAL_BIT_ERROR_RATIO_SUBSCRIBE: Subscribe. + * @QMI_WDS_SDU_RESIDUAL_BIT_ERROR_RATIO_5E2: 5x10^2. + * @QMI_WDS_SDU_RESIDUAL_BIT_ERROR_RATIO_1E2: 1x10^2. + * @QMI_WDS_SDU_RESIDUAL_BIT_ERROR_RATIO_5E3: 5x10^3. + * @QMI_WDS_SDU_RESIDUAL_BIT_ERROR_RATIO_4E3: 4x10^3. + * @QMI_WDS_SDU_RESIDUAL_BIT_ERROR_RATIO_1E3: 1x10^3. + * @QMI_WDS_SDU_RESIDUAL_BIT_ERROR_RATIO_1E4: 1x10^4. + * @QMI_WDS_SDU_RESIDUAL_BIT_ERROR_RATIO_1E5: 1x10^5. + * @QMI_WDS_SDU_RESIDUAL_BIT_ERROR_RATIO_1E6: 1x10^6. + * @QMI_WDS_SDU_RESIDUAL_BIT_ERROR_RATIO_6E8: 6x10^8. + * + * Target value for the undetected bit error ratio in the delivered SDUs. + * + * Since: 1.14 + */ +typedef enum { /*< since=1.14 >*/ + QMI_WDS_SDU_RESIDUAL_BIT_ERROR_RATIO_SUBSCRIBE = 0, + QMI_WDS_SDU_RESIDUAL_BIT_ERROR_RATIO_5E2 = 1, + QMI_WDS_SDU_RESIDUAL_BIT_ERROR_RATIO_1E2 = 2, + QMI_WDS_SDU_RESIDUAL_BIT_ERROR_RATIO_5E3 = 3, + QMI_WDS_SDU_RESIDUAL_BIT_ERROR_RATIO_4E3 = 4, + QMI_WDS_SDU_RESIDUAL_BIT_ERROR_RATIO_1E3 = 5, + QMI_WDS_SDU_RESIDUAL_BIT_ERROR_RATIO_1E4 = 6, + QMI_WDS_SDU_RESIDUAL_BIT_ERROR_RATIO_1E5 = 7, + QMI_WDS_SDU_RESIDUAL_BIT_ERROR_RATIO_1E6 = 8, + QMI_WDS_SDU_RESIDUAL_BIT_ERROR_RATIO_6E8 = 9 +} QmiWdsSduResidualBitErrorRatio; + +/** + * QmiWdsSduErroneousDelivery: + * @QMI_WDS_SDU_ERRONEOUS_DELIVERY_SUBSCRIBE: Subscribe. + * @QMI_WDS_SDU_ERRONEOUS_DELIVERY_NO_DETECTION: No detection. + * @QMI_WDS_SDU_ERRONEOUS_DELIVERY_ENABLED: Erroneous SDUs are delivered. + * @QMI_WDS_SDU_ERRONEOUS_DELIVERY_DISABLED: Erroneous SDUs are delivered. + * + * Whether SDUs detected as erroneous are delivered or not. + * + * Since: 1.14 + */ +typedef enum { /*< since=1.14 >*/ + QMI_WDS_SDU_ERRONEOUS_DELIVERY_SUBSCRIBE = 0, + QMI_WDS_SDU_ERRONEOUS_DELIVERY_NO_DETECTION = 1, + QMI_WDS_SDU_ERRONEOUS_DELIVERY_ENABLED = 2, + QMI_WDS_SDU_ERRONEOUS_DELIVERY_DISABLED = 3 +} QmiWdsSduErroneousDelivery; + /*****************************************************************************/ /* Helper enums for the 'QMI WDS Get Packet Statistics' message */ @@ -937,8 +1439,10 @@ typedef enum { * @QMI_WDS_PACKET_STATISTICS_MASK_FLAG_RX_PACKETS_DROPPED: Request count of dropped packets in reception. * * Mask to use when requesting packet statistics. + * + * Since: 1.6 */ -typedef enum { +typedef enum { /*< since=1.6 >*/ QMI_WDS_PACKET_STATISTICS_MASK_FLAG_TX_PACKETS_OK = 1 << 0, QMI_WDS_PACKET_STATISTICS_MASK_FLAG_RX_PACKETS_OK = 1 << 1, QMI_WDS_PACKET_STATISTICS_MASK_FLAG_TX_PACKETS_ERROR = 1 << 2, @@ -978,8 +1482,10 @@ typedef enum { * @QMI_WDS_DS_PROFILE_ERROR_3GPP2_INVALID_PROFILE_ID: Invalid 3GPP2 profile identifier. * * Extended DS profile errors. + * + * Since: 1.8 */ -typedef enum { +typedef enum { /*< since=1.8 >*/ QMI_WDS_DS_PROFILE_ERROR_UNKNOWN = 0, QMI_WDS_DS_PROFILE_ERROR_FAIL = 1, QMI_WDS_DS_PROFILE_ERROR_INVALID_HANDLE = 2, @@ -1004,14 +1510,366 @@ typedef enum { /** * QmiWdsAutoconnectSetting: - * @QMI_WDS_AUTOCONNECT_DISABLED: Disabled - * @QMI_WDS_AUTOCONNECT_ENABLED: Enabled - * @QMI_WDS_AUTOCONNECT_PAUSED: Paused (resume on power cycle) - */ -typedef enum { - QMI_WDS_AUTOCONNECT_DISABLED = 0, - QMI_WDS_AUTOCONNECT_ENABLED = 1, - QMI_WDS_AUTOCONNECT_PAUSED = 2, + * @QMI_WDS_AUTOCONNECT_SETTING_DISABLED: Disabled. + * @QMI_WDS_AUTOCONNECT_SETTING_ENABLED: Enabled. + * @QMI_WDS_AUTOCONNECT_SETTING_PAUSED: Paused, resume on power cycle. + * + * Status of the autoconnect setting. + * + * Since: 1.14 + */ +typedef enum { /*< since=1.14 >*/ + QMI_WDS_AUTOCONNECT_SETTING_DISABLED = 0, + QMI_WDS_AUTOCONNECT_SETTING_ENABLED = 1, + QMI_WDS_AUTOCONNECT_SETTING_PAUSED = 2, } QmiWdsAutoconnectSetting; +/** + * QmiWdsAutoconnectSettingRoaming: + * @QMI_WDS_AUTOCONNECT_SETTING_ROAMING_ALLOWED: Autoconnect always allowed, even when roaming. + * @QMI_WDS_AUTOCONNECT_SETTING_ROAMING_HOME_ONLY: Autoconnect allowed only in home network. + * + * Status of the autoconnect setting while roaming. + * + * Since: 1.14 + */ +typedef enum { /*< since=1.14 >*/ + QMI_WDS_AUTOCONNECT_SETTING_ROAMING_ALLOWED = 0, + QMI_WDS_AUTOCONNECT_SETTING_ROAMING_HOME_ONLY = 1, +} QmiWdsAutoconnectSettingRoaming; + +/*****************************************************************************/ +/* Helper enums for the 'QMI WDS Set Event Report' message */ + +/** + * QmiWdsSetEventReportTransferStatistics: + * @QMI_WDS_SET_EVENT_REPORT_TRANSFER_STATISTICS_REPORT_TX_PACKETS_OK: report TX packet successes. + * @QMI_WDS_SET_EVENT_REPORT_TRANSFER_STATISTICS_REPORT_RX_PACKETS_OK: report RX packet successes. + * @QMI_WDS_SET_EVENT_REPORT_TRANSFER_STATISTICS_REPORT_TX_PACKETS_ERROR: report TX packet errors. + * @QMI_WDS_SET_EVENT_REPORT_TRANSFER_STATISTICS_REPORT_RX_PACKETS_ERROR: report RX packet errors. + * @QMI_WDS_SET_EVENT_REPORT_TRANSFER_STATISTICS_REPORT_TX_OVERFLOWS: report TX overflows. + * @QMI_WDS_SET_EVENT_REPORT_TRANSFER_STATISTICS_REPORT_RX_OVERFLOWS: report RX overflows. + * @QMI_WDS_SET_EVENT_REPORT_TRANSFER_STATISTICS_REPORT_TX_BYTES_OK: report TX byte total. + * @QMI_WDS_SET_EVENT_REPORT_TRANSFER_STATISTICS_REPORT_RX_BYTES_OK: report RX byte total. + * @QMI_WDS_SET_EVENT_REPORT_TRANSFER_STATISTICS_REPORT_TX_PACKETS_DROPPED: report TX packets dropped. + * @QMI_WDS_SET_EVENT_REPORT_TRANSFER_STATISTICS_REPORT_RX_PACKETS_DROPPED: report RX packets dropped. + * + * Flags indicating which WDS Set Event Report Transfer Statistics indicators + * should be emitted. + * + * Since: 1.18 + */ +typedef enum { /*< since=1.18 >*/ + QMI_WDS_SET_EVENT_REPORT_TRANSFER_STATISTICS_REPORT_TX_PACKETS_OK = 1 << 0, + QMI_WDS_SET_EVENT_REPORT_TRANSFER_STATISTICS_REPORT_RX_PACKETS_OK = 1 << 1, + QMI_WDS_SET_EVENT_REPORT_TRANSFER_STATISTICS_REPORT_TX_PACKETS_ERROR = 1 << 2, + QMI_WDS_SET_EVENT_REPORT_TRANSFER_STATISTICS_REPORT_RX_PACKETS_ERROR = 1 << 3, + QMI_WDS_SET_EVENT_REPORT_TRANSFER_STATISTICS_REPORT_TX_OVERFLOWS = 1 << 4, + QMI_WDS_SET_EVENT_REPORT_TRANSFER_STATISTICS_REPORT_RX_OVERFLOWS = 1 << 5, + QMI_WDS_SET_EVENT_REPORT_TRANSFER_STATISTICS_REPORT_TX_BYTES_OK = 1 << 6, + QMI_WDS_SET_EVENT_REPORT_TRANSFER_STATISTICS_REPORT_RX_BYTES_OK = 1 << 7, + QMI_WDS_SET_EVENT_REPORT_TRANSFER_STATISTICS_REPORT_TX_PACKETS_DROPPED = 1 << 8, + QMI_WDS_SET_EVENT_REPORT_TRANSFER_STATISTICS_REPORT_RX_PACKETS_DROPPED = 1 << 9, +} QmiWdsSetEventReportTransferStatistics; + +/** + * QmiWdsDormancyStatus: + * @QMI_WDS_DORMANCY_STATUS_UNKNOWN: dormancy status unknown. + * @QMI_WDS_DORMANCY_STATUS_TRAFFIC_CHANNEL_DORMANT: traffic channel is dormant. + * @QMI_WDS_DORMANCY_STATUS_TRAFFIC_CHANNEL_ACTIVE: traffic channel is active. + * + * Dormancy status. + * + * Since: 1.18 + */ +typedef enum { /*< since=1.18 >*/ + QMI_WDS_DORMANCY_STATUS_UNKNOWN = 0, + QMI_WDS_DORMANCY_STATUS_TRAFFIC_CHANNEL_DORMANT = 1, + QMI_WDS_DORMANCY_STATUS_TRAFFIC_CHANNEL_ACTIVE = 2, +} QmiWdsDormancyStatus; + +/** + * QmiWdsDataCallStatus: + * @QMI_WDS_DATA_CALL_STATUS_UNKNOWN: data call status unknown. + * @QMI_WDS_DATA_CALL_STATUS_ACTIVATED: data call status activated. + * @QMI_WDS_DATA_CALL_STATUS_TERMINATED: data call status terminated. + * + * Data call status. + * + * Since: 1.18 + */ +typedef enum { /*< since=1.18 >*/ + QMI_WDS_DATA_CALL_STATUS_UNKNOWN = 0, + QMI_WDS_DATA_CALL_STATUS_ACTIVATED = 1, + QMI_WDS_DATA_CALL_STATUS_TERMINATED = 2, +} QmiWdsDataCallStatus; + +/** + * QmiWdsDataCallType: + * @QMI_WDS_DATA_CALL_TYPE_UNKNOWN: data call type unknown. + * @QMI_WDS_DATA_CALL_TYPE_EMBEDDED: embedded data call. + * @QMI_WDS_DATA_CALL_TYPE_TETHERED: tethered data call. + * @QMI_WDS_DATA_CALL_TYPE_MODEM_EMBEDDED: modem embedded data call. + * + * Data call type. + * + * Since: 1.18 + */ +typedef enum { /*< since=1.18 >*/ + QMI_WDS_DATA_CALL_TYPE_UNKNOWN = 0, + QMI_WDS_DATA_CALL_TYPE_EMBEDDED = 1, + QMI_WDS_DATA_CALL_TYPE_TETHERED = 2, + QMI_WDS_DATA_CALL_TYPE_MODEM_EMBEDDED = 3, +} QmiWdsDataCallType; + +/** + * QmiWdsTetheredCallType: + * @QMI_WDS_TETHERED_CALL_TYPE_NON_TETHERED: non-tethered. + * @QMI_WDS_TETHERED_CALL_TYPE_RMNET: RmNet. + * @QMI_WDS_TETHERED_CALL_TYPE_DUN: DUN. + * + * Tethered call type. + * + * Since: 1.18 + */ +typedef enum { /*< since=1.18 >*/ + QMI_WDS_TETHERED_CALL_TYPE_NON_TETHERED = 0, + QMI_WDS_TETHERED_CALL_TYPE_RMNET = 1, + QMI_WDS_TETHERED_CALL_TYPE_DUN = 2, +} QmiWdsTetheredCallType; + +/** + * QmiWdsRadioAccessTechnology: + * @QMI_WDS_RADIO_ACCESS_TECHNOLOGY_NULL_BEARER: null bearer + * @QMI_WDS_RADIO_ACCESS_TECHNOLOGY_3GPP_WCDMA: WCDMA. + * @QMI_WDS_RADIO_ACCESS_TECHNOLOGY_3GPP_GERAN: GERAN. + * @QMI_WDS_RADIO_ACCESS_TECHNOLOGY_3GPP_LTE: LTE. + * @QMI_WDS_RADIO_ACCESS_TECHNOLOGY_3GPP_TDSCDMA: TD-SDCMA. + * @QMI_WDS_RADIO_ACCESS_TECHNOLOGY_3GPP_WLAN: 3GPP WLAN. + * @QMI_WDS_RADIO_ACCESS_TECHNOLOGY_3GPP_MAXIMUM: 3GPP maximum. + * @QMI_WDS_RADIO_ACCESS_TECHNOLOGY_3GPP2_1X: CDMA 1x. + * @QMI_WDS_RADIO_ACCESS_TECHNOLOGY_3GPP2_HRPD: CDMA EVDO, HRPD. + * @QMI_WDS_RADIO_ACCESS_TECHNOLOGY_3GPP2_EHRPD: CDMA EVDO with eHRPD. + * @QMI_WDS_RADIO_ACCESS_TECHNOLOGY_3GPP2_WLAN: 3GPP2 WLAN. + * @QMI_WDS_RADIO_ACCESS_TECHNOLOGY_3GPP2_MAXIMUM: 3GPP2 maximum. + * + * Radio access technology. + * + * Since: 1.18 + */ +typedef enum { /*< since=1.18 >*/ + QMI_WDS_RADIO_ACCESS_TECHNOLOGY_NULL_BEARER = 0, + QMI_WDS_RADIO_ACCESS_TECHNOLOGY_3GPP_WCDMA = 1, + QMI_WDS_RADIO_ACCESS_TECHNOLOGY_3GPP_GERAN = 2, + QMI_WDS_RADIO_ACCESS_TECHNOLOGY_3GPP_LTE = 3, + QMI_WDS_RADIO_ACCESS_TECHNOLOGY_3GPP_TDSCDMA = 4, + QMI_WDS_RADIO_ACCESS_TECHNOLOGY_3GPP_WLAN = 5, + QMI_WDS_RADIO_ACCESS_TECHNOLOGY_3GPP_MAXIMUM = 100, + QMI_WDS_RADIO_ACCESS_TECHNOLOGY_3GPP2_1X = 101, + QMI_WDS_RADIO_ACCESS_TECHNOLOGY_3GPP2_HRPD = 102, + QMI_WDS_RADIO_ACCESS_TECHNOLOGY_3GPP2_EHRPD = 103, + QMI_WDS_RADIO_ACCESS_TECHNOLOGY_3GPP2_WLAN = 104, + QMI_WDS_RADIO_ACCESS_TECHNOLOGY_3GPP2_MAXIMUM = 200, +} QmiWdsRadioAccessTechnology; + +/** + * QmiWdsExtendedDataBearerTechnology3gpp: + * @QMI_WDS_EXTENDED_DATA_BEARER_TECHNOLOGY_3GPP_UNKNOWN: unknown. + * @QMI_WDS_EXTENDED_DATA_BEARER_TECHNOLOGY_3GPP_WCDMA: WCDMA. + * @QMI_WDS_EXTENDED_DATA_BEARER_TECHNOLOGY_3GPP_HSDPA: HSDPA. + * @QMI_WDS_EXTENDED_DATA_BEARER_TECHNOLOGY_3GPP_HSUPA: HSUPA. + * @QMI_WDS_EXTENDED_DATA_BEARER_TECHNOLOGY_3GPP_HSDPA_PLUS: HSDPA+. + * @QMI_WDS_EXTENDED_DATA_BEARER_TECHNOLOGY_3GPP_DC_HSDPA_PLUS: Dual-cell HSDPA+. + * @QMI_WDS_EXTENDED_DATA_BEARER_TECHNOLOGY_3GPP_64QAM: 64-QAM. + * @QMI_WDS_EXTENDED_DATA_BEARER_TECHNOLOGY_3GPP_HSPA: HSPA. + * @QMI_WDS_EXTENDED_DATA_BEARER_TECHNOLOGY_3GPP_GPRS: GPRS. + * @QMI_WDS_EXTENDED_DATA_BEARER_TECHNOLOGY_3GPP_EDGE: EDGE. + * @QMI_WDS_EXTENDED_DATA_BEARER_TECHNOLOGY_3GPP_GSM: GSM. + * @QMI_WDS_EXTENDED_DATA_BEARER_TECHNOLOGY_3GPP_S2B: S2B. + * @QMI_WDS_EXTENDED_DATA_BEARER_TECHNOLOGY_3GPP_LTE_LIMITED_SERVICE: LTE limited service. + * @QMI_WDS_EXTENDED_DATA_BEARER_TECHNOLOGY_3GPP_LTE_FDD: LTE FDD. + * @QMI_WDS_EXTENDED_DATA_BEARER_TECHNOLOGY_3GPP_LTE_TDD: LTE TDD. + * + * 3GPP extended data bearer technologies. + * + * Since: 1.18 + */ +typedef enum { /*< underscore_name=qmi_wds_extended_data_bearer_technology_3gpp,since=1.18 >*/ + QMI_WDS_EXTENDED_DATA_BEARER_TECHNOLOGY_3GPP_UNKNOWN = 0, + QMI_WDS_EXTENDED_DATA_BEARER_TECHNOLOGY_3GPP_WCDMA = 1 << 0, + QMI_WDS_EXTENDED_DATA_BEARER_TECHNOLOGY_3GPP_HSDPA = 1 << 1, + QMI_WDS_EXTENDED_DATA_BEARER_TECHNOLOGY_3GPP_HSUPA = 1 << 2, + QMI_WDS_EXTENDED_DATA_BEARER_TECHNOLOGY_3GPP_HSDPA_PLUS = 1 << 3, + QMI_WDS_EXTENDED_DATA_BEARER_TECHNOLOGY_3GPP_DC_HSDPA_PLUS = 1 << 4, + QMI_WDS_EXTENDED_DATA_BEARER_TECHNOLOGY_3GPP_64QAM = 1 << 5, + QMI_WDS_EXTENDED_DATA_BEARER_TECHNOLOGY_3GPP_HSPA = 1 << 6, + QMI_WDS_EXTENDED_DATA_BEARER_TECHNOLOGY_3GPP_GPRS = 1 << 7, + QMI_WDS_EXTENDED_DATA_BEARER_TECHNOLOGY_3GPP_EDGE = 1 << 8, + QMI_WDS_EXTENDED_DATA_BEARER_TECHNOLOGY_3GPP_GSM = 1 << 9, + QMI_WDS_EXTENDED_DATA_BEARER_TECHNOLOGY_3GPP_S2B = 1 << 10, + QMI_WDS_EXTENDED_DATA_BEARER_TECHNOLOGY_3GPP_LTE_LIMITED_SERVICE = 1 << 11, + QMI_WDS_EXTENDED_DATA_BEARER_TECHNOLOGY_3GPP_LTE_FDD = 1 << 12, + QMI_WDS_EXTENDED_DATA_BEARER_TECHNOLOGY_3GPP_LTE_TDD = 1 << 13, +} QmiWdsExtendedDataBearerTechnology3gpp; + +/** + * QmiWdsExtendedDataBearerTechnology3gpp2: + * @QMI_WDS_EXTENDED_DATA_BEARER_TECHNOLOGY_3GPP2_UNKNOWN: unknown. + * @QMI_WDS_EXTENDED_DATA_BEARER_TECHNOLOGY_3GPP2_RESERVED: reserved. + * @QMI_WDS_EXTENDED_DATA_BEARER_TECHNOLOGY_3GPP2_CDMA1X_IS95: CDMA1x IS-95. + * @QMI_WDS_EXTENDED_DATA_BEARER_TECHNOLOGY_3GPP2_CDMA1X_IS2000: CDMA1x IS-2000. + * @QMI_WDS_EXTENDED_DATA_BEARER_TECHNOLOGY_3GPP2_CDMA1X_IS2000_REL_A: CDMA1x IS-2000 Release A. + * @QMI_WDS_EXTENDED_DATA_BEARER_TECHNOLOGY_3GPP2_HDR_REV_0_DPA: HDR EVDO Rev 0 DPA. + * @QMI_WDS_EXTENDED_DATA_BEARER_TECHNOLOGY_3GPP2_HDR_REV_A_DPA: HDR EVDO Rev A DPA. + * @QMI_WDS_EXTENDED_DATA_BEARER_TECHNOLOGY_3GPP2_HDR_REV_B_DPA: HDR EVDO Rev B DPA. + * @QMI_WDS_EXTENDED_DATA_BEARER_TECHNOLOGY_3GPP2_HDR_REV_A_MPA: HDR EVDO Rev A MPA. + * @QMI_WDS_EXTENDED_DATA_BEARER_TECHNOLOGY_3GPP2_HDR_REV_B_MPA: HDR EVDO Rev B MPA. + * @QMI_WDS_EXTENDED_DATA_BEARER_TECHNOLOGY_3GPP2_HDR_REV_A_EMPA: HDR EVDO Rev A EMPA. + * @QMI_WDS_EXTENDED_DATA_BEARER_TECHNOLOGY_3GPP2_HDR_REV_B_EMPA: HDR EVDO Rev B EMPA. + * @QMI_WDS_EXTENDED_DATA_BEARER_TECHNOLOGY_3GPP2_HDR_REV_B_MMPA: HDR EVDO Rev B MMPA. + * @QMI_WDS_EXTENDED_DATA_BEARER_TECHNOLOGY_3GPP2_HDR_EVDO_FMC: HDR EVDO FMC. + * + * 3GPP2 extended data bearer technologies. + * + * Since: 1.18 + */ +typedef enum { /*< underscore_name=qmi_wds_extended_data_bearer_technology_3gpp2,since=1.18 >*/ + QMI_WDS_EXTENDED_DATA_BEARER_TECHNOLOGY_3GPP2_UNKNOWN = 0, + QMI_WDS_EXTENDED_DATA_BEARER_TECHNOLOGY_3GPP2_RESERVED = 1 << 0, + QMI_WDS_EXTENDED_DATA_BEARER_TECHNOLOGY_3GPP2_CDMA1X_IS95 = 1 << 1, + QMI_WDS_EXTENDED_DATA_BEARER_TECHNOLOGY_3GPP2_CDMA1X_IS2000 = 1 << 2, + QMI_WDS_EXTENDED_DATA_BEARER_TECHNOLOGY_3GPP2_CDMA1X_IS2000_REL_A = 1 << 3, + QMI_WDS_EXTENDED_DATA_BEARER_TECHNOLOGY_3GPP2_HDR_REV_0_DPA = 1 << 4, + QMI_WDS_EXTENDED_DATA_BEARER_TECHNOLOGY_3GPP2_HDR_REV_A_DPA = 1 << 5, + QMI_WDS_EXTENDED_DATA_BEARER_TECHNOLOGY_3GPP2_HDR_REV_B_DPA = 1 << 6, + QMI_WDS_EXTENDED_DATA_BEARER_TECHNOLOGY_3GPP2_HDR_REV_A_MPA = 1 << 7, + QMI_WDS_EXTENDED_DATA_BEARER_TECHNOLOGY_3GPP2_HDR_REV_B_MPA = 1 << 8, + QMI_WDS_EXTENDED_DATA_BEARER_TECHNOLOGY_3GPP2_HDR_REV_A_EMPA = 1 << 9, + QMI_WDS_EXTENDED_DATA_BEARER_TECHNOLOGY_3GPP2_HDR_REV_B_EMPA = 1 << 10, + QMI_WDS_EXTENDED_DATA_BEARER_TECHNOLOGY_3GPP2_HDR_REV_B_MMPA = 1 << 11, + QMI_WDS_EXTENDED_DATA_BEARER_TECHNOLOGY_3GPP2_HDR_EVDO_FMC = 1 << 12, +} QmiWdsExtendedDataBearerTechnology3gpp2; + +/*****************************************************************************/ +/* Helper enums for the 'QMI WDS Profile'-related messages */ + +/** + * QmiWdsPdpHeaderCompressionType: + * @QMI_WDS_PDP_HEADER_COMPRESSION_TYPE_OFF: no header compression + * @QMI_WDS_PDP_HEADER_COMPRESSION_TYPE_MANUFACTURER_PREFERRED: manufacturer preferred + * @QMI_WDS_PDP_HEADER_COMPRESSION_TYPE_RFC1144: RFC1144 + * @QMI_WDS_PDP_HEADER_COMPRESSION_TYPE_RFC2507: RFC2507 + * @QMI_WDS_PDP_HEADER_COMPRESSION_TYPE_RFC3095: RFC3095 + * + * PDP header compression types. + * + * Since: 1.18 + */ +typedef enum { /*< since=1.18 >*/ + QMI_WDS_PDP_HEADER_COMPRESSION_TYPE_OFF = 0, + QMI_WDS_PDP_HEADER_COMPRESSION_TYPE_MANUFACTURER_PREFERRED = 1, + QMI_WDS_PDP_HEADER_COMPRESSION_TYPE_RFC1144 = 2, + QMI_WDS_PDP_HEADER_COMPRESSION_TYPE_RFC2507 = 3, + QMI_WDS_PDP_HEADER_COMPRESSION_TYPE_RFC3095 = 4, +} QmiWdsPdpHeaderCompressionType; + +/** + * QmiWdsPdpDataCompressionType: + * @QMI_WDS_PDP_DATA_COMPRESSION_TYPE_OFF: no data compression + * @QMI_WDS_PDP_DATA_COMPRESSION_TYPE_MANUFACTURER_PREFERRED: manufacturer preferred + * @QMI_WDS_PDP_DATA_COMPRESSION_TYPE_V42BIS: V42bis + * @QMI_WDS_PDP_DATA_COMPRESSION_TYPE_V44: V44 + * + * PDP data compression types. + * + * Since: 1.18 + */ +typedef enum { /*< since=1.18 >*/ + QMI_WDS_PDP_DATA_COMPRESSION_TYPE_OFF = 0, + QMI_WDS_PDP_DATA_COMPRESSION_TYPE_MANUFACTURER_PREFERRED = 1, + QMI_WDS_PDP_DATA_COMPRESSION_TYPE_V42BIS = 2, + QMI_WDS_PDP_DATA_COMPRESSION_TYPE_V44 = 3, +} QmiWdsPdpDataCompressionType; + +/** + * QmiWdsQosClassIdentifier: + * @QMI_WDS_QOS_CLASS_IDENTIFIER_NETWORK_ASSIGN: network assigned + * @QMI_WDS_QOS_CLASS_IDENTIFIER_GUARANTEED_BITRATE1: guaranteed bitrate 1 + * @QMI_WDS_QOS_CLASS_IDENTIFIER_GUARANTEED_BITRATE2: guaranteed bitrate 2 + * @QMI_WDS_QOS_CLASS_IDENTIFIER_GUARANTEED_BITRATE3: guaranteed bitrate 3 + * @QMI_WDS_QOS_CLASS_IDENTIFIER_GUARANTEED_BITRATE4: guaranteed bitrate 4 + * @QMI_WDS_QOS_CLASS_IDENTIFIER_NON_GUARANTEED_BITRATE5: non-guaranteed bitrate 5 + * @QMI_WDS_QOS_CLASS_IDENTIFIER_NON_GUARANTEED_BITRATE6: non-guaranteed bitrate 6 + * @QMI_WDS_QOS_CLASS_IDENTIFIER_NON_GUARANTEED_BITRATE7: non-guaranteed bitrate 7 + * @QMI_WDS_QOS_CLASS_IDENTIFIER_NON_GUARANTEED_BITRATE8: non-guaranteed bitrate 8 + * + * QoS Class Identifier. + * + * Since: 1.18 + */ +typedef enum { /*< since=1.18 >*/ + QMI_WDS_QOS_CLASS_IDENTIFIER_NETWORK_ASSIGN = 0, + QMI_WDS_QOS_CLASS_IDENTIFIER_GUARANTEED_BITRATE1 = 1, + QMI_WDS_QOS_CLASS_IDENTIFIER_GUARANTEED_BITRATE2 = 2, + QMI_WDS_QOS_CLASS_IDENTIFIER_GUARANTEED_BITRATE3 = 3, + QMI_WDS_QOS_CLASS_IDENTIFIER_GUARANTEED_BITRATE4 = 4, + QMI_WDS_QOS_CLASS_IDENTIFIER_NON_GUARANTEED_BITRATE5 = 5, + QMI_WDS_QOS_CLASS_IDENTIFIER_NON_GUARANTEED_BITRATE6 = 6, + QMI_WDS_QOS_CLASS_IDENTIFIER_NON_GUARANTEED_BITRATE7 = 7, + QMI_WDS_QOS_CLASS_IDENTIFIER_NON_GUARANTEED_BITRATE8 = 8, +} QmiWdsQosClassIdentifier; + +/** + * QmiWdsAttachPdnListAction: + * @QMI_WDS_ATTACH_PDN_LIST_ACTION_NONE: No action (default) + * @QMI_WDS_ATTACH_PDN_LIST_ACTION_DETACH_OR_PDN_DISCONNECT: PS detach or PDN disconnect based on the modem configuration + * + * Action when setting the attach PDN list. + * + * Since: 1.28 + */ +typedef enum { /*< since=1.28 >*/ + QMI_WDS_ATTACH_PDN_LIST_ACTION_NONE = 0x01, + QMI_WDS_ATTACH_PDN_LIST_ACTION_DETACH_OR_PDN_DISCONNECT = 0x02, +} QmiWdsAttachPdnListAction; + +/** + * QmiWdsClientType: + * @QMI_WDS_CLIENT_TYPE_TETHERED: client type tethered + * @QMI_WDS_CLIENT_TYPE_UNDEFINED: no client type defined + * + * Client Type + * + * Since: 1.18 + */ +typedef enum { /*< since=1.18 >*/ + QMI_WDS_CLIENT_TYPE_TETHERED = 0x01, + QMI_WDS_CLIENT_TYPE_UNDEFINED = 0xFF, +} QmiWdsClientType; + +/** + * QMI_WDS_RATE_UNAVAILABLE: + * + * The TX/RX rate information is unavailable or cannot be measured. + * + * Since: 1.22.4 + */ +#define QMI_WDS_RATE_UNAVAILABLE 0xFFFFFFFF + +/** + * QmiWdsIpSupportType: + * @QMI_WDS_IP_SUPPORT_TYPE_IPV4: IPv4 type. + * @QMI_WDS_IP_SUPPORT_TYPE_IPV6: IPv6 type. + * @QMI_WDS_IP_SUPPORT_TYPE_IPV4V6: IPv4v6 type. + * + * IP support type. + * + * Since: 1.28 + */ +typedef enum { /*< since=1.28 >*/ + QMI_WDS_IP_SUPPORT_TYPE_IPV4 = 0, + QMI_WDS_IP_SUPPORT_TYPE_IPV6 = 1, + QMI_WDS_IP_SUPPORT_TYPE_IPV4V6 = 2, +} QmiWdsIpSupportType; + #endif /* _LIBQMI_GLIB_QMI_ENUMS_WDS_H_ */ diff --git a/qmi-enums-wms.h b/qmi-enums-wms.h index 5b54ac9..f0fa39c 100644 --- a/qmi-enums-wms.h +++ b/qmi-enums-wms.h @@ -18,6 +18,7 @@ * Boston, MA 02110-1301 USA. * * Copyright (C) 2012 Google Inc. + * Copyright (C) 2012-2017 Aleksander Morgado */ #ifndef _LIBQMI_GLIB_QMI_ENUMS_WMS_H_ @@ -25,7 +26,6 @@ /** * SECTION: qmi-enums-wms - * @title: WMS enumerations and flags * * This section defines enumerations and flags used in the WMS service * interface. @@ -40,9 +40,11 @@ * @QMI_WMS_STORAGE_TYPE_NV: Message stored in non-volatile memory. * @QMI_WMS_STORAGE_TYPE_NONE: None. * - * Type of messaging storage + * Type of messaging storage. + * + * Since: 1.0 */ -typedef enum { +typedef enum { /*< since=1.0 >*/ QMI_WMS_STORAGE_TYPE_UIM = 0x00, QMI_WMS_STORAGE_TYPE_NV = 0x01, QMI_WMS_STORAGE_TYPE_NONE = 0xFF @@ -54,8 +56,10 @@ typedef enum { * @QMI_WMS_ACK_INDICATOR_DO_NOT_SEND: ACK doesn't need to be sent. * * Indication of whether ACK needs to be sent or not. + * + * Since: 1.0 */ -typedef enum { +typedef enum { /*< since=1.0 >*/ QMI_WMS_ACK_INDICATOR_SEND = 0x00, QMI_WMS_ACK_INDICATOR_DO_NOT_SEND = 0x01 } QmiWmsAckIndicator; @@ -68,8 +72,10 @@ typedef enum { * @QMI_WMS_MESSAGE_FORMAT_MWI: Message Waiting Indicator. * * Type of message. + * + * Since: 1.0 */ -typedef enum { +typedef enum { /*< since=1.0 >*/ QMI_WMS_MESSAGE_FORMAT_CDMA = 0x00, QMI_WMS_MESSAGE_FORMAT_GSM_WCDMA_POINT_TO_POINT = 0x06, QMI_WMS_MESSAGE_FORMAT_GSM_WCDMA_BROADCAST = 0x07, @@ -82,8 +88,10 @@ typedef enum { * @QMI_WMS_MESSAGE_MODE_GSM_WCDMA: Message sent using 3GPP technologies. * * Message mode. + * + * Since: 1.0 */ -typedef enum { +typedef enum { /*< since=1.0 >*/ QMI_WMS_MESSAGE_MODE_CDMA = 0x00, QMI_WMS_MESSAGE_MODE_GSM_WCDMA = 0x01 } QmiWmsMessageMode; @@ -95,8 +103,10 @@ typedef enum { * @QMI_WMS_NOTIFICATION_TYPE_SECONDARY_UMTS: Secondary UMTS. * * Type of notification. + * + * Since: 1.0 */ -typedef enum { +typedef enum { /*< since=1.0 >*/ QMI_WMS_NOTIFICATION_TYPE_PRIMARY = 0x00, QMI_WMS_NOTIFICATION_TYPE_SECONDARY_GSM = 0x01, QMI_WMS_NOTIFICATION_TYPE_SECONDARY_UMTS = 0x02 @@ -112,8 +122,10 @@ typedef enum { * @QMI_WMS_CDMA_SERVICE_OPTION_14: Use service option 14. * * CDMA service option selection. + * + * Since: 1.0 */ -typedef enum { +typedef enum { /*< since=1.0 >*/ QMI_WMS_CDMA_SERVICE_OPTION_AUTO = 0x00, QMI_WMS_CDMA_SERVICE_OPTION_6 = 0x06, QMI_WMS_CDMA_SERVICE_OPTION_14 = 0x0E @@ -121,85 +133,94 @@ typedef enum { /** * QmiWmsCdmaCauseCode: - * @QMI_WDS_CDMA_CAUSE_CODE_NETWORK_ADDRESS_VACANT: Address is valid but not yet allocated. - * @QMI_WDS_CDMA_CAUSE_CODE_NETWORK_ADDRESS_TRANSLATION_FAILURE: Address is invalid. - * @QMI_WDS_CDMA_CAUSE_CODE_NETWORK_RESOURCE_SHORTAGE: Network resource shortage. - * @QMI_WDS_CDMA_CAUSE_CODE_NETWORK_FAILURE: Network failed. - * @QMI_WDS_CDMA_CAUSE_CODE_NETWORK_INVALID_TELESERVICE_ID: SMS teleservice ID is invalid. - * @QMI_WDS_CDMA_CAUSE_CODE_NETWORK_OTHER: Other network error. - * @QMI_WDS_CDMA_CAUSE_CODE_DESTINATION_NO_PAGE_RESPONSE: No page response from destination. - * @QMI_WDS_CDMA_CAUSE_CODE_DESTINATION_BUSY: Destination is busy. - * @QMI_WDS_CDMA_CAUSE_CODE_DESTINATION_NO_ACK: No acknowledge from destination. - * @QMI_WDS_CDMA_CAUSE_CODE_DESTINATION_RESOURCE_SHORTAGE: Destination resource shortage. - * @QMI_WDS_CDMA_CAUSE_CODE_DESTINATION_SMS_DELIVERY_POSTPONED: SMS deliver postponed. - * @QMI_WDS_CDMA_CAUSE_CODE_DESTINATION_OUT_OF_SERVICE: Destination out of service. - * @QMI_WDS_CDMA_CAUSE_CODE_DESTINATION_NOT_AT_ADDRESS: Destination not at address. - * @QMI_WDS_CDMA_CAUSE_CODE_DESTINATION_OTHER: Other destination error. - * @QMI_WDS_CDMA_CAUSE_CODE_RADIO_INTERFACE_RESOURCE_SHORTAGE: Radio interface resource shortage. - * @QMI_WDS_CDMA_CAUSE_CODE_RADIO_INTERFACE_INCOMPATIBILITY: Radio interface incompatibility. - * @QMI_WDS_CDMA_CAUSE_CODE_RADIO_INTERFACE_OTHER: Other radio interface error. - * @QMI_WDS_CDMA_CAUSE_CODE_GENERAL_ENCODING: Encoding error. - * @QMI_WDS_CDMA_CAUSE_CODE_GENERAL_SMS_ORIGIN_DENIED: SMS origin denied. - * @QMI_WDS_CDMA_CAUSE_CODE_GENERAL_SMS_DESTINATION_DENIED: SMS destination denied. - * @QMI_WDS_CDMA_CAUSE_CODE_GENERAL_SUPPLEMENTARY_SERVICE_NOT_SUPPORTED: Supplementary service not supported. - * @QMI_WDS_CDMA_CAUSE_CODE_GENERAL_SMS_NOT_SUPPORTED: SMS not supported. - * @QMI_WDS_CDMA_CAUSE_CODE_GENERAL_MISSING_EXPECTED_PARAMETER: Missing optional expected parameter. - * @QMI_WDS_CDMA_CAUSE_CODE_GENERAL_MISSING_MANDATORY_PARAMETER: Missing mandatory parameter. - * @QMI_WDS_CDMA_CAUSE_CODE_GENERAL_UNRECOGNIZED_PARAMETER_VALUE: Unrecognized parameter value. - * @QMI_WDS_CDMA_CAUSE_CODE_GENERAL_UNEXPECTED_PARAMETER_VALUE: Unexpected parameter value. - * @QMI_WDS_CDMA_CAUSE_CODE_GENERAL_USER_DATA_SIZE_ERROR: user data size error. - * @QMI_WDS_CDMA_CAUSE_CODE_GENERAL_OTHER: Other general error. + * @QMI_WMS_CDMA_CAUSE_CODE_NETWORK_ADDRESS_VACANT: Address is valid but not yet allocated. Since 1.18. + * @QMI_WMS_CDMA_CAUSE_CODE_NETWORK_ADDRESS_TRANSLATION_FAILURE: Address is invalid. Since 1.18. + * @QMI_WMS_CDMA_CAUSE_CODE_NETWORK_RESOURCE_SHORTAGE: Network resource shortage. Since 1.18. + * @QMI_WMS_CDMA_CAUSE_CODE_NETWORK_FAILURE: Network failed. Since 1.18. + * @QMI_WMS_CDMA_CAUSE_CODE_NETWORK_INVALID_TELESERVICE_ID: SMS teleservice ID is invalid. Since 1.18. + * @QMI_WMS_CDMA_CAUSE_CODE_NETWORK_OTHER: Other network error. Since 1.18. + * @QMI_WMS_CDMA_CAUSE_CODE_DESTINATION_NO_PAGE_RESPONSE: No page response from destination. Since 1.18. + * @QMI_WMS_CDMA_CAUSE_CODE_DESTINATION_BUSY: Destination is busy. Since 1.18. + * @QMI_WMS_CDMA_CAUSE_CODE_DESTINATION_NO_ACK: No acknowledge from destination. Since 1.18. + * @QMI_WMS_CDMA_CAUSE_CODE_DESTINATION_RESOURCE_SHORTAGE: Destination resource shortage. Since 1.18. + * @QMI_WMS_CDMA_CAUSE_CODE_DESTINATION_SMS_DELIVERY_POSTPONED: SMS delivery postponed. Since 1.18. + * @QMI_WMS_CDMA_CAUSE_CODE_DESTINATION_OUT_OF_SERVICE: Destination out of service. Since 1.18. + * @QMI_WMS_CDMA_CAUSE_CODE_DESTINATION_NOT_AT_ADDRESS: Destination not at address. Since 1.18. + * @QMI_WMS_CDMA_CAUSE_CODE_DESTINATION_OTHER: Other destination error. Since 1.18. + * @QMI_WMS_CDMA_CAUSE_CODE_RADIO_INTERFACE_RESOURCE_SHORTAGE: Radio interface resource shortage. Since 1.18. + * @QMI_WMS_CDMA_CAUSE_CODE_RADIO_INTERFACE_INCOMPATIBILITY: Radio interface incompatibility. Since 1.18. + * @QMI_WMS_CDMA_CAUSE_CODE_RADIO_INTERFACE_OTHER: Other radio interface error. Since 1.18. + * @QMI_WMS_CDMA_CAUSE_CODE_GENERAL_ENCODING: Encoding error. Since 1.18. + * @QMI_WMS_CDMA_CAUSE_CODE_GENERAL_SMS_ORIGIN_DENIED: SMS origin denied. Since 1.18. + * @QMI_WMS_CDMA_CAUSE_CODE_GENERAL_SMS_DESTINATION_DENIED: SMS destination denied. Since 1.18. + * @QMI_WMS_CDMA_CAUSE_CODE_GENERAL_SUPPLEMENTARY_SERVICE_NOT_SUPPORTED: Supplementary service not supported. Since 1.18. + * @QMI_WMS_CDMA_CAUSE_CODE_GENERAL_SMS_NOT_SUPPORTED: SMS not supported. Since 1.18. + * @QMI_WMS_CDMA_CAUSE_CODE_GENERAL_MISSING_EXPECTED_PARAMETER: Missing optional expected parameter. Since 1.18. + * @QMI_WMS_CDMA_CAUSE_CODE_GENERAL_MISSING_MANDATORY_PARAMETER: Missing mandatory parameter. Since 1.18. + * @QMI_WMS_CDMA_CAUSE_CODE_GENERAL_UNRECOGNIZED_PARAMETER_VALUE: Unrecognized parameter value. Since 1.18. + * @QMI_WMS_CDMA_CAUSE_CODE_GENERAL_UNEXPECTED_PARAMETER_VALUE: Unexpected parameter value. Since 1.18. + * @QMI_WMS_CDMA_CAUSE_CODE_GENERAL_USER_DATA_SIZE_ERROR: User data size error. Since 1.18. + * @QMI_WMS_CDMA_CAUSE_CODE_GENERAL_OTHER: Other general error. Since 1.18. * * Cause codes when failed to send an SMS in CDMA. + * + * Since: 1.0 */ -typedef enum { +typedef enum { /*< since=1.0 >*/ /* Network errors */ - QMI_WDS_CDMA_CAUSE_CODE_NETWORK_ADDRESS_VACANT = 0x00, - QMI_WDS_CDMA_CAUSE_CODE_NETWORK_ADDRESS_TRANSLATION_FAILURE = 0x01, - QMI_WDS_CDMA_CAUSE_CODE_NETWORK_RESOURCE_SHORTAGE = 0x02, - QMI_WDS_CDMA_CAUSE_CODE_NETWORK_FAILURE = 0x03, - QMI_WDS_CDMA_CAUSE_CODE_NETWORK_INVALID_TELESERVICE_ID = 0x04, - QMI_WDS_CDMA_CAUSE_CODE_NETWORK_OTHER = 0x05, + QMI_WMS_CDMA_CAUSE_CODE_NETWORK_ADDRESS_VACANT = 0x00, + QMI_WMS_CDMA_CAUSE_CODE_NETWORK_ADDRESS_TRANSLATION_FAILURE = 0x01, + QMI_WMS_CDMA_CAUSE_CODE_NETWORK_RESOURCE_SHORTAGE = 0x02, + QMI_WMS_CDMA_CAUSE_CODE_NETWORK_FAILURE = 0x03, + QMI_WMS_CDMA_CAUSE_CODE_NETWORK_INVALID_TELESERVICE_ID = 0x04, + QMI_WMS_CDMA_CAUSE_CODE_NETWORK_OTHER = 0x05, /* Destination errors */ - QMI_WDS_CDMA_CAUSE_CODE_DESTINATION_NO_PAGE_RESPONSE = 0x20, - QMI_WDS_CDMA_CAUSE_CODE_DESTINATION_BUSY = 0x21, - QMI_WDS_CDMA_CAUSE_CODE_DESTINATION_NO_ACK = 0x22, - QMI_WDS_CDMA_CAUSE_CODE_DESTINATION_RESOURCE_SHORTAGE = 0x23, - QMI_WDS_CDMA_CAUSE_CODE_DESTINATION_SMS_DELIVERY_POSTPONED = 0x24, - QMI_WDS_CDMA_CAUSE_CODE_DESTINATION_OUT_OF_SERVICE = 0x25, - QMI_WDS_CDMA_CAUSE_CODE_DESTINATION_NOT_AT_ADDRESS = 0x26, - QMI_WDS_CDMA_CAUSE_CODE_DESTINATION_OTHER = 0x27, + QMI_WMS_CDMA_CAUSE_CODE_DESTINATION_NO_PAGE_RESPONSE = 0x20, + QMI_WMS_CDMA_CAUSE_CODE_DESTINATION_BUSY = 0x21, + QMI_WMS_CDMA_CAUSE_CODE_DESTINATION_NO_ACK = 0x22, + QMI_WMS_CDMA_CAUSE_CODE_DESTINATION_RESOURCE_SHORTAGE = 0x23, + QMI_WMS_CDMA_CAUSE_CODE_DESTINATION_SMS_DELIVERY_POSTPONED = 0x24, + QMI_WMS_CDMA_CAUSE_CODE_DESTINATION_OUT_OF_SERVICE = 0x25, + QMI_WMS_CDMA_CAUSE_CODE_DESTINATION_NOT_AT_ADDRESS = 0x26, + QMI_WMS_CDMA_CAUSE_CODE_DESTINATION_OTHER = 0x27, /* Radio Interface errors */ - QMI_WDS_CDMA_CAUSE_CODE_RADIO_INTERFACE_RESOURCE_SHORTAGE = 0x40, - QMI_WDS_CDMA_CAUSE_CODE_RADIO_INTERFACE_INCOMPATIBILITY = 0x41, - QMI_WDS_CDMA_CAUSE_CODE_RADIO_INTERFACE_OTHER = 0x42, + QMI_WMS_CDMA_CAUSE_CODE_RADIO_INTERFACE_RESOURCE_SHORTAGE = 0x40, + QMI_WMS_CDMA_CAUSE_CODE_RADIO_INTERFACE_INCOMPATIBILITY = 0x41, + QMI_WMS_CDMA_CAUSE_CODE_RADIO_INTERFACE_OTHER = 0x42, /* General errors */ - QMI_WDS_CDMA_CAUSE_CODE_GENERAL_ENCODING = 0x60, - QMI_WDS_CDMA_CAUSE_CODE_GENERAL_SMS_ORIGIN_DENIED = 0x61, - QMI_WDS_CDMA_CAUSE_CODE_GENERAL_SMS_DESTINATION_DENIED = 0x62, - QMI_WDS_CDMA_CAUSE_CODE_GENERAL_SUPPLEMENTARY_SERVICE_NOT_SUPPORTED = 0x63, - QMI_WDS_CDMA_CAUSE_CODE_GENERAL_SMS_NOT_SUPPORTED = 0x64, - QMI_WDS_CDMA_CAUSE_CODE_GENERAL_MISSING_EXPECTED_PARAMETER = 0x65, - QMI_WDS_CDMA_CAUSE_CODE_GENERAL_MISSING_MANDATORY_PARAMETER = 0x66, - QMI_WDS_CDMA_CAUSE_CODE_GENERAL_UNRECOGNIZED_PARAMETER_VALUE = 0x67, - QMI_WDS_CDMA_CAUSE_CODE_GENERAL_UNEXPECTED_PARAMETER_VALUE = 0x68, - QMI_WDS_CDMA_CAUSE_CODE_GENERAL_USER_DATA_SIZE_ERROR = 0x69, - QMI_WDS_CDMA_CAUSE_CODE_GENERAL_OTHER = 0x6A + QMI_WMS_CDMA_CAUSE_CODE_GENERAL_ENCODING = 0x60, + QMI_WMS_CDMA_CAUSE_CODE_GENERAL_SMS_ORIGIN_DENIED = 0x61, + QMI_WMS_CDMA_CAUSE_CODE_GENERAL_SMS_DESTINATION_DENIED = 0x62, + QMI_WMS_CDMA_CAUSE_CODE_GENERAL_SUPPLEMENTARY_SERVICE_NOT_SUPPORTED = 0x63, + QMI_WMS_CDMA_CAUSE_CODE_GENERAL_SMS_NOT_SUPPORTED = 0x64, + QMI_WMS_CDMA_CAUSE_CODE_GENERAL_MISSING_EXPECTED_PARAMETER = 0x65, + QMI_WMS_CDMA_CAUSE_CODE_GENERAL_MISSING_MANDATORY_PARAMETER = 0x66, + QMI_WMS_CDMA_CAUSE_CODE_GENERAL_UNRECOGNIZED_PARAMETER_VALUE = 0x67, + QMI_WMS_CDMA_CAUSE_CODE_GENERAL_UNEXPECTED_PARAMETER_VALUE = 0x68, + QMI_WMS_CDMA_CAUSE_CODE_GENERAL_USER_DATA_SIZE_ERROR = 0x69, + QMI_WMS_CDMA_CAUSE_CODE_GENERAL_OTHER = 0x6A } QmiWmsCdmaCauseCode; /** * QmiWmsCdmaErrorClass: - * @QMI_WMS_CDMA_ERROR_CLASS_TEMPORARY: Temporary error. - * @QMI_WMS_CDMA_ERROR_CLASS_PERMANENT: Permanent error. + * @QMI_WMS_CDMA_ERROR_CLASS_TEMPORARY: Temporary error reported by network. + * @QMI_WMS_CDMA_ERROR_CLASS_PERMANENT: Permanent error reported by network. + * @QMI_WMS_CDMA_ERROR_CLASS_TEMPORARY_DEVICE: Temporary error reported by device. Since 1.28. + * @QMI_WMS_CDMA_ERROR_CLASS_PERMANENT_DEVICE: Permanent error reported by device. Since 1.28. + * + * Error class reported from the network when failed to send an SMS in CDMA, + * or reported by the device when failed to process a transfer-only CDMA message. * - * Error class when failed to send an SMS in CDMA. + * Since: 1.0 */ -typedef enum { - QMI_WMS_CDMA_ERROR_CLASS_TEMPORARY = 0x00, - QMI_WMS_CDMA_ERROR_CLASS_PERMANENT = 0x01 +typedef enum { /*< since=1.0 >*/ + QMI_WMS_CDMA_ERROR_CLASS_TEMPORARY = 0x00, + QMI_WMS_CDMA_ERROR_CLASS_PERMANENT = 0x01, + QMI_WMS_CDMA_ERROR_CLASS_TEMPORARY_DEVICE = 0x02, + QMI_WMS_CDMA_ERROR_CLASS_PERMANENT_DEVICE = 0x03, } QmiWmsCdmaErrorClass; /** @@ -230,8 +251,10 @@ typedef enum { * @QMI_WMS_GSM_UMTS_RP_CAUSE_INTERWORKING: Interworking error. * * RP cause codes when failed to send an SMS in GSM/WCDMA. + * + * Since: 1.0 */ -typedef enum { +typedef enum { /*< since=1.0 >*/ QMI_WMS_GSM_UMTS_RP_CAUSE_UNASSIGNED_NUMBER = 0x01, QMI_WMS_GSM_UMTS_RP_CAUSE_OPERATOR_DETERMINED_BARRING = 0x08, QMI_WMS_GSM_UMTS_RP_CAUSE_CALL_BARRED = 0x0A, @@ -288,8 +311,10 @@ typedef enum { * @QMI_WMS_GSM_UMTS_TP_CAUSE_UNSPECIFIED_ERROR: Unspecified error. * * RT cause codes when failed to send an SMS in GSM/WCDMA. + * + * Since: 1.0 */ -typedef enum { +typedef enum { /*< since=1.0 >*/ QMI_WMS_GSM_UMTS_TP_CAUSE_TELE_INTERWORKING_NOT_SUPPORTED = 0x80, QMI_WMS_GSM_UMTS_TP_CAUSE_SHORT_MESSAGE_TYPE_0_NOT_SUPPORTED = 0x81, QMI_WMS_GSM_UMTS_TP_CAUSE_SHORT_MESSAGE_CANNOT_BE_REPLACED = 0x82, @@ -324,8 +349,10 @@ typedef enum { * @QMI_WMS_MESSAGE_DELIVERY_FAILURE_TYPE_PERMANENT: Permanent failure. * * Type of message delivery failure. + * + * Since: 1.0 */ -typedef enum { +typedef enum { /*< since=1.0 >*/ QMI_WMS_MESSAGE_DELIVERY_FAILURE_TYPE_TEMPORARY = 0x00, QMI_WMS_MESSAGE_DELIVERY_FAILURE_TYPE_PERMANENT = 0x01 } QmiWmsMessageDeliveryFailureType; @@ -341,8 +368,10 @@ typedef enum { * @QMI_WMS_MESSAGE_TAG_TYPE_MO_NOT_SENT: Not yet sent SMS. * * Type of message tag. + * + * Since: 1.0 */ -typedef enum { +typedef enum { /*< since=1.0 >*/ QMI_WMS_MESSAGE_TAG_TYPE_MT_READ = 0x00, QMI_WMS_MESSAGE_TAG_TYPE_MT_NOT_READ = 0x01, QMI_WMS_MESSAGE_TAG_TYPE_MO_SENT = 0x02, @@ -355,8 +384,10 @@ typedef enum { * @QMI_WMS_MESSAGE_PROTOCOL_WCDMA: WCDMA. * * Type of message protocol. + * + * Since: 1.0 */ -typedef enum { +typedef enum { /*< since=1.0 >*/ QMI_WMS_MESSAGE_PROTOCOL_CDMA = 0x00, QMI_WMS_MESSAGE_PROTOCOL_WCDMA = 0x01 } QmiWmsMessageProtocol; @@ -369,8 +400,10 @@ typedef enum { * @QMI_WMS_MESSAGE_TYPE_POINT_TO_POINT: Point to point message. * * Type of message. + * + * Since: 1.0 */ -typedef enum { +typedef enum { /*< since=1.0 >*/ QMI_WMS_MESSAGE_TYPE_POINT_TO_POINT = 0x00 } QmiWmsMessageType; @@ -384,8 +417,10 @@ typedef enum { * @QMI_WMS_MESSAGE_CLASS_CDMA: Class CDMA. * * Message class. + * + * Since: 1.0 */ -typedef enum { +typedef enum { /*< since=1.0 >*/ QMI_WMS_MESSAGE_CLASS_0 = 0x00, QMI_WMS_MESSAGE_CLASS_1 = 0x01, QMI_WMS_MESSAGE_CLASS_2 = 0x02, @@ -403,8 +438,10 @@ typedef enum { * @QMI_WMS_RECEIPT_ACTION_UNKNOWN: Unknown action. * * Action to perform when a message is received. + * + * Since: 1.0 */ -typedef enum { +typedef enum { /*< since=1.0 >*/ QMI_WMS_RECEIPT_ACTION_DISCARD = 0x00, QMI_WMS_RECEIPT_ACTION_STORE_AND_NOTIFY = 0x01, QMI_WMS_RECEIPT_ACTION_TRANSFER_ONLY = 0x02, @@ -417,9 +454,27 @@ typedef enum { * @QMI_WMS_TRANSFER_INDICATION_CLIENT: Status reports transferred to the client. * * Transfer indication actions. + * + * Since: 1.0 */ -typedef enum { +typedef enum { /*< since=1.0 >*/ QMI_WMS_TRANSFER_INDICATION_CLIENT = 0x01 } QmiWmsTransferIndication; +/** + * QmiWmsAckFailureCause: + * @QMI_WMS_ACK_FAILURE_CAUSE_NO_NETWORK_RESPONSE: No network response. + * @QMI_WMS_ACK_FAILURE_CAUSE_NETWORK_RELEASED_LINK: Network released link. + * @QMI_WMS_ACK_FAILURE_CAUSE_NOT_SENT: Not sent. + * + * Ack failure cause. + * + * Since: 1.28 + */ +typedef enum { /*< since=1.28 >*/ + QMI_WMS_ACK_FAILURE_CAUSE_NO_NETWORK_RESPONSE = 0x00, + QMI_WMS_ACK_FAILURE_CAUSE_NETWORK_RELEASED_LINK = 0x01, + QMI_WMS_ACK_FAILURE_CAUSE_NOT_SENT = 0x02, +} QmiWmsAckFailureCause; + #endif /* _LIBQMI_GLIB_QMI_ENUMS_WMS_H_ */ diff --git a/qmi-enums.h b/qmi-enums.h index 3cd8de3..250d852 100644 --- a/qmi-enums.h +++ b/qmi-enums.h @@ -18,6 +18,7 @@ * Boston, MA 02110-1301 USA. * * Copyright (C) 2012 Google, Inc. + * Copyright (C) 2012-2017 Aleksander Morgado */ #ifndef _LIBQMI_GLIB_QMI_ENUMS_H_ @@ -25,7 +26,6 @@ /** * SECTION: qmi-enums - * @title: Common enumerations and flags * * This section defines common enumerations and flags used in the interface. */ @@ -46,90 +46,168 @@ * @QMI_SERVICE_CAT2: Card Application Toolkit service (v2). * @QMI_SERVICE_UIM: User Identity Module service. * @QMI_SERVICE_PBM: Phonebook Management service. - * @QMI_SERVICE_QCHAT: QCHAT service. + * @QMI_SERVICE_QCHAT: QCHAT service. Since: 1.8. * @QMI_SERVICE_RMTFS: Remote file system service. - * @QMI_SERVICE_TEST: Test service. + * @QMI_SERVICE_TEST: Test service. Since: 1.8. * @QMI_SERVICE_LOC: Location service (~ PDS v2). * @QMI_SERVICE_SAR: Service access proxy service. - * @QMI_SERVICE_IMS: IMS settings service. - * @QMI_SERVICE_ADC: Analog to digital converter driver service. - * @QMI_SERVICE_CSD: Core sound driver service. - * @QMI_SERVICE_MFS: Modem embedded file system service. - * @QMI_SERVICE_TIME: Time service. - * @QMI_SERVICE_TS: Thermal sensors service. - * @QMI_SERVICE_TMD: Thermal mitigation device service. - * @QMI_SERVICE_SAP: Service access proxy service. - * @QMI_SERVICE_WDA: Wireless data administrative service. - * @QMI_SERVICE_TSYNC: TSYNC control service. - * @QMI_SERVICE_RFSA: Remote file system access service. - * @QMI_SERVICE_CSVT: Circuit switched videotelephony service. - * @QMI_SERVICE_QCMAP: Qualcomm mobile access point service. - * @QMI_SERVICE_IMSP: IMS presence service. - * @QMI_SERVICE_IMSVT: IMS videotelephony service. - * @QMI_SERVICE_IMSA: IMS application service. - * @QMI_SERVICE_COEX: Coexistence service. - * @QMI_SERVICE_PDC: Persistent device configuration service. - * @QMI_SERVICE_STX: Simultaneous transmit service. - * @QMI_SERVICE_BIT: Bearer independent transport service. - * @QMI_SERVICE_IMSRTP: IMS RTP service. - * @QMI_SERVICE_RFRPE: RF radiated performance enhancement service. - * @QMI_SERVICE_DSD: Data system determination service. - * @QMI_SERVICE_SSCTL: Subsystem control service. + * @QMI_SERVICE_IMS: IMS settings service. Since: 1.8. + * @QMI_SERVICE_ADC: Analog to digital converter driver service. Since: 1.8. + * @QMI_SERVICE_CSD: Core sound driver service. Since: 1.8. + * @QMI_SERVICE_MFS: Modem embedded file system service. Since: 1.8. + * @QMI_SERVICE_TIME: Time service. Since: 1.8. + * @QMI_SERVICE_TS: Thermal sensors service. Since: 1.8. + * @QMI_SERVICE_TMD: Thermal mitigation device service. Since: 1.8. + * @QMI_SERVICE_SAP: Service access proxy service. Since: 1.8. + * @QMI_SERVICE_WDA: Wireless data administrative service. Since: 1.8. + * @QMI_SERVICE_TSYNC: TSYNC control service. Since: 1.8. + * @QMI_SERVICE_RFSA: Remote file system access service. Since: 1.8. + * @QMI_SERVICE_CSVT: Circuit switched videotelephony service. Since: 1.8. + * @QMI_SERVICE_QCMAP: Qualcomm mobile access point service. Since: 1.8. + * @QMI_SERVICE_IMSP: IMS presence service. Since: 1.8. + * @QMI_SERVICE_IMSVT: IMS videotelephony service. Since: 1.8. + * @QMI_SERVICE_IMSA: IMS application service. Since: 1.8. + * @QMI_SERVICE_COEX: Coexistence service. Since: 1.8. + * @QMI_SERVICE_PDC: Persistent device configuration service. Since: 1.8. + * @QMI_SERVICE_STX: Simultaneous transmit service. Since: 1.8. + * @QMI_SERVICE_BIT: Bearer independent transport service. Since: 1.8. + * @QMI_SERVICE_IMSRTP: IMS RTP service. Since: 1.8. + * @QMI_SERVICE_RFRPE: RF radiated performance enhancement service. Since: 1.8. + * @QMI_SERVICE_DSD: Data system determination service. Since: 1.8. + * @QMI_SERVICE_SSCTL: Subsystem control service. Since: 1.8. + * @QMI_SERVICE_DPM: Data Port Mapper service. Since: 1.30. * @QMI_SERVICE_CAT: Card Application Toolkit service (v1). * @QMI_SERVICE_RMS: Remote Management Service. * @QMI_SERVICE_OMA: Open Mobile Alliance device management service. + * @QMI_SERVICE_FOTA: Firmware Over The Air service. Since: 1.24. + * @QMI_SERVICE_GMS: Telit General Modem Service. Since: 1.24. + * @QMI_SERVICE_GAS: Telit General Application Service. Since: 1.24. * * QMI services. + * + * Since: 1.0 */ -typedef enum { +typedef enum { /*< since=1.0 >*/ QMI_SERVICE_UNKNOWN = -1, - QMI_SERVICE_CTL = 0, - QMI_SERVICE_WDS = 1, - QMI_SERVICE_DMS = 2, - QMI_SERVICE_NAS = 3, - QMI_SERVICE_QOS = 4, - QMI_SERVICE_WMS = 5, - QMI_SERVICE_PDS = 6, - QMI_SERVICE_AUTH = 7, - QMI_SERVICE_AT = 8, - QMI_SERVICE_VOICE = 9, - QMI_SERVICE_CAT2 = 10, - QMI_SERVICE_UIM = 11, - QMI_SERVICE_PBM = 12, - QMI_SERVICE_QCHAT = 13, - QMI_SERVICE_RMTFS = 14, - QMI_SERVICE_TEST = 15, - QMI_SERVICE_LOC = 16, - QMI_SERVICE_SAR = 17, - QMI_SERVICE_IMS = 18, - QMI_SERVICE_ADC = 19, - QMI_SERVICE_CSD = 20, - QMI_SERVICE_MFS = 21, - QMI_SERVICE_TIME = 22, - QMI_SERVICE_TS = 23, - QMI_SERVICE_TMD = 24, - QMI_SERVICE_SAP = 25, - QMI_SERVICE_WDA = 26, - QMI_SERVICE_TSYNC = 27, - QMI_SERVICE_RFSA = 28, - QMI_SERVICE_CSVT = 29, - QMI_SERVICE_QCMAP = 30, - QMI_SERVICE_IMSP = 31, - QMI_SERVICE_IMSVT = 32, - QMI_SERVICE_IMSA = 33, - QMI_SERVICE_COEX = 34, - /* 35, reserved */ - QMI_SERVICE_PDC = 36, - /* 37, reserved */ - QMI_SERVICE_STX = 38, - QMI_SERVICE_BIT = 39, - QMI_SERVICE_IMSRTP = 40, - QMI_SERVICE_RFRPE = 41, - QMI_SERVICE_DSD = 42, - QMI_SERVICE_SSCTL = 43, - QMI_SERVICE_CAT = 224, - QMI_SERVICE_RMS = 225, - QMI_SERVICE_OMA = 226 + QMI_SERVICE_CTL = 0x00, + QMI_SERVICE_WDS = 0x01, + QMI_SERVICE_DMS = 0x02, + QMI_SERVICE_NAS = 0x03, + QMI_SERVICE_QOS = 0x04, + QMI_SERVICE_WMS = 0x05, + QMI_SERVICE_PDS = 0x06, + QMI_SERVICE_AUTH = 0x07, + QMI_SERVICE_AT = 0x08, + QMI_SERVICE_VOICE = 0x09, + QMI_SERVICE_CAT2 = 0x0A, + QMI_SERVICE_UIM = 0x0B, + QMI_SERVICE_PBM = 0x0C, + QMI_SERVICE_QCHAT = 0x0D, + QMI_SERVICE_RMTFS = 0x0E, + QMI_SERVICE_TEST = 0x0F, + QMI_SERVICE_LOC = 0x10, + QMI_SERVICE_SAR = 0x11, + QMI_SERVICE_IMS = 0x12, + QMI_SERVICE_ADC = 0x13, + QMI_SERVICE_CSD = 0x14, + QMI_SERVICE_MFS = 0x15, + QMI_SERVICE_TIME = 0x16, + QMI_SERVICE_TS = 0x17, + QMI_SERVICE_TMD = 0x18, + QMI_SERVICE_SAP = 0x19, + QMI_SERVICE_WDA = 0x1A, + QMI_SERVICE_TSYNC = 0x1B, + QMI_SERVICE_RFSA = 0x1C, + QMI_SERVICE_CSVT = 0x1D, + QMI_SERVICE_QCMAP = 0x1E, + QMI_SERVICE_IMSP = 0x1F, + QMI_SERVICE_IMSVT = 0x20, + QMI_SERVICE_IMSA = 0x21, + QMI_SERVICE_COEX = 0x22, + /* 0x23, reserved */ + QMI_SERVICE_PDC = 0x24, + /* 0x25, reserved */ + QMI_SERVICE_STX = 0x26, + QMI_SERVICE_BIT = 0x27, + QMI_SERVICE_IMSRTP = 0x28, + QMI_SERVICE_RFRPE = 0x29, + QMI_SERVICE_DSD = 0x2A, + QMI_SERVICE_SSCTL = 0x2B, + QMI_SERVICE_DPM = 0x2F, + QMI_SERVICE_CAT = 0xE0, + QMI_SERVICE_RMS = 0xE1, + QMI_SERVICE_OMA = 0xE2, + QMI_SERVICE_FOTA = 0xE6, + QMI_SERVICE_GMS = 0xE7, + QMI_SERVICE_GAS = 0xE8, } QmiService; +/** + * QmiEndian: + * @QMI_ENDIAN_LITTLE: Little endian. + * @QMI_ENDIAN_BIG: Big endian. + * + * Type of endianness. + * + * Since: 1.0 + */ +typedef enum { /*< since=1.28 >*/ /* the get_string() helper and QmiEndian type added in 1.28 */ + QMI_ENDIAN_LITTLE = 0, + QMI_ENDIAN_BIG = 1 +} QmiEndian; + +/** + * QmiDataEndpointType: + * @QMI_DATA_ENDPOINT_TYPE_UNKNOWN: Unknown. Since 1.30. + * @QMI_DATA_ENDPOINT_TYPE_HSIC: High-speed inter-chip interface. Since 1.30. + * @QMI_DATA_ENDPOINT_TYPE_HSUSB: High-speed USB. + * @QMI_DATA_ENDPOINT_TYPE_PCIE: PCIe. Since: 1.28. + * @QMI_DATA_ENDPOINT_TYPE_EMBEDDED: Embedded. Since 1.28. + * @QMI_DATA_ENDPOINT_TYPE_BAM_DMUX: BAM/DMUX. Since 1.30. + * @QMI_DATA_ENDPOINT_TYPE_UNDEFINED: Undefined. + * + * Data Endpoint Type. + * + * Since: 1.18 + */ +typedef enum { /*< since=1.18 >*/ + QMI_DATA_ENDPOINT_TYPE_UNKNOWN = 0x00, + QMI_DATA_ENDPOINT_TYPE_HSIC = 0x01, + QMI_DATA_ENDPOINT_TYPE_HSUSB = 0x02, + QMI_DATA_ENDPOINT_TYPE_PCIE = 0x03, + QMI_DATA_ENDPOINT_TYPE_EMBEDDED = 0x04, + QMI_DATA_ENDPOINT_TYPE_BAM_DMUX = 0x05, + QMI_DATA_ENDPOINT_TYPE_UNDEFINED = 0xFF, +} QmiDataEndpointType; + +/** + * QmiSioPort: + * @QMI_SIO_PORT_NONE: Invalid port number. + * @QMI_SIO_PORT_A2_MUX_RMNET0: A2 MUX (BAM-DMUX) port for rmnet0. + * @QMI_SIO_PORT_A2_MUX_RMNET1: A2 MUX (BAM-DMUX) port for rmnet1. + * @QMI_SIO_PORT_A2_MUX_RMNET2: A2 MUX (BAM-DMUX) port for rmnet2. + * @QMI_SIO_PORT_A2_MUX_RMNET3: A2 MUX (BAM-DMUX) port for rmnet3. + * @QMI_SIO_PORT_A2_MUX_RMNET4: A2 MUX (BAM-DMUX) port for rmnet4. + * @QMI_SIO_PORT_A2_MUX_RMNET5: A2 MUX (BAM-DMUX) port for rmnet5. + * @QMI_SIO_PORT_A2_MUX_RMNET6: A2 MUX (BAM-DMUX) port for rmnet6. + * @QMI_SIO_PORT_A2_MUX_RMNET7: A2 MUX (BAM-DMUX) port for rmnet7. + * + * SIO (serial I/O) port numbers. All ports available in the modem have a SIO + * port number. This enum is incomplete, only few port numbers are publicly + * known. + * + * Since: 1.28 + */ +typedef enum { /*< since=1.28 >*/ + QMI_SIO_PORT_NONE = 0x0000, + QMI_SIO_PORT_A2_MUX_RMNET0 = 0x0e04, + QMI_SIO_PORT_A2_MUX_RMNET1 = 0x0e05, + QMI_SIO_PORT_A2_MUX_RMNET2 = 0x0e06, + QMI_SIO_PORT_A2_MUX_RMNET3 = 0x0e07, + QMI_SIO_PORT_A2_MUX_RMNET4 = 0x0e08, + QMI_SIO_PORT_A2_MUX_RMNET5 = 0x0e09, + QMI_SIO_PORT_A2_MUX_RMNET6 = 0x0e0a, + QMI_SIO_PORT_A2_MUX_RMNET7 = 0x0e0b, +} QmiSioPort; + #endif /* _LIBQMI_GLIB_QMI_ENUMS_H_ */ diff --git a/qmi-errors.h b/qmi-errors.h index c3c520b..15614af 100644 --- a/qmi-errors.h +++ b/qmi-errors.h @@ -17,7 +17,7 @@ * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * Boston, MA 02110-1301 USA. * - * Copyright (C) 2012 Aleksander Morgado + * Copyright (C) 2012-2017 Aleksander Morgado */ #ifndef _LIBQMI_GLIB_QMI_ERRORS_H_ @@ -25,11 +25,37 @@ /** * SECTION: qmi-errors - * @title: Errors * * This section defines common error types used in the interface. */ +/** + * QMI_DBUS_ERROR_PREFIX: + * + * Symbol defining the common string prefix used for all libqmi errors in DBus. + * + * Since: 1.0 + */ +#define QMI_DBUS_ERROR_PREFIX "org.freedesktop.libqmi.Error" + +/** + * QMI_CORE_ERROR_DBUS_PREFIX: + * + * Symbol defining the common string prefix used for all #QmiCoreError errors in DBus. + * + * Since: 1.0 + */ +#define QMI_CORE_ERROR_DBUS_PREFIX QMI_DBUS_ERROR_PREFIX ".Core" + +/** + * QMI_PROTOCOL_ERROR_DBUS_PREFIX: + * + * Symbol defining the common string prefix used for all #QmiProtocolError errors in DBus. + * + * Since: 1.0 + */ +#define QMI_PROTOCOL_ERROR_DBUS_PREFIX QMI_DBUS_ERROR_PREFIX ".Protocol" + /** * QmiCoreError: * @QMI_CORE_ERROR_FAILED: Operation failed. @@ -40,18 +66,26 @@ * @QMI_CORE_ERROR_TLV_NOT_FOUND: TLV not found. * @QMI_CORE_ERROR_TLV_TOO_LONG: TLV is too long. * @QMI_CORE_ERROR_UNSUPPORTED: Not supported. + * @QMI_CORE_ERROR_TLV_EMPTY: TLV has no value. Empty TLVs are not a real error, so this error type is never generated. Since: 1.12. Deprecated: 1.22. + * @QMI_CORE_ERROR_UNEXPECTED_MESSAGE: QMI message is unexpected. Since: 1.16. + * @QMI_CORE_ERROR_INVALID_DATA: Invalid data found in the message. Since: 1.24.6. * * Common errors that may be reported by libqmi-glib. + * + * Since: 1.0 */ -typedef enum { /*< underscore_name=qmi_core_error >*/ - QMI_CORE_ERROR_FAILED = 0, /*< nick=Failed >*/ - QMI_CORE_ERROR_WRONG_STATE = 1, /*< nick=WrongState >*/ - QMI_CORE_ERROR_TIMEOUT = 2, /*< nick=Timeout >*/ - QMI_CORE_ERROR_INVALID_ARGS = 3, /*< nick=InvalidArgs >*/ - QMI_CORE_ERROR_INVALID_MESSAGE = 4, /*< nick=InvalidMessage >*/ - QMI_CORE_ERROR_TLV_NOT_FOUND = 5, /*< nick=TlvNotFound >*/ - QMI_CORE_ERROR_TLV_TOO_LONG = 6, /*< nick=TlvTooLong >*/ - QMI_CORE_ERROR_UNSUPPORTED = 7 /*< nick=Unsupported >*/ +typedef enum { /*< since=1.0 >*/ + QMI_CORE_ERROR_FAILED = 0, /*< nick=Failed >*/ + QMI_CORE_ERROR_WRONG_STATE = 1, /*< nick=WrongState >*/ + QMI_CORE_ERROR_TIMEOUT = 2, /*< nick=Timeout >*/ + QMI_CORE_ERROR_INVALID_ARGS = 3, /*< nick=InvalidArgs >*/ + QMI_CORE_ERROR_INVALID_MESSAGE = 4, /*< nick=InvalidMessage >*/ + QMI_CORE_ERROR_TLV_NOT_FOUND = 5, /*< nick=TlvNotFound >*/ + QMI_CORE_ERROR_TLV_TOO_LONG = 6, /*< nick=TlvTooLong >*/ + QMI_CORE_ERROR_UNSUPPORTED = 7, /*< nick=Unsupported >*/ + QMI_CORE_ERROR_TLV_EMPTY = 8, /*< nick=TlvEmpty >*/ + QMI_CORE_ERROR_UNEXPECTED_MESSAGE = 9, /*< nick=UnexpectedMessage >*/ + QMI_CORE_ERROR_INVALID_DATA = 10, /*< nick=InvalidData >*/ } QmiCoreError; /** @@ -95,8 +129,10 @@ typedef enum { /*< underscore_name=qmi_core_error >*/ * @QMI_PROTOCOL_ERROR_INCORRECT_FLOW_FILTER: Incorrect flow filter. * @QMI_PROTOCOL_ERROR_NETWORK_QOS_UNAWARE: Network QoS unaware. * @QMI_PROTOCOL_ERROR_INVALID_QOS_ID: Invalid QoS ID. - * @QMI_PROTOCOL_ERROR_QOS_UNAVAILABLE: QoS unavailable. + * @QMI_PROTOCOL_ERROR_REQUESTED_NUMBER_UNSUPPORTED: Requested number unsupported. Since: 1.22. + * @QMI_PROTOCOL_ERROR_INTERFACE_NOT_FOUND: Interface not found. Since: 1.22. * @QMI_PROTOCOL_ERROR_FLOW_SUSPENDED: Flow suspended. + * @QMI_PROTOCOL_ERROR_INVALID_DATA_FORMAT: Invalid data format. Since: 1.22. * @QMI_PROTOCOL_ERROR_GENERAL_ERROR: General error. * @QMI_PROTOCOL_ERROR_UNKNOWN_ERROR: Unknown error. * @QMI_PROTOCOL_ERROR_INVALID_ARGUMENT: Invalid argument. @@ -112,6 +148,10 @@ typedef enum { /*< underscore_name=qmi_core_error >*/ * @QMI_PROTOCOL_ERROR_WMS_ENCODING: WMS encoding. * @QMI_PROTOCOL_ERROR_AUTHENTICATION_LOCK: Authentication lock. * @QMI_PROTOCOL_ERROR_INVALID_TRANSITION: Invalid transition. + * @QMI_PROTOCOL_ERROR_NOT_MCAST_INTERFACE: Not a multicast interface. Since: 1.22. + * @QMI_PROTOCOL_ERROR_MAXIMUM_MCAST_REQUESTS_IN_USE: Maximum multicast requests in use. Since: 1.22. + * @QMI_PROTOCOL_ERROR_INVALID_MCAST_HANDLE: Invalid mulitcast handle. Since: 1.22. + * @QMI_PROTOCOL_ERROR_INVALID_IP_FAMILY_PREFERENCE: Invalid IP family preference. Since: 1.22. * @QMI_PROTOCOL_ERROR_SESSION_INACTIVE: Session inactive. * @QMI_PROTOCOL_ERROR_SESSION_INVALID: Session invalid. * @QMI_PROTOCOL_ERROR_SESSION_OWNERSHIP: Session ownership. @@ -125,34 +165,51 @@ typedef enum { /*< underscore_name=qmi_core_error >*/ * @QMI_PROTOCOL_ERROR_SEGMENT_TOO_LONG: Segment too long. * @QMI_PROTOCOL_ERROR_SEGMENT_ORDER: Segment order. * @QMI_PROTOCOL_ERROR_BUNDLING_NOT_SUPPORTED: Bundling not supported. - * @QMI_PROTOCOL_ERROR_POLICY_MISMATCH: Policy mismatch. + * @QMI_PROTOCOL_ERROR_OPERATION_PARTIAL_FAILURE: Operation partial failure. Since: 1.22. + * @QMI_PROTOCOL_ERROR_POLICY_MISMATCH: Policy mismatch. Since: 1.6. * @QMI_PROTOCOL_ERROR_SIM_FILE_NOT_FOUND: SIM file not found. - * @QMI_PROTOCOL_ERROR_EXTENDED_INTERNAL: Extended internal error. + * @QMI_PROTOCOL_ERROR_EXTENDED_INTERNAL: Extended internal error. Since: 1.6. * @QMI_PROTOCOL_ERROR_ACCESS_DENIED: Access denied. * @QMI_PROTOCOL_ERROR_HARDWARE_RESTRICTED: Hardware restricted. - * @QMI_PROTOCOL_ERROR_ACK_NOT_SENT: ACK not sent. - * @QMI_PROTOCOL_ERROR_INJECT_TIMEOUT: Inject timeout. - * @QMI_PROTOCOL_ERROR_INCOMPATIBLE_STATE: Incompatible state. - * @QMI_PROTOCOL_ERROR_FDN_RESTRICT: FDN restrict. - * @QMI_PROTOCOL_ERROR_SUPS_FAILURE_CASE: SUPS failure case. - * @QMI_PROTOCOL_ERROR_NO_RADIO: No radio. - * @QMI_PROTOCOL_ERROR_NOT_SUPPORTED: Not supported. - * @QMI_PROTOCOL_ERROR_NO_SUBSCRIPTION: No subscription. - * @QMI_PROTOCOL_ERROR_CARD_CALL_CONTROL_FAILED: Card call control failed. - * @QMI_PROTOCOL_ERROR_NETWORK_ABORTED: Network aborted. - * @QMI_PROTOCOL_ERROR_MSG_BLOCKED: Message blocked. - * @QMI_PROTOCOL_ERROR_INVALID_SESSION_TYPE: Invalid session type. - * @QMI_PROTOCOL_ERROR_INVALID_PB_TYPE: Invalid PB type. - * @QMI_PROTOCOL_ERROR_NO_SIM: No SIM. - * @QMI_PROTOCOL_ERROR_PB_NOT_READY: PB not ready. - * @QMI_PROTOCOL_ERROR_PIN_RESTRICTION: PIN restriction. - * @QMI_PROTOCOL_ERROR_PIN2_RESTRICTION: PIN2 restriction. - * @QMI_PROTOCOL_ERROR_PUK_RESTRICTION: PUK restriction. - * @QMI_PROTOCOL_ERROR_PUK2_RESTRICTION: PUK2 restriction. - * @QMI_PROTOCOL_ERROR_PB_ACCESS_RESTRICTED: PB access restricted. - * @QMI_PROTOCOL_ERROR_PB_TEXT_TOO_LONG: PB text too long. - * @QMI_PROTOCOL_ERROR_PB_NUMBER_TOO_LONG: PB number too long. - * @QMI_PROTOCOL_ERROR_PB_HIDDEN_KEY_RESTRICTION: PB hidden key restriction. + * @QMI_PROTOCOL_ERROR_ACK_NOT_SENT: ACK not sent. Since: 1.6. + * @QMI_PROTOCOL_ERROR_INJECT_TIMEOUT: Inject timeout. Since: 1.6. + * @QMI_PROTOCOL_ERROR_INCOMPATIBLE_STATE: Incompatible state. Since: 1.6. + * @QMI_PROTOCOL_ERROR_FDN_RESTRICT: FDN restrict. Since: 1.6. + * @QMI_PROTOCOL_ERROR_SUPS_FAILURE_CASE: SUPS failure case. Since: 1.6. + * @QMI_PROTOCOL_ERROR_NO_RADIO: No radio. Since: 1.6. + * @QMI_PROTOCOL_ERROR_NOT_SUPPORTED: Not supported. Since: 1.6. + * @QMI_PROTOCOL_ERROR_NO_SUBSCRIPTION: No subscription. Since: 1.6. + * @QMI_PROTOCOL_ERROR_CARD_CALL_CONTROL_FAILED: Card call control failed. Since: 1.6. + * @QMI_PROTOCOL_ERROR_NETWORK_ABORTED: Network aborted. Since: 1.6. + * @QMI_PROTOCOL_ERROR_MSG_BLOCKED: Message blocked. Since: 1.6. + * @QMI_PROTOCOL_ERROR_INVALID_SESSION_TYPE: Invalid session type. Since: 1.6. + * @QMI_PROTOCOL_ERROR_INVALID_PB_TYPE: Invalid PB type. Since: 1.6. + * @QMI_PROTOCOL_ERROR_NO_SIM: No SIM. Since: 1.6. + * @QMI_PROTOCOL_ERROR_PB_NOT_READY: PB not ready. Since: 1.6. + * @QMI_PROTOCOL_ERROR_PIN_RESTRICTION: PIN restriction. Since: 1.6. + * @QMI_PROTOCOL_ERROR_PIN2_RESTRICTION: PIN2 restriction. Since: 1.6. + * @QMI_PROTOCOL_ERROR_PUK_RESTRICTION: PUK restriction. Since: 1.6. + * @QMI_PROTOCOL_ERROR_PUK2_RESTRICTION: PUK2 restriction. Since: 1.6. + * @QMI_PROTOCOL_ERROR_PB_ACCESS_RESTRICTED: PB access restricted. Since: 1.6. + * @QMI_PROTOCOL_ERROR_PB_DELETE_IN_PROGRESS: PB delete in progress. Since: 1.22. + * @QMI_PROTOCOL_ERROR_PB_TEXT_TOO_LONG: PB text too long. Since: 1.6. + * @QMI_PROTOCOL_ERROR_PB_NUMBER_TOO_LONG: PB number too long. Since: 1.6. + * @QMI_PROTOCOL_ERROR_PB_HIDDEN_KEY_RESTRICTION: PB hidden key restriction. Since: 1.6. + * @QMI_PROTOCOL_ERROR_PB_NOT_AVAILABLE: PB not available. Since: 1.22. + * @QMI_PROTOCOL_ERROR_DEVICE_MEMORY_ERROR: Device memory error. Since: 1.22. + * @QMI_PROTOCOL_ERROR_NO_PERMISSION: No permission. Since: 1.22. + * @QMI_PROTOCOL_ERROR_TOO_SOON: Too soon. Since: 1.22. + * @QMI_PROTOCOL_ERROR_TIME_NOT_ACQUIRED: Time not acquired. Since: 1.22. + * @QMI_PROTOCOL_ERROR_OPERATION_IN_PROGRESS: Operation in progress. Since: 1.22. + * @QMI_PROTOCOL_ERROR_FW_WRITE_FAILED: Firmware write failed. Since: 1.22. + * @QMI_PROTOCOL_ERROR_FW_INFO_READ_FAILED: Firmware info read failed. Since: 1.22. + * @QMI_PROTOCOL_ERROR_FW_FILE_NOT_FOUND: Firmware file not found. Since: 1.22. + * @QMI_PROTOCOL_ERROR_FW_DIR_NOT_FOUND: Firmware dir not found. Since: 1.22. + * @QMI_PROTOCOL_ERROR_FW_ALREADY_ACTIVATED: Firmware already activated. Since: 1.22. + * @QMI_PROTOCOL_ERROR_FW_CANNOT_GENERIC_IMAGE: Firmware cannot generic image. Since: 1.22. + * @QMI_PROTOCOL_ERROR_FW_FILE_OPEN_FAILED: Firmware file open failed. Since: 1.22. + * @QMI_PROTOCOL_ERROR_FW_UPDATE_DISCONTINUOUS_FRAME: Firmware update discontinuous frame. Since: 1.22. + * @QMI_PROTOCOL_ERROR_FW_UPDATE_FAILED: Firmware update failed. Since: 1.22. * @QMI_PROTOCOL_ERROR_CAT_EVENT_REGISTRATION_FAILED: Event registration failed. * @QMI_PROTOCOL_ERROR_CAT_INVALID_TERMINAL_RESPONSE: Invalid terminal response. * @QMI_PROTOCOL_ERROR_CAT_INVALID_ENVELOPE_COMMAND: Invalid envelope command. @@ -160,8 +217,10 @@ typedef enum { /*< underscore_name=qmi_core_error >*/ * @QMI_PROTOCOL_ERROR_CAT_ENVELOPE_COMMAND_FAILED: Envelope command failed. * * QMI protocol errors. + * + * Since: 1.0 */ -typedef enum { /*< underscore_name=qmi_protocol_error >*/ +typedef enum { /*< since=1.0 >*/ QMI_PROTOCOL_ERROR_NONE = 0, /*< nick=None >*/ QMI_PROTOCOL_ERROR_MALFORMED_MESSAGE = 1, /*< nick=MalformedMessage >*/ QMI_PROTOCOL_ERROR_NO_MEMORY = 2, /*< nick=NoMemory >*/ @@ -199,10 +258,12 @@ typedef enum { /*< underscore_name=qmi_protocol_error >*/ QMI_PROTOCOL_ERROR_UIM_UNINITIALIZED = 37, /*< nick=UimUninitialized >*/ QMI_PROTOCOL_ERROR_MAXIMUM_QOS_REQUESTS_IN_USE = 38, /*< nick=MaximumQosRequestsInUse >*/ QMI_PROTOCOL_ERROR_INCORRECT_FLOW_FILTER = 39, /*< nick=IncorrectFlowFilter >*/ - QMI_PROTOCOL_ERROR_NETWORK_QOS_UNAWARE = 40, /*< nick= NetworkQosUnaware >*/ + QMI_PROTOCOL_ERROR_NETWORK_QOS_UNAWARE = 40, /*< nick=NetworkQosUnaware >*/ QMI_PROTOCOL_ERROR_INVALID_QOS_ID = 41, /*< nick=InvalidQosId >*/ - QMI_PROTOCOL_ERROR_QOS_UNAVAILABLE = 42, /*< nick=QosUnavailable >*/ - QMI_PROTOCOL_ERROR_FLOW_SUSPENDED = 43, /*< nick=FlowSuspended >*/ + QMI_PROTOCOL_ERROR_REQUESTED_NUMBER_UNSUPPORTED = 42, /*< nick=RequestedNumberUnsupported >*/ + QMI_PROTOCOL_ERROR_INTERFACE_NOT_FOUND = 43, /*< nick=InterfaceNotFound >*/ + QMI_PROTOCOL_ERROR_FLOW_SUSPENDED = 44, /*< nick=FlowSuspended >*/ + QMI_PROTOCOL_ERROR_INVALID_DATA_FORMAT = 45, /*< nick=InvalidDataFormat >*/ QMI_PROTOCOL_ERROR_GENERAL_ERROR = 46, /*< nick=GeneralError >*/ QMI_PROTOCOL_ERROR_UNKNOWN_ERROR = 47, /*< nick=UnknownError >*/ QMI_PROTOCOL_ERROR_INVALID_ARGUMENT = 48, /*< nick=InvalidArgument >*/ @@ -211,13 +272,17 @@ typedef enum { /*< underscore_name=qmi_protocol_error >*/ QMI_PROTOCOL_ERROR_DEVICE_STORAGE_FULL = 51, /*< nick=DeviceStorageFull >*/ QMI_PROTOCOL_ERROR_DEVICE_NOT_READY = 52, /*< nick=DeviceNotReady >*/ QMI_PROTOCOL_ERROR_NETWORK_NOT_READY = 53, /*< nick=NetworkNotReady >*/ - QMI_PROTOCOL_ERROR_WMS_CAUSE_CODE = 54, /*< nick=Wms.CauseCode >*/ - QMI_PROTOCOL_ERROR_WMS_MESSAGE_NOT_SENT = 55, /*< nick=Wms.MessageNotSent >*/ - QMI_PROTOCOL_ERROR_WMS_MESSAGE_DELIVERY_FAILURE = 56, /*< nick=Wms.MessageDeliveryFailure >*/ - QMI_PROTOCOL_ERROR_WMS_INVALID_MESSAGE_ID = 57, /*< nick=Wms.InvalidMessageId >*/ - QMI_PROTOCOL_ERROR_WMS_ENCODING = 58, /*< nick=Wms.Encoding >*/ + QMI_PROTOCOL_ERROR_WMS_CAUSE_CODE = 54, /*< nick=WmsCauseCode >*/ + QMI_PROTOCOL_ERROR_WMS_MESSAGE_NOT_SENT = 55, /*< nick=WmsMessageNotSent >*/ + QMI_PROTOCOL_ERROR_WMS_MESSAGE_DELIVERY_FAILURE = 56, /*< nick=WmsMessageDeliveryFailure >*/ + QMI_PROTOCOL_ERROR_WMS_INVALID_MESSAGE_ID = 57, /*< nick=WmsInvalidMessageId >*/ + QMI_PROTOCOL_ERROR_WMS_ENCODING = 58, /*< nick=WmsEncoding >*/ QMI_PROTOCOL_ERROR_AUTHENTICATION_LOCK = 59, /*< nick=AuthenticationLock >*/ - QMI_PROTOCOL_ERROR_INVALID_TRANSITION = 60, /*< nick=InvalidTransaction >*/ + QMI_PROTOCOL_ERROR_INVALID_TRANSITION = 60, /*< nick=InvalidTransition >*/ + QMI_PROTOCOL_ERROR_NOT_MCAST_INTERFACE = 61, /*< nick=NotMcastInterface >*/ + QMI_PROTOCOL_ERROR_MAXIMUM_MCAST_REQUESTS_IN_USE = 62, /*< nick=MaximumMcastRequestsInUse >*/ + QMI_PROTOCOL_ERROR_INVALID_MCAST_HANDLE = 63, /*< nick=InvalidMcastHandle >*/ + QMI_PROTOCOL_ERROR_INVALID_IP_FAMILY_PREFERENCE = 64, /*< nick=InvalidIpFamilyPreference >*/ QMI_PROTOCOL_ERROR_SESSION_INACTIVE = 65, /*< nick=SessionInactive >*/ QMI_PROTOCOL_ERROR_SESSION_INVALID = 66, /*< nick=SessionInvalid >*/ QMI_PROTOCOL_ERROR_SESSION_OWNERSHIP = 67, /*< nick=SessionOwnership >*/ @@ -225,13 +290,13 @@ typedef enum { /*< underscore_name=qmi_protocol_error >*/ QMI_PROTOCOL_ERROR_DISABLED = 69, /*< nick=Disabled >*/ QMI_PROTOCOL_ERROR_INVALID_OPERATION = 70, /*< nick=InvalidOperation >*/ QMI_PROTOCOL_ERROR_INVALID_QMI_COMMAND = 71, /*< nick=InvalidQmiCommand >*/ - QMI_PROTOCOL_ERROR_WMS_T_PDU_TYPE = 72, /*< nick=Wms.TPduType >*/ - QMI_PROTOCOL_ERROR_WMS_SMSC_ADDRESS = 73, /*< nick=Wms.SmscAddress >*/ + QMI_PROTOCOL_ERROR_WMS_T_PDU_TYPE = 72, /*< nick=WmsTPduType >*/ + QMI_PROTOCOL_ERROR_WMS_SMSC_ADDRESS = 73, /*< nick=WmsSmscAddress >*/ QMI_PROTOCOL_ERROR_INFORMATION_UNAVAILABLE = 74, /*< nick=InformationUnavailable >*/ QMI_PROTOCOL_ERROR_SEGMENT_TOO_LONG = 75, /*< nick=SegmentTooLong >*/ QMI_PROTOCOL_ERROR_SEGMENT_ORDER = 76, /*< nick=SegmentOrder >*/ QMI_PROTOCOL_ERROR_BUNDLING_NOT_SUPPORTED = 77, /*< nick=BundlingNotSupported >*/ - /* 0x004E, 78: unused */ + QMI_PROTOCOL_ERROR_OPERATION_PARTIAL_FAILURE = 78, /*< nick=OperationPartialFailure >*/ QMI_PROTOCOL_ERROR_POLICY_MISMATCH = 79, /*< nick=PolicyMismatch >*/ QMI_PROTOCOL_ERROR_SIM_FILE_NOT_FOUND = 80, /*< nick=SimFileNotFound >*/ QMI_PROTOCOL_ERROR_EXTENDED_INTERNAL = 81, /*< nick=ExtendedInternal >*/ @@ -257,14 +322,30 @@ typedef enum { /*< underscore_name=qmi_protocol_error >*/ QMI_PROTOCOL_ERROR_PUK_RESTRICTION = 106, /*< nick=PukRestriction >*/ QMI_PROTOCOL_ERROR_PUK2_RESTRICTION = 107, /*< nick=Puk2Restriction >*/ QMI_PROTOCOL_ERROR_PB_ACCESS_RESTRICTED = 108, /*< nick=PbAccessRestricted >*/ - QMI_PROTOCOL_ERROR_PB_TEXT_TOO_LONG = 109, /*< nick=PbTextTooLong >*/ - QMI_PROTOCOL_ERROR_PB_NUMBER_TOO_LONG = 110, /*< nick=PbNumberTooLong >*/ - QMI_PROTOCOL_ERROR_PB_HIDDEN_KEY_RESTRICTION = 111, /*< nick=PbHiddenKeyRestriction >*/ - QMI_PROTOCOL_ERROR_CAT_EVENT_REGISTRATION_FAILED = 61441, /*< nick=Cat.EventRegistrationFailed >*/ - QMI_PROTOCOL_ERROR_CAT_INVALID_TERMINAL_RESPONSE = 61442, /*< nick=Cat.InvalidTerminalResponse >*/ - QMI_PROTOCOL_ERROR_CAT_INVALID_ENVELOPE_COMMAND = 61443, /*< nick=Cat.InvalidEnvelopeCommand >*/ - QMI_PROTOCOL_ERROR_CAT_ENVELOPE_COMMAND_BUSY = 61444, /*< nick=Cat.EnvelopCommandBusy >*/ - QMI_PROTOCOL_ERROR_CAT_ENVELOPE_COMMAND_FAILED = 61445 /*< nick=Cat.EnvelopeCommandFailed >*/ + QMI_PROTOCOL_ERROR_PB_DELETE_IN_PROGRESS = 109, /*< nick=PbDeleteInProgress >*/ + QMI_PROTOCOL_ERROR_PB_TEXT_TOO_LONG = 110, /*< nick=PbTextTooLong >*/ + QMI_PROTOCOL_ERROR_PB_NUMBER_TOO_LONG = 111, /*< nick=PbNumberTooLong >*/ + QMI_PROTOCOL_ERROR_PB_HIDDEN_KEY_RESTRICTION = 112, /*< nick=PbHiddenKeyRestriction >*/ + QMI_PROTOCOL_ERROR_PB_NOT_AVAILABLE = 113, /*< nick=PbNotAvailable >*/ + QMI_PROTOCOL_ERROR_DEVICE_MEMORY_ERROR = 114, /*< nick=DeviceMemoryError >*/ + QMI_PROTOCOL_ERROR_NO_PERMISSION = 115, /*< nick=NoPermission >*/ + QMI_PROTOCOL_ERROR_TOO_SOON = 116, /*< nick=TooSoon >*/ + QMI_PROTOCOL_ERROR_TIME_NOT_ACQUIRED = 117, /*< nick=TimeNotAcquired >*/ + QMI_PROTOCOL_ERROR_OPERATION_IN_PROGRESS = 118, /*< nick=OperationInProgress >*/ + QMI_PROTOCOL_ERROR_FW_WRITE_FAILED = 388, /*< nick=FwWriteFailed >*/ + QMI_PROTOCOL_ERROR_FW_INFO_READ_FAILED = 389, /*< nick=FwInfoReadFailed >*/ + QMI_PROTOCOL_ERROR_FW_FILE_NOT_FOUND = 390, /*< nick=FwFileNotFound >*/ + QMI_PROTOCOL_ERROR_FW_DIR_NOT_FOUND = 391, /*< nick=FwDirNotFound >*/ + QMI_PROTOCOL_ERROR_FW_ALREADY_ACTIVATED = 392, /*< nick=FwAlreadyActivated >*/ + QMI_PROTOCOL_ERROR_FW_CANNOT_GENERIC_IMAGE = 393, /*< nick=FwCannotGenericImage >*/ + QMI_PROTOCOL_ERROR_FW_FILE_OPEN_FAILED = 400, /*< nick=FwFileOpenFailed >*/ + QMI_PROTOCOL_ERROR_FW_UPDATE_DISCONTINUOUS_FRAME = 401, /*< nick=FwUpdateDiscontinuousFrame >*/ + QMI_PROTOCOL_ERROR_FW_UPDATE_FAILED = 402, /*< nick=FwUpdateFailed >*/ + QMI_PROTOCOL_ERROR_CAT_EVENT_REGISTRATION_FAILED = 61441, /*< nick=CatEventRegistrationFailed >*/ + QMI_PROTOCOL_ERROR_CAT_INVALID_TERMINAL_RESPONSE = 61442, /*< nick=CatInvalidTerminalResponse >*/ + QMI_PROTOCOL_ERROR_CAT_INVALID_ENVELOPE_COMMAND = 61443, /*< nick=CatInvalidEnvelopeCommand >*/ + QMI_PROTOCOL_ERROR_CAT_ENVELOPE_COMMAND_BUSY = 61444, /*< nick=CatEnvelopeCommandBusy >*/ + QMI_PROTOCOL_ERROR_CAT_ENVELOPE_COMMAND_FAILED = 61445 /*< nick=CatEnvelopeCommandFailed >*/ } QmiProtocolError; #endif /* _LIBQMI_GLIB_QMI_ERRORS_H_ */ diff --git a/qmi-flags64-dms.h b/qmi-flags64-dms.h index b51b5cf..03a3ca0 100644 --- a/qmi-flags64-dms.h +++ b/qmi-flags64-dms.h @@ -17,8 +17,9 @@ * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * Boston, MA 02110-1301 USA. * - * Copyright (C) 2012 Lanedo GmbH + * Copyright (C) 2012 Lanedo GmbH. * Copyright (C) 2012 Google, Inc. + * Copyright (C) 2012-2017 Aleksander Morgado */ #ifndef _LIBQMI_GLIB_QMI_FLAGS64_DMS_H_ @@ -71,8 +72,10 @@ * @QMI_DMS_BAND_CAPABILITY_WCDMA_1500: WCDMA 1500 band. * * Frequency band capabilities. + * + * Since: 1.0 */ -typedef enum { +typedef enum { /*< since=1.0 >*/ QMI_DMS_BAND_CAPABILITY_BC_0_A_SYSTEM = 1 << 0, QMI_DMS_BAND_CAPABILITY_BC_0_B_SYSTEM = 1 << 1, QMI_DMS_BAND_CAPABILITY_BC_1_ALL_BLOCKS = 1 << 2, @@ -104,7 +107,7 @@ typedef enum { QMI_DMS_BAND_CAPABILITY_BC_12 = 1 << 28, QMI_DMS_BAND_CAPABILITY_BC_14 = 1 << 29, /* Bit 30 reserved */ - QMI_DMS_BAND_CAPABILITY_BC_15 = 1 << 31, + QMI_DMS_BAND_CAPABILITY_BC_15 = ((uint64_t) 1) << 31, /* Bits 32-47 reserved */ QMI_DMS_BAND_CAPABILITY_WCDMA_2600 = ((uint64_t) 1) << 48, QMI_DMS_BAND_CAPABILITY_WCDMA_900 = ((uint64_t) 1) << 49, @@ -142,6 +145,13 @@ typedef enum { * @QMI_DMS_LTE_BAND_CAPABILITY_EUTRAN_21: LTE EUTRAN Band 21. * @QMI_DMS_LTE_BAND_CAPABILITY_EUTRAN_24: LTE EUTRAN Band 24. * @QMI_DMS_LTE_BAND_CAPABILITY_EUTRAN_25: LTE EUTRAN Band 25. + * @QMI_DMS_LTE_BAND_CAPABILITY_EUTRAN_26: LTE EUTRAN Band 26. + * @QMI_DMS_LTE_BAND_CAPABILITY_EUTRAN_27: LTE EUTRAN Band 27. + * @QMI_DMS_LTE_BAND_CAPABILITY_EUTRAN_28: LTE EUTRAN Band 28. + * @QMI_DMS_LTE_BAND_CAPABILITY_EUTRAN_29: LTE EUTRAN Band 29. + * @QMI_DMS_LTE_BAND_CAPABILITY_EUTRAN_30: LTE EUTRAN Band 30. + * @QMI_DMS_LTE_BAND_CAPABILITY_EUTRAN_31: LTE EUTRAN Band 31. + * @QMI_DMS_LTE_BAND_CAPABILITY_EUTRAN_32: LTE EUTRAN Band 32. * @QMI_DMS_LTE_BAND_CAPABILITY_EUTRAN_33: LTE EUTRAN Band 33. * @QMI_DMS_LTE_BAND_CAPABILITY_EUTRAN_34: LTE EUTRAN Band 34. * @QMI_DMS_LTE_BAND_CAPABILITY_EUTRAN_35: LTE EUTRAN Band 35. @@ -155,8 +165,10 @@ typedef enum { * @QMI_DMS_LTE_BAND_CAPABILITY_EUTRAN_43: LTE EUTRAN Band 43. * * LTE-specific Frequency bands. + * + * Since: 1.0 */ -typedef enum { +typedef enum { /*< since=1.0 >*/ QMI_DMS_LTE_BAND_CAPABILITY_EUTRAN_1 = 1 << 0, QMI_DMS_LTE_BAND_CAPABILITY_EUTRAN_2 = 1 << 1, QMI_DMS_LTE_BAND_CAPABILITY_EUTRAN_3 = 1 << 2, @@ -180,7 +192,13 @@ typedef enum { /* Bit 21-22 reserved */ QMI_DMS_LTE_BAND_CAPABILITY_EUTRAN_24 = 1 << 23, QMI_DMS_LTE_BAND_CAPABILITY_EUTRAN_25 = 1 << 24, - /* Bit 25-31 reserved */ + QMI_DMS_LTE_BAND_CAPABILITY_EUTRAN_26 = 1 << 25, + QMI_DMS_LTE_BAND_CAPABILITY_EUTRAN_27 = 1 << 26, + QMI_DMS_LTE_BAND_CAPABILITY_EUTRAN_28 = 1 << 27, + QMI_DMS_LTE_BAND_CAPABILITY_EUTRAN_29 = 1 << 28, + QMI_DMS_LTE_BAND_CAPABILITY_EUTRAN_30 = 1 << 29, + QMI_DMS_LTE_BAND_CAPABILITY_EUTRAN_31 = 1 << 30, + QMI_DMS_LTE_BAND_CAPABILITY_EUTRAN_32 = ((uint64_t) 1) << 31, QMI_DMS_LTE_BAND_CAPABILITY_EUTRAN_33 = ((uint64_t) 1) << 32, QMI_DMS_LTE_BAND_CAPABILITY_EUTRAN_34 = ((uint64_t) 1) << 33, QMI_DMS_LTE_BAND_CAPABILITY_EUTRAN_35 = ((uint64_t) 1) << 34, diff --git a/qmi-flags64-nas.h b/qmi-flags64-nas.h index 1820adb..6d62f3f 100644 --- a/qmi-flags64-nas.h +++ b/qmi-flags64-nas.h @@ -18,6 +18,7 @@ * Boston, MA 02110-1301 USA. * * Copyright (C) 2012 Google Inc. + * Copyright (C) 2012-2017 Aleksander Morgado */ #ifndef _LIBQMI_GLIB_QMI_FLAGS64_NAS_H_ @@ -67,10 +68,14 @@ * @QMI_NAS_BAND_PREFERENCE_WCDMA_2600: WCDMA 2600. * @QMI_NAS_BAND_PREFERENCE_WCDMA_900: WCDMA 900. * @QMI_NAS_BAND_PREFERENCE_WCDMA_1700_JAPAN: WCDMA 1700 (Japan). + * @QMI_NAS_BAND_PREFERENCE_WCDMA_850_JAPAN: WCDMA 850 (Japan). Since: 1.22. + * @QMI_NAS_BAND_PREFERENCE_WCDMA_1500: WCDMA 1500. Since: 1.22. * * Flags to specify frequency band preferences. + * + * Since: 1.0 */ -typedef enum { +typedef enum { /*< since=1.0 >*/ QMI_NAS_BAND_PREFERENCE_BC_0_A_SYSTEM = 1 << 0, QMI_NAS_BAND_PREFERENCE_BC_0_B_SYSTEM = 1 << 1, QMI_NAS_BAND_PREFERENCE_BC_1_ALL_BLOCKS = 1 << 2, @@ -102,7 +107,7 @@ typedef enum { QMI_NAS_BAND_PREFERENCE_BC_12 = 1 << 28, QMI_NAS_BAND_PREFERENCE_BC_14 = 1 << 29, /* Bit 30 reserved */ - QMI_NAS_BAND_PREFERENCE_BC_15 = 1 << 31, + QMI_NAS_BAND_PREFERENCE_BC_15 = ((uint64_t) 1) << 31, /* Bits 32-47 reserved */ QMI_NAS_BAND_PREFERENCE_WCDMA_2600 = ((uint64_t) 1) << 48, QMI_NAS_BAND_PREFERENCE_WCDMA_900 = ((uint64_t) 1) << 49, @@ -111,8 +116,10 @@ typedef enum { QMI_NAS_BAND_PREFERENCE_BC_16 = ((uint64_t) 1) << 56, QMI_NAS_BAND_PREFERENCE_BC_17 = ((uint64_t) 1) << 57, QMI_NAS_BAND_PREFERENCE_BC_18 = ((uint64_t) 1) << 58, - QMI_NAS_BAND_PREFERENCE_BC_19 = ((uint64_t) 1) << 59 - /* Bits 60-63 reserved */ + QMI_NAS_BAND_PREFERENCE_BC_19 = ((uint64_t) 1) << 59, + QMI_NAS_BAND_PREFERENCE_WCDMA_850_JAPAN = ((uint64_t) 1) << 60, + QMI_NAS_BAND_PREFERENCE_WCDMA_1500 = ((uint64_t) 1) << 61 + /* Bits 62-63 reserved */ } QmiNasBandPreference; /** @@ -138,6 +145,13 @@ typedef enum { * @QMI_NAS_LTE_BAND_PREFERENCE_EUTRAN_21: LTE EUTRAN Band 21. * @QMI_NAS_LTE_BAND_PREFERENCE_EUTRAN_24: LTE EUTRAN Band 24. * @QMI_NAS_LTE_BAND_PREFERENCE_EUTRAN_25: LTE EUTRAN Band 25. + * @QMI_NAS_LTE_BAND_PREFERENCE_EUTRAN_26: LTE EUTRAN Band 26. + * @QMI_NAS_LTE_BAND_PREFERENCE_EUTRAN_27: LTE EUTRAN Band 27. + * @QMI_NAS_LTE_BAND_PREFERENCE_EUTRAN_28: LTE EUTRAN Band 28. + * @QMI_NAS_LTE_BAND_PREFERENCE_EUTRAN_29: LTE EUTRAN Band 29. + * @QMI_NAS_LTE_BAND_PREFERENCE_EUTRAN_30: LTE EUTRAN Band 30. + * @QMI_NAS_LTE_BAND_PREFERENCE_EUTRAN_31: LTE EUTRAN Band 31. + * @QMI_NAS_LTE_BAND_PREFERENCE_EUTRAN_32: LTE EUTRAN Band 32. * @QMI_NAS_LTE_BAND_PREFERENCE_EUTRAN_33: LTE EUTRAN Band 33. * @QMI_NAS_LTE_BAND_PREFERENCE_EUTRAN_34: LTE EUTRAN Band 34. * @QMI_NAS_LTE_BAND_PREFERENCE_EUTRAN_35: LTE EUTRAN Band 35. @@ -151,8 +165,10 @@ typedef enum { * @QMI_NAS_LTE_BAND_PREFERENCE_EUTRAN_43: LTE EUTRAN Band 43. * * Flags to specify LTE-specific frequency band preferences. + * + * Since: 1.0 */ -typedef enum { +typedef enum { /*< since=1.0 >*/ QMI_NAS_LTE_BAND_PREFERENCE_EUTRAN_1 = 1 << 0, QMI_NAS_LTE_BAND_PREFERENCE_EUTRAN_2 = 1 << 1, QMI_NAS_LTE_BAND_PREFERENCE_EUTRAN_3 = 1 << 2, @@ -176,7 +192,13 @@ typedef enum { /* Bit 21-22 reserved */ QMI_NAS_LTE_BAND_PREFERENCE_EUTRAN_24 = 1 << 23, QMI_NAS_LTE_BAND_PREFERENCE_EUTRAN_25 = 1 << 24, - /* Bit 25-31 reserved */ + QMI_NAS_LTE_BAND_PREFERENCE_EUTRAN_26 = 1 << 25, + QMI_NAS_LTE_BAND_PREFERENCE_EUTRAN_27 = 1 << 26, + QMI_NAS_LTE_BAND_PREFERENCE_EUTRAN_28 = 1 << 27, + QMI_NAS_LTE_BAND_PREFERENCE_EUTRAN_29 = 1 << 28, + QMI_NAS_LTE_BAND_PREFERENCE_EUTRAN_30 = 1 << 29, + QMI_NAS_LTE_BAND_PREFERENCE_EUTRAN_31 = 1 << 30, + QMI_NAS_LTE_BAND_PREFERENCE_EUTRAN_32 = ((uint64_t) 1) << 31, QMI_NAS_LTE_BAND_PREFERENCE_EUTRAN_33 = ((uint64_t) 1) << 32, QMI_NAS_LTE_BAND_PREFERENCE_EUTRAN_34 = ((uint64_t) 1) << 33, QMI_NAS_LTE_BAND_PREFERENCE_EUTRAN_35 = ((uint64_t) 1) << 34,