aboutsummaryrefslogtreecommitdiff
path: root/plugins/cinterion/mm-modem-helpers-cinterion.c
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2017-08-21 14:29:38 +0200
committerAleksander Morgado <aleksander@aleksander.es>2017-09-07 10:55:17 +0200
commitaae7105743765cec6ddc7c4402d296276a8b86e6 (patch)
tree07556abc355f4c71f9e44eac5109ca21b3efa22b /plugins/cinterion/mm-modem-helpers-cinterion.c
parent44a850f8adf7b4c5e032f29f313b871f9a7616c1 (diff)
cinterion: update frequency bands support
Updated to use the non-deprecated MMModemBand values.
Diffstat (limited to 'plugins/cinterion/mm-modem-helpers-cinterion.c')
-rw-r--r--plugins/cinterion/mm-modem-helpers-cinterion.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/plugins/cinterion/mm-modem-helpers-cinterion.c b/plugins/cinterion/mm-modem-helpers-cinterion.c
index 3c7a0a0c..34b5cc84 100644
--- a/plugins/cinterion/mm-modem-helpers-cinterion.c
+++ b/plugins/cinterion/mm-modem-helpers-cinterion.c
@@ -42,15 +42,15 @@ typedef struct {
* set, so you shouldn't for example set 3G frequency bands, and then use a
* 2G-only allowed mode. */
static const CinterionBand cinterion_bands[] = {
- { (1 << 0), MM_MODEM_BAND_EGSM },
- { (1 << 1), MM_MODEM_BAND_DCS },
- { (1 << 2), MM_MODEM_BAND_PCS },
- { (1 << 3), MM_MODEM_BAND_G850 },
- { (1 << 4), MM_MODEM_BAND_U2100 },
- { (1 << 5), MM_MODEM_BAND_U1900 },
- { (1 << 6), MM_MODEM_BAND_U850 },
- { (1 << 7), MM_MODEM_BAND_U900 },
- { (1 << 8), MM_MODEM_BAND_U800 }
+ { (1 << 0), MM_MODEM_BAND_EGSM },
+ { (1 << 1), MM_MODEM_BAND_DCS },
+ { (1 << 2), MM_MODEM_BAND_PCS },
+ { (1 << 3), MM_MODEM_BAND_G850 },
+ { (1 << 4), MM_MODEM_BAND_UTRAN_1 },
+ { (1 << 5), MM_MODEM_BAND_UTRAN_2 },
+ { (1 << 6), MM_MODEM_BAND_UTRAN_5 },
+ { (1 << 7), MM_MODEM_BAND_UTRAN_8 },
+ { (1 << 8), MM_MODEM_BAND_UTRAN_6 }
};
/* Check valid combinations in 2G-only devices */