aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2021-03-02 11:08:32 +0100
committerAleksander Morgado <aleksander@aleksander.es>2021-03-02 11:21:01 +0100
commitc1792f4d1637aaa6261541614969aa756b2569c2 (patch)
treef4d8179f391dc9257f14082847d8b0bcddae28b6
parent3feeb4e516acdab89ff71d29a01eef4f5338b581 (diff)
nas: update "System Info" response/indications with QmiNasRejectCause
The TLVs that included a guint8 reject cause are updated to have them reported with the new QmiNasRejectCause enum type. The old methods that referred to the field as guint8 are flagged as deprecated and compat replacements are provided to avoid API/ABI breaks in the next libqmi release.
-rw-r--r--data/qmi-service-nas.json56
-rw-r--r--docs/reference/libqmi-glib/libqmi-glib-common.sections8
-rw-r--r--src/libqmi-glib/qmi-compat.c535
-rw-r--r--src/libqmi-glib/qmi-compat.h536
-rw-r--r--src/libqmi-glib/test/test-generated.c47
-rw-r--r--src/qmicli/qmicli-nas.c34
6 files changed, 1152 insertions, 64 deletions
diff --git a/data/qmi-service-nas.json b/data/qmi-service-nas.json
index b01fd0d..8a5ff98 100644
--- a/data/qmi-service-nas.json
+++ b/data/qmi-service-nas.json
@@ -2383,10 +2383,10 @@
{ "name" : "IS 856 System ID",
"format" : "string",
"fixed-size" : "16" } ] },
- { "name" : "GSM System Info",
+ { "name" : "GSM System Info v2",
"id" : "0x17",
"type" : "TLV",
- "since" : "1.0",
+ "since" : "1.30",
"format" : "sequence",
"contents" : [ { "name" : "Domain Valid",
"format" : "guint8",
@@ -2429,7 +2429,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" },
@@ -2451,10 +2452,10 @@
{ "name" : "DTM Support",
"format" : "guint8",
"public-format" : "gboolean" } ] },
- { "name" : "WCDMA System Info",
+ { "name" : "WCDMA System Info v2",
"id" : "0x18",
"type" : "TLV",
- "since" : "1.0",
+ "since" : "1.30",
"format" : "sequence",
"contents" : [ { "name" : "Domain Valid",
"format" : "guint8",
@@ -2497,7 +2498,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" },
@@ -2524,10 +2526,10 @@
"public-format" : "gboolean" },
{ "name" : "Primary Scrambling Code",
"format" : "guint16" } ] },
- { "name" : "LTE System Info",
+ { "name" : "LTE System Info v2",
"id" : "0x19",
"type" : "TLV",
- "since" : "1.0",
+ "since" : "1.30",
"format" : "sequence",
"contents" : [ { "name" : "Domain Valid",
"format" : "guint8",
@@ -2570,7 +2572,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" },
@@ -2682,10 +2685,10 @@
{ "name" : "Preferred Data Path",
"format" : "guint8",
"public-format" : "gboolean" } ] },
- { "name" : "TD SCDMA System Info",
+ { "name" : "TD SCDMA System Info v2",
"id" : "0x25",
"type" : "TLV",
- "since" : "1.0",
+ "since" : "1.30",
"format" : "sequence",
"contents" : [ { "name" : "Domain Valid",
"format" : "guint8",
@@ -2728,7 +2731,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" },
@@ -3051,10 +3055,10 @@
{ "name" : "IS 856 System ID",
"format" : "string",
"fixed-size" : "16" } ] },
- { "name" : "GSM System Info",
+ { "name" : "GSM System Info v2",
"id" : "0x17",
"type" : "TLV",
- "since" : "1.0",
+ "since" : "1.30",
"format" : "sequence",
"contents" : [ { "name" : "Domain Valid",
"format" : "guint8",
@@ -3097,7 +3101,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" },
@@ -3119,10 +3124,10 @@
{ "name" : "DTM Support",
"format" : "guint8",
"public-format" : "gboolean" } ] },
- { "name" : "WCDMA System Info",
+ { "name" : "WCDMA System Info v2",
"id" : "0x18",
"type" : "TLV",
- "since" : "1.0",
+ "since" : "1.30",
"format" : "sequence",
"contents" : [ { "name" : "Domain Valid",
"format" : "guint8",
@@ -3165,7 +3170,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" },
@@ -3192,10 +3198,10 @@
"public-format" : "gboolean" },
{ "name" : "Primary Scrambling Code",
"format" : "guint16" } ] },
- { "name" : "LTE System Info",
+ { "name" : "LTE System Info v2",
"id" : "0x19",
"type" : "TLV",
- "since" : "1.0",
+ "since" : "1.30",
"format" : "sequence",
"contents" : [ { "name" : "Domain Valid",
"format" : "guint8",
@@ -3238,7 +3244,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" },
@@ -3356,10 +3363,10 @@
{ "name" : "Preferred Data Path",
"format" : "guint8",
"public-format" : "gboolean" } ] },
- { "name" : "TD SCMA System Info",
+ { "name" : "TD SCMA System Info v2",
"id" : "0x26",
"type" : "TLV",
- "since" : "1.0",
+ "since" : "1.30",
"format" : "sequence",
"contents" : [ { "name" : "Domain Valid",
"format" : "guint8",
@@ -3402,7 +3409,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" },
diff --git a/docs/reference/libqmi-glib/libqmi-glib-common.sections b/docs/reference/libqmi-glib/libqmi-glib-common.sections
index d0b5bb6..5b29d75 100644
--- a/docs/reference/libqmi-glib/libqmi-glib-common.sections
+++ b/docs/reference/libqmi-glib/libqmi-glib-common.sections
@@ -1667,6 +1667,14 @@ QmiMessageNasGetCellLocationInfoOutputUmtsInfoNeighboringGeranElement
qmi_message_nas_get_cell_location_info_output_get_umts_info
QmiMessageNasGetCellLocationInfoOutputIntrafrequencyLteInfoCellElement
qmi_message_nas_get_cell_location_info_output_get_intrafrequency_lte_info
+qmi_message_nas_get_system_info_output_get_gsm_system_info
+qmi_message_nas_get_system_info_output_get_lte_system_info
+qmi_message_nas_get_system_info_output_get_td_scdma_system_info
+qmi_message_nas_get_system_info_output_get_wcdma_system_info
+qmi_indication_nas_system_info_output_get_gsm_system_info
+qmi_indication_nas_system_info_output_get_lte_system_info
+qmi_indication_nas_system_info_output_get_td_scma_system_info
+qmi_indication_nas_system_info_output_get_wcdma_system_info
<SUBSECTION Symbols>
QMI_NAS_SIM_REJECT_STATE_SIM_VAILABLE
QMI_WDS_CDMA_CAUSE_CODE_NETWORK_ADDRESS_VACANT
diff --git a/src/libqmi-glib/qmi-compat.c b/src/libqmi-glib/qmi-compat.c
index 894fc0c..d29eabe 100644
--- a/src/libqmi-glib/qmi-compat.c
+++ b/src/libqmi-glib/qmi-compat.c
@@ -1499,4 +1499,539 @@ qmi_client_wds_set_default_profile_num_finish (
#endif /* HAVE_QMI_MESSAGE_WDS_SET_DEFAULT_PROFILE_NUMBER */
+#if defined HAVE_QMI_MESSAGE_NAS_GET_SYSTEM_INFO
+
+gboolean
+qmi_message_nas_get_system_info_output_get_gsm_system_info (
+ QmiMessageNasGetSystemInfoOutput *self,
+ gboolean *value_gsm_system_info_domain_valid,
+ QmiNasNetworkServiceDomain *value_gsm_system_info_domain,
+ gboolean *value_gsm_system_info_service_capability_valid,
+ QmiNasNetworkServiceDomain *value_gsm_system_info_service_capability,
+ gboolean *value_gsm_system_info_roaming_status_valid,
+ QmiNasRoamingStatus *value_gsm_system_info_roaming_status,
+ gboolean *value_gsm_system_info_forbidden_valid,
+ gboolean *value_gsm_system_info_forbidden,
+ gboolean *value_gsm_system_info_lac_valid,
+ guint16 *value_gsm_system_info_lac,
+ gboolean *value_gsm_system_info_cid_valid,
+ guint32 *value_gsm_system_info_cid,
+ gboolean *value_gsm_system_info_registration_reject_info_valid,
+ QmiNasNetworkServiceDomain *value_gsm_system_info_registration_reject_domain,
+ guint8 *value_gsm_system_info_registration_reject_cause,
+ gboolean *value_gsm_system_info_network_id_valid,
+ const gchar **value_gsm_system_info_mcc,
+ const gchar **value_gsm_system_info_mnc,
+ gboolean *value_gsm_system_info_egprs_support_valid,
+ gboolean *value_gsm_system_info_egprs_support,
+ gboolean *value_gsm_system_info_dtm_support_valid,
+ gboolean *value_gsm_system_info_dtm_support,
+ GError **error)
+{
+ QmiNasRejectCause reject_cause = QMI_NAS_REJECT_CAUSE_NONE;
+
+ if (!qmi_message_nas_get_system_info_output_get_gsm_system_info_v2 (
+ self,
+ value_gsm_system_info_domain_valid,
+ value_gsm_system_info_domain,
+ value_gsm_system_info_service_capability_valid,
+ value_gsm_system_info_service_capability,
+ value_gsm_system_info_roaming_status_valid,
+ value_gsm_system_info_roaming_status,
+ value_gsm_system_info_forbidden_valid,
+ value_gsm_system_info_forbidden,
+ value_gsm_system_info_lac_valid,
+ value_gsm_system_info_lac,
+ value_gsm_system_info_cid_valid,
+ value_gsm_system_info_cid,
+ value_gsm_system_info_registration_reject_info_valid,
+ value_gsm_system_info_registration_reject_domain,
+ &reject_cause,
+ value_gsm_system_info_network_id_valid,
+ value_gsm_system_info_mcc,
+ value_gsm_system_info_mnc,
+ value_gsm_system_info_egprs_support_valid,
+ value_gsm_system_info_egprs_support,
+ value_gsm_system_info_dtm_support_valid,
+ value_gsm_system_info_dtm_support,
+ error))
+ return FALSE;
+
+ if (value_gsm_system_info_registration_reject_cause)
+ *value_gsm_system_info_registration_reject_cause = (guint8) reject_cause;
+ return TRUE;
+}
+
+gboolean
+qmi_message_nas_get_system_info_output_get_wcdma_system_info (
+ QmiMessageNasGetSystemInfoOutput *self,
+ gboolean *value_wcdma_system_info_domain_valid,
+ QmiNasNetworkServiceDomain *value_wcdma_system_info_domain,
+ gboolean *value_wcdma_system_info_service_capability_valid,
+ QmiNasNetworkServiceDomain *value_wcdma_system_info_service_capability,
+ gboolean *value_wcdma_system_info_roaming_status_valid,
+ QmiNasRoamingStatus *value_wcdma_system_info_roaming_status,
+ gboolean *value_wcdma_system_info_forbidden_valid,
+ gboolean *value_wcdma_system_info_forbidden,
+ gboolean *value_wcdma_system_info_lac_valid,
+ guint16 *value_wcdma_system_info_lac,
+ gboolean *value_wcdma_system_info_cid_valid,
+ guint32 *value_wcdma_system_info_cid,
+ gboolean *value_wcdma_system_info_registration_reject_info_valid,
+ QmiNasNetworkServiceDomain *value_wcdma_system_info_registration_reject_domain,
+ guint8 *value_wcdma_system_info_registration_reject_cause,
+ gboolean *value_wcdma_system_info_network_id_valid,
+ const gchar **value_wcdma_system_info_mcc,
+ const gchar **value_wcdma_system_info_mnc,
+ gboolean *value_wcdma_system_info_hs_call_status_valid,
+ QmiNasWcdmaHsService *value_wcdma_system_info_hs_call_status,
+ gboolean *value_wcdma_system_info_hs_service_valid,
+ QmiNasWcdmaHsService *value_wcdma_system_info_hs_service,
+ gboolean *value_wcdma_system_info_primary_scrambling_code_valid,
+ guint16 *value_wcdma_system_info_primary_scrambling_code,
+ GError **error)
+{
+ QmiNasRejectCause reject_cause = QMI_NAS_REJECT_CAUSE_NONE;
+
+ if (!qmi_message_nas_get_system_info_output_get_wcdma_system_info_v2 (
+ self,
+ value_wcdma_system_info_domain_valid,
+ value_wcdma_system_info_domain,
+ value_wcdma_system_info_service_capability_valid,
+ value_wcdma_system_info_service_capability,
+ value_wcdma_system_info_roaming_status_valid,
+ value_wcdma_system_info_roaming_status,
+ value_wcdma_system_info_forbidden_valid,
+ value_wcdma_system_info_forbidden,
+ value_wcdma_system_info_lac_valid,
+ value_wcdma_system_info_lac,
+ value_wcdma_system_info_cid_valid,
+ value_wcdma_system_info_cid,
+ value_wcdma_system_info_registration_reject_info_valid,
+ value_wcdma_system_info_registration_reject_domain,
+ &reject_cause,
+ value_wcdma_system_info_network_id_valid,
+ value_wcdma_system_info_mcc,
+ value_wcdma_system_info_mnc,
+ value_wcdma_system_info_hs_call_status_valid,
+ value_wcdma_system_info_hs_call_status,
+ value_wcdma_system_info_hs_service_valid,
+ value_wcdma_system_info_hs_service,
+ value_wcdma_system_info_primary_scrambling_code_valid,
+ value_wcdma_system_info_primary_scrambling_code,
+ error))
+ return FALSE;
+
+ if (value_wcdma_system_info_registration_reject_cause)
+ *value_wcdma_system_info_registration_reject_cause = (guint8) reject_cause;
+ return TRUE;
+}
+
+gboolean
+qmi_message_nas_get_system_info_output_get_lte_system_info (
+ QmiMessageNasGetSystemInfoOutput *self,
+ gboolean *value_lte_system_info_domain_valid,
+ QmiNasNetworkServiceDomain *value_lte_system_info_domain,
+ gboolean *value_lte_system_info_service_capability_valid,
+ QmiNasNetworkServiceDomain *value_lte_system_info_service_capability,
+ gboolean *value_lte_system_info_roaming_status_valid,
+ QmiNasRoamingStatus *value_lte_system_info_roaming_status,
+ gboolean *value_lte_system_info_forbidden_valid,
+ gboolean *value_lte_system_info_forbidden,
+ gboolean *value_lte_system_info_lac_valid,
+ guint16 *value_lte_system_info_lac,
+ gboolean *value_lte_system_info_cid_valid,
+ guint32 *value_lte_system_info_cid,
+ gboolean *value_lte_system_info_registration_reject_info_valid,
+ QmiNasNetworkServiceDomain *value_lte_system_info_registration_reject_domain,
+ guint8 *value_lte_system_info_registration_reject_cause,
+ gboolean *value_lte_system_info_network_id_valid,
+ const gchar **value_lte_system_info_mcc,
+ const gchar **value_lte_system_info_mnc,
+ gboolean *value_lte_system_info_tac_valid,
+ guint16 *value_lte_system_info_tac,
+ GError **error)
+{
+ QmiNasRejectCause reject_cause = QMI_NAS_REJECT_CAUSE_NONE;
+
+ if (!qmi_message_nas_get_system_info_output_get_lte_system_info_v2 (
+ self,
+ value_lte_system_info_domain_valid,
+ value_lte_system_info_domain,
+ value_lte_system_info_service_capability_valid,
+ value_lte_system_info_service_capability,
+ value_lte_system_info_roaming_status_valid,
+ value_lte_system_info_roaming_status,
+ value_lte_system_info_forbidden_valid,
+ value_lte_system_info_forbidden,
+ value_lte_system_info_lac_valid,
+ value_lte_system_info_lac,
+ value_lte_system_info_cid_valid,
+ value_lte_system_info_cid,
+ value_lte_system_info_registration_reject_info_valid,
+ value_lte_system_info_registration_reject_domain,
+ &reject_cause,
+ value_lte_system_info_network_id_valid,
+ value_lte_system_info_mcc,
+ value_lte_system_info_mnc,
+ value_lte_system_info_tac_valid,
+ value_lte_system_info_tac,
+ error))
+ return FALSE;
+
+ if (value_lte_system_info_registration_reject_cause)
+ *value_lte_system_info_registration_reject_cause = (guint8) reject_cause;
+
+ return TRUE;
+}
+
+gboolean
+qmi_message_nas_get_system_info_output_get_td_scdma_system_info (
+ QmiMessageNasGetSystemInfoOutput *self,
+ gboolean *value_td_scdma_system_info_domain_valid,
+ QmiNasNetworkServiceDomain *value_td_scdma_system_info_domain,
+ gboolean *value_td_scdma_system_info_service_capability_valid,
+ QmiNasNetworkServiceDomain *value_td_scdma_system_info_service_capability,
+ gboolean *value_td_scdma_system_info_roaming_status_valid,
+ QmiNasRoamingStatus *value_td_scdma_system_info_roaming_status,
+ gboolean *value_td_scdma_system_info_forbidden_valid,
+ gboolean *value_td_scdma_system_info_forbidden,
+ gboolean *value_td_scdma_system_info_lac_valid,
+ guint16 *value_td_scdma_system_info_lac,
+ gboolean *value_td_scdma_system_info_cid_valid,
+ guint32 *value_td_scdma_system_info_cid,
+ gboolean *value_td_scdma_system_info_registration_reject_info_valid,
+ QmiNasNetworkServiceDomain *value_td_scdma_system_info_registration_reject_domain,
+ guint8 *value_td_scdma_system_info_registration_reject_cause,
+ gboolean *value_td_scdma_system_info_network_id_valid,
+ const gchar **value_td_scdma_system_info_mcc,
+ const gchar **value_td_scdma_system_info_mnc,
+ gboolean *value_td_scdma_system_info_hs_call_status_valid,
+ QmiNasWcdmaHsService *value_td_scdma_system_info_hs_call_status,
+ gboolean *value_td_scdma_system_info_hs_service_valid,
+ QmiNasWcdmaHsService *value_td_scdma_system_info_hs_service,
+ gboolean *value_td_scdma_system_info_cell_parameter_id_valid,
+ guint16 *value_td_scdma_system_info_cell_parameter_id,
+ gboolean *value_td_scdma_system_info_cell_broadcast_support_valid,
+ QmiNasCellBroadcastCapability *value_td_scdma_system_info_cell_broadcast_support,
+ gboolean *value_td_scdma_system_info_cs_call_barring_status_valid,
+ QmiNasCallBarringStatus *value_td_scdma_system_info_cs_call_barring_status,
+ gboolean *value_td_scdma_system_info_ps_call_barring_status_valid,
+ QmiNasCallBarringStatus *value_td_scdma_system_info_ps_call_barring_status,
+ gboolean *value_td_scdma_system_info_cipher_domain_valid,
+ QmiNasNetworkServiceDomain *value_td_scdma_system_info_cipher_domain,
+ GError **error)
+{
+ QmiNasRejectCause reject_cause = QMI_NAS_REJECT_CAUSE_NONE;
+
+ if (!qmi_message_nas_get_system_info_output_get_td_scdma_system_info_v2 (
+ self,
+ value_td_scdma_system_info_domain_valid,
+ value_td_scdma_system_info_domain,
+ value_td_scdma_system_info_service_capability_valid,
+ value_td_scdma_system_info_service_capability,
+ value_td_scdma_system_info_roaming_status_valid,
+ value_td_scdma_system_info_roaming_status,
+ value_td_scdma_system_info_forbidden_valid,
+ value_td_scdma_system_info_forbidden,
+ value_td_scdma_system_info_lac_valid,
+ value_td_scdma_system_info_lac,
+ value_td_scdma_system_info_cid_valid,
+ value_td_scdma_system_info_cid,
+ value_td_scdma_system_info_registration_reject_info_valid,
+ value_td_scdma_system_info_registration_reject_domain,
+ &reject_cause,
+ value_td_scdma_system_info_network_id_valid,
+ value_td_scdma_system_info_mcc,
+ value_td_scdma_system_info_mnc,
+ value_td_scdma_system_info_hs_call_status_valid,
+ value_td_scdma_system_info_hs_call_status,
+ value_td_scdma_system_info_hs_service_valid,
+ value_td_scdma_system_info_hs_service,
+ value_td_scdma_system_info_cell_parameter_id_valid,
+ value_td_scdma_system_info_cell_parameter_id,
+ value_td_scdma_system_info_cell_broadcast_support_valid,
+ value_td_scdma_system_info_cell_broadcast_support,
+ value_td_scdma_system_info_cs_call_barring_status_valid,
+ value_td_scdma_system_info_cs_call_barring_status,
+ value_td_scdma_system_info_ps_call_barring_status_valid,
+ value_td_scdma_system_info_ps_call_barring_status,
+ value_td_scdma_system_info_cipher_domain_valid,
+ value_td_scdma_system_info_cipher_domain,
+ error))
+ return FALSE;
+
+ if (value_td_scdma_system_info_registration_reject_cause)
+ *value_td_scdma_system_info_registration_reject_cause = (guint8) reject_cause;
+ return TRUE;
+}
+
+#endif /* HAVE_QMI_MESSAGE_NAS_GET_SYSTEM_INFO */
+
+#if defined HAVE_QMI_INDICATION_NAS_SYSTEM_INFO
+
+gboolean qmi_indication_nas_system_info_output_get_gsm_system_info (
+ QmiIndicationNasSystemInfoOutput *self,
+ gboolean *value_gsm_system_info_domain_valid,
+ QmiNasNetworkServiceDomain *value_gsm_system_info_domain,
+ gboolean *value_gsm_system_info_service_capability_valid,
+ QmiNasNetworkServiceDomain *value_gsm_system_info_service_capability,
+ gboolean *value_gsm_system_info_roaming_status_valid,
+ QmiNasRoamingStatus *value_gsm_system_info_roaming_status,
+ gboolean *value_gsm_system_info_forbidden_valid,
+ gboolean *value_gsm_system_info_forbidden,
+ gboolean *value_gsm_system_info_lac_valid,
+ guint16 *value_gsm_system_info_lac,
+ gboolean *value_gsm_system_info_cid_valid,
+ guint32 *value_gsm_system_info_cid,
+ gboolean *value_gsm_system_info_registration_reject_info_valid,
+ QmiNasNetworkServiceDomain *value_gsm_system_info_registration_reject_domain,
+ guint8 *value_gsm_system_info_registration_reject_cause,
+ gboolean *value_gsm_system_info_network_id_valid,
+ const gchar **value_gsm_system_info_mcc,
+ const gchar **value_gsm_system_info_mnc,
+ gboolean *value_gsm_system_info_egprs_support_valid,
+ gboolean *value_gsm_system_info_egprs_support,
+ gboolean *value_gsm_system_info_dtm_support_valid,
+ gboolean *value_gsm_system_info_dtm_support,
+ GError **error)
+{
+ QmiNasRejectCause reject_cause = QMI_NAS_REJECT_CAUSE_NONE;
+
+ if (!qmi_indication_nas_system_info_output_get_gsm_system_info_v2 (
+ self,
+ value_gsm_system_info_domain_valid,
+ value_gsm_system_info_domain,
+ value_gsm_system_info_service_capability_valid,
+ value_gsm_system_info_service_capability,
+ value_gsm_system_info_roaming_status_valid,
+ value_gsm_system_info_roaming_status,
+ value_gsm_system_info_forbidden_valid,
+ value_gsm_system_info_forbidden,
+ value_gsm_system_info_lac_valid,
+ value_gsm_system_info_lac,
+ value_gsm_system_info_cid_valid,
+ value_gsm_system_info_cid,
+ value_gsm_system_info_registration_reject_info_valid,
+ value_gsm_system_info_registration_reject_domain,
+ &reject_cause,
+ value_gsm_system_info_network_id_valid,
+ value_gsm_system_info_mcc,
+ value_gsm_system_info_mnc,
+ value_gsm_system_info_egprs_support_valid,
+ value_gsm_system_info_egprs_support,
+ value_gsm_system_info_dtm_support_valid,
+ value_gsm_system_info_dtm_support,
+ error))
+ return FALSE;
+
+ if (value_gsm_system_info_registration_reject_cause)
+ *value_gsm_system_info_registration_reject_cause = (guint8) reject_cause;
+ return TRUE;
+}
+
+gboolean qmi_indication_nas_system_info_output_get_wcdma_system_info (
+ QmiIndicationNasSystemInfoOutput *self,
+ gboolean *value_wcdma_system_info_domain_valid,
+ QmiNasNetworkServiceDomain *value_wcdma_system_info_domain,
+ gboolean *value_wcdma_system_info_service_capability_valid,
+ QmiNasNetworkServiceDomain *value_wcdma_system_info_service_capability,
+ gboolean *value_wcdma_system_info_roaming_status_valid,
+ QmiNasRoamingStatus *value_wcdma_system_info_roaming_status,
+ gboolean *value_wcdma_system_info_forbidden_valid,
+ gboolean *value_wcdma_system_info_forbidden,
+ gboolean *value_wcdma_system_info_lac_valid,
+ guint16 *value_wcdma_system_info_lac,
+ gboolean *value_wcdma_system_info_cid_valid,
+ guint32 *value_wcdma_system_info_cid,
+ gboolean *value_wcdma_system_info_registration_reject_info_valid,
+ QmiNasNetworkServiceDomain *value_wcdma_system_info_registration_reject_domain,
+ guint8 *value_wcdma_system_info_registration_reject_cause,
+ gboolean *value_wcdma_system_info_network_id_valid,
+ const gchar **value_wcdma_system_info_mcc,
+ const gchar **value_wcdma_system_info_mnc,
+ gboolean *value_wcdma_system_info_hs_call_status_valid,
+ QmiNasWcdmaHsService *value_wcdma_system_info_hs_call_status,
+ gboolean *value_wcdma_system_info_hs_service_valid,
+ QmiNasWcdmaHsService *value_wcdma_system_info_hs_service,
+ gboolean *value_wcdma_system_info_primary_scrambling_code_valid,
+ guint16 *value_wcdma_system_info_primary_scrambling_code,
+ GError **error)
+{
+ QmiNasRejectCause reject_cause = QMI_NAS_REJECT_CAUSE_NONE;
+
+ if (!qmi_indication_nas_system_info_output_get_wcdma_system_info_v2 (
+ self,
+ value_wcdma_system_info_domain_valid,
+ value_wcdma_system_info_domain,
+ value_wcdma_system_info_service_capability_valid,
+ value_wcdma_system_info_service_capability,
+ value_wcdma_system_info_roaming_status_valid,
+ value_wcdma_system_info_roaming_status,
+ value_wcdma_system_info_forbidden_valid,
+ value_wcdma_system_info_forbidden,
+ value_wcdma_system_info_lac_valid,
+ value_wcdma_system_info_lac,
+ value_wcdma_system_info_cid_valid,
+ value_wcdma_system_info_cid,
+ value_wcdma_system_info_registration_reject_info_valid,
+ value_wcdma_system_info_registration_reject_domain,
+ &reject_cause,
+ value_wcdma_system_info_network_id_valid,
+ value_wcdma_system_info_mcc,
+ value_wcdma_system_info_mnc,
+ value_wcdma_system_info_hs_call_status_valid,
+ value_wcdma_system_info_hs_call_status,
+ value_wcdma_system_info_hs_service_valid,
+ value_wcdma_system_info_hs_service,
+ value_wcdma_system_info_primary_scrambling_code_valid,
+ value_wcdma_system_info_primary_scrambling_code,
+ error))
+ return FALSE;
+
+ if (value_wcdma_system_info_registration_reject_cause)
+ *value_wcdma_system_info_registration_reject_cause = (guint8) reject_cause;
+ return TRUE;
+}
+
+gboolean
+qmi_indication_nas_system_info_output_get_lte_system_info (
+ QmiIndicationNasSystemInfoOutput *self,
+ gboolean *value_lte_system_info_domain_valid,
+ QmiNasNetworkServiceDomain *value_lte_system_info_domain,
+ gboolean *value_lte_system_info_service_capability_valid,
+ QmiNasNetworkServiceDomain *value_lte_system_info_service_capability,
+ gboolean *value_lte_system_info_roaming_status_valid,
+ QmiNasRoamingStatus *value_lte_system_info_roaming_status,
+ gboolean *value_lte_system_info_forbidden_valid,
+ gboolean *value_lte_system_info_forbidden,
+ gboolean *value_lte_system_info_lac_valid,
+ guint16 *value_lte_system_info_lac,
+ gboolean *value_lte_system_info_cid_valid,
+ guint32 *value_lte_system_info_cid,
+ gboolean *value_lte_system_info_registration_reject_info_valid,
+ QmiNasNetworkServiceDomain *value_lte_system_info_registration_reject_domain,
+ guint8 *value_lte_system_info_registration_reject_cause,
+ gboolean *value_lte_system_info_network_id_valid,
+ const gchar **value_lte_system_info_mcc,
+ const gchar **value_lte_system_info_mnc,
+ gboolean *value_lte_system_info_tac_valid,
+ guint16 *value_lte_system_info_tac,
+ GError **error)
+{
+ QmiNasRejectCause reject_cause = QMI_NAS_REJECT_CAUSE_NONE;
+
+ if (!qmi_indication_nas_system_info_output_get_lte_system_info_v2 (
+ self,
+ value_lte_system_info_domain_valid,
+ value_lte_system_info_domain,
+ value_lte_system_info_service_capability_valid,
+ value_lte_system_info_service_capability,
+ value_lte_system_info_roaming_status_valid,
+ value_lte_system_info_roaming_status,
+ value_lte_system_info_forbidden_valid,
+ value_lte_system_info_forbidden,
+ value_lte_system_info_lac_valid,
+ value_lte_system_info_lac,
+ value_lte_system_info_cid_valid,
+ value_lte_system_info_cid,
+ value_lte_system_info_registration_reject_info_valid,
+ value_lte_system_info_registration_reject_domain,
+ &reject_cause,
+ value_lte_system_info_network_id_valid,
+ value_lte_system_info_mcc,
+ value_lte_system_info_mnc,
+ value_lte_system_info_tac_valid,
+ value_lte_system_info_tac,
+ error))
+ return FALSE;
+
+ if (value_lte_system_info_registration_reject_cause)
+ *value_lte_system_info_registration_reject_cause = (guint8) reject_cause;
+ return TRUE;
+}
+
+gboolean
+qmi_indication_nas_system_info_output_get_td_scma_system_info (
+ QmiIndicationNasSystemInfoOutput *self,
+ gboolean *value_td_scma_system_info_domain_valid,
+ QmiNasNetworkServiceDomain *value_td_scma_system_info_domain,
+ gboolean *value_td_scma_system_info_service_capability_valid,
+ QmiNasNetworkServiceDomain *value_td_scma_system_info_service_capability,
+ gboolean *value_td_scma_system_info_roaming_status_valid,
+ QmiNasRoamingStatus *value_td_scma_system_info_roaming_status,
+ gboolean *value_td_scma_system_info_forbidden_valid,
+ gboolean *value_td_scma_system_info_forbidden,
+ gboolean *value_td_scma_system_info_lac_valid,
+ guint16 *value_td_scma_system_info_lac,
+ gboolean *value_td_scma_system_info_cid_valid,
+ guint32 *value_td_scma_system_info_cid,
+ gboolean *value_td_scma_system_info_registration_reject_info_valid,
+ QmiNasNetworkServiceDomain *value_td_scma_system_info_registration_reject_domain,
+ guint8 *value_td_scma_system_info_registration_reject_cause,
+ gboolean *value_td_scma_system_info_network_id_valid,
+ const gchar **value_td_scma_system_info_mcc,
+ const gchar **value_td_scma_system_info_mnc,
+ gboolean *value_td_scma_system_info_hs_call_status_valid,
+ QmiNasWcdmaHsService *value_td_scma_system_info_hs_call_status,
+ gboolean *value_td_scma_system_info_hs_service_valid,
+ QmiNasWcdmaHsService *value_td_scma_system_info_hs_service,
+ gboolean *value_td_scma_system_info_cell_parameter_id_valid,
+ guint16 *value_td_scma_system_info_cell_parameter_id,
+ gboolean *value_td_scma_system_info_cell_broadcast_support_valid,
+ QmiNasCellBroadcastCapability *value_td_scma_system_info_cell_broadcast_support,
+ gboolean *value_td_scma_system_info_cs_call_barring_status_valid,
+ QmiNasCallBarringStatus *value_td_scma_system_info_cs_call_barring_status,
+ gboolean *value_td_scma_system_info_ps_call_barring_status_valid,
+ QmiNasCallBarringStatus *value_td_scma_system_info_ps_call_barring_status,
+ gboolean *value_td_scma_system_info_cipher_domain_valid,
+ QmiNasNetworkServiceDomain *value_td_scma_system_info_cipher_domain,
+ GError **error)
+{
+ QmiNasRejectCause reject_cause = QMI_NAS_REJECT_CAUSE_NONE;
+
+ if (!qmi_indication_nas_system_info_output_get_td_scma_system_info_v2 (
+ self,
+ value_td_scma_system_info_domain_valid,
+ value_td_scma_system_info_domain,
+ value_td_scma_system_info_service_capability_valid,
+ value_td_scma_system_info_service_capability,
+ value_td_scma_system_info_roaming_status_valid,
+ value_td_scma_system_info_roaming_status,
+ value_td_scma_system_info_forbidden_valid,
+ value_td_scma_system_info_forbidden,
+ value_td_scma_system_info_lac_valid,
+ value_td_scma_system_info_lac,
+ value_td_scma_system_info_cid_valid,
+ value_td_scma_system_info_cid,
+ value_td_scma_system_info_registration_reject_info_valid,
+ value_td_scma_system_info_registration_reject_domain,
+ &reject_cause,
+ value_td_scma_system_info_network_id_valid,
+ value_td_scma_system_info_mcc,
+ value_td_scma_system_info_mnc,
+ value_td_scma_system_info_hs_call_status_valid,
+ value_td_scma_system_info_hs_call_status,
+ value_td_scma_system_info_hs_service_valid,
+ value_td_scma_system_info_hs_service,
+ value_td_scma_system_info_cell_parameter_id_valid,
+ value_td_scma_system_info_cell_parameter_id,
+ value_td_scma_system_info_cell_broadcast_support_valid,
+ value_td_scma_system_info_cell_broadcast_support,
+ value_td_scma_system_info_cs_call_barring_status_valid,
+ value_td_scma_system_info_cs_call_barring_status,
+ value_td_scma_system_info_ps_call_barring_status_valid,
+ value_td_scma_system_info_ps_call_barring_status,
+ value_td_scma_system_info_cipher_domain_valid,
+ value_td_scma_system_info_cipher_domain,
+ error))
+ return FALSE;
+
+ if (value_td_scma_system_info_registration_reject_cause)
+ *value_td_scma_system_info_registration_reject_cause = (guint8) reject_cause;
+ return TRUE;
+}
+
+#endif /* HAVE_QMI_INDICATION_NAS_SYSTEM_INFO */
+
#endif /* QMI_DISABLE_DEPRECATED */
diff --git a/src/libqmi-glib/qmi-compat.h b/src/libqmi-glib/qmi-compat.h
index dd3a95b..b485e56 100644
--- a/src/libqmi-glib/qmi-compat.h
+++ b/src/libqmi-glib/qmi-compat.h
@@ -2753,6 +2753,542 @@ QmiMessageWdsSetDefaultProfileNumberOutput *qmi_client_wds_set_default_profile_n
#endif /* HAVE_QMI_MESSAGE_WDS_SET_DEFAULT_PROFILE_NUMBER */
+#if defined HAVE_QMI_MESSAGE_NAS_GET_SYSTEM_INFO
+
+/**
+ * qmi_message_nas_get_system_info_output_get_gsm_system_info:
+ * @self: a #QmiMessageNasGetSystemInfoOutput.
+ * @value_gsm_system_info_domain_valid: (out): a placeholder for the output #gboolean, or %NULL if not required.
+ * @value_gsm_system_info_domain: (out): a placeholder for the output #QmiNasNetworkServiceDomain, or %NULL if not required.
+ * @value_gsm_system_info_service_capability_valid: (out): a placeholder for the output #gboolean, or %NULL if not required.
+ * @value_gsm_system_info_service_capability: (out): a placeholder for the output #QmiNasNetworkServiceDomain, or %NULL if not required.
+ * @value_gsm_system_info_roaming_status_valid: (out): a placeholder for the output #gboolean, or %NULL if not required.
+ * @value_gsm_system_info_roaming_status: (out): a placeholder for the output #QmiNasRoamingStatus, or %NULL if not required.
+ * @value_gsm_system_info_forbidden_valid: (out): a placeholder for the output #gboolean, or %NULL if not required.
+ * @value_gsm_system_info_forbidden: (out): a placeholder for the output #gboolean, or %NULL if not required.
+ * @value_gsm_system_info_lac_valid: (out): a placeholder for the output #gboolean, or %NULL if not required.
+ * @value_gsm_system_info_lac: (out): a placeholder for the output #guint16, or %NULL if not required.
+ * @value_gsm_system_info_cid_valid: (out): a placeholder for the output #gboolean, or %NULL if not required.
+ * @value_gsm_system_info_cid: (out): a placeholder for the output #guint32, or %NULL if not required.
+ * @value_gsm_system_info_registration_reject_info_valid: (out): a placeholder for the output #gboolean, or %NULL if not required.
+ * @value_gsm_system_info_registration_reject_domain: (out): a placeholder for the output #QmiNasNetworkServiceDomain, or %NULL if not required.
+ * @value_gsm_system_info_registration_reject_cause: (out): a placeholder for the output #guint8, or %NULL if not required.
+ * @value_gsm_system_info_network_id_valid: (out): a placeholder for the output #gboolean, or %NULL if not required.
+ * @value_gsm_system_info_mcc: (out): a placeholder for the output constant string, or %NULL if not required.
+ * @value_gsm_system_info_mnc: (out): a placeholder for the output constant string, or %NULL if not required.
+ * @value_gsm_system_info_egprs_support_valid: (out): a placeholder for the output #gboolean, or %NULL if not required.
+ * @value_gsm_system_info_egprs_support: (out): a placeholder for the output #gboolean, or %NULL if not required.
+ * @value_gsm_system_info_dtm_support_valid: (out): a placeholder for the output #gboolean, or %NULL if not required.
+ * @value_gsm_system_info_dtm_support: (out): a placeholder for the output #gboolean, or %NULL if not required.
+ * @error: Return location for error or %NULL.
+ *
+ * Get the 'GSM System Info' field from @self.
+ *
+ * Returns: (skip): %TRUE if the field is found, %FALSE otherwise.
+ *
+ * Since: 1.0
+ * Deprecated: 1.30. Use qmi_message_nas_get_system_info_output_get_gsm_system_info_v2() instead.
+ */
+G_DEPRECATED_FOR (qmi_message_nas_get_system_info_output_get_gsm_system_info_v2)
+gboolean qmi_message_nas_get_system_info_output_get_gsm_system_info (
+ QmiMessageNasGetSystemInfoOutput *self,
+ gboolean *value_gsm_system_info_domain_valid,
+ QmiNasNetworkServiceDomain *value_gsm_system_info_domain,
+ gboolean *value_gsm_system_info_service_capability_valid,
+ QmiNasNetworkServiceDomain *value_gsm_system_info_service_capability,
+ gboolean *value_gsm_system_info_roaming_status_valid,
+ QmiNasRoamingStatus *value_gsm_system_info_roaming_status,
+ gboolean *value_gsm_system_info_forbidden_valid,
+ gboolean *value_gsm_system_info_forbidden,
+ gboolean *value_gsm_system_info_lac_valid,
+ guint16 *value_gsm_system_info_lac,
+ gboolean *value_gsm_system_info_cid_valid,
+ guint32 *value_gsm_system_info_cid,
+ gboolean *value_gsm_system_info_registration_reject_info_valid,
+ QmiNasNetworkServiceDomain *value_gsm_system_info_registration_reject_domain,
+ guint8 *value_gsm_system_info_registration_reject_cause,
+ gboolean *value_gsm_system_info_network_id_valid,
+ const gchar **value_gsm_system_info_mcc,
+ const gchar **value_gsm_system_info_mnc,
+ gboolean *value_gsm_system_info_egprs_support_valid,
+ gboolean *value_gsm_system_info_egprs_support,
+ gboolean *value_gsm_system_info_dtm_support_valid,
+ gboolean *value_gsm_system_info_dtm_support,
+ GError **error);
+
+/**
+ * qmi_message_nas_get_system_info_output_get_wcdma_system_info:
+ * @self: a #QmiMessageNasGetSystemInfoOutput.
+ * @value_wcdma_system_info_domain_valid: (out): a placeholder for the output #gboolean, or %NULL if not required.
+ * @value_wcdma_system_info_domain: (out): a placeholder for the output #QmiNasNetworkServiceDomain, or %NULL if not required.
+ * @value_wcdma_system_info_service_capability_valid: (out): a placeholder for the output #gboolean, or %NULL if not required.
+ * @value_wcdma_system_info_service_capability: (out): a placeholder for the output #QmiNasNetworkServiceDomain, or %NULL if not required.
+ * @value_wcdma_system_info_roaming_status_valid: (out): a placeholder for the output #gboolean, or %NULL if not required.
+ * @value_wcdma_system_info_roaming_status: (out): a placeholder for the output #QmiNasRoamingStatus, or %NULL if not required.
+ * @value_wcdma_system_info_forbidden_valid: (out): a placeholder for the output #gboolean, or %NULL if not required.
+ * @value_wcdma_system_info_forbidden: (out): a placeholder for the output #gboolean, or %NULL if not required.
+ * @value_wcdma_system_info_lac_valid: (out): a placeholder for the output #gboolean, or %NULL if not required.
+ * @value_wcdma_system_info_lac: (out): a placeholder for the output #guint16, or %NULL if not required.
+ * @value_wcdma_system_info_cid_valid: (out): a placeholder for the output #gboolean, or %NULL if not required.
+ * @value_wcdma_system_info_cid: (out): a placeholder for the output #guint32, or %NULL if not required.
+ * @value_wcdma_system_info_registration_reject_info_valid: (out): a placeholder for the output #gboolean, or %NULL if not required.
+ * @value_wcdma_system_info_registration_reject_domain: (out): a placeholder for the output #QmiNasNetworkServiceDomain, or %NULL if not required.
+ * @value_wcdma_system_info_registration_reject_cause: (out): a placeholder for the output #guint8, or %NULL if not required.
+ * @value_wcdma_system_info_network_id_valid: (out): a placeholder for the output #gboolean, or %NULL if not required.
+ * @value_wcdma_system_info_mcc: (out): a placeholder for the output constant string, or %NULL if not required.
+ * @value_wcdma_system_info_mnc: (out): a placeholder for the output constant string, or %NULL if not required.
+ * @value_wcdma_system_info_hs_call_status_valid: (out): a placeholder for the output #gboolean, or %NULL if not required.
+ * @value_wcdma_system_info_hs_call_status: (out): a placeholder for the output #QmiNasWcdmaHsService, or %NULL if not required.
+ * @value_wcdma_system_info_hs_service_valid: (out): a placeholder for the output #gboolean, or %NULL if not required.
+ * @value_wcdma_system_info_hs_service: (out): a placeholder for the output #QmiNasWcdmaHsService, or %NULL if not required.
+ * @value_wcdma_system_info_primary_scrambling_code_valid: (out): a placeholder for the output #gboolean, or %NULL if not required.
+ * @value_wcdma_system_info_primary_scrambling_code: (out): a placeholder for the output #guint16, or %NULL if not required.
+ * @error: Return location for error or %NULL.
+ *
+ * Get the 'WCDMA System Info' field from @self.
+ *
+ * Returns: (skip): %TRUE if the field is found, %FALSE otherwise.
+ *
+ * Since: 1.0
+ * Deprecated: 1.30. Use qmi_message_nas_get_system_info_output_get_wcdma_system_info_v2() instead.
+ */
+G_DEPRECATED_FOR (qmi_message_nas_get_system_info_output_get_wcdma_system_info_v2)
+gboolean qmi_message_nas_get_system_info_output_get_wcdma_system_info (
+ QmiMessageNasGetSystemInfoOutput *self,
+ gboolean *value_wcdma_system_info_domain_valid,
+ QmiNasNetworkServiceDomain *value_wcdma_system_info_domain,
+ gboolean *value_wcdma_system_info_service_capability_valid,
+ QmiNasNetworkServiceDomain *value_wcdma_system_info_service_capability,
+ gboolean *value_wcdma_system_info_roaming_status_valid,
+ QmiNasRoamingStatus *value_wcdma_system_info_roaming_status,
+ gboolean *value_wcdma_system_info_forbidden_valid,
+ gboolean *value_wcdma_system_info_forbidden,
+ gboolean *value_wcdma_system_info_lac_valid,
+ guint16 *value_wcdma_system_info_lac,
+ gboolean *value_wcdma_system_info_cid_valid,
+ guint32 *value_wcdma_system_info_cid,
+ gboolean *value_wcdma_system_info_registration_reject_info_valid,
+ QmiNasNetworkServiceDomain *value_wcdma_system_info_registration_reject_domain,
+ guint8 *value_wcdma_system_info_registration_reject_cause,
+ gboolean *value_wcdma_system_info_network_id_valid,
+ const gchar **value_wcdma_system_info_mcc,
+ const gchar **value_wcdma_system_info_mnc,
+ gboolean *value_wcdma_system_info_hs_call_status_valid,
+ QmiNasWcdmaHsService *value_wcdma_system_info_hs_call_status,
+ gboolean *value_wcdma_system_info_hs_service_valid,
+ QmiNasWcdmaHsService *value_wcdma_system_info_hs_service,
+ gboolean *value_wcdma_system_info_primary_scrambling_code_valid,
+ guint16 *value_wcdma_system_info_primary_scrambling_code,
+ GError **error);
+
+/**
+ * qmi_message_nas_get_system_info_output_get_lte_system_info:
+ * @self: a #QmiMessageNasGetSystemInfoOutput.
+ * @value_lte_system_info_domain_valid: (out): a placeholder for the output #gboolean, or %NULL if not required.
+ * @value_lte_system_info_domain: (out): a placeholder for the output #QmiNasNetworkServiceDomain, or %NULL if not required.
+ * @value_lte_system_info_service_capability_valid: (out): a placeholder for the output #gboolean, or %NULL if not required.
+ * @value_lte_system_info_service_capability: (out): a placeholder for the output #QmiNasNetworkServiceDomain, or %NULL if not required.
+ * @value_lte_system_info_roaming_status_valid: (out): a placeholder for the output #gboolean, or %NULL if not required.
+ * @value_lte_system_info_roaming_status: (out): a placeholder for the output #QmiNasRoamingStatus, or %NULL if not required.
+ * @value_lte_system_info_forbidden_valid: (out): a placeholder for the output #gboolean, or %NULL if not required.
+ * @value_lte_system_info_forbidden: (out): a placeholder for the output #gboolean, or %NULL if not required.
+ * @value_lte_system_info_lac_valid: (out): a placeholder for the output #gboolean, or %NULL if not required.
+ * @value_lte_system_info_lac: (out): a placeholder for the output #guint16, or %NULL if not required.
+ * @value_lte_system_info_cid_valid: (out): a placeholder for the output #gboolean, or %NULL if not required.
+ * @value_lte_system_info_cid: (out): a placeholder for the output #guint32, or %NULL if not required.
+ * @value_lte_system_info_registration_reject_info_valid: (out): a placeholder for the output #gboolean, or %NULL if not required.
+ * @value_lte_system_info_registration_reject_domain: (out): a placeholder for the output #QmiNasNetworkServiceDomain, or %NULL if not required.
+ * @value_lte_system_info_registration_reject_cause: (out): a placeholder for the output #guint8, or %NULL if not required.
+ * @value_lte_system_info_network_id_valid: (out): a placeholder for the output #gboolean, or %NULL if not required.
+ * @value_lte_system_info_mcc: (out): a placeholder for the output constant string, or %NULL if not required.
+ * @value_lte_system_info_mnc: (out): a placeholder for the output constant string, or %NULL if not required.
+ * @value_lte_system_info_tac_valid: (out): a placeholder for the output #gboolean, or %NULL if not required.
+ * @value_lte_system_info_tac: (out): a placeholder for the output #guint16, or %NULL if not required.
+ * @error: Return location for error or %NULL.
+ *
+ * Get the 'LTE System Info' field from @self.
+ *
+ * Returns: (skip): %TRUE if the field is found, %FALSE otherwise.
+ *
+ * Since: 1.0
+ * Deprecated: 1.30. Use qmi_message_nas_get_system_info_output_get_lte_system_info_v2() instead.
+ */
+G_DEPRECATED_FOR (qmi_message_nas_get_system_info_output_get_lte_system_info_v2)
+gboolean qmi_message_nas_get_system_info_output_get_lte_system_info (
+ QmiMessageNasGetSystemInfoOutput *self,
+ gboolean *value_lte_system_info_domain_valid,
+ QmiNasNetworkServiceDomain *value_lte_system_info_domain,
+ gboolean *value_lte_system_info_service_capability_valid,
+ QmiNasNetworkServiceDomain *value_lte_system_info_service_capability,
+ gboolean *value_lte_system_info_roaming_status_valid,
+ QmiNasRoamingStatus *value_lte_system_info_roaming_status,
+ gboolean *value_lte_system_info_forbidden_valid,
+ gboolean *value_lte_system_info_forbidden,
+ gboolean *value_lte_system_info_lac_valid,
+ guint16 *value_lte_system_info_lac,
+ gboolean *value_lte_system_info_cid_valid,
+ guint32 *value_lte_system_info_cid,
+ gboolean *value_lte_system_info_registration_reject_info_valid,
+ QmiNasNetworkServiceDomain *value_lte_system_info_registration_reject_domain,
+ guint8 *value_lte_system_info_registration_reject_cause,
+ gboolean *value_lte_system_info_network_id_valid,
+ const gchar **value_lte_system_info_mcc,
+ const gchar **value_lte_system_info_mnc,
+ gboolean *value_lte_system_info_tac_valid,
+ guint16 *value_lte_system_info_tac,
+ GError **error);
+
+/**
+ * qmi_message_nas_get_system_info_output_get_td_scdma_system_info:
+ * @self: a #QmiMessageNasGetSystemInfoOutput.
+ * @value_td_scdma_system_info_domain_valid: (out): a placeholder for the output #gboolean, or %NULL if not required.
+ * @value_td_scdma_system_info_domain: (out): a placeholder for the output #QmiNasNetworkServiceDomain, or %NULL if not required.
+ * @value_td_scdma_system_info_service_capability_valid: (out): a placeholder for the output #gboolean, or %NULL if not required.
+ * @value_td_scdma_system_info_service_capability: (out): a placeholder for the output #QmiNasNetworkServiceDomain, or %NULL if not required.
+ * @value_td_scdma_system_info_roaming_status_valid: (out): a placeholder for the output #gboolean, or %NULL if not required.
+ * @value_td_scdma_system_info_roaming_status: (out): a placeholder for the output #QmiNasRoamingStatus, or %NULL if not required.
+ * @value_td_scdma_system_info_forbidden_valid: (out): a placeholder for the output #gboolean, or %NULL if not required.
+ * @value_td_scdma_system_info_forbidden: (out): a placeholder for the output #gboolean, or %NULL if not required.
+ * @value_td_scdma_system_info_lac_valid: (out): a placeholder for the output #gboolean, or %NULL if not required.
+ * @value_td_scdma_system_info_lac: (out): a placeholder for the output #guint16, or %NULL if not required.
+ * @value_td_scdma_system_info_cid_valid: (out): a placeholder for the output #gboolean, or %NULL if not required.
+ * @value_td_scdma_system_info_cid: (out): a placeholder for the output #guint32, or %NULL if not required.
+ * @value_td_scdma_system_info_registration_reject_info_valid: (out): a placeholder for the output #gboolean, or %NULL if not required.
+ * @value_td_scdma_system_info_registration_reject_domain: (out): a placeholder for the output #QmiNasNetworkServiceDomain, or %NULL if not required.
+ * @value_td_scdma_system_info_registration_reject_cause: (out): a placeholder for the output #guint8, or %NULL if not required.
+ * @value_td_scdma_system_info_network_id_valid: (out): a placeholder for the output #gboolean, or %NULL if not required.
+ * @value_td_scdma_system_info_mcc: (out): a placeholder for the output constant string, or %NULL if not required.
+ * @value_td_scdma_system_info_mnc: (out): a placeholder for the output constant string, or %NULL if not required.
+ * @value_td_scdma_system_info_hs_call_status_valid: (out): a placeholder for the output #gboolean, or %NULL if not required.
+ * @value_td_scdma_system_info_hs_call_status: (out): a placeholder for the output #QmiNasWcdmaHsService, or %NULL if not required.
+ * @value_td_scdma_system_info_hs_service_valid: (out): a placeholder for the output #gboolean, or %NULL if not required.
+ * @value_td_scdma_system_info_hs_service: (out): a placeholder for the output #QmiNasWcdmaHsService, or %NULL if not required.
+ * @value_td_scdma_system_info_cell_parameter_id_valid: (out): a placeholder for the output #gboolean, or %NULL if not required.
+ * @value_td_scdma_system_info_cell_parameter_id: (out): a placeholder for the output #guint16, or %NULL if not required.
+ * @value_td_scdma_system_info_cell_broadcast_support_valid: (out): a placeholder for the output #gboolean, or %NULL if not required.
+ * @value_td_scdma_system_info_cell_broadcast_support: (out): a placeholder for the output #QmiNasCellBroadcastCapability, or %NULL if not required.
+ * @value_td_scdma_system_info_cs_call_barring_status_valid: (out): a placeholder for the output #gboolean, or %NULL if not required.
+ * @value_td_scdma_system_info_cs_call_barring_status: (out): a placeholder for the output #QmiNasCallBarringStatus, or %NULL if not required.
+ * @value_td_scdma_system_info_ps_call_barring_status_valid: (out): a placeholder for the output #gboolean, or %NULL if not required.
+ * @value_td_scdma_system_info_ps_call_barring_status: (out): a placeholder for the output #QmiNasCallBarringStatus, or %NULL if not required.
+ * @value_td_scdma_system_info_cipher_domain_valid: (out): a placeholder for the output #gboolean, or %NULL if not required.
+ * @value_td_scdma_system_info_cipher_domain: (out): a placeholder for the output #QmiNasNetworkServiceDomain, or %NULL if not required.
+ * @error: Return location for error or %NULL.
+ *
+ * Get the 'TD SCDMA System Info' field from @self.
+ *
+ * Returns: (skip): %TRUE if the field is found, %FALSE otherwise.
+ *
+ * Since: 1.0
+ * Deprecated: 1.30. Use qmi_message_nas_get_system_info_output_get_td_scdma_system_info_v2() instead.
+ */
+G_DEPRECATED_FOR (qmi_message_nas_get_system_info_output_get_td_scdma_system_info_v2)
+gboolean qmi_message_nas_get_system_info_output_get_td_scdma_system_info (
+ QmiMessageNasGetSystemInfoOutput *self,
+ gboolean *value_td_scdma_system_info_domain_valid,
+ QmiNasNetworkServiceDomain *value_td_scdma_system_info_domain,
+ gboolean *value_td_scdma_system_info_service_capability_valid,
+ QmiNasNetworkServiceDomain *value_td_scdma_system_info_service_capability,
+ gboolean *value_td_scdma_system_info_roaming_status_valid,
+ QmiNasRoamingStatus *value_td_scdma_system_info_roaming_status,
+ gboolean *value_td_scdma_system_info_forbidden_valid,
+ gboolean *value_td_scdma_system_info_forbidden,
+ gboolean *value_td_scdma_system_info_lac_valid,
+ guint16 *value_td_scdma_system_info_lac,
+ gboolean *value_td_scdma_system_info_cid_valid,
+ guint32 *value_td_scdma_system_info_cid,
+ gboolean *value_td_scdma_system_info_registration_reject_info_valid,
+ QmiNasNetworkServiceDomain *value_td_scdma_system_info_registration_reject_domain,
+ guint8 *value_td_scdma_system_info_registration_reject_cause,
+ gboolean *value_td_scdma_system_info_network_id_valid,
+ const gchar **value_td_scdma_system_info_mcc,
+ const gchar **value_td_scdma_system_info_mnc,
+ gboolean *value_td_scdma_system_info_hs_call_status_valid,
+ QmiNasWcdmaHsService *value_td_scdma_system_info_hs_call_status,
+ gboolean *value_td_scdma_system_info_hs_service_valid,
+ QmiNasWcdmaHsService *value_td_scdma_system_info_hs_service,
+ gboolean *value_td_scdma_system_info_cell_parameter_id_valid,
+ guint16 *value_td_scdma_system_info_cell_parameter_id,
+ gboolean *value_td_scdma_system_info_cell_broadcast_support_valid,
+ QmiNasCellBroadcastCapability *value_td_scdma_system_info_cell_broadcast_support,
+ gboolean *value_td_scdma_system_info_cs_call_barring_status_valid,
+ QmiNasCallBarringStatus *value_td_scdma_system_info_cs_call_barring_status,
+ gboolean *value_td_scdma_system_info_ps_call_barring_status_valid,
+ QmiNasCallBarringStatus *value_td_scdma_system_info_ps_call_barring_status,
+ gboolean *value_td_scdma_system_info_cipher_domain_valid,
+ QmiNasNetworkServiceDomain *value_td_scdma_system_info_cipher_domain,
+ GError **error);
+
+#endif /* HAVE_QMI_MESSAGE_NAS_GET_SYSTEM_INFO */
+
+#if defined HAVE_QMI_INDICATION_NAS_SYSTEM_INFO
+
+/**
+ * qmi_indication_nas_system_info_output_get_gsm_system_info:
+ * @self: a #QmiIndicationNasSystemInfoOutput.
+ * @value_gsm_system_info_domain_valid: (out): a placeholder for the output #gboolean, or %NULL if not required.
+ * @value_gsm_system_info_domain: (out): a placeholder for the output #QmiNasNetworkServiceDomain, or %NULL if not required.
+ * @value_gsm_system_info_service_capability_valid: (out): a placeholder for the output #gboolean, or %NULL if not required.
+ * @value_gsm_system_info_service_capability: (out): a placeholder for the output #QmiNasNetworkServiceDomain, or %NULL if not required.
+ * @value_gsm_system_info_roaming_status_valid: (out): a placeholder for the output #gboolean, or %NULL if not required.
+ * @value_gsm_system_info_roaming_status: (out): a placeholder for the output #QmiNasRoamingStatus, or %NULL if not required.
+ * @value_gsm_system_info_forbidden_valid: (out): a placeholder for the output #gboolean, or %NULL if not required.
+ * @value_gsm_system_info_forbidden: (out): a placeholder for the output #gboolean, or %NULL if not required.
+ * @value_gsm_system_info_lac_valid: (out): a placeholder for the output #gboolean, or %NULL if not required.
+ * @value_gsm_system_info_lac: (out): a placeholder for the output #guint16, or %NULL if not required.
+ * @value_gsm_system_info_cid_valid: (out): a placeholder for the output #gboolean, or %NULL if not required.
+ * @value_gsm_system_info_cid: (out): a placeholder for the output #guint32, or %NULL if not required.
+ * @value_gsm_system_info_registration_reject_info_valid: (out): a placeholder for the output #gboolean, or %NULL if not required.
+ * @value_gsm_system_info_registration_reject_domain: (out): a placeholder for the output #QmiNasNetworkServiceDomain, or %NULL if not required.
+ * @value_gsm_system_info_registration_reject_cause: (out): a placeholder for the output #guint8, or %NULL if not required.
+ * @value_gsm_system_info_network_id_valid: (out): a placeholder for the output #gboolean, or %NULL if not required.
+ * @value_gsm_system_info_mcc: (out): a placeholder for the output constant string, or %NULL if not required.
+ * @value_gsm_system_info_mnc: (out): a placeholder for the output constant string, or %NULL if not required.
+ * @value_gsm_system_info_egprs_support_valid: (out): a placeholder for the output #gboolean, or %NULL if not required.
+ * @value_gsm_system_info_egprs_support: (out): a placeholder for the output #gboolean, or %NULL if not required.
+ * @value_gsm_system_info_dtm_support_valid: (out): a placeholder for the output #gboolean, or %NULL if not required.
+ * @value_gsm_system_info_dtm_support: (out): a placeholder for the output #gboolean, or %NULL if not required.
+ * @error: Return location for error or %NULL.
+ *
+ * Get the 'GSM System Info' field from @self.
+ *
+ * Returns: (skip): %TRUE if the field is found, %FALSE otherwise.
+ *
+ * Since: 1.0
+ * Deprecated: 1.30. Use qmi_indication_nas_system_info_output_get_gsm_system_info_v2() instead.
+ */
+G_DEPRECATED_FOR (qmi_indication_nas_system_info_output_get_gsm_system_info_v2)
+gboolean qmi_indication_nas_system_info_output_get_gsm_system_info (
+ QmiIndicationNasSystemInfoOutput *self,
+ gboolean *value_gsm_system_info_domain_valid,
+ QmiNasNetworkServiceDomain *value_gsm_system_info_domain,
+ gboolean *value_gsm_system_info_service_capability_valid,
+ QmiNasNetworkServiceDomain *value_gsm_system_info_service_capability,
+ gboolean *value_gsm_system_info_roaming_status_valid,
+ QmiNasRoamingStatus *value_gsm_system_info_roaming_status,
+ gboolean *value_gsm_system_info_forbidden_valid,
+ gboolean *value_gsm_system_info_forbidden,
+ gboolean *value_gsm_system_info_lac_valid,
+ guint16 *value_gsm_system_info_lac,
+ gboolean *value_gsm_system_info_cid_valid,
+ guint32 *value_gsm_system_info_cid,
+ gboolean *value_gsm_system_info_registration_reject_info_valid,
+ QmiNasNetworkServiceDomain *value_gsm_system_info_registration_reject_domain,
+ guint8 *value_gsm_system_info_registration_reject_cause,
+ gboolean *value_gsm_system_info_network_id_valid,
+ const gchar **value_gsm_system_info_mcc,
+ const gchar **value_gsm_system_info_mnc,
+ gboolean *value_gsm_system_info_egprs_support_valid,
+ gboolean *value_gsm_system_info_egprs_support,
+ gboolean *value_gsm_system_info_dtm_support_valid,
+ gboolean *value_gsm_system_info_dtm_support,
+ GError **error);
+
+/**
+ * qmi_indication_nas_system_info_output_get_wcdma_system_info:
+ * @self: a #QmiIndicationNasSystemInfoOutput.
+ * @value_wcdma_system_info_domain_valid: (out): a placeholder for the output #gboolean, or %NULL if not required.
+ * @value_wcdma_system_info_domain: (out): a placeholder for the output #QmiNasNetworkServiceDomain, or %NULL if not required.
+ * @value_wcdma_system_info_service_capability_valid: (out): a placeholder for the output #gboolean, or %NULL if not required.
+ * @value_wcdma_system_info_service_capability: (out): a placeholder for the output #QmiNasNetworkServiceDomain, or %NULL if not required.
+ * @value_wcdma_system_info_roaming_status_valid: (out): a placeholder for the output #gboolean, or %NULL if not required.
+ * @value_wcdma_system_info_roaming_status: (out): a placeholder for the output #QmiNasRoamingStatus, or %NULL if not required.
+ * @value_wcdma_system_info_forbidden_valid: (out): a placeholder for the output #gboolean, or %NULL if not required.
+ * @value_wcdma_system_info_forbidden: (out): a placeholder for the output #gboolean, or %NULL if not required.
+ * @value_wcdma_system_info_lac_valid: (out): a placeholder for the output #gboolean, or %NULL if not required.
+ * @value_wcdma_system_info_lac: (out): a placeholder for the output #guint16, or %NULL if not required.
+ * @value_wcdma_system_info_cid_valid: (out): a placeholder for the output #gboolean, or %NULL if not required.
+ * @value_wcdma_system_info_cid: (out): a placeholder for the output #guint32, or %NULL if not required.
+ * @value_wcdma_system_info_registration_reject_info_valid: (out): a placeholder for the output #gboolean, or %NULL if not required.
+ * @value_wcdma_system_info_registration_reject_domain: (out): a placeholder for the output #QmiNasNetworkServiceDomain, or %NULL if not required.
+ * @value_wcdma_system_info_registration_reject_cause: (out): a placeholder for the output #guint8, or %NULL if not required.
+ * @value_wcdma_system_info_network_id_valid: (out): a placeholder for the output #gboolean, or %NULL if not required.
+ * @value_wcdma_system_info_mcc: (out): a placeholder for the output constant string, or %NULL if not required.
+ * @value_wcdma_system_info_mnc: (out): a placeholder for the output constant string, or %NULL if not required.
+ * @value_wcdma_system_info_hs_call_status_valid: (out): a placeholder for the output #gboolean, or %NULL if not required.
+ * @value_wcdma_system_info_hs_call_status: (out): a placeholder for the output #QmiNasWcdmaHsService, or %NULL if not required.
+ * @value_wcdma_system_info_hs_service_valid: (out): a placeholder for the output #gboolean, or %NULL if not required.
+ * @value_wcdma_system_info_hs_service: (out): a placeholder for the output #QmiNasWcdmaHsService, or %NULL if not required.
+ * @value_wcdma_system_info_primary_scrambling_code_valid: (out): a placeholder for the output #gboolean, or %NULL if not required.
+ * @value_wcdma_system_info_primary_scrambling_code: (out): a placeholder for the output #guint16, or %NULL if not required.
+ * @error: Return location for error or %NULL.
+ *
+ * Get the 'WCDMA System Info' field from @self.
+ *
+ * Returns: (skip): %TRUE if the field is found, %FALSE otherwise.
+ *
+ * Since: 1.0
+ * Deprecated: 1.30. Use qmi_indication_nas_system_info_output_get_wcdma_system_info_v2() instead.
+ */
+G_DEPRECATED_FOR (qmi_indication_nas_system_info_output_get_wcdma_system_info_v2)
+gboolean qmi_indication_nas_system_info_output_get_wcdma_system_info (
+ QmiIndicationNasSystemInfoOutput *self,
+ gboolean *value_wcdma_system_info_domain_valid,
+ QmiNasNetworkServiceDomain *value_wcdma_system_info_domain,
+ gboolean *value_wcdma_system_info_service_capability_valid,
+ QmiNasNetworkServiceDomain *value_wcdma_system_info_service_capability,
+ gboolean *value_wcdma_system_info_roaming_status_valid,
+ QmiNasRoamingStatus *value_wcdma_system_info_roaming_status,
+ gboolean *value_wcdma_system_info_forbidden_valid,
+ gboolean *value_wcdma_system_info_forbidden,
+ gboolean *value_wcdma_system_info_lac_valid,
+ guint16 *value_wcdma_system_info_lac,
+ gboolean *value_wcdma_system_info_cid_valid,
+ guint32 *value_wcdma_system_info_cid,
+ gboolean *value_wcdma_system_info_registration_reject_info_valid,
+ QmiNasNetworkServiceDomain *value_wcdma_system_info_registration_reject_domain,
+ guint8 *value_wcdma_system_info_registration_reject_cause,
+ gboolean *value_wcdma_system_info_network_id_valid,
+ const gchar **value_wcdma_system_info_mcc,
+ const gchar **value_wcdma_system_info_mnc,
+ gboolean *value_wcdma_system_info_hs_call_status_valid,
+ QmiNasWcdmaHsService *value_wcdma_system_info_hs_call_status,
+ gboolean *value_wcdma_system_info_hs_service_valid,
+ QmiNasWcdmaHsService *value_wcdma_system_info_hs_service,
+ gboolean *value_wcdma_system_info_primary_scrambling_code_valid,
+ guint16 *value_wcdma_system_info_primary_scrambling_code,
+ GError **error);
+
+/**
+ * qmi_indication_nas_system_info_output_get_lte_system_info:
+ * @self: a #QmiIndicationNasSystemInfoOutput.
+ * @value_lte_system_info_domain_valid: (out): a placeholder for the output #gboolean, or %NULL if not required.
+ * @value_lte_system_info_domain: (out): a placeholder for the output #QmiNasNetworkServiceDomain, or %NULL if not required.
+ * @value_lte_system_info_service_capability_valid: (out): a placeholder for the output #gboolean, or %NULL if not required.
+ * @value_lte_system_info_service_capability: (out): a placeholder for the output #QmiNasNetworkServiceDomain, or %NULL if not required.
+ * @value_lte_system_info_roaming_status_valid: (out): a placeholder for the output #gboolean, or %NULL if not required.
+ * @value_lte_system_info_roaming_status: (out): a placeholder for the output #QmiNasRoamingStatus, or %NULL if not required.
+ * @value_lte_system_info_forbidden_valid: (out): a placeholder for the output #gboolean, or %NULL if not required.
+ * @value_lte_system_info_forbidden: (out): a placeholder for the output #gboolean, or %NULL if not required.
+ * @value_lte_system_info_lac_valid: (out): a placeholder for the output #gboolean, or %NULL if not required.
+ * @value_lte_system_info_lac: (out): a placeholder for the output #guint16, or %NULL if not required.
+ * @value_lte_system_info_cid_valid: (out): a placeholder for the output #gboolean, or %NULL if not required.
+ * @value_lte_system_info_cid: (out): a placeholder for the output #guint32, or %NULL if not required.
+ * @value_lte_system_info_registration_reject_info_valid: (out): a placeholder for the output #gboolean, or %NULL if not required.
+ * @value_lte_system_info_registration_reject_domain: (out): a placeholder for the output #QmiNasNetworkServiceDomain, or %NULL if not required.
+ * @value_lte_system_info_registration_reject_cause: (out): a placeholder for the output #guint8, or %NULL if not required.
+ * @value_lte_system_info_network_id_valid: (out): a placeholder for the output #gboolean, or %NULL if not required.
+ * @value_lte_system_info_mcc: (out): a placeholder for the output constant string, or %NULL if not required.
+ * @value_lte_system_info_mnc: (out): a placeholder for the output constant string, or %NULL if not required.
+ * @value_lte_system_info_tac_valid: (out): a placeholder for the output #gboolean, or %NULL if not required.
+ * @value_lte_system_info_tac: (out): a placeholder for the output #guint16, or %NULL if not required.
+ * @error: Return location for error or %NULL.
+ *
+ * Get the 'LTE System Info' field from @self.
+ *
+ * Returns: (skip): %TRUE if the field is found, %FALSE otherwise.
+ *
+ * Since: 1.0
+ * Deprected: 1.30. Use qmi_indication_nas_system_info_output_get_lte_system_info_v2() instead.
+ */
+G_DEPRECATED_FOR (qmi_indication_nas_system_info_output_get_lte_system_info_v2)
+gboolean qmi_indication_nas_system_info_output_get_lte_system_info (
+ QmiIndicationNasSystemInfoOutput *self,
+ gboolean *value_lte_system_info_domain_valid,
+ QmiNasNetworkServiceDomain *value_lte_system_info_domain,
+ gboolean *value_lte_system_info_service_capability_valid,
+ QmiNasNetworkServiceDomain *value_lte_system_info_service_capability,
+ gboolean *value_lte_system_info_roaming_status_valid,
+ QmiNasRoamingStatus *value_lte_system_info_roaming_status,
+ gboolean *value_lte_system_info_forbidden_valid,
+ gboolean *value_lte_system_info_forbidden,
+ gboolean *value_lte_system_info_lac_valid,
+ guint16 *value_lte_system_info_lac,
+ gboolean *value_lte_system_info_cid_valid,
+ guint32 *value_lte_system_info_cid,
+ gboolean *value_lte_system_info_registration_reject_info_valid,
+ QmiNasNetworkServiceDomain *value_lte_system_info_registration_reject_domain,
+ guint8 *value_lte_system_info_registration_reject_cause,
+ gboolean *value_lte_system_info_network_id_valid,
+ const gchar **value_lte_system_info_mcc,
+ const gchar **value_lte_system_info_mnc,
+ gboolean *value_lte_system_info_tac_valid,
+ guint16 *value_lte_system_info_tac,
+ GError **error);
+
+/**
+ * qmi_indication_nas_system_info_output_get_td_scma_system_info:
+ * @self: a #QmiIndicationNasSystemInfoOutput.
+ * @value_td_scma_system_info_domain_valid: (out): a placeholder for the output #gboolean, or %NULL if not required.
+ * @value_td_scma_system_info_domain: (out): a placeholder for the output #QmiNasNetworkServiceDomain, or %NULL if not required.
+ * @value_td_scma_system_info_service_capability_valid: (out): a placeholder for the output #gboolean, or %NULL if not required.
+ * @value_td_scma_system_info_service_capability: (out): a placeholder for the output #QmiNasNetworkServiceDomain, or %NULL if not required.
+ * @value_td_scma_system_info_roaming_status_valid: (out): a placeholder for the output #gboolean, or %NULL if not required.
+ * @value_td_scma_system_info_roaming_status: (out): a placeholder for the output #QmiNasRoamingStatus, or %NULL if not required.
+ * @value_td_scma_system_info_forbidden_valid: (out): a placeholder for the output #gboolean, or %NULL if not required.
+ * @value_td_scma_system_info_forbidden: (out): a placeholder for the output #gboolean, or %NULL if not required.
+ * @value_td_scma_system_info_lac_valid: (out): a placeholder for the output #gboolean, or %NULL if not required.
+ * @value_td_scma_system_info_lac: (out): a placeholder for the output #guint16, or %NULL if not required.
+ * @value_td_scma_system_info_cid_valid: (out): a placeholder for the output #gboolean, or %NULL if not required.
+ * @value_td_scma_system_info_cid: (out): a placeholder for the output #guint32, or %NULL if not required.
+ * @value_td_scma_system_info_registration_reject_info_valid: (out): a placeholder for the output #gboolean, or %NULL if not required.
+ * @value_td_scma_system_info_registration_reject_domain: (out): a placeholder for the output #QmiNasNetworkServiceDomain, or %NULL if not required.
+ * @value_td_scma_system_info_registration_reject_cause: (out): a placeholder for the output #guint8, or %NULL if not required.
+ * @value_td_scma_system_info_network_id_valid: (out): a placeholder for the output #gboolean, or %NULL if not required.
+ * @value_td_scma_system_info_mcc: (out): a placeholder for the output constant string, or %NULL if not required.
+ * @value_td_scma_system_info_mnc: (out): a placeholder for the output constant string, or %NULL if not required.
+ * @value_td_scma_system_info_hs_call_status_valid: (out): a placeholder for the output #gboolean, or %NULL if not required.
+ * @value_td_scma_system_info_hs_call_status: (out): a placeholder for the output #QmiNasWcdmaHsService, or %NULL if not required.
+ * @value_td_scma_system_info_hs_service_valid: (out): a placeholder for the output #gboolean, or %NULL if not required.
+ * @value_td_scma_system_info_hs_service: (out): a placeholder for the output #QmiNasWcdmaHsService, or %NULL if not required.
+ * @value_td_scma_system_info_cell_parameter_id_valid: (out): a placeholder for the output #gboolean, or %NULL if not required.
+ * @value_td_scma_system_info_cell_parameter_id: (out): a placeholder for the output #guint16, or %NULL if not required.
+ * @value_td_scma_system_info_cell_broadcast_support_valid: (out): a placeholder for the output #gboolean, or %NULL if not required.
+ * @value_td_scma_system_info_cell_broadcast_support: (out): a placeholder for the output #QmiNasCellBroadcastCapability, or %NULL if not required.
+ * @value_td_scma_system_info_cs_call_barring_status_valid: (out): a placeholder for the output #gboolean, or %NULL if not required.
+ * @value_td_scma_system_info_cs_call_barring_status: (out): a placeholder for the output #QmiNasCallBarringStatus, or %NULL if not required.
+ * @value_td_scma_system_info_ps_call_barring_status_valid: (out): a placeholder for the output #gboolean, or %NULL if not required.
+ * @value_td_scma_system_info_ps_call_barring_status: (out): a placeholder for the output #QmiNasCallBarringStatus, or %NULL if not required.
+ * @value_td_scma_system_info_cipher_domain_valid: (out): a placeholder for the output #gboolean, or %NULL if not required.
+ * @value_td_scma_system_info_cipher_domain: (out): a placeholder for the output #QmiNasNetworkServiceDomain, or %NULL if not required.
+ * @error: Return location for error or %NULL.
+ *
+ * Get the 'TD SCMA System Info' field from @self.
+ *
+ * Returns: (skip): %TRUE if the field is found, %FALSE otherwise.
+ *
+ * Since: 1.0
+ * Deprecated: 1.30. Use qmi_indication_nas_system_info_output_get_td_scma_system_info_v2() instead.
+ */
+G_DEPRECATED_FOR (qmi_indication_nas_system_info_output_get_td_scma_system_info_v2)
+gboolean qmi_indication_nas_system_info_output_get_td_scma_system_info (
+ QmiIndicationNasSystemInfoOutput *self,
+ gboolean *value_td_scma_system_info_domain_valid,
+ QmiNasNetworkServiceDomain *value_td_scma_system_info_domain,
+ gboolean *value_td_scma_system_info_service_capability_valid,
+ QmiNasNetworkServiceDomain *value_td_scma_system_info_service_capability,
+ gboolean *value_td_scma_system_info_roaming_status_valid,
+ QmiNasRoamingStatus *value_td_scma_system_info_roaming_status,
+ gboolean *value_td_scma_system_info_forbidden_valid,
+ gboolean *value_td_scma_system_info_forbidden,
+ gboolean *value_td_scma_system_info_lac_valid,
+ guint16 *value_td_scma_system_info_lac,
+ gboolean *value_td_scma_system_info_cid_valid,
+ guint32 *value_td_scma_system_info_cid,
+ gboolean *value_td_scma_system_info_registration_reject_info_valid,
+ QmiNasNetworkServiceDomain *value_td_scma_system_info_registration_reject_domain,
+ guint8 *value_td_scma_system_info_registration_reject_cause,
+ gboolean *value_td_scma_system_info_network_id_valid,
+ const gchar **value_td_scma_system_info_mcc,
+ const gchar **value_td_scma_system_info_mnc,
+ gboolean *value_td_scma_system_info_hs_call_status_valid,
+ QmiNasWcdmaHsService *value_td_scma_system_info_hs_call_status,
+ gboolean *value_td_scma_system_info_hs_service_valid,
+ QmiNasWcdmaHsService *value_td_scma_system_info_hs_service,
+ gboolean *value_td_scma_system_info_cell_parameter_id_valid,
+ guint16 *value_td_scma_system_info_cell_parameter_id,
+ gboolean *value_td_scma_system_info_cell_broadcast_support_valid,
+ QmiNasCellBroadcastCapability *value_td_scma_system_info_cell_broadcast_support,
+ gboolean *value_td_scma_system_info_cs_call_barring_status_valid,
+ QmiNasCallBarringStatus *value_td_scma_system_info_cs_call_barring_status,
+ gboolean *value_td_scma_system_info_ps_call_barring_status_valid,
+ QmiNasCallBarringStatus *value_td_scma_system_info_ps_call_barring_status,
+ gboolean *value_td_scma_system_info_cipher_domain_valid,
+ QmiNasNetworkServiceDomain *value_td_scma_system_info_cipher_domain,
+ GError **error);
+
+#endif /* HAVE_QMI_INDICATION_NAS_SYSTEM_INFO */
+
#endif /* QMI_DISABLE_DEPRECATED */
#endif /* _LIBQMI_GLIB_QMI_COMPAT_H_ */
diff --git a/src/libqmi-glib/test/test-generated.c b/src/libqmi-glib/test/test-generated.c
index 48e29f4..550979e 100644
--- a/src/libqmi-glib/test/test-generated.c
+++ b/src/libqmi-glib/test/test-generated.c
@@ -947,7 +947,7 @@ nas_get_system_info_ready (QmiClientNas *client,
guint32 cid;
gboolean registration_reject_info_valid = FALSE;
QmiNasNetworkServiceDomain registration_reject_domain;
- guint8 registration_reject_cause;
+ QmiNasRejectCause registration_reject_cause;
gboolean network_id_valid = FALSE;
const gchar *mcc = NULL;
const gchar *mnc = NULL;
@@ -976,28 +976,29 @@ nas_get_system_info_ready (QmiClientNas *client,
* Registration domain: 'not-applicable'
*/
- g_assert (qmi_message_nas_get_system_info_output_get_lte_system_info (output,
- &domain_valid,
- &domain,
- &service_capability_valid,
- &service_capability,
- &roaming_status_valid,
- &roaming_status,
- &forbidden_valid,
- &forbidden,
- &lac_valid,
- &lac,
- &cid_valid,
- &cid,
- &registration_reject_info_valid,
- &registration_reject_domain,
- &registration_reject_cause,
- &network_id_valid,
- &mcc,
- &mnc,
- &tac_valid,
- &tac,
- &error));
+ g_assert (qmi_message_nas_get_system_info_output_get_lte_system_info_v2 (
+ output,
+ &domain_valid,
+ &domain,
+ &service_capability_valid,
+ &service_capability,
+ &roaming_status_valid,
+ &roaming_status,
+ &forbidden_valid,
+ &forbidden,
+ &lac_valid,
+ &lac,
+ &cid_valid,
+ &cid,
+ &registration_reject_info_valid,
+ &registration_reject_domain,
+ &registration_reject_cause,
+ &network_id_valid,
+ &mcc,
+ &mnc,
+ &tac_valid,
+ &tac,
+ &error));
g_assert_no_error (error);
g_assert (domain_valid);
g_assert_cmpuint (domain, ==, QMI_NAS_NETWORK_SERVICE_DOMAIN_CS_PS);
diff --git a/src/qmicli/qmicli-nas.c b/src/qmicli/qmicli-nas.c
index b78a5b4..c99d508 100644
--- a/src/qmicli/qmicli-nas.c
+++ b/src/qmicli/qmicli-nas.c
@@ -1897,7 +1897,7 @@ get_system_info_ready (QmiClientNas *client,
guint32 cid;
gboolean registration_reject_info_valid;
QmiNasNetworkServiceDomain registration_reject_domain;
- guint8 registration_reject_cause;
+ QmiNasRejectCause registration_reject_cause;
gboolean network_id_valid;
const gchar *mcc;
const gchar *mnc;
@@ -1925,7 +1925,7 @@ get_system_info_ready (QmiClientNas *client,
qmi_nas_service_status_get_string (true_service_status),
preferred_data_path ? "yes" : "no");
- if (qmi_message_nas_get_system_info_output_get_gsm_system_info (
+ if (qmi_message_nas_get_system_info_output_get_gsm_system_info_v2 (
output,
&domain_valid, &domain,
&service_capability_valid, &service_capability,
@@ -1951,9 +1951,9 @@ get_system_info_ready (QmiClientNas *client,
if (cid_valid)
g_print ("\t\tCell ID: '%u'\n", cid);
if (registration_reject_info_valid)
- g_print ("\t\tRegistration reject: '%s' (%u)\n",
+ g_print ("\t\tRegistration reject: '%s' (%s)\n",
qmi_nas_network_service_domain_get_string (registration_reject_domain),
- registration_reject_cause);
+ qmi_nas_reject_cause_get_string (registration_reject_cause));
if (network_id_valid) {
g_print ("\t\tMCC: '%s'\n", mcc);
if ((guchar)mnc[2] == 0xFF)
@@ -2014,7 +2014,7 @@ get_system_info_ready (QmiClientNas *client,
guint32 cid;
gboolean registration_reject_info_valid;
QmiNasNetworkServiceDomain registration_reject_domain;
- guint8 registration_reject_cause;
+ QmiNasRejectCause registration_reject_cause;
gboolean network_id_valid;
const gchar *mcc;
const gchar *mnc;
@@ -2044,7 +2044,7 @@ get_system_info_ready (QmiClientNas *client,
qmi_nas_service_status_get_string (true_service_status),
preferred_data_path ? "yes" : "no");
- if (qmi_message_nas_get_system_info_output_get_wcdma_system_info (
+ if (qmi_message_nas_get_system_info_output_get_wcdma_system_info_v2 (
output,
&domain_valid, &domain,
&service_capability_valid, &service_capability,
@@ -2057,7 +2057,7 @@ get_system_info_ready (QmiClientNas *client,
&hs_call_status_valid, &hs_call_status,
&hs_service_valid, &hs_service,
&primary_scrambling_code_valid, &primary_scrambling_code,
- NULL)) {
+ NULL)) {
if (domain_valid)
g_print ("\t\tDomain: '%s'\n", qmi_nas_network_service_domain_get_string (domain));
if (service_capability_valid)
@@ -2071,9 +2071,9 @@ get_system_info_ready (QmiClientNas *client,
if (cid_valid)
g_print ("\t\tCell ID: '%u'\n", cid);
if (registration_reject_info_valid)
- g_print ("\t\tRegistration reject: '%s' (%u)\n",
+ g_print ("\t\tRegistration reject: '%s' (%s)\n",
qmi_nas_network_service_domain_get_string (registration_reject_domain),
- registration_reject_cause);
+ qmi_nas_reject_cause_get_string (registration_reject_cause));
if (network_id_valid) {
g_print ("\t\tMCC: '%s'\n", mcc);
if ((guchar)mnc[2] == 0xFF)
@@ -2136,7 +2136,7 @@ get_system_info_ready (QmiClientNas *client,
guint32 cid;
gboolean registration_reject_info_valid;
QmiNasNetworkServiceDomain registration_reject_domain;
- guint8 registration_reject_cause;
+ QmiNasRejectCause registration_reject_cause;
gboolean network_id_valid;
const gchar *mcc;
const gchar *mnc;
@@ -2165,7 +2165,7 @@ get_system_info_ready (QmiClientNas *client,
qmi_nas_service_status_get_string (true_service_status),
preferred_data_path ? "yes" : "no");
- if (qmi_message_nas_get_system_info_output_get_lte_system_info (
+ if (qmi_message_nas_get_system_info_output_get_lte_system_info_v2 (
output,
&domain_valid, &domain,
&service_capability_valid, &service_capability,
@@ -2190,9 +2190,9 @@ get_system_info_ready (QmiClientNas *client,
if (cid_valid)
g_print ("\t\tCell ID: '%u'\n", cid);
if (registration_reject_info_valid)
- g_print ("\t\tRegistration reject: '%s' (%u)\n",
+ g_print ("\t\tRegistration reject: '%s' (%s)\n",
qmi_nas_network_service_domain_get_string (registration_reject_domain),
- registration_reject_cause);
+ qmi_nas_reject_cause_get_string (registration_reject_cause));
if (network_id_valid) {
g_print ("\t\tMCC: '%s'\n", mcc);
if ((guchar)mnc[2] == 0xFF)
@@ -2282,7 +2282,7 @@ get_system_info_ready (QmiClientNas *client,
guint32 cid;
gboolean registration_reject_info_valid;
QmiNasNetworkServiceDomain registration_reject_domain;
- guint8 registration_reject_cause;
+ QmiNasRejectCause registration_reject_cause;
gboolean network_id_valid;
const gchar *mcc;
const gchar *mnc;
@@ -2315,7 +2315,7 @@ get_system_info_ready (QmiClientNas *client,
qmi_nas_service_status_get_string (true_service_status),
preferred_data_path ? "yes" : "no");
- if (qmi_message_nas_get_system_info_output_get_td_scdma_system_info (
+ if (qmi_message_nas_get_system_info_output_get_td_scdma_system_info_v2 (
output,
&domain_valid, &domain,
&service_capability_valid, &service_capability,
@@ -2346,9 +2346,9 @@ get_system_info_ready (QmiClientNas *client,
if (cid_valid)
g_print ("\t\tCell ID: '%u'\n", cid);
if (registration_reject_info_valid)
- g_print ("\t\tRegistration reject: '%s' (%u)\n",
+ g_print ("\t\tRegistration reject: '%s' (%s)\n",
qmi_nas_network_service_domain_get_string (registration_reject_domain),
- registration_reject_cause);
+ qmi_nas_reject_cause_get_string (registration_reject_cause));
if (network_id_valid) {
g_print ("\t\tMCC: '%s'\n", mcc);
if ((guchar)mnc[2] == 0xFF)