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-10-16 18:07:12 -07:00
2012-10-05 22:32:05 -03:00
2012-10-06 03:04:40 +09:00
2012-10-09 16:23:02 +09:00
2012-10-11 09:04:23 +09:00
2012-10-16 18:14:31 -07:00
2012-10-08 14:58:56 -07:00
2012-10-08 22:52:54 -04:00
2012-10-07 20:55:16 +09:00
2012-10-10 11:10:41 +09:00
2012-10-06 03:16:12 +09:00
2012-10-09 18:26:28 +02:00
2012-10-09 16:08:04 +09:00
2012-10-16 16:40:53 +10:00
2012-10-11 00:45:21 -07:00
2012-10-13 11:27:59 +09:00
2012-10-11 10:27:51 +09:00
2012-10-06 03:04:41 +09:00
2012-10-10 19:52:19 +09:00
2012-10-13 10:56:03 +09:00
2012-10-08 06:33:44 +09:00
2012-10-10 22:50:45 -04:00
2012-10-10 20:14:07 +09:00
2012-10-07 21:04:56 +09:00
2012-10-06 03:16:12 +09:00
2012-10-13 13:22:01 -07:00
2012-10-12 12:39:17 +09:00
2012-10-07 17:29:24 +09:00
2012-10-10 20:15:24 +09:00
2012-10-11 17:21:40 -04:00
2012-10-09 15:08:42 +01:00
2012-10-23 02:40:11 -04:00
2012-10-03 09:44:08 -07:00
2012-10-09 16:22:18 +09:00
2012-10-09 16:11:46 +09:00
2012-10-06 03:16:12 +09:00
2012-10-15 09:09:27 +02:00
2012-10-09 01:47:35 -04:00
2012-10-13 11:27:59 +09:00
2012-10-06 03:04:56 +09:00
2012-10-10 20:15:24 +09:00
2012-10-11 08:50:15 +09:00
2012-10-05 12:01:30 +09:00
2012-10-07 21:04:56 +09:00
2012-10-07 21:04:56 +09:00
2012-10-11 08:50:16 +09:00
2012-10-16 14:41:46 -04:00
2012-10-13 10:57:01 +09:00
2012-10-15 14:08:48 +09:00
2012-10-10 11:10:41 +09:00
2012-10-13 11:27:59 +09:00
2012-10-11 09:04:23 +09:00
2012-10-15 14:00:07 -07:00
2012-10-17 12:40:44 -07:00
2012-10-09 16:22:19 +09:00
2012-10-11 15:18:49 -04:00
2012-10-10 09:10:32 -06:00
2012-10-10 19:52:19 +09:00
2012-10-12 10:21:02 +09:00
2012-10-07 21:06:10 +09:00
2012-10-12 22:20:28 +09:00
2012-10-16 18:07:12 -07:00