]> 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)
commit217d580b0989708ac5f620ed13c8c5fc62e3ba23
tree71ef515a228c20d593ce1f5cf8463806167e4a42
parent5453f41fca3f1d75638eda48451d5006eaf897b4
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