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
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(+)
@@ -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.
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(+)
@@ -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
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.
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(+)
@@ -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
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
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)