[PATCH] mm-modem-helpers-qmi: avoid SIGSEGV with mmcli --set-current-bands

Nick mips171 at icloud.com
Tue Aug 20 00:57:38 UTC 2019


Hey,

Thanks Reinhard, it seems to be working now, but I have a new question.  I set the bands in mmcli then power cycled, testing on EM7565.  It seems like qmicli it is off by one, is that right?  Shouldn’t Qmicli report 3 and 28?  There is no band 29 in Australia, where I am.


mmcli output, after power cycle
  --------------------------------
  Bands    |            supported: utran-1, utran-4, utran-6, utran-5, utran-8, utran-9, 
           |                       utran-2, eutran-1, eutran-2, eutran-3, eutran-4, eutran-5, eutran-7, 
           |                       eutran-8, eutran-9, eutran-12, eutran-13, eutran-18, eutran-19, 
           |                       eutran-20, eutran-26, eutran-28, eutran-29, eutran-30, eutran-32, 
           |                       eutran-41, eutran-46, eutran-66, utran-19
  ~~>         |              current: eutran-2, eutran-3, eutran-5, eutran-28, eutran-41, 
           |                       eutran-46


qmicli output
------------------------------
root at openwrt:~# qmicli -p -d /dev/cdc-wdm0 --nas-get-lte-cphy-ca-info 
[/dev/cdc-wdm0] Successfully got carrier aggregation info
DL Bandwidth: '10'
Primary Cell Info
	Physical Cell ID: '264'
	RX Channel: '1725'
	DL Bandwidth: ’15'
~~>	LTE Band: 'eutran-4'
Secondary Cell 1 Info
	Physical Cell ID: '7'
	RX Channel: '9260'
	DL Bandwidth: '10'
	LTE Band: 'eutran-29'
	State: 'activated'
	Cell index: '1'


All the best,
Nicholas


More information about the ModemManager-devel mailing list