net: usb: qmi_wwan: add qmap mux protocol support
authorDaniele Palmas <dnlplm@gmail.com>
Fri, 24 Mar 2017 13:22:45 +0000 (14:22 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sun, 26 Mar 2017 03:03:35 +0000 (20:03 -0700)
commitc6adf77953bcec0ad63d7782479452464e50f7a3
tree17c219fbc88f664224df98d25dee7914ba8a3da8
parent1312444374241f0e4dd0406ad8967a8b13bb6d69
net: usb: qmi_wwan: add qmap mux protocol support

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 <bjorn@mork.no>

Signed-off-by: Bjørn Mork <bjorn@mork.no>
Signed-off-by: Daniele Palmas <dnlplm@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/qmi_wwan.c