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)
commita82c7ce5bc5be4d0cf8004d1f2ee362f9748c922
tree71ef515a228c20d593ce1f5cf8463806167e4a42
parentbd329e1284bc5fa6adaddd2ee9ca15328749a7a6
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