[PATCH 1/2] core: add E-UTRAN operating band 44

Aleksander Morgado aleksander at aleksander.es
Thu May 29 01:11:21 PDT 2014


On 29/05/14 08:13, Ben Chan wrote:
> 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).

Pushed, thanks.

> ---
>  include/ModemManager-enums.h | 2 ++
>  src/mm-modem-helpers-qmi.c   | 4 +++-
>  2 files changed, 5 insertions(+), 1 deletion(-)
> 
> diff --git a/include/ModemManager-enums.h b/include/ModemManager-enums.h
> index fd3e982..ee09ddc 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 4a818ec..c673697 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;
> 


-- 
Aleksander
https://aleksander.es


More information about the ModemManager-devel mailing list