Re: [PATCH net-next] net: qmi_wwan: Add pass through mode

2018-06-27 Thread Daniele Palmas
Hi Bjørn, Il giorno mer 27 giu 2018 alle ore 10:01 Bjørn Mork ha scritto: > > Subash Abhinov Kasiviswanathan writes: > > > Pass through mode is to allow packets in MAP format to be passed > > on to the stack. rmnet driver can be used to process and demultiplex > > these packets. Note that pass

[PATCH v2] ip: add rmnet initial support

2018-06-15 Thread Daniele Palmas
This patch adds basic support for Qualcomm rmnet devices. Signed-off-by: Daniele Palmas --- v2: rebased on iproute2-next removed GPL boilerplate added print_opt function man page updated fixed MUXID values --- ip/Makefile | 2 +- ip/iplink.c

Re: [PATCH 1/1] ip: add rmnet initial support

2018-06-13 Thread Daniele Palmas
2018-06-13 2:22 GMT+02:00 Stephen Hemminger : > On Tue, 12 Jun 2018 16:12:57 +0200 > Daniele Palmas wrote: > >> This patch adds basic support for Qualcomm rmnet devices. >> >> Signed-off-by: Daniele Palmas >> --- >> ip/Makefile | 2 +- >> ip

Re: [PATCH 1/1] ip: add rmnet initial support

2018-06-13 Thread Daniele Palmas
2018-06-13 1:06 GMT+02:00 Subash Abhinov Kasiviswanathan : >> + >> +static void print_explain(FILE *f) >> +{ >> + fprintf(f, >> + "Usage: ... rmnet mux_id MUXID\n" >> + "\n" >> + "MUXID := 1-127\n" >> + ); >> +} > > > Hi Daniele > > This range

[PATCH 1/1] ip: add rmnet initial support

2018-06-12 Thread Daniele Palmas
This patch adds basic support for Qualcomm rmnet devices. Signed-off-by: Daniele Palmas --- ip/Makefile | 2 +- ip/iplink.c | 2 +- ip/iplink_rmnet.c | 70 +++ 3 files changed, 72 insertions(+), 2 deletions(-) create mode 100644

Re: Qualcomm rmnet driver and qmi_wwan

2018-06-11 Thread Daniele Palmas
Hi Subash, 2018-06-09 19:55 GMT+02:00 Subash Abhinov Kasiviswanathan : >> thanks, I will test it on Monday. >> >> Just a question for my knowledge: is the new sysfs attribute really >> needed? I mean, is there not any other way to understand from qmi_wwan >> without user intervention that there

Re: Qualcomm rmnet driver and qmi_wwan

2018-06-09 Thread Daniele Palmas
Hi Subash, 2018-06-09 4:19 GMT+02:00 Subash Abhinov Kasiviswanathan : >> This sounds like a good idea. I probably won't have any time to look at >> this in the near future, though. Sorry about that. Extremely overloaded >> both at work and private right now... >> >> But I trust that you and

Re: Qualcomm rmnet driver and qmi_wwan

2018-06-08 Thread Daniele Palmas
Hi Dan and Subash, 2018-06-05 19:38 GMT+02:00 Subash Abhinov Kasiviswanathan : > On 2018-06-05 08:54, Dan Williams wrote: >> >> On Tue, 2018-06-05 at 11:38 +0200, Daniele Palmas wrote: >>> >>> Hi, >>> >>> 2018-02-21 20:47 GMT+01:00 Subash Abhi

Re: Qualcomm rmnet driver and qmi_wwan

2018-06-05 Thread Daniele Palmas
Hi, 2018-02-21 20:47 GMT+01:00 Subash Abhinov Kasiviswanathan : > On 2018-02-21 04:38, Daniele Palmas wrote: >> >> Hello, >> >> in rmnet kernel documentation I read: >> >> "This driver can be used to register onto any physical network device in >&

Re: 4.16 issue with mbim modem and ping with size > 14552 bytes

2018-05-28 Thread Daniele Palmas
2018-05-25 0:54 GMT+02:00 Daniele Palmas <dnl...@gmail.com>: > Hi Greg, > > 2018-05-24 17:53 GMT+02:00 Greg KH <gre...@linuxfoundation.org>: >> On Thu, May 24, 2018 at 05:04:49PM +0200, Daniele Palmas wrote: >>> Hello, >>> >>> I have an issu

Re: 4.16 issue with mbim modem and ping with size > 14552 bytes

2018-05-24 Thread Daniele Palmas
Hi Greg, 2018-05-24 17:53 GMT+02:00 Greg KH <gre...@linuxfoundation.org>: > On Thu, May 24, 2018 at 05:04:49PM +0200, Daniele Palmas wrote: >> Hello, >> >> I have an issue with an USB mbim modem when trying to send with ping >> more than 14552 bytes: i

4.16 issue with mbim modem and ping with size > 14552 bytes

2018-05-24 Thread Daniele Palmas
Hello, I have an issue with an USB mbim modem when trying to send with ping more than 14552 bytes: it looks like to me a kernel issue, but not at the cdc_mbim or cdc_ncm level, anyway not sure, so I'm reporting the issue. My kernel is 4.16. The device is the following: root@L2122:~# ifconfig

Re: Qualcomm rmnet driver and qmi_wwan

2018-02-22 Thread Daniele Palmas
Hi Subash, 2018-02-21 20:47 GMT+01:00 Subash Abhinov Kasiviswanathan <subas...@codeaurora.org>: > On 2018-02-21 04:38, Daniele Palmas wrote: >> >> Hello, >> >> in rmnet kernel documentation I read: >> >> "This driver can be used to register onto a

Qualcomm rmnet driver and qmi_wwan

2018-02-21 Thread Daniele Palmas
Hello, in rmnet kernel documentation I read: "This driver can be used to register onto any physical network device in IP mode. Physical transports include USB, HSIC, PCIe and IP accelerator." Does this mean that it can be used in association with the qmi_wwan driver? If yes, can someone give

Re: [PATCH 1/1] net: usb: qmi_wwan: add Telit ME910 PID 0x1101 support

2017-12-19 Thread Daniele Palmas
2017-12-14 22:28 GMT+01:00 Daniele Palmas <dnl...@gmail.com>: > 2017-12-14 18:55 GMT+01:00 Bjørn Mork <bj...@mork.no>: >> Daniele Palmas <dnl...@gmail.com> writes: >> >>> This patch adds support for Telit ME910 PID 0x1101. >>> >>>

Re: [PATCH 1/1] net: usb: qmi_wwan: add Telit ME910 PID 0x1101 support

2017-12-14 Thread Daniele Palmas
2017-12-14 18:55 GMT+01:00 Bjørn Mork <bj...@mork.no>: > Daniele Palmas <dnl...@gmail.com> writes: > >> This patch adds support for Telit ME910 PID 0x1101. >> >> Signed-off-by: Daniele Palmas <dnl...@gmail.com> > > Acked-by: Bjørn Mork <bj...@mor

[PATCH 1/1] net: usb: qmi_wwan: add Telit ME910 PID 0x1101 support

2017-12-14 Thread Daniele Palmas
This patch adds support for Telit ME910 PID 0x1101. Signed-off-by: Daniele Palmas <dnl...@gmail.com> --- Following lsusb output for 0x1101 composition tty, tty, tty, rmnet Bus 003 Device 015: ID 1bc7:1101 Telit Wireless Solutions Device Descriptor: bLength18 bDescript

[PATCH 1/1] net: usb: qmi_wwan: add Telit ME910 support

2017-05-03 Thread Daniele Palmas
This patch adds support for Telit ME910 PID 0x1100. Signed-off-by: Daniele Palmas <dnl...@gmail.com> --- 0x1100 composition is: tty + qdss + tty + rmnet Following lsusb output: Bus 003 Device 018: ID 1bc7:1100 Telit Wireless Solutions Device Descriptor: bLength

Re: [PATCH 1/1] drivers: net: usb: qmi_wwan: add QMI_QUIRK_SET_DTR for Telit PID 0x1201

2017-04-21 Thread Daniele Palmas
Hi Bjørn, 2017-04-21 12:30 GMT+02:00 Daniele Palmas <dnl...@gmail.com>: > Hi Bjørn, > > 2017-04-19 19:28 GMT+02:00 Bjørn Mork <bj...@mork.no>: >> Daniele Palmas <dnl...@gmail.com> writes: >> >> >> Would you mind describing in detail how you trigg

Re: [PATCH 1/1] drivers: net: usb: qmi_wwan: add QMI_QUIRK_SET_DTR for Telit PID 0x1201

2017-04-21 Thread Daniele Palmas
Hi Bjørn, 2017-04-19 19:28 GMT+02:00 Bjørn Mork <bj...@mork.no>: > Daniele Palmas <dnl...@gmail.com> writes: > >> as a side note in latest kernels I had troubles with qmi devices >> (e.g. I/O error when using qmicli). >> >> I found your suggesti

[PATCH 1/1] drivers: net: usb: qmi_wwan: add QMI_QUIRK_SET_DTR for Telit PID 0x1201

2017-04-10 Thread Daniele Palmas
-off-by: Daniele Palmas <dnl...@gmail.com> --- Hi Bjørn, as a side note in latest kernels I had troubles with qmi devices (e.g. I/O error when using qmicli). I found your suggestion in libqmi mailing list to revert commit 833415a3e781a26fe480a34d45086bdb4fe1e4c0 cdc-wdm: fix "out-o

Re: [PATCH 0/2] net: usb: qmi_wwan: add qmap mux protocol support

2017-03-25 Thread Daniele Palmas
Hi Subash, 2017-03-24 18:45 GMT+01:00 Subash Abhinov Kasiviswanathan <subas...@codeaurora.org>: > On 2017-03-24 07:22, Daniele Palmas wrote: >> >> This patch adds support for qmap mux protocol available in recent >> Qualcomm based modems. >> >> The qmap mu

Re: [PATCH 2/2] Documentation: ABI: testing: sysfs-class-net-qmi: add new qmap mux files description

2017-03-25 Thread Daniele Palmas
Hi Sergei, 2017-03-24 17:31 GMT+01:00 Sergei Shtylyov <sergei.shtyl...@cogentembedded.com>: > Hello! > > > On 03/24/2017 04:22 PM, Daniele Palmas wrote: > >> This patch updates the documentation related to the new files added for >> qmap mux support. >>

[PATCH 0/2] net: usb: qmi_wwan: add qmap mux protocol support

2017-03-24 Thread Daniele Palmas
eature has been recently implemented in Codeaurora gobinet out-of-kernel driver that was the inspiration for this development. Tests have been performed with Telit LE922A6 (PID 0x1040) Daniele Palmas (2): net: usb: qmi_wwan: add qmap mux protocol support Documentation: ABI: testing: sysfs-class-n

[PATCH 2/2] Documentation: ABI: testing: sysfs-class-net-qmi: add new qmap mux files description

2017-03-24 Thread Daniele Palmas
This patch updates the documentation related to the new files added for qmap mux support. Signed-off-by: Daniele Palmas <dnl...@gmail.com> --- Documentation/ABI/testing/sysfs-class-net-qmi | 27 +++ 1 file changed, 27 insertions(+) diff --git a/Documentation/ABI/t

[PATCH 1/2] net: usb: qmi_wwan: add qmap mux protocol support

2017-03-24 Thread Daniele Palmas
interfaces (named qmimux): - /sys/class/net//qmi/add_mux - /sys/class/net//qmi/del_mux Main patch author is Bjørn Mork <bj...@mork.no> Signed-off-by: Bjørn Mork <bj...@mork.no> Signed-off-by: Daniele Palmas <dnl...@gmail.com> --- drivers/net/us

[PATCH 1/1] NET: usb: cdc_mbim: add quirk for supporting Telit LE922A

2016-12-07 Thread Daniele Palmas
Telit LE922A MBIM based composition does not work properly with altsetting toggle done in cdc_ncm_bind_common. This patch adds CDC_MBIM_FLAG_AVOID_ALTSETTING_TOGGLE quirk to avoid this procedure that, instead, is mandatory for other modems. Signed-off-by: Daniele Palmas <dnl...@gmail.

[PATCH 0/1] NET: usb: cdc_mbim: add quirk for supporting Telit LE922A

2016-12-07 Thread Daniele Palmas
/msg149249.html https://www.spinics.net/lists/linux-usb/msg149819.html Thanks to Bjørn for the productive discussion and feedback! Daniele Palmas (1): NET: usb: cdc_mbim: add quirk for supporting Telit LE922A drivers/net/usb/cdc_mbim.c | 21 + drivers/net/usb/cdc_ncm.c | 14

Re: [PATCH 1/1] NET: usb: cdc_ncm: adding MBIM RESET_FUNCTION request and modifying ncm bind common code

2016-12-07 Thread Daniele Palmas
2016-12-05 14:04 GMT+01:00 Daniele Palmas <dnl...@gmail.com>: > Hi, > > 2016-12-05 11:10 GMT+01:00 Bjørn Mork <bj...@mork.no>: >> Daniele Palmas <dnl...@gmail.com> writes: >> >>> I went back to this and further checking revealed that MBIM funct

Re: [PATCH 1/1] NET: usb: cdc_ncm: adding MBIM RESET_FUNCTION request and modifying ncm bind common code

2016-12-05 Thread Daniele Palmas
Hi, 2016-12-05 11:10 GMT+01:00 Bjørn Mork <bj...@mork.no>: > Daniele Palmas <dnl...@gmail.com> writes: > >> I went back to this and further checking revealed that MBIM function >> reset is not needed and the only problem is related to commit >> 48906f62c96c

Re: [PATCH 1/1] NET: usb: cdc_ncm: adding MBIM RESET_FUNCTION request and modifying ncm bind common code

2016-12-05 Thread Daniele Palmas
Hi, 2016-11-28 12:23 GMT+01:00 Daniele Palmas <dnl...@gmail.com>: > 2016-11-26 22:17 GMT+01:00 Bjørn Mork <bj...@mork.no>: >> Bjørn Mork <bj...@mork.no> writes: >> >>> Finally, I found my modems (or at least a number of them) again today. >>>

[PATCH 1/1] NET: usb: qmi_wwan: add support for Telit LE922A PID 0x1040

2016-12-01 Thread Daniele Palmas
This patch adds support for PID 0x1040 of Telit LE922A. The qmi adapter requires to have DTR set for proper working, so QMI_WWAN_QUIRK_DTR has been enabled. Signed-off-by: Daniele Palmas <dnl...@gmail.com> --- drivers/net/usb/qmi_wwan.c | 1 + 1 file changed, 1 insertion(+) diff

[PATCH 0/1] NET: usb: qmi_wwan: add support for Telit LE922A PID 0x1040

2016-12-01 Thread Daniele Palmas
2.00 bDeviceClass0 (Defined at Interface level) bDeviceSubClass 0 bDeviceProtocol 0 bMaxPacketSize064 bNumConfigurations 1 Device Status: 0x (Bus Powered) Daniele Palmas (1): NET: usb: qmi_wwan: add support for Telit LE922A PID

Re: [PATCH 1/1] NET: usb: cdc_ncm: adding MBIM RESET_FUNCTION request and modifying ncm bind common code

2016-11-28 Thread Daniele Palmas
2016-11-26 22:17 GMT+01:00 Bjørn Mork : > Bjørn Mork writes: > >> Finally, I found my modems (or at least a number of them) again today. >> But I'm sorry to say, that the troublesome Huawei E3372h-153 is still >> giving us a hard time. It does not work with your

[PATCH 0/1] NET: usb: cdc_ncm: adding MBIM RESET_FUNCTION request and modifying ncm bind common code

2016-11-23 Thread Daniele Palmas
checking. Daniele Palmas (1): NET: usb: cdc_ncm: adding MBIM RESET_FUNCTION request and modifying ncm bind common code drivers/net/usb/cdc_ncm.c| 39 +++ include/uapi/linux/usb/cdc.h | 1 + 2 files changed, 28 insertions(+), 12 deletions(-) -- 2.7.4

[PATCH 1/1] NET: usb: cdc_ncm: adding MBIM RESET_FUNCTION request and modifying ncm bind common code

2016-11-23 Thread Daniele Palmas
, the MBIM class-specific request code RESET_FUNCTION is used in order to reset the function to its initial state, removing the need for the pause. Signed-off-by: Daniele Palmas <dnl...@gmail.com> --- drivers/net/usb/cdc_ncm.c| 39 +++ include/uapi/lin

[PATCH 0/1] net: usb: cdc_ncm: adding Telit LE910 V2 mobile broadband card

2016-03-31 Thread Daniele Palmas
Miscellaneous Device bDeviceSubClass 2 ? bDeviceProtocol 1 Interface Association bMaxPacketSize064 bNumConfigurations 1 Device Status: 0x0001 Self Powered Daniele Palmas (1): net: usb: cdc_ncm: adding Telit LE910 V2 mobile broadband card drivers/net/usb/cdc_ncm.c

[PATCH 1/1] net: usb: cdc_ncm: adding Telit LE910 V2 mobile broadband card

2016-03-31 Thread Daniele Palmas
Telit LE910 V2 is a mobile broadband card with no ARP capabilities: the patch makes this device to use wwan_noarp_info struct Signed-off-by: Daniele Palmas <dnl...@gmail.com> --- drivers/net/usb/cdc_ncm.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/net/usb/cdc_n

[PATCH v2 0/2] net: usb: cdc_ncm: Adding support for two new Dell devices

2015-12-18 Thread Daniele Palmas
This patch series add support in the cdc_ncm driver for two devices based on the same platform, that are different only for carrier customization. V2: Added comment for highlighting FLAG_NOARP usage for those devices Daniele Palmas (2): net: usb: cdc_ncm: Adding Dell DW5812 LTE Verizon Mobile

[PATCH v2 1/2] net: usb: cdc_ncm: Adding Dell DW5812 LTE Verizon Mobile Broadband Card

2015-12-18 Thread Daniele Palmas
Unlike DW5550, Dell DW5812 is a mobile broadband card with no ARP capabilities: the patch makes this device to use wwan_noarp_info struct Signed-off-by: Daniele Palmas <dnl...@gmail.com> --- drivers/net/usb/cdc_ncm.c | 9 + 1 file changed, 9 insertions(+) diff --git a/drivers/n

[PATCH v2 2/2] net: usb: cdc_ncm: Adding Dell DW5813 LTE AT Mobile Broadband Card

2015-12-18 Thread Daniele Palmas
Unlike DW5550, Dell DW5813 is a mobile broadband card with no ARP capabilities: the patch makes this device to use wwan_noarp_info struct Signed-off-by: Daniele Palmas <dnl...@gmail.com> --- drivers/net/usb/cdc_ncm.c | 9 + 1 file changed, 9 insertions(+) diff --git a/drivers/n

Re: [PATCH 0/2] net: usb: cdc_ncm: Adding support for two new Dell devices

2015-12-17 Thread Daniele Palmas
Hi Bjorn, 2015-12-17 13:21 GMT+01:00 Bjørn Mork <bj...@mork.no>: > Dan Williams <d...@redhat.com> writes: >> On Wed, 2015-12-16 at 10:39 +0100, Daniele Palmas wrote: >>> This patch series add support in the cdc_ncm driver for two devices >>> based on the

Re: [PATCH 0/2] net: usb: cdc_ncm: Adding support for two new Dell devices

2015-12-17 Thread Daniele Palmas
Hi Dan, 2015-12-16 18:12 GMT+01:00 Dan Williams <d...@redhat.com>: > On Wed, 2015-12-16 at 10:39 +0100, Daniele Palmas wrote: >> This patch series add support in the cdc_ncm driver for two devices >> based on the same platform, that are different only for car

[PATCH 0/2] net: usb: cdc_ncm: Adding support for two new Dell devices

2015-12-16 Thread Daniele Palmas
This patch series add support in the cdc_ncm driver for two devices based on the same platform, that are different only for carrier customization. The devices do not have ARP capabilities. Daniele Palmas (2): net: usb: cdc_ncm: Adding Dell DW5812 LTE Verizon Mobile Broadband Card net

[PATCH 2/2] net: usb: cdc_ncm: Adding Dell DW5813 LTE AT Mobile Broadband Card

2015-12-16 Thread Daniele Palmas
Dell DW5813 is a mobile broadband card with no ARP capabilities: the patch makes this device to use wwan_noarp_info struct Signed-off-by: Daniele Palmas <dnl...@gmail.com> --- drivers/net/usb/cdc_ncm.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/net/usb/cdc_ncm.c b/d

[PATCH 1/2] net: usb: cdc_ncm: Adding Dell DW5812 LTE Verizon Mobile Broadband Card

2015-12-16 Thread Daniele Palmas
Dell DW5812 is a mobile broadband card with no ARP capabilities: the patch makes this device to use wwan_noarp_info struct Signed-off-by: Daniele Palmas <dnl...@gmail.com> --- drivers/net/usb/cdc_ncm.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/net/usb/cdc_ncm.c b/d

[PATCH 1/1] net: usb: cdc_ether: add Dell DW5580 as a mobile broadband adapter

2015-11-13 Thread Daniele Palmas
Since Dell DW5580 is a 3G modem, this patch adds the device as a mobile broadband adapter Signed-off-by: Daniele Palmas <dnl...@gmail.com> --- drivers/net/usb/cdc_ether.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/net/usb/cdc_ether.c b/drivers/net/usb/cdc_ether.c