aboutsummaryrefslogtreecommitdiff
path: root/src/mm-iface-modem-3gpp.h
diff options
context:
space:
mode:
authorAkash Aggarwal <quic_akasagga@quicinc.com>2022-07-28 11:25:57 +0530
committerAleksander Morgado <aleksander@aleksander.es>2022-08-04 14:26:33 +0000
commit213cd81b3ade35024e2d702e2726273f00344185 (patch)
treeda58e3985cfd5e63f6b6edbcfa4cfe0906afa66f /src/mm-iface-modem-3gpp.h
parentd008e437c3fadd7ee3442d1b8160140d6f6d02c0 (diff)
iface-modem-simple: wait for packet service 'attach' state in ConnectionStep
Diffstat (limited to 'src/mm-iface-modem-3gpp.h')
-rw-r--r--src/mm-iface-modem-3gpp.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/mm-iface-modem-3gpp.h b/src/mm-iface-modem-3gpp.h
index 042af657..ae380611 100644
--- a/src/mm-iface-modem-3gpp.h
+++ b/src/mm-iface-modem-3gpp.h
@@ -11,6 +11,7 @@
* GNU General Public License for more details:
*
* Copyright (C) 2011-2012 Google, Inc.
+ * Copyright (c) 2022 Qualcomm Innovation Center, Inc.
*/
#ifndef MM_IFACE_MODEM_3GPP_H
@@ -37,6 +38,7 @@
#define MM_IFACE_MODEM_3GPP_5GS_NETWORK_SUPPORTED "iface-modem-3gpp-5gs-network-supported"
#define MM_IFACE_MODEM_3GPP_IGNORED_FACILITY_LOCKS "iface-modem-3gpp-ignored-facility-locks"
#define MM_IFACE_MODEM_3GPP_INITIAL_EPS_BEARER "iface-modem-3gpp-initial-eps-bearer"
+#define MM_IFACE_MODEM_3GPP_PACKET_SERVICE_STATE "iface-modem-3gpp-packet-service-state"
#define MM_IFACE_MODEM_3GPP_ALL_ACCESS_TECHNOLOGIES_MASK \
(MM_MODEM_ACCESS_TECHNOLOGY_GSM | \
@@ -379,6 +381,14 @@ gboolean mm_iface_modem_3gpp_reregister_in_network_finish (MMIfaceModem3gpp
GAsyncResult *res,
GError **error);
+void mm_iface_modem_3gpp_wait_for_packet_service_state (MMIfaceModem3gpp *self,
+ MMModem3gppPacketServiceState final_state,
+ GAsyncReadyCallback callback,
+ gpointer user_data);
+MMModem3gppPacketServiceState mm_iface_modem_3gpp_wait_for_packet_service_state_finish (MMIfaceModem3gpp *self,
+ GAsyncResult *res,
+ GError **error);
+
/* Bind properties for simple GetStatus() */
void mm_iface_modem_3gpp_bind_simple_status (MMIfaceModem3gpp *self,
MMSimpleStatus *status);