aboutsummaryrefslogtreecommitdiff
path: root/src/mm-iface-modem.h
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@lanedo.com>2012-02-17 16:57:12 +0100
committerAleksander Morgado <aleksander@lanedo.com>2012-03-16 14:28:13 +0100
commit09d2f062c73a62bc32c21d2bcd9249c8a174fe82 (patch)
treefa3bfab24497997fe3ded9dbc92dd04afd8f50b3 /src/mm-iface-modem.h
parent76e52236a44d87bc7aacb141b956146ab67d66eb (diff)
api,dbus: rename `AllowedBands' to just `Bands'
ModemManager will load: 1) The list of supported bands. Note that this doesn't mean that any possible combination of bands is supported, as modems may support only specific combinations, but at least gives a rough idea of what the modem is capable of handling. 2) The list of CURRENT bands. There is no such "Allowed" bands, as we do with modes, modems will have a specific set of bands being currently used, which will be reported in the `Bands' property. If the modem allows modifying the list of bands to use, this can be done with the `SetBands()' method. If the modem doesn't support using a specific combination of bands, this method will report an error.
Diffstat (limited to 'src/mm-iface-modem.h')
-rw-r--r--src/mm-iface-modem.h30
1 files changed, 15 insertions, 15 deletions
diff --git a/src/mm-iface-modem.h b/src/mm-iface-modem.h
index f5a16252..f9c3a80e 100644
--- a/src/mm-iface-modem.h
+++ b/src/mm-iface-modem.h
@@ -174,13 +174,13 @@ struct _MMIfaceModem {
GError **error);
/* Asynchronous allowed band setting operation */
- void (*set_allowed_bands) (MMIfaceModem *self,
- GArray *bands_array,
- GAsyncReadyCallback callback,
- gpointer user_data);
- gboolean (*set_allowed_bands_finish) (MMIfaceModem *self,
- GAsyncResult *res,
- GError **error);
+ void (*set_bands) (MMIfaceModem *self,
+ GArray *bands_array,
+ GAsyncReadyCallback callback,
+ gpointer user_data);
+ gboolean (*set_bands_finish) (MMIfaceModem *self,
+ GAsyncResult *res,
+ GError **error);
/* Asynchronous allowed mode setting operation */
void (*set_allowed_modes) (MMIfaceModem *self,
@@ -356,14 +356,14 @@ gboolean mm_iface_modem_set_allowed_modes_finish (MMIfaceModem *self,
GAsyncResult *res,
GError **error);
-/* Allow setting allowed bands */
-void mm_iface_modem_set_allowed_bands (MMIfaceModem *self,
- GArray *bands_array,
- GAsyncReadyCallback callback,
- gpointer user_data);
-gboolean mm_iface_modem_set_allowed_bands_finish (MMIfaceModem *self,
- GAsyncResult *res,
- GError **error);
+/* Allow setting bands */
+void mm_iface_modem_set_bands (MMIfaceModem *self,
+ GArray *bands_array,
+ GAsyncReadyCallback callback,
+ gpointer user_data);
+gboolean mm_iface_modem_set_bands_finish (MMIfaceModem *self,
+ GAsyncResult *res,
+ GError **error);
/* Allow creating bearers */
void mm_iface_modem_create_bearer (MMIfaceModem *self,