Bjørn Mork
bd329e1284
net: cdc_ncm: do not bind to NCM compatible MBIM devices
The MBIM specification allows a MBIM device to disguise
itself as NCM for backwards compatibility, using additional
altsettings with different subclass (control) or protocol
(data):
C:* #Ifs= 2 Cfg#= 1 Atr=80 MxPwr=100mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=02(comm.) Sub=0d Prot=00 Driver=cdc_mbim
E: Ad=81(I) Atr=03(Int.) MxPS= 64 Ivl=7ms
I:* If#= 0 Alt= 1 #EPs= 1 Cls=02(comm.) Sub=0e Prot=00 Driver=cdc_mbim
E: Ad=81(I) Atr=03(Int.) MxPS= 64 Ivl=7ms
I: If#= 1 Alt= 0 #EPs= 0 Cls=0a(data ) Sub=00 Prot=01 Driver=cdc_mbim
I: If#= 1 Alt= 1 #EPs= 2 Cls=0a(data ) Sub=00 Prot=01 Driver=cdc_mbim
E: Ad=81(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms
E: Ad=02(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms
I:* If#= 1 Alt= 2 #EPs= 2 Cls=0a(data ) Sub=00 Prot=02 Driver=cdc_mbim
E: Ad=81(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms
E: Ad=02(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms
If the MBIM driver is enabled then that should have priority
for devices providing such a NCM 1.0 backward compatibility
mode.
Signed-off-by: Bjørn Mork <bjorn@mork.no>
Signed-off-by: Greg Suarez <gsuarez@smithmicro.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2012-10-23 02:40:11 -04:00
..
2012-07-19 10:48:07 -07:00
2012-10-01 17:33:00 -04:00
2012-07-19 10:48:07 -07:00
2012-07-19 10:48:07 -07:00
2012-09-20 17:53:14 -04:00
2012-10-11 15:19:21 -04:00
2012-05-22 15:50:46 -07:00
2012-10-23 02:40:11 -04:00
2012-10-23 02:40:11 -04:00
2012-05-18 15:42:55 -07:00
2012-08-08 16:04:47 -07:00
2012-09-03 13:51:02 -04:00
2012-05-18 15:42:55 -07:00
2012-09-20 17:53:14 -04:00
2012-08-13 16:50:19 -07:00
2012-05-18 15:42:55 -07:00
2012-10-18 15:34:30 -04:00
2012-05-18 15:42:55 -07:00
2012-10-11 15:12:33 -04:00
2012-10-23 02:40:11 -04:00
2012-05-18 15:42:55 -07:00
2012-10-23 02:40:11 -04:00
2012-10-12 13:56:52 -04:00
2012-09-20 22:05:22 -04:00
2012-06-12 18:50:23 -07:00
2010-06-30 10:26:16 -07:00
2012-05-18 15:42:55 -07:00
2012-10-18 15:34:30 -04:00
2012-05-22 15:50:46 -07:00
2012-09-20 17:53:14 -04:00
2012-09-15 11:43:53 -04:00
2012-09-28 18:35:47 -04:00
2012-05-07 23:43:56 -04:00
2012-09-28 18:34:58 -04:00
2012-09-28 18:34:58 -04:00
2012-10-11 15:19:21 -04:00
2012-05-18 15:42:55 -07:00