]> git.baikalelectronics.ru Git - kernel.git/commit
net: cdc_ncm: map MBIM IPS SessionID to VLAN ID
authorBjørn Mork <bjorn@mork.no>
Mon, 22 Oct 2012 10:56:39 +0000 (10:56 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 23 Oct 2012 06:40:11 +0000 (02:40 -0400)
commita32d18f9b27e8eb0c1f7f834b9db975566edf582
tree71ef515a228c20d593ce1f5cf8463806167e4a42
parentbf0641d2775940433e8b967d98667568593af290
net: cdc_ncm: map MBIM IPS SessionID to VLAN ID

MBIM devices can support up to 256 independent IP Streams.
The main network device will only handle SessionID 0. Mapping
SessionIDs 1 to 255 to VLANs using the SessionID as VLAN ID
allow userspace to use these streams with traditional tools
like vconfig.

Signed-off-by: Bjørn Mork <bjorn@mork.no>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/cdc_mbim.c