Re: mmcli 3gpp network scan

2019-10-10 Thread Dan Williams
On Thu, 2019-10-10 at 11:26 +, Amol Lad wrote:
> mbimcli actually shows more detailed output but it also has got RSSI
> and Error Rate field incorrect...

I don't think I've ever seen an accurate signal strength for scanned
networks :) Either with data cards or phones...

Dan

> [/dev/cdc-wdm0] Visible providers (6):
> Provider [0]:
> Provider ID: '405861'
>   Provider name: 'Jio 4G'
>   State: 'home, preferred, visible,
> registered'
>  Cellular class: 'gsm'
>RSSI: '99'
>  Error rate: '99'
> Provider [1]:
> Provider ID: '40445'
>   Provider name: 'IND airtel'
>   State: 'forbidden, visible'
>  Cellular class: 'gsm'
>RSSI: '99'
>  Error rate: '99'
> Provider [2]:
> Provider ID: '40486'
>   Provider name: 'Vodafone IN'
>   State: 'forbidden, visible'
>  Cellular class: 'gsm'
>RSSI: '99'
>  Error rate: '99'
> Provider [3]:
> Provider ID: '40510'
>   Provider name: '405 10'
>   State: 'forbidden, visible'
>  Cellular class: 'gsm'
>RSSI: '99'
>  Error rate: '99'
> Provider [4]:
> Provider ID: '40471'
>   Provider name: 'CellOne'
>   State: 'forbidden, visible'
>  Cellular class: 'gsm'
>RSSI: '99'
>  Error rate: '99'
> Provider [5]:
> Provider ID: '404999'
>   Provider name: '404 999'
>   State: 'forbidden, visible'
>  Cellular class: 'gsm'
>RSSI: '99'
>  Error rate: '99'
> 
> 
> 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).-Original Message-
> From: Aleksander Morgado 
> Sent: Thursday, 10 October 2019 2:05 PM
> To: Amol Lad 
> Cc: ModemManager (development) <
> modemmanager-devel@lists.freedesktop.org>
> Subject: Re: mmcli 3gpp network scan
> 
> Hey,
> 
> > I’m using almost the latest modemmanager from master (commit hash:
> > 0a85254d1765db6e55770d36e24b1e6349e789f4). When starting network
> > scan using mmcli, the availability field is always “unknown”
> > whereas for qmicli the “Status” is reported with more details.
> > Please advise if this is desired behaviour in mmcli output?
> > 
> 
> I recall this being a limitation of the "MBIM Query Visible
> Providers"
> implementation in some modules, which is what ModemManager does when
> the modem is managed in MBIM mode. You can see qmicli providing
> better data because it's doing "QMI NAS Network Scan" over MBIM
> instead.
> 
> --
> Aleksander
> https://aleksander.es
> ___
> ModemManager-devel mailing list
> ModemManager-devel@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/modemmanager-devel

___
ModemManager-devel mailing list
ModemManager-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/modemmanager-devel

RE: mmcli 3gpp network scan

2019-10-10 Thread Amol Lad
mbimcli actually shows more detailed output but it also has got RSSI and Error 
Rate field incorrect...

[/dev/cdc-wdm0] Visible providers (6):
Provider [0]:
Provider ID: '405861'
  Provider name: 'Jio 4G'
  State: 'home, preferred, visible, registered'
 Cellular class: 'gsm'
   RSSI: '99'
 Error rate: '99'
Provider [1]:
Provider ID: '40445'
  Provider name: 'IND airtel'
  State: 'forbidden, visible'
 Cellular class: 'gsm'
   RSSI: '99'
 Error rate: '99'
Provider [2]:
Provider ID: '40486'
  Provider name: 'Vodafone IN'
  State: 'forbidden, visible'
 Cellular class: 'gsm'
   RSSI: '99'
 Error rate: '99'
Provider [3]:
Provider ID: '40510'
  Provider name: '405 10'
  State: 'forbidden, visible'
 Cellular class: 'gsm'
   RSSI: '99'
 Error rate: '99'
Provider [4]:
Provider ID: '40471'
  Provider name: 'CellOne'
  State: 'forbidden, visible'
 Cellular class: 'gsm'
   RSSI: '99'
 Error rate: '99'
Provider [5]:
Provider ID: '404999'
  Provider name: '404 999'
  State: 'forbidden, visible'
 Cellular class: 'gsm'
   RSSI: '99'
 Error rate: '99'


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).-Original 
Message-
From: Aleksander Morgado 
Sent: Thursday, 10 October 2019 2:05 PM
To: Amol Lad 
Cc: ModemManager (development) 
Subject: Re: mmcli 3gpp network scan

Hey,

>
> I’m using almost the latest modemmanager from master (commit hash: 
> 0a85254d1765db6e55770d36e24b1e6349e789f4). When starting network scan using 
> mmcli, the availability field is always “unknown” whereas for qmicli the 
> “Status” is reported with more details. Please advise if this is desired 
> behaviour in mmcli output?
>

I recall this being a limitation of the "MBIM Query Visible Providers"
implementation in some modules, which is what ModemManager does when the modem 
is managed in MBIM mode. You can see qmicli providing better data because it's 
doing "QMI NAS Network Scan" over MBIM instead.

--
Aleksander
https://aleksander.es
___
ModemManager-devel mailing list
ModemManager-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/modemmanager-devel

Re: mmcli 3gpp network scan

2019-10-10 Thread Aleksander Morgado
Hey,

>
> I’m using almost the latest modemmanager from master (commit hash: 
> 0a85254d1765db6e55770d36e24b1e6349e789f4). When starting network scan using 
> mmcli, the availability field is always “unknown” whereas for qmicli the 
> “Status” is reported with more details. Please advise if this is desired 
> behaviour in mmcli output?
>

I recall this being a limitation of the "MBIM Query Visible Providers"
implementation in some modules, which is what ModemManager does when
the modem is managed in MBIM mode. You can see qmicli providing better
data because it's doing "QMI NAS Network Scan" over MBIM instead.

-- 
Aleksander
https://aleksander.es
___
ModemManager-devel mailing list
ModemManager-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/modemmanager-devel