[PATCH 2/2] broadband-modem: fix capabilities in 4G-only devices

2017-03-12 Thread Aleksander Morgado
The +CGSM capability is saying that the modem is a 3GPP modem, but that doesn't necessarily mean it's a GSM/UMTS modem, it could be a LTE-only device. We did add the GSM_UMTS capability when +CGSM was found, so now we'll check if the device only reports 4G-only mode, and remove the capability if

Fix reporting capabilities in 4G-only devices

2017-03-12 Thread Aleksander Morgado
Hey Dan and everyone, The following two patches try to fix the capabilities reporting for 4G-only modems, which were mistakenly being set as also GSM/UMTS as soon as +GCAP was used to probe for capabilities. The first patch is a new AT+WS46=? parser, which returns the full list of

[PATCH] telit: support RS232 modems

2017-03-12 Thread Aleksander Morgado
Adding the vendor string match allows us to support RS232 devices in the Telit plugin: the USB vendor id check may now be ignored and instead we probe for the vendor string via AT commands, which works even if the device is behind a USB<->RS232 adapter.

[PATCH] iface-modem: improve network registration checks for LTE devices

2017-03-12 Thread Aleksander Morgado
If a device reports "LTE" in the list of current capabilities, we'll set EPS network supported by default. This will enable CEREG registration checks for AT based devices. If a device reports only "LTE" in the list of current capabilities, we disable all the other network support flags (e.g. will

Re: [PATCH] telit: don't ignore AT ports without an explicit port type hint tag

2017-03-12 Thread Daniele Palmas
Hi Aleksander, 2017-03-11 13:29 GMT+01:00 Aleksander Morgado : > The telit plugin is based on two main ways of checking the purpose of > each port: udev tags flagging specific interfaces (with info taken > from Windows .inf drivers), or otherwise using AT#PORTCFG? to