[PATCH] qmi_wwan: add support for Cinterion CLS8 devices

2019-10-03 Thread Reinhard Speyerer
n E: Ad=89(I) Atr=03(Int.) MxPS= 8 Ivl=32ms E: Ad=88(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms E: Ad=05(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms Signed-off-by: Reinhard Speyerer --- diff --git a/drivers/net/usb/qmi_wwan.c b/drivers/net/usb/qmi_wwan.c index b6dc5d714b5e..3d77cd402ba9 100644 --- a/drivers/net/

[PATCH 4/4] qmi_wwan: extend permitted QMAP mux_id value range

2019-06-12 Thread Reinhard Speyerer
Permit mux_id values up to 254 to be used in qmimux_register_device() for compatibility with ip(8) and the rmnet driver. Fixes: c6adf77953bc ("net: usb: qmi_wwan: add qmap mux protocol support") Cc: Daniele Palmas Signed-off-by: Reinhard Speyerer --- Documentation/ABI/testing/sysfs

[PATCH 3/4] qmi_wwan: avoid RCU stalls on device disconnect when in QMAP mode

2019-06-12 Thread Reinhard Speyerer
: usb: qmi_wwan: add qmap mux protocol support") Cc: Daniele Palmas Signed-off-by: Reinhard Speyerer --- drivers/net/usb/qmi_wwan.c | 11 +++ 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/drivers/net/usb/qmi_wwan.c b/drivers/net/usb/qmi_wwan.c index b0a96459621f..c6fbc2a2a

[PATCH 2/4] qmi_wwan: add network device usage statistics for qmimux devices

2019-06-12 Thread Reinhard Speyerer
Add proper network device usage statistics for qmimux devices instead of reporting all-zero values for them. Fixes: c6adf77953bc ("net: usb: qmi_wwan: add qmap mux protocol support") Cc: Daniele Palmas Signed-off-by: Reinhard Speyerer --- drivers/net/usb/qmi_w

[PATCH 0/4] qmi_wwan: fix QMAP handling

2019-06-12 Thread Reinhard Speyerer
ic/gobi [2]: https://portland.source.codeaurora.org/quic/qsdk/oss/lklm/gobinet/ Reinhard Speyerer (4): qmi_wwan: add support for QMAP padding in the RX path qmi_wwan: add network device usage statistics for qmimux devices qmi_wwan: avoid RCU stalls on device disconnect when in QMAP mode qmi_wwan: extend per

[PATCH 1/4] qmi_wwan: add support for QMAP padding in the RX path

2019-06-12 Thread Reinhard Speyerer
p mux protocol support") Cc: Daniele Palmas Signed-off-by: Reinhard Speyerer --- drivers/net/usb/qmi_wwan.c | 12 +--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/drivers/net/usb/qmi_wwan.c b/drivers/net/usb/qmi_wwan.c index d9a6699abe59..fd3d078a1923 100644 --- a/d

Re: [PATCH net] net: qmi_wwan: add support for Cinterion PLS8

2017-11-26 Thread Reinhard Speyerer
On Fri, Nov 24, 2017 at 07:25:19PM +0100, Bjørn Mork wrote: > Reinhard Speyerer writes: > > > before posting this problem report > > https://developer.gemalto.com/threads/ipv6dualstack-problems-pls8-e-revision-03017 > > in the Gemalto developer forum I tested the qm

Re: [PATCH net] net: qmi_wwan: add support for Cinterion PLS8

2017-11-23 Thread Reinhard Speyerer
On Thu, Nov 23, 2017 at 07:15:37PM +0100, Bjørn Mork wrote: > Oliver Graute writes: > > On 23/11/17, Bjørn Mork wrote: > >> Oliver Graute writes: > >> > >> > When the PLS8 devices show up with PID 0x0061 they will expose both a > >> > QMI port and a WWAN interface. > >> > >> > >> Pleas

[PATCH] qmi_wwan: add the second QMI/network interface for Sierra Wireless MC7305/MC7355

2015-07-16 Thread Reinhard Speyerer
QMI/network interface is not working for early MC73xx firmware versions like 01.08.x as the device does not respond to QMI messages on the second /dev/cdc-wdm port. Signed-off-by: Reinhard Speyerer --- diff -uprN linux-4.2-rc2/drivers/net/usb/qmi_wwan.c linux-4.2-rc2-with-mc73xx-patch/drivers