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

STALE3421d

7 messages, 5 authors, 2017-03-26 · open the first message on its own page

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

From: Daniele Palmas <hidden>
Date: 2017-03-24 13:22:44

This patch adds support for qmap mux protocol available in recent
Qualcomm based modems.

The qmap mux protocol can be used for multiplexing data packets in
order to have multiple ip streams through the same physical device.

Two new sysfs files are added for adding/removing the qmap mux based
interfaces (named qmimux):

/sys/class/net/<iface>/qmi/add_mux
/sys/class/net/<iface>/qmi/del_mux

Main patch author is Bjørn Mork [off-list ref]

An userspace implementation of the qmi requests needed to support
multiple ip streams is already available (namely libqmi since
version 1.18.0).

The qmap mux feature 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-net-qmi: add new qmap mux
    files description

 Documentation/ABI/testing/sysfs-class-net-qmi |  27 +++
 drivers/net/usb/qmi_wwan.c                    | 317 +++++++++++++++++++++++++-
 2 files changed, 343 insertions(+), 1 deletion(-)

-- 
2.8.1

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

From: Daniele Palmas <hidden>
Date: 2017-03-24 13:24:14

This patch updates the documentation related to the new files added for
qmap mux support.

Signed-off-by: Daniele Palmas <redacted>
---
 Documentation/ABI/testing/sysfs-class-net-qmi | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)
diff --git a/Documentation/ABI/testing/sysfs-class-net-qmi b/Documentation/ABI/testing/sysfs-class-net-qmi
index fa5a00b..5191dc3 100644
--- a/Documentation/ABI/testing/sysfs-class-net-qmi
+++ b/Documentation/ABI/testing/sysfs-class-net-qmi
@@ -21,3 +21,30 @@ Description:
 		is responsible for coordination of driver and firmware
 		link framing mode, changing this setting to 'Y' if the
 		firmware is configured for 'raw-ip' mode.
+
+What:		/sys/class/net/<iface>/qmi/add_mux
+Date:		March 2017
+KernelVersion:	4.11
+Contact:	Bjørn Mork <bjorn@mork.no>
+Description:
+		Unsigned integer.
+
+		Write a number ranging from 1 to 127 to add a qmap mux
+		based network device, supported by recent Qualcomm based
+		modems.
+
+		The network device will be called qmimux.
+
+		Userspace is in charge of managing the qmux network device
+		activation and data stream setup  on them modem side by
+		using the proper QMI protocol requests.
+
+What:		/sys/class/net/<iface>/qmi/del_mux
+Date:		March 2017
+KernelVersion:	4.11
+Contact:	Bjørn Mork <bjorn@mork.no>
+Description:
+		Unsigned integer.
+
+		Write a number ranging from 1 to 127 to delete a previously
+		created qmap mux based network device.
-- 
2.8.1

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

From: Sergei Shtylyov <hidden>
Date: 2017-03-24 16:31:35

Hello!

On 03/24/2017 04:22 PM, Daniele Palmas wrote:
quoted hunk
This patch updates the documentation related to the new files added for
qmap mux support.

Signed-off-by: Daniele Palmas <redacted>
---
 Documentation/ABI/testing/sysfs-class-net-qmi | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)
diff --git a/Documentation/ABI/testing/sysfs-class-net-qmi b/Documentation/ABI/testing/sysfs-class-net-qmi
index fa5a00b..5191dc3 100644
--- a/Documentation/ABI/testing/sysfs-class-net-qmi
+++ b/Documentation/ABI/testing/sysfs-class-net-qmi
@@ -21,3 +21,30 @@ Description:
 		is responsible for coordination of driver and firmware
 		link framing mode, changing this setting to 'Y' if the
 		firmware is configured for 'raw-ip' mode.
+
+What:		/sys/class/net/<iface>/qmi/add_mux
+Date:		March 2017
+KernelVersion:	4.11
+Contact:	Bjørn Mork <bjorn@mork.no>
+Description:
+		Unsigned integer.
+
+		Write a number ranging from 1 to 127 to add a qmap mux
+		based network device, supported by recent Qualcomm based
+		modems.
+
+		The network device will be called qmimux.
+
+		Userspace is in charge of managing the qmux network device
+		activation and data stream setup  on them modem side by
    s/them/the/?
+		using the proper QMI protocol requests.
[...]

MBR, Sergei

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

From: Subash Abhinov Kasiviswanathan <hidden>
Date: 2017-03-24 17:45:19

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 multiplexing data packets in
order to have multiple ip streams through the same physical device.

Two new sysfs files are added for adding/removing the qmap mux based
interfaces (named qmimux):

/sys/class/net/<iface>/qmi/add_mux
/sys/class/net/<iface>/qmi/del_mux

Main patch author is Bjørn Mork [off-list ref]

An userspace implementation of the qmi requests needed to support
multiple ip streams is already available (namely libqmi since
version 1.18.0).

The qmap mux feature 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-net-qmi: add new qmap mux
    files description

 Documentation/ABI/testing/sysfs-class-net-qmi |  27 +++
 drivers/net/usb/qmi_wwan.c                    | 317 
+++++++++++++++++++++++++-
 2 files changed, 343 insertions(+), 1 deletion(-)
Hi Daniele

We are working on something similar
https://www.mail-archive.com/netdev@vger.kernel.org/msg157677.html

We are planning to upstream this as a platform agnostic driver without
tying it to a particular physical transport here.

We also add support for aggregation and flow control (control packet 
0x80)
apart from the multiplexing.

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

From: Daniele Palmas <hidden>
Date: 2017-03-25 16:09:28

Hi Sergei,

2017-03-24 17:31 GMT+01:00 Sergei Shtylyov [off-list ref]:
Hello!


On 03/24/2017 04:22 PM, Daniele Palmas wrote:
quoted
This patch updates the documentation related to the new files added for
qmap mux support.

Signed-off-by: Daniele Palmas <redacted>
---
 Documentation/ABI/testing/sysfs-class-net-qmi | 27
+++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)
diff --git a/Documentation/ABI/testing/sysfs-class-net-qmi
b/Documentation/ABI/testing/sysfs-class-net-qmi
index fa5a00b..5191dc3 100644
--- a/Documentation/ABI/testing/sysfs-class-net-qmi
+++ b/Documentation/ABI/testing/sysfs-class-net-qmi
@@ -21,3 +21,30 @@ Description:
                is responsible for coordination of driver and firmware
                link framing mode, changing this setting to 'Y' if the
                firmware is configured for 'raw-ip' mode.
+
+What:          /sys/class/net/<iface>/qmi/add_mux
+Date:          March 2017
+KernelVersion: 4.11
+Contact:       Bjørn Mork <bjorn@mork.no>
+Description:
+               Unsigned integer.
+
+               Write a number ranging from 1 to 127 to add a qmap mux
+               based network device, supported by recent Qualcomm based
+               modems.
+
+               The network device will be called qmimux.
+
+               Userspace is in charge of managing the qmux network device
+               activation and data stream setup  on them modem side by

   s/them/the/?
I will fix this if there will be a v2 series.

Thanks,
Daniele
quoted
+               using the proper QMI protocol requests.
[...]

MBR, Sergei

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

From: Daniele Palmas <hidden>
Date: 2017-03-25 16:11:55

Hi Subash,

2017-03-24 18:45 GMT+01:00 Subash Abhinov Kasiviswanathan
[off-list ref]:
On 2017-03-24 07:22, Daniele Palmas wrote:
quoted
This patch adds support for qmap mux protocol available in recent
Qualcomm based modems.

The qmap mux protocol can be used for multiplexing data packets in
order to have multiple ip streams through the same physical device.

Two new sysfs files are added for adding/removing the qmap mux based
interfaces (named qmimux):

/sys/class/net/<iface>/qmi/add_mux
/sys/class/net/<iface>/qmi/del_mux

Main patch author is Bjørn Mork [off-list ref]

An userspace implementation of the qmi requests needed to support
multiple ip streams is already available (namely libqmi since
version 1.18.0).

The qmap mux feature 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-net-qmi: add new qmap mux
    files description

 Documentation/ABI/testing/sysfs-class-net-qmi |  27 +++
 drivers/net/usb/qmi_wwan.c                    | 317
+++++++++++++++++++++++++-
 2 files changed, 343 insertions(+), 1 deletion(-)

Hi Daniele

We are working on something similar
https://www.mail-archive.com/netdev@vger.kernel.org/msg157677.html

We are planning to upstream this as a platform agnostic driver without
tying it to a particular physical transport here.

We also add support for aggregation and flow control (control packet 0x80)
apart from the multiplexing.
Thanks, I'll take a look at your patch series.

Regards,
Daniele
--
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project

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

From: David Miller <davem@davemloft.net>
Date: 2017-03-26 03:03:51

From: Daniele Palmas <redacted>
Date: Fri, 24 Mar 2017 14:22:44 +0100
This patch adds support for qmap mux protocol available in recent
Qualcomm based modems.

The qmap mux protocol can be used for multiplexing data packets in
order to have multiple ip streams through the same physical device.

Two new sysfs files are added for adding/removing the qmap mux based
interfaces (named qmimux):

/sys/class/net/<iface>/qmi/add_mux
/sys/class/net/<iface>/qmi/del_mux

Main patch author is Bjørn Mork [off-list ref]

An userspace implementation of the qmi requests needed to support
multiple ip streams is already available (namely libqmi since
version 1.18.0).

The qmap mux feature 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)
Series applied, thanks.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help