diff options
author | Ben Chan <benchan@chromium.org> | 2014-05-28 23:13:14 -0700 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2014-05-29 10:06:24 +0200 |
commit | 8cdf45c66c3c2660ed7e49e1edf241b30f7c037c (patch) | |
tree | 34426ab4269c74dde0a5c5a26a0e8c8be4987215 | |
parent | 54b75e3bcd87f026fe449349691fbc096932749e (diff) |
core: add E-UTRAN operating band 44
E-UTRAN operating band 44 is specified in 3GPP release 11 (see Table
5.5-1 "E-UTRA operating bands" in 3GPP TS 36.101 version 11.2.0 Release
11).
-rw-r--r-- | include/ModemManager-enums.h | 2 | ||||
-rw-r--r-- | src/mm-modem-helpers-qmi.c | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/include/ModemManager-enums.h b/include/ModemManager-enums.h index fd3e982b..ee09ddc0 100644 --- a/include/ModemManager-enums.h +++ b/include/ModemManager-enums.h @@ -293,6 +293,7 @@ typedef enum { /*< underscore_name=mm_modem_mode >*/ * @MM_MODEM_BAND_EUTRAN_XLI: E-UTRAN band XLI. * @MM_MODEM_BAND_EUTRAN_XLII: E-UTRAN band XLII. * @MM_MODEM_BAND_EUTRAN_XLIII: E-UTRAN band XLIII. + * @MM_MODEM_BAND_EUTRAN_XLIV: E-UTRAN band XLIV. * @MM_MODEM_BAND_CDMA_BC0_CELLULAR_800: CDMA Band Class 0 (US Cellular 850MHz). * @MM_MODEM_BAND_CDMA_BC1_PCS_1900: CDMA Band Class 1 (US PCS 1900MHz). * @MM_MODEM_BAND_CDMA_BC2_TACS: CDMA Band Class 2 (UK TACS 900MHz). @@ -369,6 +370,7 @@ typedef enum { /*< underscore_name=mm_modem_band >*/ MM_MODEM_BAND_EUTRAN_XLI = 71, MM_MODEM_BAND_EUTRAN_XLII = 72, MM_MODEM_BAND_EUTRAN_XLIII = 73, + MM_MODEM_BAND_EUTRAN_XLIV = 74, /* CDMA Band Classes (see 3GPP2 C.S0057-C) */ MM_MODEM_BAND_CDMA_BC0_CELLULAR_800 = 128, MM_MODEM_BAND_CDMA_BC1_PCS_1900 = 129, diff --git a/src/mm-modem-helpers-qmi.c b/src/mm-modem-helpers-qmi.c index 4a818ecb..c673697f 100644 --- a/src/mm-modem-helpers-qmi.c +++ b/src/mm-modem-helpers-qmi.c @@ -270,6 +270,7 @@ static const DmsLteBandsMap dms_lte_bands_map [] = { * - MM_MODEM_BAND_EUTRAN_XXII * - MM_MODEM_BAND_EUTRAN_XXIII * - MM_MODEM_BAND_EUTRAN_XXVI + * - MM_MODEM_BAND_EUTRAN_XLIV */ }; @@ -446,6 +447,7 @@ static const NasLteBandsMap nas_lte_bands_map [] = { * - MM_MODEM_BAND_EUTRAN_XXII * - MM_MODEM_BAND_EUTRAN_XXIII * - MM_MODEM_BAND_EUTRAN_XXVI + * - MM_MODEM_BAND_EUTRAN_XLIV */ }; @@ -493,7 +495,7 @@ mm_modem_bands_to_qmi_band_preference (GArray *mm_bands, band = g_array_index (mm_bands, MMModemBand, i); - if (band <= MM_MODEM_BAND_EUTRAN_XLIII && + if (band <= MM_MODEM_BAND_EUTRAN_XLIV && band >= MM_MODEM_BAND_EUTRAN_I) { /* Add LTE band preference */ guint j; |