[PATCH v2 2/3] plugins: udevng: detect gemalto network interfaces

2020-08-18 Thread Sergey Matyukevich
Some gemalto modems, including ELS81x, may provide more than one USB ethernet interface. Detect and save both network interfaces rather than only the last one. Signed-off-by: Sergey Matyukevich --- plugins/udevng.c | 14 +++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff

[PATCH v2 0/3] gemalto: USB ethernet data path for ELS81x

2020-08-18 Thread Sergey Matyukevich
Hi Denis and all, This patch series enables USB ethernet data path for gemalto modems that support this feature, in particular for ELS81x devices. Regards, Sergey v1 -> v2 - replace g_try_new0 by use g_new0 - drop patch with incorrect fix for modem init Sergey Matyukevich (3): drivers:

[PATCH v2 1/3] drivers: gemalto: add gprs-context driver

2020-08-18 Thread Sergey Matyukevich
Some gemalto modems provide USB ethernet interfaces for data path. Implement gprs-context driver for such modems to send data via USB ethernet rather than fallback to PPP. Signed-off-by: Sergey Matyukevich --- Makefile.am | 3 +- drivers/gemaltomodem/gemaltomodem.c |

[PATCH v2 3/3] plugins: gemalto: alternative gprs-context driver

2020-08-18 Thread Sergey Matyukevich
Use alternative gprs context driver for gemalto modems that provide USB ethernet interfaces for data path. Signed-off-by: Sergey Matyukevich --- plugins/gemalto.c | 12 +++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/plugins/gemalto.c b/plugins/gemalto.c index

Re: [RFC PATCH 4/4] plugins: gemalto: fix incomplete at-chat shutdown

2020-08-18 Thread Denis Kenzior
Hi Martin, Instead of this dance of opening / closing the chat in order to force-cancel the 'AT' command queued in gemalto_enable(), maybe there should be something in GAtChat itself to handle this case. There's also the retry logic used on quectel modems with auto-detection of baud

Re: [RFC PATCH 4/4] plugins: gemalto: fix incomplete at-chat shutdown

2020-08-18 Thread Martin Hundebøll
Hi Denis and Sergey, On 17/08/2020 21.54, Denis Kenzior wrote: diff --git a/plugins/gemalto.c b/plugins/gemalto.c index 238c7cc4..321c8c1b 100644 --- a/plugins/gemalto.c +++ b/plugins/gemalto.c @@ -222,6 +222,8 @@ static void sim_state_cb(gboolean present, gpointer user_data)   struct