diff options
author | Aleksander Morgado <aleksander@aleksander.es> | 2017-08-21 14:40:19 +0200 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2017-09-07 10:55:17 +0200 |
commit | 55316cabd490468da6158c3f08d22d49c73a6552 (patch) | |
tree | 78543dfebcd08fe4265da8f91384eb832f8442cd /plugins/ublox/mm-modem-helpers-ublox.c | |
parent | c41f7215a1b8f00cf31b47c6ef4a0bb52832489c (diff) |
ublox: update frequency bands support
Updated to use the non-deprecated MMModemBand values.
Diffstat (limited to 'plugins/ublox/mm-modem-helpers-ublox.c')
-rw-r--r-- | plugins/ublox/mm-modem-helpers-ublox.c | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/plugins/ublox/mm-modem-helpers-ublox.c b/plugins/ublox/mm-modem-helpers-ublox.c index bee1a8f0..9df85dc3 100644 --- a/plugins/ublox/mm-modem-helpers-ublox.c +++ b/plugins/ublox/mm-modem-helpers-ublox.c @@ -556,50 +556,51 @@ static const BandConfiguration band_configuration[] = { }, { .ubandsel_value = 800, - .bands_3g = { MM_MODEM_BAND_U800 }, + .bands_3g = { MM_MODEM_BAND_UTRAN_6 }, .bands_4g = { MM_MODEM_BAND_EUTRAN_20 } }, { .ubandsel_value = 850, .bands_2g = { MM_MODEM_BAND_G850 }, - .bands_3g = { MM_MODEM_BAND_U850 }, + .bands_3g = { MM_MODEM_BAND_UTRAN_5 }, .bands_4g = { MM_MODEM_BAND_EUTRAN_5 } }, { .ubandsel_value = 900, .bands_2g = { MM_MODEM_BAND_EGSM }, - .bands_3g = { MM_MODEM_BAND_U900 }, + .bands_3g = { MM_MODEM_BAND_UTRAN_8 }, .bands_4g = { MM_MODEM_BAND_EUTRAN_8 } }, { .ubandsel_value = 1500, + .bands_3g = { MM_MODEM_BAND_UTRAN_11 }, .bands_4g = { MM_MODEM_BAND_EUTRAN_11 } }, { .ubandsel_value = 1700, - .bands_3g = { MM_MODEM_BAND_U17IV }, + .bands_3g = { MM_MODEM_BAND_UTRAN_4 }, .bands_4g = { MM_MODEM_BAND_EUTRAN_4 } }, { .ubandsel_value = 1800, .bands_2g = { MM_MODEM_BAND_DCS }, - .bands_3g = { MM_MODEM_BAND_U1800 }, + .bands_3g = { MM_MODEM_BAND_UTRAN_3 }, .bands_4g = { MM_MODEM_BAND_EUTRAN_3 } }, { .ubandsel_value = 1900, .bands_2g = { MM_MODEM_BAND_PCS }, - .bands_3g = { MM_MODEM_BAND_U1900 }, + .bands_3g = { MM_MODEM_BAND_UTRAN_2 }, .bands_4g = { MM_MODEM_BAND_EUTRAN_2 } }, { .ubandsel_value = 2100, - .bands_3g = { MM_MODEM_BAND_U2100 }, + .bands_3g = { MM_MODEM_BAND_UTRAN_1 }, .bands_4g = { MM_MODEM_BAND_EUTRAN_1 } }, { .ubandsel_value = 2600, - .bands_3g = { MM_MODEM_BAND_U2600 }, + .bands_3g = { MM_MODEM_BAND_UTRAN_7 }, .bands_4g = { MM_MODEM_BAND_EUTRAN_7 } }, }; |