Re: [PATCH] iplink_rmnet: Allow passing IFLA_RMNET_FLAGS

2021-03-15 Thread Daniele Palmas
Hi Bjorn, Il giorno sab 13 mar 2021 alle ore 01:02 Bjorn Andersson ha scritto: > > Parse and pass IFLA_RMNET_FLAGS to the kernel, to allow changing the > flags from the default of ingress-aggregate only. > > Signed-off-by: Bjorn Andersson > --- > ip/iplink_rmnet.c | 42 +

[PATCH 1/1] net: usb: qmi_wwan: allow qmimux add/del with master up

2021-03-04 Thread Daniele Palmas
t;net: usb: qmi_wwan: add qmap mux protocol support") Reported-by: Aleksander Morgado Signed-off-by: Daniele Palmas --- drivers/net/usb/qmi_wwan.c | 14 -- 1 file changed, 14 deletions(-) diff --git a/drivers/net/usb/qmi_wwan.c b/drivers/net/usb/qmi_wwan.c index 17a050521b86..6700

[PATCH 0/2] net: usb: qmi_wwan: new mux_id sysfs file

2021-01-27 Thread Daniele Palmas
ay and its absence restricts how userspace application (e.g. like libqmi) can take advantage of the qmimux implementation in qmi_wwan. Thanks, Daniele v2: used sysfs_emit in mux_id_show Daniele Palmas (2): net: usb: qmi_wwan: add qmap id sysfs file for qmimux interfaces net: qmi_wwan: doc

[PATCH net-next v2 1/2] net: usb: qmi_wwan: add qmap id sysfs file for qmimux interfaces

2021-01-27 Thread Daniele Palmas
Add qmimux interface sysfs file qmap/mux_id to show qmap id set during the interface creation, in order to provide a method for userspace to associate QMI control channels to network interfaces. Signed-off-by: Daniele Palmas --- drivers/net/usb/qmi_wwan.c | 24 1 file

[PATCH net-next v2 2/2] net: qmi_wwan: document qmap/mux_id sysfs file

2021-01-27 Thread Daniele Palmas
Document qmap/mux_id sysfs file showing qmimux interface id Signed-off-by: Daniele Palmas --- Documentation/ABI/testing/sysfs-class-net-qmi | 10 ++ 1 file changed, 10 insertions(+) diff --git a/Documentation/ABI/testing/sysfs-class-net-qmi b/Documentation/ABI/testing/sysfs-class-net

[PATCH 0/2] net: usb: qmi_wwan: new mux_id sysfs file

2021-01-26 Thread Daniele Palmas
ay and its absence restricts how userspace application (e.g. like libqmi) can take advantage of the qmimux implementation in qmi_wwan. Thanks, Daniele Daniele Palmas (2): net: usb: qmi_wwan: add qmap id sysfs file for qmimux interfaces net: qmi_wwan: document qmap/mux_id sysfs file Documen

[PATCH net-next 2/2] net: qmi_wwan: document qmap/mux_id sysfs file

2021-01-25 Thread Daniele Palmas
Document qmap/mux_id sysfs file showing qmimux interface id Signed-off-by: Daniele Palmas --- Documentation/ABI/testing/sysfs-class-net-qmi | 10 ++ 1 file changed, 10 insertions(+) diff --git a/Documentation/ABI/testing/sysfs-class-net-qmi b/Documentation/ABI/testing/sysfs-class-net

[PATCH net-next 1/2] net: usb: qmi_wwan: add qmap id sysfs file for qmimux interfaces

2021-01-25 Thread Daniele Palmas
Add qmimux interface sysfs file qmap/mux_id to show qmap id set during the interface creation, in order to provide a method for userspace to associate QMI control channels to network interfaces. Signed-off-by: Daniele Palmas --- drivers/net/usb/qmi_wwan.c | 27 +++ 1

Re: [PATCH v17 3/3] bus: mhi: Add userspace client interface driver

2020-12-14 Thread Daniele Palmas
Hello, Il giorno dom 13 dic 2020 alle ore 15:22 Manivannan Sadhasivam ha scritto: > > On Fri, Dec 11, 2020 at 08:08:16PM -0800, Jakub Kicinski wrote: > > On Fri, 11 Dec 2020 11:37:34 -0600 Dan Williams wrote: > > > Just to re-iterate: QMI ~= AT commands ~= MBIM (not quite, but same > > > level) >

Re: [PATCH net-next 1/1] net: usb: qmi_wwan: add default rx_urb_size

2020-11-12 Thread Daniele Palmas
Hi Kristian, Il giorno mer 4 nov 2020 alle ore 18:01 Kristian Evensen ha scritto: > > Hi, > > On Wed, Sep 9, 2020 at 11:14 AM Daniele Palmas wrote: > > > > Add default rx_urb_size to support QMAP download data aggregation > > without needing additional setup s

[PATCH 1/1] net: usb: qmi_wwan: add Telit LE910Cx 0x1230 composition

2020-11-02 Thread Daniele Palmas
Add support for Telit LE910Cx 0x1230 composition: 0x1230: tty, adb, rmnet, audio, tty, tty, tty, tty Signed-off-by: Daniele Palmas --- Hi Bjørn, following lsusb verbose output: Bus 003 Device 004: ID 1bc7:1230 Telit Wireless Solutions Device Descriptor: bLength18

Re: [PATCH net-next 1/1] net: usb: qmi_wwan: add default rx_urb_size

2020-09-09 Thread Daniele Palmas
Hi Bjørn, Il giorno mer 9 set 2020 alle ore 14:49 Bjørn Mork ha scritto: > > Daniele Palmas writes: > > Il giorno mer 9 set 2020 alle ore 13:09 Carl Yin(殷张成) > > ha scritto: > >> > >> Hi Deniele: > >> > >> I have an idea, by now

Re: [PATCH net-next 1/1] net: usb: qmi_wwan: add default rx_urb_size

2020-09-09 Thread Daniele Palmas
Hi Greg, Il giorno mer 9 set 2020 alle ore 14:28 Greg KH ha scritto: > > On Wed, Sep 09, 2020 at 11:13:02AM +0200, Daniele Palmas wrote: > > Add default rx_urb_size to support QMAP download data aggregation > > without needing additional setup steps in userspace. > > >

Re: [PATCH net-next 1/1] net: usb: qmi_wwan: add default rx_urb_size

2020-09-09 Thread Daniele Palmas
ut not sure about the direction (maybe fallback to a default value to guarantee a minimum number if rx_qlen is < than a threshold?). And this is also a change affecting all the drivers using usbnet, so it requires additional care. Let's wait for the maintainers' advice also on this. Re

[PATCH net-next 1/1] net: usb: qmi_wwan: add default rx_urb_size

2020-09-09 Thread Daniele Palmas
-off-by: Daniele Palmas --- Resending with mailing lists added: sorry for the noise. Hi Bjørn and all, this patch tries to address the issue reported in the following threads https://www.spinics.net/lists/netdev/msg635944.html https://www.spinics.net/lists/linux-usb/msg198846.html https

Re: [PATCH] net: usb: qmi_wwan: Fix for packets being rejected in the ring buffer used by the xHCI controller.

2020-09-07 Thread Daniele Palmas
Hi Kristian and Bjørn, Il giorno lun 7 set 2020 alle ore 09:45 Bjørn Mork ha scritto: > > Kristian Evensen writes: > > > Hi all, > > > > I was able to trigger the same issue as reported by Paul, and came > > across this patch (+ Daniele's other patch and thread on the libqmi > > mailing list). A

Re: [PATCH] qmi_wwan: support modify usbnet's rx_urb_size

2020-08-03 Thread Daniele Palmas
Il giorno lun 3 ago 2020 alle ore 11:49 Greg KH ha scritto: > > On Mon, Aug 03, 2020 at 10:26:18AM +0200, Daniele Palmas wrote: > > Hi Greg, > > > > Il giorno lun 3 ago 2020 alle ore 10:18 Greg KH > > ha scritto: > > > > > > On Mon, Aug 03, 20

Re: [PATCH] qmi_wwan: support modify usbnet's rx_urb_size

2020-08-03 Thread Daniele Palmas
Hi Greg, Il giorno lun 3 ago 2020 alle ore 10:18 Greg KH ha scritto: > > On Mon, Aug 03, 2020 at 02:51:05PM +0800, yzc...@netease.com wrote: > > From: carl > > > > When QMUX enabled, the 'dl-datagram-max-size' can be 4KB/16KB/31KB > > depend on QUALCOMM's chipsets. > > User can set 'dl-

[PATCH 1/1] net: usb: qmi_wwan: add Telit LE910C1-EUX composition

2020-05-25 Thread Daniele Palmas
Add support for Telit LE910C1-EUX composition 0x1031: tty, tty, tty, rmnet Signed-off-by: Daniele Palmas --- Hi Bjørn, following the output of lsusb: Bus 003 Device 007: ID 1bc7:1031 Telit Wireless Solutions Device Descriptor: bLength18 bDescriptorType 1 bcdUSB

Re: [PATCH 0/4] qmi_wwan: fix QMAP handling

2019-06-13 Thread Daniele Palmas
FO: rcu_preempt detected stalls on CPUs/tasks: >[ 2294.679140] rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P141 >[ 2294.679144] rcu: (detected by 0, t=21002 jiffies, g=265857, q=8446) >[ 2294.679148] kworker/1:1 D0 141 2 0x8000 > > > In addition

[PATCH 1/1] net: usb: qmi_wwan: add Telit 0x1260 and 0x1261 compositions

2019-05-15 Thread Daniele Palmas
Added support for Telit LE910Cx 0x1260 and 0x1261 compositions. Signed-off-by: Daniele Palmas --- lsusb output for the compositions: Bus 003 Device 004: ID 1bc7:1260 Telit Wireless Solutions Device Descriptor: bLength18 bDescriptorType 1 bcdUSB 2.00

Re: cellular modem driver APIs

2019-04-06 Thread Daniele Palmas
Hi, Il giorno ven 5 apr 2019 alle ore 06:45 Subash Abhinov Kasiviswanathan ha scritto: > > On 2019-04-04 14:38, Johannes Berg wrote: > > Hi, > > > >> The normal mode of operation of rmnet is using the rmnet netdevices > >> in an embedded device. > > > > Sure. Can you say what driver this would ty

Re: cellular modem driver APIs

2019-04-06 Thread Daniele Palmas
Hi, Il giorno gio 4 apr 2019 alle ore 11:00 Johannes Berg ha scritto: > > > (2) Channels are created using sysfs (qmi_wwan) > > > > > > This feels almost worse - channels are created using sysfs and > > > just *bam* new netdev shows up, no networking APIs are used to > > > cr

Re: [PATCH 1/1] qmi_wwan: add MTU default to qmap network interface

2019-01-04 Thread Daniele Palmas
Hi Bjørn, Il giorno ven 4 gen 2019 alle ore 14:24 Bjørn Mork ha scritto: > > Daniele Palmas writes: > > > This patch adds MTU default value to qmap network interface in > > order to avoid "RTNETLINK answers: No buffer space available" > > error when settin

[PATCH 1/1] qmi_wwan: add MTU default to qmap network interface

2019-01-04 Thread Daniele Palmas
This patch adds MTU default value to qmap network interface in order to avoid "RTNETLINK answers: No buffer space available" error when setting an ipv6 address. Signed-off-by: Daniele Palmas --- drivers/net/usb/qmi_wwan.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drive

Re: [PATCH 1/1] Fix qmap header retrieval in qmimux_rx_fixup

2018-12-21 Thread Daniele Palmas
Il giorno ven 21 dic 2018 alle ore 13:33 Bjørn Mork ha scritto: > > Daniele Palmas writes: > > > This patch fixes qmap header retrieval when modem is configured for > > dl data aggregation. > > > > Signed-off-by: Daniele Palmas > > --- > > Hi Bj

[PATCH 1/1] Fix qmap header retrieval in qmimux_rx_fixup

2018-12-21 Thread Daniele Palmas
This patch fixes qmap header retrieval when modem is configured for dl data aggregation. Signed-off-by: Daniele Palmas --- Hi Bjørn and all, I'm facing an issue when using qmi_wwan with modem configured with dl data aggregation and qmap multiplexing, e.g. something like root@L2122:~# q

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 t

[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 c

[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 is

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 Danie

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 : > Hi Greg, > > 2018-05-24 17:53 GMT+02:00 Greg KH : >> 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 >&g

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 : > 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: it looks like to me a kernel issue, but not at

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 wwp

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 : > 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

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 me

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 : > 2017-12-14 18:55 GMT+01:00 Bjørn Mork : >> Daniele Palmas writes: >> >>> This patch adds support for Telit ME910 PID 0x1101. >>> >>> Signed-off-by: Daniele Palmas >> >> Acked-by: Bjørn Mork >

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 : > Daniele Palmas writes: > >> This patch adds support for Telit ME910 PID 0x1101. >> >> Signed-off-by: Daniele Palmas > > Acked-by: Bjørn Mork > >> bInterfaceSubClass254 > > Just curious: Is there s

[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 --- Following lsusb output for 0x1101 composition tty, tty, tty, rmnet Bus 003 Device 015: ID 1bc7:1101 Telit Wireless Solutions Device Descriptor: bLength18 bDescriptorType 1 bcdUSB

[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 --- 0x1100 composition is: tty + qdss + tty + rmnet Following lsusb output: Bus 003 Device 018: ID 1bc7:1100 Telit Wireless Solutions Device Descriptor: bLength18 bDescriptorType 1

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 : > Hi Bjørn, > > 2017-04-19 19:28 GMT+02:00 Bjørn Mork : >> Daniele Palmas writes: >> >> >> Would you mind describing in detail how you trigger the EIOs? What >> software and command sequence are you us

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 : > Daniele Palmas 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 suggestion in libqmi

[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 --- 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-of-sync" due

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 : > 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 mux protocol can be used for mult

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 : > 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. >> >> Signed-off-by: Daniele Palmas >

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

2017-03-24 Thread Daniele Palmas
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-net-qmi: add new qmap

[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 --- Documentation/ABI/testing/sysfs-class-net-qmi | 27 +++ 1 file changed, 27 insertions(+) diff --git a/Documentation/ABI/testing/sysfs-class-net

[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 Signed-off-by: Bjørn Mork Signed-off-by: Daniele Palmas --- drivers/net/usb/qmi_wwan.c | 317 - 1 file changed, 316 insertions(+), 1

[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 --- drivers/net/usb

[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 : > Hi, > > 2016-12-05 11:10 GMT+01:00 Bjørn Mork : >> Daniele Palmas writes: >> >>> I went back to this and further checking revealed that MBIM function >>> reset is not needed an

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 : > Daniele Palmas 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 >> 48906f62c96cc2cd35753e59310cb70eb08cc6a5 cdc_ncm: toggle alts

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 : > 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 i

[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 --- drivers/net/usb/qmi_wwan.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/usb

[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. The symptom is >> the same

[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 --- drivers/net/usb/cdc_ncm.c| 39 +++ include/uapi/linux/usb/cdc.h | 1 + 2

[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 --- drivers/net/usb/cdc_ncm.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/net/usb/cdc_ncm.c b/drivers/net/usb

[PATCH v2 2/2] net: usb: cdc_ncm: Adding Dell DW5813 LTE AT&T 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 --- drivers/net/usb/cdc_ncm.c | 9 + 1 file changed, 9 insertions(+) diff --git a/drivers/net/usb/cdc_ncm.c b/drivers

[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 --- drivers/net/usb/cdc_ncm.c | 9 + 1 file changed, 9 insertions(+) diff --git a/drivers/net/usb/cdc_ncm.c b/drivers

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 : > Dan Williams 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 same platform, that are different only fo

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 : > 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 carrier >> customization. >>

[PATCH 2/2] net: usb: cdc_ncm: Adding Dell DW5813 LTE AT&T 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 --- drivers/net/usb/cdc_ncm.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/net/usb/cdc_ncm.c b/drivers/net/usb/cdc_ncm.c

[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 --- drivers/net/usb/cdc_ncm.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/net/usb/cdc_ncm.c b/drivers/net/usb/cdc_ncm.c

[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 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 --- 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 index 35a2bff..5e92076