Il giorno lun 11 ott 2021 alle ore 18:06 Amol Lad <amol....@4rf.com> ha scritto:
>
> LIBQMI_WITH_MBIM_QMUX is enabled in libqmi and qmicli reports ok. It seems 
> for some reasons modemmanager is not able to read out the bands. Any input 
> regarding this will be helpful.
>

Currently Telit mbim plugin uses just AT commands for retrieving
bands: maybe a possible improvement could be to use the qmi requests
when supported by the modem and available in the build. Added on my
TODO list...

Anyway, it would be better also to fix #BND=? management for those
setups where qmi is not used.

Regards,
Daniele

>
>
> # qmicli -d /dev/cdc-wdm0 -p --dms-get-band-capabilities
>
> [/dev/cdc-wdm0] Device band capabilities retrieved:
>
>         Bands: 'wcdma-2100, wcdma-pcs-1900, wcdma-dcs-1800, wcdma-1700-us, 
> wcdma-850-us, wcdma-800, wcdma-900, wcdma-1700-japan, wcdma-850-japan'
>
>         LTE bands: '1, 2, 3, 4, 5, 7, 8, 12, 13, 14, 17, 18, 19, 20, 25, 26, 
> 28, 29, 30, 38, 39, 40, 41, 42, 43'
>
>         LTE bands (extended): '1, 2, 3, 4, 5, 7, 8, 12, 13, 14, 17, 18, 19, 
> 20, 25, 26, 28, 29, 30, 38, 39, 40, 41, 42, 43, 48, 66, 71'
>
>
>
> Thanks
>
> Amol
>
>
>
> From: Amol Lad
> Sent: Monday, 11 October 2021 6:34 PM
> To: 'Daniele Palmas' <dnl...@gmail.com>; 'ModemManager (development)' 
> <modemmanager-devel@lists.freedesktop.org>
> Subject: LN920: MBIM Bands not shown (MM 1.18.2)
>
>
>
> Hi Daniele,
>
>
>
> I’m patched my MM 1.18.2 with your MR (LN920 Initial Support) and testing 
> LN920 in MBIM mode. I’m noticing that the “supported” and “current” bands are 
> not shown in “mmcli -m 0” output and below error is seen in the logs:
>
>
>
> <warn>  [modem0] couldn't load supported bands: Could not find 4G band flags 
> from response
>
>
>
> Any suggestion what could be going wrong?
>
>
>
> mmcli -m 0 output in both MBIM and QMI is below:
>
>
>
>
>
> MBIM
>
> ----
>
>
>
> # mmcli -m 0
>
>   ----------------------------------
>
>   General  |                   path: /org/freedesktop/ModemManager1/Modem/0
>
>            |              device id: 168c2aa5755860bee3694899a635af0df25e7fcf
>
>   ----------------------------------
>
>   Hardware |           manufacturer: Telit Wireless Solutions
>
>            |                  model: LN920
>
>            |      firmware revision: SDX12.LE.1.0-00085-NBOOT.NEFS.
>
>            |         carrier config: default
>
>            |           h/w revision: LN920A12-WW
>
>            |              supported: gsm-umts, lte
>
>            |                current: gsm-umts, lte
>
>            |           equipment id: 354175759991229
>
>   ----------------------------------
>
>   System   |                 device: 
> /sys/devices/platform/soc/soc:internal-regs/f10f0000.usb3/usb2/2-1
>
>            |                drivers: cdc_mbim, option1
>
>            |                 plugin: telit
>
>            |           primary port: cdc-wdm0
>
>            |                  ports: cdc-wdm0 (mbim), ttyUSB0 (ignored), 
> ttyUSB1 (gps),
>
>            |                         ttyUSB2 (at), ttyUSB3 (at), ttyUSB4 
> (ignored), wwan0 (net)
>
>   ----------------------------------
>
>   Numbers  |                    own: 9108813566
>
>   ----------------------------------
>
>   Status   |         unlock retries: sim-pin2 (3)
>
>            |                  state: connected
>
>            |            power state: on
>
>            |            access tech: lte
>
>            |         signal quality: 12% (recent)
>
>   ----------------------------------
>
>   Modes    |              supported: allowed: 3g; preferred: none
>
>            |                         allowed: 4g; preferred: none
>
>            |                         allowed: 3g, 4g; preferred: none
>
>            |                current: allowed: 4g; preferred: none
>
>   ----------------------------------
>
>   IP       |              supported: ipv4, ipv6, ipv4v6
>
>   ----------------------------------
>
>   3GPP     |                   imei: 354175759991229
>
>            |          enabled locks: fixed-dialing
>
>            |            operator id: 40445
>
>            |          operator name: airtel
>
>            |           registration: home
>
>   ----------------------------------
>
>   3GPP EPS |   ue mode of operation: csps-2
>
>            |    initial bearer path: /org/freedesktop/ModemManager1/Bearer/0
>
>            | initial bearer ip type: ipv4v6
>
>   ----------------------------------
>
>   SIM      |       primary sim path: /org/freedesktop/ModemManager1/SIM/0
>
>            |         sim slot paths: slot 1: 
> /org/freedesktop/ModemManager1/SIM/0 (active)
>
>            |                         slot 2: 
> /org/freedesktop/ModemManager1/SIM/1
>
>   ----------------------------------
>
>   Bearer   |                  paths: /org/freedesktop/ModemManager1/Bearer/1
>
>
>
>
>
> QMI
>
> ---
>
>
>
>   ----------------------------------
>
>   General  |                   path: /org/freedesktop/ModemManager1/Modem/0
>
>            |              device id: 5c1922b03727107842603eccdea2bb4cd26436f5
>
>   ----------------------------------
>
>   Hardware |           manufacturer: Telit
>
>            |                  model: LN920A12-WW
>
>            |      firmware revision: M0L.000000-A006
>
>            |         carrier config: default
>
>            |           h/w revision: 10001
>
>            |              supported: gsm-umts, lte
>
>            |                current: gsm-umts, lte
>
>            |           equipment id: 354175759991229
>
>   ----------------------------------
>
>   System   |                 device: 
> /sys/devices/platform/soc/soc:internal-regs/f10f0000.usb3/usb2/2-1
>
>            |                drivers: option1, qmi_wwan
>
>            |                 plugin: telit
>
>            |           primary port: cdc-wdm0
>
>            |                  ports: cdc-wdm0 (qmi), ttyUSB0 (ignored), 
> ttyUSB1 (gps),
>
>            |                         ttyUSB2 (at), ttyUSB3 (at), ttyUSB4 
> (ignored), wwan0 (net)
>
>   ----------------------------------
>
>   Numbers  |                    own: 9108813566
>
>   ----------------------------------
>
>   Status   |                   lock: sim-pin2
>
>            |         unlock retries: sim-pin (3), sim-pin2 (3), sim-puk (10), 
> sim-puk2 (10)
>
>            |                  state: connected
>
>            |            power state: on
>
>            |            access tech: lte
>
>            |         signal quality: 42% (recent)
>
>   ----------------------------------
>
>   Modes    |              supported: allowed: 3g; preferred: none
>
>            |                         allowed: 4g; preferred: none
>
>            |                         allowed: 3g, 4g; preferred: 4g
>
>            |                         allowed: 3g, 4g; preferred: 3g
>
>            |                current: allowed: 4g; preferred: none
>
>   ----------------------------------
>
>   Bands    |              supported: utran-1, utran-3, 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-12, 
> eutran-13, eutran-14, eutran-17,
>
>            |                         eutran-18, eutran-19, eutran-20, 
> eutran-25, eutran-26, eutran-28,
>
>            |                         eutran-29, eutran-30, eutran-38, 
> eutran-39, eutran-40, eutran-41,
>
>            |                         eutran-42, eutran-43, eutran-48, 
> eutran-66, eutran-71, utran-19
>
>            |                current: eutran-1, eutran-2, eutran-3, eutran-4, 
> eutran-5, eutran-7,
>
>            |                         eutran-8, eutran-12, eutran-13, 
> eutran-14, eutran-17, eutran-18,
>
>            |                         eutran-19, eutran-20, eutran-25, 
> eutran-26, eutran-28, eutran-29,
>
>            |                         eutran-30, eutran-38, eutran-39, 
> eutran-40, eutran-41, eutran-42,
>
>            |                         eutran-43, eutran-48, eutran-66, 
> eutran-71
>
>   ----------------------------------
>
>   IP       |              supported: ipv4, ipv6, ipv4v6
>
>   ----------------------------------
>
>   3GPP     |                   imei: 354175759991229
>
>            |          enabled locks: fixed-dialing
>
>            |            operator id: 40445
>
>            |          operator name: airtel
>
>            |           registration: home
>
>   ----------------------------------
>
>   3GPP EPS |   ue mode of operation: csps-2
>
>            |    initial bearer path: /org/freedesktop/ModemManager1/Bearer/0
>
>            | initial bearer ip type: ipv4v6
>
>   ----------------------------------
>
>   SIM      |       primary sim path: /org/freedesktop/ModemManager1/SIM/0
>
>            |         sim slot paths: slot 1: 
> /org/freedesktop/ModemManager1/SIM/0 (active)
>
>            |                         slot 2: 
> /org/freedesktop/ModemManager1/SIM/1
>
>   ----------------------------------
>
>   Bearer   |                  paths: /org/freedesktop/ModemManager1/Bearer/1
>
>
>
> ________________________________
> The information in this email communication (inclusive of attachments) is 
> confidential to 4RF Limited and the intended recipient(s). If you are not the 
> intended recipient(s), please note that any use, disclosure, distribution or 
> copying of this information or any part thereof is strictly prohibited and 
> that the author accepts no liability for the consequences of any action taken 
> on the basis of the information provided. If you have received this email in 
> error, please notify the sender immediately by return email and then delete 
> all instances of this email from your system. 4RF Limited will not accept 
> responsibility for any consequences associated with the use of this email 
> (including, but not limited to, damages sustained as a result of any viruses 
> and/or any action or lack of action taken in reliance on it).

Reply via email to