qmicli - LTE band preference

Aleksander Morgado aleksander at aleksander.es
Sat Jun 13 08:30:23 UTC 2020


Hey!

>
> My device seems to support LTE-FDD bands 1, 3, 5 but the system selection preference is not able to show them:
>
> pi at okamoto:~ $ qmicli -d /dev/cdc-wdm0 --dms-get-band-capabilities
> [/dev/cdc-wdm0] Device band capabilities retrieved:
> Bands: 'gsm-dcs-1800, gsm-900-extended, gsm-900-primary, wcdma-2100, wcdma-900'
> LTE bands: '1, 3, 8, 38, 39, 40, 41'
>

The "DMS" capabilities show bands 1, 3 and 8 supported (not 5)


> pi at okamoto:~ $ qmicli -d /dev/cdc-wdm0 --nas-get-system-selection-preference
> [/dev/cdc-wdm0] Successfully got system selection preference
> Emergency mode: 'no'
> Mode preference: 'lte'
> Band preference: 'gsm-dcs-1800, gsm-900-extended, gsm-900-primary, wcdma-2100, wcdma-900'
> LTE band preference: '38, 39, 40, 41'
> TD-SCDMA band preference: 'a, f'
> Roaming preference: 'any'
> Network selection preference: 'automatic'
> Service domain preference: 'cs-ps'
> GSM/WCDMA acquisition order preference: 'automatic'
> Acquisition order preference: lte, cdma-1xevdo, cdma-1x, td-scdma, umts, gsm
>

And the "NAS System Selection Preference" shows that those previous
bands are really not enabled yet, as you found out.

>
> I have been doing some searching online but only found something like "qmi_message_nas_set_system_selection_preference_input_set_lte_band_preference" so I wonder if there are actually any command line options which I can use to enable those LTE-FDD bands please?
>

Not with qmicli I'm afraid, qmicli has
--nas-set-system-selection-preference=[] but we didn't implement band
preference setting in the CLI yet.

You could do this with ModemManager instead, which does use "NAS Set
System Selection Preference", so you would need ModemManager daemon
running and then use mmcli --set-current-bands.

-- 
Aleksander
https://aleksander.es


More information about the libqmi-devel mailing list