[PATCH 8/8] huawei: update frequency bands support

Aleksander Morgado aleksander at aleksander.es
Thu Sep 7 11:03:09 UTC 2017


On 22/08/17 08:18, Aleksander Morgado wrote:
> Updated to use the non-deprecated MMModemBand values.
> ---

Pushed to git master.

>  plugins/huawei/mm-broadband-modem-huawei.c | 10 +++++-----
>  1 file changed, 5 insertions(+), 5 deletions(-)
> 
> diff --git a/plugins/huawei/mm-broadband-modem-huawei.c b/plugins/huawei/mm-broadband-modem-huawei.c
> index 9676a2a5..1b5ecf6e 100644
> --- a/plugins/huawei/mm-broadband-modem-huawei.c
> +++ b/plugins/huawei/mm-broadband-modem-huawei.c
> @@ -757,12 +757,12 @@ typedef struct {
>  
>  static BandTable bands[] = {
>      /* Sort 3G first since it's preferred */
> -    { MM_MODEM_BAND_U2100, 0x00400000 },
> -    { MM_MODEM_BAND_U1900, 0x00800000 },
> -    { MM_MODEM_BAND_U850,  0x04000000 },
> -    { MM_MODEM_BAND_U900,  0x00020000 },
> -    { MM_MODEM_BAND_G850,  0x00080000 },
> +    { MM_MODEM_BAND_UTRAN_1, 0x00400000 },
> +    { MM_MODEM_BAND_UTRAN_2, 0x00800000 },
> +    { MM_MODEM_BAND_UTRAN_5, 0x04000000 },
> +    { MM_MODEM_BAND_UTRAN_8, 0x00020000 },
>      /* 2G second */
> +    { MM_MODEM_BAND_G850,  0x00080000 },
>      { MM_MODEM_BAND_DCS,   0x00000080 },
>      { MM_MODEM_BAND_EGSM,  0x00000100 },
>      { MM_MODEM_BAND_PCS,   0x00200000 }
> 


-- 
Aleksander
https://aleksander.es


More information about the ModemManager-devel mailing list