blob: 2d8d9150da0cc70abd4cc440fad2618f38b558fb [file] [log] [blame]
Greg Kroah-Hartman5fd54ac2017-11-03 11:28:30 +01001// SPDX-License-Identifier: GPL-2.0
Matthias Urlichs58cfe912005-05-23 17:00:48 -07002/*
Matthias Urlichs14f76cc2006-06-02 11:48:56 +02003 USB Driver for GSM modems
Matthias Urlichs58cfe912005-05-23 17:00:48 -07004
5 Copyright (C) 2005 Matthias Urlichs <smurf@smurf.noris.de>
6
Matthias Urlichs58cfe912005-05-23 17:00:48 -07007 Portions copied from the Keyspan driver by Hugh Blemings <hugh@blemings.org>
8
Matthias Urlichsb3fdab52006-08-02 16:41:41 -07009 History: see the git log.
Matthias Urlichsba460e42005-07-14 00:33:47 -070010
11 Work sponsored by: Sigos GmbH, Germany <info@sigos.de>
12
Matthias Urlichs14f76cc2006-06-02 11:48:56 +020013 This driver exists because the "normal" serial driver doesn't work too well
14 with GSM modems. Issues:
15 - data loss -- one single Receive URB is not nearly enough
Matthias Urlichs7c1c2f72006-07-20 04:56:00 +020016 - nonstandard flow (Option devices) control
Matthias Urlichs14f76cc2006-06-02 11:48:56 +020017 - controlling the baud rate doesn't make sense
18
19 This driver is named "option" because the most common device it's
20 used for is a PC-Card (with an internal OHCI-USB interface, behind
21 which the GSM interface sits), made by Option Inc.
22
23 Some of the "one port" devices actually exhibit multiple USB instances
24 on the USB bus. This is not a bug, these ports are used for different
25 device features.
Matthias Urlichs58cfe912005-05-23 17:00:48 -070026*/
Matthias Urlichsba460e42005-07-14 00:33:47 -070027
Matthias Urlichs58cfe912005-05-23 17:00:48 -070028#define DRIVER_AUTHOR "Matthias Urlichs <smurf@smurf.noris.de>"
Matthias Urlichs14f76cc2006-06-02 11:48:56 +020029#define DRIVER_DESC "USB Driver for GSM modems"
Matthias Urlichs58cfe912005-05-23 17:00:48 -070030
Matthias Urlichs58cfe912005-05-23 17:00:48 -070031#include <linux/kernel.h>
32#include <linux/jiffies.h>
33#include <linux/errno.h>
34#include <linux/tty.h>
35#include <linux/tty_flip.h>
Tejun Heo5a0e3ad2010-03-24 17:04:11 +090036#include <linux/slab.h>
Matthias Urlichs58cfe912005-05-23 17:00:48 -070037#include <linux/module.h>
Alan Stern59c2afa2007-06-05 16:46:26 -070038#include <linux/bitops.h>
Matthias Urlichs58cfe912005-05-23 17:00:48 -070039#include <linux/usb.h>
Greg Kroah-Hartmana9698882006-07-11 21:22:58 -070040#include <linux/usb/serial.h>
Matthew Garrett8b4c6a32010-04-01 12:31:08 -040041#include "usb-wwan.h"
Matthias Urlichs58cfe912005-05-23 17:00:48 -070042
43/* Function prototypes */
Pascal Terjanc5be1b52009-04-16 19:00:45 +020044static int option_probe(struct usb_serial *serial,
45 const struct usb_device_id *id);
Johan Hovoldc2dd4a82012-10-25 15:42:40 +020046static int option_attach(struct usb_serial *serial);
Johan Hovoldb9c3aab2012-05-29 18:22:48 +020047static void option_release(struct usb_serial *serial);
David Howells7d12e782006-10-05 14:55:46 +010048static void option_instat_callback(struct urb *urb);
Matthias Urlichs58cfe912005-05-23 17:00:48 -070049
Matthias Urlichs58cfe912005-05-23 17:00:48 -070050/* Vendor and product IDs */
Greg Kroah-Hartmanfd978bfa2007-02-21 12:53:17 -080051#define OPTION_VENDOR_ID 0x0AF0
52#define OPTION_PRODUCT_COLT 0x5000
53#define OPTION_PRODUCT_RICOLA 0x6000
54#define OPTION_PRODUCT_RICOLA_LIGHT 0x6100
55#define OPTION_PRODUCT_RICOLA_QUAD 0x6200
56#define OPTION_PRODUCT_RICOLA_QUAD_LIGHT 0x6300
57#define OPTION_PRODUCT_RICOLA_NDIS 0x6050
58#define OPTION_PRODUCT_RICOLA_NDIS_LIGHT 0x6150
59#define OPTION_PRODUCT_RICOLA_NDIS_QUAD 0x6250
60#define OPTION_PRODUCT_RICOLA_NDIS_QUAD_LIGHT 0x6350
61#define OPTION_PRODUCT_COBRA 0x6500
62#define OPTION_PRODUCT_COBRA_BUS 0x6501
63#define OPTION_PRODUCT_VIPER 0x6600
64#define OPTION_PRODUCT_VIPER_BUS 0x6601
65#define OPTION_PRODUCT_GT_MAX_READY 0x6701
Greg Kroah-Hartmanfd978bfa2007-02-21 12:53:17 -080066#define OPTION_PRODUCT_FUJI_MODEM_LIGHT 0x6721
67#define OPTION_PRODUCT_FUJI_MODEM_GT 0x6741
68#define OPTION_PRODUCT_FUJI_MODEM_EX 0x6761
Greg Kroah-Hartmanfd978bfa2007-02-21 12:53:17 -080069#define OPTION_PRODUCT_KOI_MODEM 0x6800
Greg Kroah-Hartmanfd978bfa2007-02-21 12:53:17 -080070#define OPTION_PRODUCT_SCORPION_MODEM 0x6901
Greg Kroah-Hartmanfd978bfa2007-02-21 12:53:17 -080071#define OPTION_PRODUCT_ETNA_MODEM 0x7001
Greg Kroah-Hartmanfd978bfa2007-02-21 12:53:17 -080072#define OPTION_PRODUCT_ETNA_MODEM_LITE 0x7021
73#define OPTION_PRODUCT_ETNA_MODEM_GT 0x7041
74#define OPTION_PRODUCT_ETNA_MODEM_EX 0x7061
Greg Kroah-Hartmanfd978bfa2007-02-21 12:53:17 -080075#define OPTION_PRODUCT_ETNA_KOI_MODEM 0x7100
Achilleas Kotsise7f2f0d2009-03-16 16:35:02 +020076#define OPTION_PRODUCT_GTM380_MODEM 0x7201
Matthias Urlichs58cfe912005-05-23 17:00:48 -070077
Greg Kroah-Hartmanfd978bfa2007-02-21 12:53:17 -080078#define HUAWEI_VENDOR_ID 0x12D1
Bjørn Morkf36446c2012-11-25 17:05:10 +010079#define HUAWEI_PRODUCT_E173 0x140C
Michal Malýeb2addd2013-09-28 19:50:27 +020080#define HUAWEI_PRODUCT_E1750 0x1406
Andrew Bird0372a752010-07-23 16:04:41 +010081#define HUAWEI_PRODUCT_K4505 0x1464
82#define HUAWEI_PRODUCT_K3765 0x1465
Andrew Bird7e180582011-08-16 13:58:21 -060083#define HUAWEI_PRODUCT_K4605 0x14C6
Gustavo Zacarias8f173e22013-11-11 09:59:15 -030084#define HUAWEI_PRODUCT_E173S6 0x1C07
Greg Kroah-Hartmanfd978bfa2007-02-21 12:53:17 -080085
Alex.Cheng@quantatw.comfc91be22009-01-22 16:01:57 +080086#define QUANTA_VENDOR_ID 0x0408
87#define QUANTA_PRODUCT_Q101 0xEA02
88#define QUANTA_PRODUCT_Q111 0xEA03
89#define QUANTA_PRODUCT_GLX 0xEA04
90#define QUANTA_PRODUCT_GKE 0xEA05
91#define QUANTA_PRODUCT_GLE 0xEA06
92
Greg Kroah-Hartmanfd978bfa2007-02-21 12:53:17 -080093#define NOVATELWIRELESS_VENDOR_ID 0x1410
Dirk DeSchepper72ab6412008-03-05 08:26:18 +000094
Leslie Watterc6206fa2008-11-12 15:10:07 -020095/* YISO PRODUCTS */
96
97#define YISO_VENDOR_ID 0x0EAB
98#define YISO_PRODUCT_U893 0xC893
99
Dirk De Schepperc7aa8f42010-08-24 20:38:35 +0100100/*
101 * NOVATEL WIRELESS PRODUCTS
102 *
103 * Note from Novatel Wireless:
104 * If your Novatel modem does not work on linux, don't
105 * change the option module, but check our website. If
106 * that does not help, contact ddeschepper@nvtl.com
107*/
Dirk DeSchepper72ab6412008-03-05 08:26:18 +0000108/* MERLIN EVDO PRODUCTS */
109#define NOVATELWIRELESS_PRODUCT_V640 0x1100
110#define NOVATELWIRELESS_PRODUCT_V620 0x1110
111#define NOVATELWIRELESS_PRODUCT_V740 0x1120
112#define NOVATELWIRELESS_PRODUCT_V720 0x1130
113
114/* MERLIN HSDPA/HSPA PRODUCTS */
115#define NOVATELWIRELESS_PRODUCT_U730 0x1400
116#define NOVATELWIRELESS_PRODUCT_U740 0x1410
117#define NOVATELWIRELESS_PRODUCT_U870 0x1420
118#define NOVATELWIRELESS_PRODUCT_XU870 0x1430
119#define NOVATELWIRELESS_PRODUCT_X950D 0x1450
120
121/* EXPEDITE PRODUCTS */
122#define NOVATELWIRELESS_PRODUCT_EV620 0x2100
123#define NOVATELWIRELESS_PRODUCT_ES720 0x2110
124#define NOVATELWIRELESS_PRODUCT_E725 0x2120
Matthias Urlichsa1d9bc12008-04-10 10:13:32 +0200125#define NOVATELWIRELESS_PRODUCT_ES620 0x2130
Dirk DeSchepper72ab6412008-03-05 08:26:18 +0000126#define NOVATELWIRELESS_PRODUCT_EU730 0x2400
127#define NOVATELWIRELESS_PRODUCT_EU740 0x2410
128#define NOVATELWIRELESS_PRODUCT_EU870D 0x2420
Dirk DeSchepper72ab6412008-03-05 08:26:18 +0000129/* OVATION PRODUCTS */
130#define NOVATELWIRELESS_PRODUCT_MC727 0x4100
131#define NOVATELWIRELESS_PRODUCT_MC950D 0x4400
Dirk De Schepperc7aa8f42010-08-24 20:38:35 +0100132/*
133 * Note from Novatel Wireless:
134 * All PID in the 5xxx range are currently reserved for
135 * auto-install CDROMs, and should not be added to this
136 * module.
137 *
138 * #define NOVATELWIRELESS_PRODUCT_U727 0x5010
139 * #define NOVATELWIRELESS_PRODUCT_MC727_NEW 0x5100
140*/
Dan Williams71f9f6c2009-06-30 16:09:28 -0400141#define NOVATELWIRELESS_PRODUCT_OVMC760 0x6002
Dirk De Schepperc7aa8f42010-08-24 20:38:35 +0100142#define NOVATELWIRELESS_PRODUCT_MC780 0x6010
143#define NOVATELWIRELESS_PRODUCT_EVDO_FULLSPEED 0x6000
144#define NOVATELWIRELESS_PRODUCT_EVDO_HIGHSPEED 0x6001
145#define NOVATELWIRELESS_PRODUCT_HSPA_FULLSPEED 0x7000
146#define NOVATELWIRELESS_PRODUCT_HSPA_HIGHSPEED 0x7001
147#define NOVATELWIRELESS_PRODUCT_HSPA_HIGHSPEED3 0x7003
148#define NOVATELWIRELESS_PRODUCT_HSPA_HIGHSPEED4 0x7004
149#define NOVATELWIRELESS_PRODUCT_HSPA_HIGHSPEED5 0x7005
150#define NOVATELWIRELESS_PRODUCT_HSPA_HIGHSPEED6 0x7006
151#define NOVATELWIRELESS_PRODUCT_HSPA_HIGHSPEED7 0x7007
152#define NOVATELWIRELESS_PRODUCT_MC996D 0x7030
153#define NOVATELWIRELESS_PRODUCT_MF3470 0x7041
154#define NOVATELWIRELESS_PRODUCT_MC547 0x7042
155#define NOVATELWIRELESS_PRODUCT_EVDO_EMBEDDED_FULLSPEED 0x8000
156#define NOVATELWIRELESS_PRODUCT_EVDO_EMBEDDED_HIGHSPEED 0x8001
157#define NOVATELWIRELESS_PRODUCT_HSPA_EMBEDDED_FULLSPEED 0x9000
158#define NOVATELWIRELESS_PRODUCT_HSPA_EMBEDDED_HIGHSPEED 0x9001
Dan Williamsfcb21642012-11-08 11:56:42 -0600159#define NOVATELWIRELESS_PRODUCT_E362 0x9010
Alexej Starschenko8a61ba32014-05-07 10:43:29 +0200160#define NOVATELWIRELESS_PRODUCT_E371 0x9011
Aleksander Morgadoe07af132015-11-11 19:51:40 +0100161#define NOVATELWIRELESS_PRODUCT_U620L 0x9022
Dirk De Schepperc7aa8f42010-08-24 20:38:35 +0100162#define NOVATELWIRELESS_PRODUCT_G2 0xA010
Forest Bond065b07e2012-06-22 10:30:38 -0400163#define NOVATELWIRELESS_PRODUCT_MC551 0xB001
Dirk DeSchepper72ab6412008-03-05 08:26:18 +0000164
tang kai32147be2008-04-14 10:06:35 +0800165/* AMOI PRODUCTS */
166#define AMOI_VENDOR_ID 0x1614
167#define AMOI_PRODUCT_H01 0x0800
168#define AMOI_PRODUCT_H01A 0x7002
169#define AMOI_PRODUCT_H02 0x0802
Dennis Jansen75959312010-07-09 22:03:53 +0200170#define AMOI_PRODUCT_SKYPEPHONE_S2 0x0407
tang kai32147be2008-04-14 10:06:35 +0800171
Faidon Liambotis96443212007-08-07 05:46:05 +0300172#define DELL_VENDOR_ID 0x413C
Greg Kroah-Hartmanfd978bfa2007-02-21 12:53:17 -0800173
Dirk De Schepperc200b9c2009-02-06 20:48:34 +0000174/* Dell modems */
175#define DELL_PRODUCT_5700_MINICARD 0x8114
176#define DELL_PRODUCT_5500_MINICARD 0x8115
177#define DELL_PRODUCT_5505_MINICARD 0x8116
178#define DELL_PRODUCT_5700_EXPRESSCARD 0x8117
179#define DELL_PRODUCT_5510_EXPRESSCARD 0x8118
180
181#define DELL_PRODUCT_5700_MINICARD_SPRINT 0x8128
182#define DELL_PRODUCT_5700_MINICARD_TELUS 0x8129
183
184#define DELL_PRODUCT_5720_MINICARD_VZW 0x8133
185#define DELL_PRODUCT_5720_MINICARD_SPRINT 0x8134
186#define DELL_PRODUCT_5720_MINICARD_TELUS 0x8135
187#define DELL_PRODUCT_5520_MINICARD_CINGULAR 0x8136
188#define DELL_PRODUCT_5520_MINICARD_GENERIC_L 0x8137
189#define DELL_PRODUCT_5520_MINICARD_GENERIC_I 0x8138
190
191#define DELL_PRODUCT_5730_MINICARD_SPRINT 0x8180
192#define DELL_PRODUCT_5730_MINICARD_TELUS 0x8181
193#define DELL_PRODUCT_5730_MINICARD_VZW 0x8182
194
Dan Williamsfcb21642012-11-08 11:56:42 -0600195#define DELL_PRODUCT_5800_MINICARD_VZW 0x8195 /* Novatel E362 */
196#define DELL_PRODUCT_5800_V2_MINICARD_VZW 0x8196 /* Novatel E362 */
Dan Williams49c6e372013-05-06 16:16:44 -0500197#define DELL_PRODUCT_5804_MINICARD_ATT 0x819b /* Novatel E371 */
Dan Williamsfcb21642012-11-08 11:56:42 -0600198
Dan Williams564d61d2008-02-19 13:15:30 -0500199#define KYOCERA_VENDOR_ID 0x0c88
Greg Kroah-Hartman640c1bc2008-06-19 11:21:16 -0700200#define KYOCERA_PRODUCT_KPC650 0x17da
Dan Williams564d61d2008-02-19 13:15:30 -0500201#define KYOCERA_PRODUCT_KPC680 0x180a
202
Greg Kroah-Hartmanfd978bfa2007-02-21 12:53:17 -0800203#define ANYDATA_VENDOR_ID 0x16d5
Hiroshi Miuraf8033822008-08-19 10:58:25 +0200204#define ANYDATA_PRODUCT_ADU_620UW 0x6202
Alexander Gattin46269db2007-06-20 00:48:10 +0300205#define ANYDATA_PRODUCT_ADU_E100A 0x6501
206#define ANYDATA_PRODUCT_ADU_500A 0x6502
Matthias Urlichsba460e42005-07-14 00:33:47 -0700207
Daniel Kozák85fb62a2008-03-04 18:54:53 +0100208#define AXESSTEL_VENDOR_ID 0x1726
209#define AXESSTEL_PRODUCT_MV110H 0x1000
210
Leon Leong3f6e5842007-04-26 00:38:02 -0700211#define BANDRICH_VENDOR_ID 0x1A8D
212#define BANDRICH_PRODUCT_C100_1 0x1002
213#define BANDRICH_PRODUCT_C100_2 0x1003
Leon Leongbf3fc822008-08-01 11:40:12 +0800214#define BANDRICH_PRODUCT_1004 0x1004
215#define BANDRICH_PRODUCT_1005 0x1005
216#define BANDRICH_PRODUCT_1006 0x1006
217#define BANDRICH_PRODUCT_1007 0x1007
218#define BANDRICH_PRODUCT_1008 0x1008
219#define BANDRICH_PRODUCT_1009 0x1009
220#define BANDRICH_PRODUCT_100A 0x100a
221
222#define BANDRICH_PRODUCT_100B 0x100b
223#define BANDRICH_PRODUCT_100C 0x100c
224#define BANDRICH_PRODUCT_100D 0x100d
225#define BANDRICH_PRODUCT_100E 0x100e
226
227#define BANDRICH_PRODUCT_100F 0x100f
228#define BANDRICH_PRODUCT_1010 0x1010
229#define BANDRICH_PRODUCT_1011 0x1011
230#define BANDRICH_PRODUCT_1012 0x1012
Leon Leong3f6e5842007-04-26 00:38:02 -0700231
Kevin Lloydd726fb72008-02-14 13:35:16 -0800232#define QUALCOMM_VENDOR_ID 0x05C6
Dan Williams6e9f44e2017-03-09 11:32:28 -0600233/* These Quectel products use Qualcomm's vendor ID */
234#define QUECTEL_PRODUCT_UC20 0x9003
235#define QUECTEL_PRODUCT_UC15 0x9090
SZ Lin (林上智)3920bb72017-12-19 17:40:32 +0800236/* These Yuga products use Qualcomm's vendor ID */
237#define YUGA_PRODUCT_CLM920_NC5 0x9625
Dan Williams6e9f44e2017-03-09 11:32:28 -0600238
239#define QUECTEL_VENDOR_ID 0x2c7c
240/* These Quectel products use Quectel's vendor ID */
241#define QUECTEL_PRODUCT_EC21 0x0121
242#define QUECTEL_PRODUCT_EC25 0x0125
Sebastian Sjoholmc654b212017-11-20 19:29:32 +0100243#define QUECTEL_PRODUCT_BG96 0x0296
Kristian Evensen71a04832018-02-01 10:32:32 +0100244#define QUECTEL_PRODUCT_EP06 0x0306
Kevin Lloydd726fb72008-02-14 13:35:16 -0800245
Nathaniel McCallumeaff4cdc2010-03-11 13:09:24 -0500246#define CMOTECH_VENDOR_ID 0x16d8
Bjørn Mork34f972d62014-04-25 18:49:20 +0200247#define CMOTECH_PRODUCT_6001 0x6001
248#define CMOTECH_PRODUCT_CMU_300 0x6002
249#define CMOTECH_PRODUCT_6003 0x6003
250#define CMOTECH_PRODUCT_6004 0x6004
251#define CMOTECH_PRODUCT_6005 0x6005
252#define CMOTECH_PRODUCT_CGU_628A 0x6006
253#define CMOTECH_PRODUCT_CHE_628S 0x6007
254#define CMOTECH_PRODUCT_CMU_301 0x6008
255#define CMOTECH_PRODUCT_CHU_628 0x6280
256#define CMOTECH_PRODUCT_CHU_628S 0x6281
257#define CMOTECH_PRODUCT_CDU_680 0x6803
258#define CMOTECH_PRODUCT_CDU_685A 0x6804
259#define CMOTECH_PRODUCT_CHU_720S 0x7001
260#define CMOTECH_PRODUCT_7002 0x7002
261#define CMOTECH_PRODUCT_CHU_629K 0x7003
262#define CMOTECH_PRODUCT_7004 0x7004
263#define CMOTECH_PRODUCT_7005 0x7005
264#define CMOTECH_PRODUCT_CGU_629 0x7006
265#define CMOTECH_PRODUCT_CHU_629S 0x700a
266#define CMOTECH_PRODUCT_CHU_720I 0x7211
267#define CMOTECH_PRODUCT_7212 0x7212
268#define CMOTECH_PRODUCT_7213 0x7213
269#define CMOTECH_PRODUCT_7251 0x7251
270#define CMOTECH_PRODUCT_7252 0x7252
271#define CMOTECH_PRODUCT_7253 0x7253
James Cameron80d97092008-04-09 18:59:13 +1000272
Greg Kroah-Hartmanee53b0c2008-05-15 10:07:44 -0700273#define TELIT_VENDOR_ID 0x1bc7
274#define TELIT_PRODUCT_UC864E 0x1003
Manuel Laussce60c482009-09-01 09:04:35 +0200275#define TELIT_PRODUCT_UC864G 0x1004
Daniele Palmas7204cf52012-02-29 15:32:05 +0100276#define TELIT_PRODUCT_CC864_DUAL 0x1005
277#define TELIT_PRODUCT_CC864_SINGLE 0x1006
278#define TELIT_PRODUCT_DE910_DUAL 0x1010
Daniele Palmasd6de4862014-04-02 11:19:48 +0200279#define TELIT_PRODUCT_UE910_V2 0x1012
Daniele Palmas5b09eff2016-12-01 16:38:39 +0100280#define TELIT_PRODUCT_LE922_USBCFG1 0x1040
281#define TELIT_PRODUCT_LE922_USBCFG2 0x1041
Daniele Palmasff4e2492016-01-12 17:22:06 +0100282#define TELIT_PRODUCT_LE922_USBCFG0 0x1042
283#define TELIT_PRODUCT_LE922_USBCFG3 0x1043
Daniele Palmas5deef552016-02-29 15:36:11 +0100284#define TELIT_PRODUCT_LE922_USBCFG5 0x1045
Daniele Palmas40dd4602017-05-03 10:28:54 +0200285#define TELIT_PRODUCT_ME910 0x1100
Daniele Palmas08933092017-12-14 16:54:45 +0100286#define TELIT_PRODUCT_ME910_DUAL_MODEM 0x1101
Daniele Palmas03eb4662013-01-28 16:47:10 +0100287#define TELIT_PRODUCT_LE920 0x1200
Daniele Palmas2d0eb862014-10-14 10:47:37 +0200288#define TELIT_PRODUCT_LE910 0x1201
Daniele Palmas3c0415f2016-06-06 12:38:17 +0200289#define TELIT_PRODUCT_LE910_USBCFG4 0x1206
Daniele Palmas01d79562016-08-02 11:29:25 +0200290#define TELIT_PRODUCT_LE920A4_1207 0x1207
291#define TELIT_PRODUCT_LE920A4_1208 0x1208
292#define TELIT_PRODUCT_LE920A4_1211 0x1211
293#define TELIT_PRODUCT_LE920A4_1212 0x1212
294#define TELIT_PRODUCT_LE920A4_1213 0x1213
295#define TELIT_PRODUCT_LE920A4_1214 0x1214
Greg Kroah-Hartmanee53b0c2008-05-15 10:07:44 -0700296
Oliver Martin6188a832008-08-09 04:49:26 +0200297/* ZTE PRODUCTS */
298#define ZTE_VENDOR_ID 0x19d2
Albert Pauw9ea19b82009-03-01 09:37:52 +0100299#define ZTE_PRODUCT_MF622 0x0001
Oliver Martin6188a832008-08-09 04:49:26 +0200300#define ZTE_PRODUCT_MF628 0x0015
Mikhail Gusarovbfd84082008-10-18 18:20:02 +0700301#define ZTE_PRODUCT_MF626 0x0031
Liu.Zhao19ab6bc2015-08-24 08:36:12 -0700302#define ZTE_PRODUCT_ZM8620_X 0x0396
303#define ZTE_PRODUCT_ME3620_MBIM 0x0426
304#define ZTE_PRODUCT_ME3620_X 0x1432
305#define ZTE_PRODUCT_ME3620_L 0x1433
Dmitry Kunilov52d0dc72013-12-03 12:11:30 -0800306#define ZTE_PRODUCT_AC2726 0xfff1
Johan Hovoldf8c0e052014-09-15 18:40:45 +0200307#define ZTE_PRODUCT_MG880 0xfffd
Johan Hovold63a901c2014-08-07 16:00:13 +0200308#define ZTE_PRODUCT_CDMA_TECH 0xfffe
309#define ZTE_PRODUCT_AC8710T 0xffff
310#define ZTE_PRODUCT_MC2718 0xffe8
311#define ZTE_PRODUCT_AD3812 0xffeb
312#define ZTE_PRODUCT_MC2716 0xffed
Oliver Martin6188a832008-08-09 04:49:26 +0200313
Jesse Sung28fb6682009-02-20 21:13:45 -0800314#define BENQ_VENDOR_ID 0x04a5
315#define BENQ_PRODUCT_H10 0x4068
316
Pascal Terjanc00deaa2009-04-07 14:40:42 +0200317#define DLINK_VENDOR_ID 0x1186
318#define DLINK_PRODUCT_DWM_652 0x3e04
Zhang Leff854ce2009-11-04 23:22:59 +0800319#define DLINK_PRODUCT_DWM_652_U5 0xce16
Huang Yingbf162012010-02-28 13:51:29 +0800320#define DLINK_PRODUCT_DWM_652_U5A 0xce1e
Pascal Terjanc00deaa2009-04-07 14:40:42 +0200321
Brad Lue3a31742009-06-16 18:04:00 +0800322#define QISDA_VENDOR_ID 0x1da5
323#define QISDA_PRODUCT_H21_4512 0x4512
324#define QISDA_PRODUCT_H21_4523 0x4523
325#define QISDA_PRODUCT_H20_4515 0x4515
Ömer Sezgin Ugurlu646d90e2010-06-28 19:01:58 +0300326#define QISDA_PRODUCT_H20_4518 0x4518
Brad Lue3a31742009-06-16 18:04:00 +0800327#define QISDA_PRODUCT_H20_4519 0x4519
328
Bryan Wufead2ab2009-10-22 15:00:36 +0800329/* TLAYTECH PRODUCTS */
330#define TLAYTECH_VENDOR_ID 0x20B9
331#define TLAYTECH_PRODUCT_TEU800 0x1682
Pascal Terjanc00deaa2009-04-07 14:40:42 +0200332
Michele Valzelli334f9b02009-05-27 00:09:12 +0200333/* TOSHIBA PRODUCTS */
334#define TOSHIBA_VENDOR_ID 0x0930
335#define TOSHIBA_PRODUCT_HSDPA_MINICARD 0x1302
Peter Magdina75f47212009-10-07 16:22:17 +0200336#define TOSHIBA_PRODUCT_G450 0x0d45
Michele Valzelli334f9b02009-05-27 00:09:12 +0200337
Anssi Hannulac3325eb2009-07-06 19:08:59 +0300338#define ALINK_VENDOR_ID 0x1e0e
Andrey Skvortsov3158a8d2016-01-29 00:07:30 +0300339#define SIMCOM_PRODUCT_SIM7100E 0x9001 /* Yes, ALINK_VENDOR_ID */
Dan Williams5c3e4072011-06-06 16:55:41 -0500340#define ALINK_PRODUCT_PH300 0x9100
Anssi Hannulac3325eb2009-07-06 19:08:59 +0300341#define ALINK_PRODUCT_3GU 0x9200
342
Javier Martin48c348c2009-07-23 04:03:43 +0200343/* ALCATEL PRODUCTS */
344#define ALCATEL_VENDOR_ID 0x1bbb
Dan Williams15badbc2011-06-06 16:22:44 -0500345#define ALCATEL_PRODUCT_X060S_X200 0x0000
Dan Williamsc0bc3092012-11-08 11:56:53 -0600346#define ALCATEL_PRODUCT_X220_X500D 0x0017
Bjørn Mork5ec00852012-12-28 17:29:52 +0100347#define ALCATEL_PRODUCT_L100V 0x011e
Bjørn Morkdd6b48e2014-04-25 18:49:19 +0200348#define ALCATEL_PRODUCT_L800MA 0x0203
Javier Martin48c348c2009-07-23 04:03:43 +0200349
spark33c38752010-03-05 14:18:05 +0800350#define PIRELLI_VENDOR_ID 0x1266
351#define PIRELLI_PRODUCT_C100_1 0x1002
352#define PIRELLI_PRODUCT_C100_2 0x1003
353#define PIRELLI_PRODUCT_1004 0x1004
354#define PIRELLI_PRODUCT_1005 0x1005
355#define PIRELLI_PRODUCT_1006 0x1006
356#define PIRELLI_PRODUCT_1007 0x1007
357#define PIRELLI_PRODUCT_1008 0x1008
358#define PIRELLI_PRODUCT_1009 0x1009
359#define PIRELLI_PRODUCT_100A 0x100a
360#define PIRELLI_PRODUCT_100B 0x100b
361#define PIRELLI_PRODUCT_100C 0x100c
362#define PIRELLI_PRODUCT_100D 0x100d
363#define PIRELLI_PRODUCT_100E 0x100e
364#define PIRELLI_PRODUCT_100F 0x100f
365#define PIRELLI_PRODUCT_1011 0x1011
366#define PIRELLI_PRODUCT_1012 0x1012
367
Huzaifa Sidhpurwala12148da2009-10-12 14:34:45 +0530368/* Airplus products */
369#define AIRPLUS_VENDOR_ID 0x1011
370#define AIRPLUS_PRODUCT_MCD650 0x3198
Javier Martin48c348c2009-07-23 04:03:43 +0200371
Dan Williamsac7d4ca2010-02-16 18:43:29 -0800372/* Longcheer/Longsung vendor ID; makes whitelabel devices that
373 * many other vendors like 4G Systems, Alcatel, ChinaBird,
374 * Mobidata, etc sell under their own brand names.
375 */
376#define LONGCHEER_VENDOR_ID 0x1c9e
377
Gernot Hillier0ec86482009-11-27 13:49:23 +0100378/* 4G Systems products */
Gernot Hillier79da01d2010-01-11 09:06:44 +0100379/* This is the 4G XS Stick W14 a.k.a. Mobilcom Debitel Surf-Stick *
380 * It seems to contain a Qualcomm QSC6240/6290 chipset */
Gernot Hillier0ec86482009-11-27 13:49:23 +0100381#define FOUR_G_SYSTEMS_PRODUCT_W14 0x9603
Bjørn Mork638148e2015-11-18 21:12:33 +0100382#define FOUR_G_SYSTEMS_PRODUCT_W100 0x9b01
Gernot Hillier0ec86482009-11-27 13:49:23 +0100383
OKAMOTO Yoshiaki69341bd2018-01-16 09:51:17 +0000384/* Fujisoft products */
385#define FUJISOFT_PRODUCT_FS040U 0x9b02
386
Rahul Bedarkar7d5c1b92014-01-02 20:57:56 +0530387/* iBall 3.5G connect wireless modem */
388#define IBALL_3_5G_CONNECT 0x9605
389
Dan Williamscdacb592011-06-06 16:08:39 -0500390/* Zoom */
391#define ZOOM_PRODUCT_4597 0x9607
392
Oliver Neukum1cab4c682014-05-20 16:27:40 +0200393/* SpeedUp SU9800 usb 3g modem */
394#define SPEEDUP_PRODUCT_SU9800 0x9800
395
Donny Kurniac9832022009-12-23 19:03:12 +0700396/* Haier products */
397#define HAIER_VENDOR_ID 0x201e
Dan Williams012eee12014-10-14 11:10:41 -0500398#define HAIER_PRODUCT_CE81B 0x10f8
Donny Kurniac9832022009-12-23 19:03:12 +0700399#define HAIER_PRODUCT_CE100 0x2009
400
Schemmel Hans-Christoph444f94e2016-04-29 08:51:06 +0000401/* Gemalto's Cinterion products (formerly Siemens) */
402#define SIEMENS_VENDOR_ID 0x0681
403#define CINTERION_VENDOR_ID 0x1e2d
404#define CINTERION_PRODUCT_HC25_MDMNET 0x0040
Nicolaus Colbergaa52b3a2011-01-12 16:30:03 +0100405#define CINTERION_PRODUCT_HC25_MDM 0x0047
Schemmel Hans-Christoph444f94e2016-04-29 08:51:06 +0000406#define CINTERION_PRODUCT_HC28_MDMNET 0x004A /* same for HC28J */
Nicolaus Colbergaa52b3a2011-01-12 16:30:03 +0100407#define CINTERION_PRODUCT_HC28_MDM 0x004C
Nicolaus Colbergaa52b3a2011-01-12 16:30:03 +0100408#define CINTERION_PRODUCT_EU3_E 0x0051
409#define CINTERION_PRODUCT_EU3_P 0x0052
410#define CINTERION_PRODUCT_PH8 0x0053
Schemmel Hans-Christoph8ff10bd2013-05-06 11:05:12 +0200411#define CINTERION_PRODUCT_AHXX 0x0055
412#define CINTERION_PRODUCT_PLXX 0x0060
Schemmel Hans-Christoph444f94e2016-04-29 08:51:06 +0000413#define CINTERION_PRODUCT_PH8_2RMNET 0x0082
414#define CINTERION_PRODUCT_PH8_AUDIO 0x0083
415#define CINTERION_PRODUCT_AHXX_2RMNET 0x0084
416#define CINTERION_PRODUCT_AHXX_AUDIO 0x0085
Greg Kroah-Hartman6f44bcb2010-04-27 09:38:51 -0700417
Nils Radtke86234d42010-05-17 14:14:11 +0200418/* Olivetti products */
419#define OLIVETTI_VENDOR_ID 0x0b3c
420#define OLIVETTI_PRODUCT_OLICARD100 0xc000
Bjørn Morkb0ebef32014-06-06 17:25:56 +0200421#define OLIVETTI_PRODUCT_OLICARD120 0xc001
422#define OLIVETTI_PRODUCT_OLICARD140 0xc002
Filippo Turatod19bf5c2013-04-20 15:04:08 +0200423#define OLIVETTI_PRODUCT_OLICARD145 0xc003
Bjørn Morkb0ebef32014-06-06 17:25:56 +0200424#define OLIVETTI_PRODUCT_OLICARD155 0xc004
Dan Williams4cf76df2013-07-10 12:25:02 -0500425#define OLIVETTI_PRODUCT_OLICARD200 0xc005
Bjørn Morkb0ebef32014-06-06 17:25:56 +0200426#define OLIVETTI_PRODUCT_OLICARD160 0xc00a
Bjørn Mork533b3992014-04-25 18:49:18 +0200427#define OLIVETTI_PRODUCT_OLICARD500 0xc00b
Nils Radtke86234d42010-05-17 14:14:11 +0200428
Michael Tokarev76078dc2010-08-06 18:49:21 +0400429/* Celot products */
430#define CELOT_VENDOR_ID 0x211f
431#define CELOT_PRODUCT_CT680M 0x6801
432
Marius B. Kotsbak80f9df32011-03-22 00:01:53 +0100433/* Samsung products */
434#define SAMSUNG_VENDOR_ID 0x04e8
435#define SAMSUNG_PRODUCT_GT_B3730 0x6889
436
说不得0ef0be12012-05-28 21:31:29 +0800437/* YUGA products www.yuga-info.com gavin.kx@qq.com */
Gavin.zhuc6eb2d72011-08-22 13:51:53 -0700438#define YUGA_VENDOR_ID 0x257A
439#define YUGA_PRODUCT_CEM600 0x1601
440#define YUGA_PRODUCT_CEM610 0x1602
441#define YUGA_PRODUCT_CEM500 0x1603
442#define YUGA_PRODUCT_CEM510 0x1604
443#define YUGA_PRODUCT_CEM800 0x1605
444#define YUGA_PRODUCT_CEM900 0x1606
445
446#define YUGA_PRODUCT_CEU818 0x1607
447#define YUGA_PRODUCT_CEU816 0x1608
448#define YUGA_PRODUCT_CEU828 0x1609
449#define YUGA_PRODUCT_CEU826 0x160A
450#define YUGA_PRODUCT_CEU518 0x160B
451#define YUGA_PRODUCT_CEU516 0x160C
452#define YUGA_PRODUCT_CEU528 0x160D
453#define YUGA_PRODUCT_CEU526 0x160F
说不得0ef0be12012-05-28 21:31:29 +0800454#define YUGA_PRODUCT_CEU881 0x161F
455#define YUGA_PRODUCT_CEU882 0x162F
Gavin.zhuc6eb2d72011-08-22 13:51:53 -0700456
457#define YUGA_PRODUCT_CWM600 0x2601
458#define YUGA_PRODUCT_CWM610 0x2602
459#define YUGA_PRODUCT_CWM500 0x2603
460#define YUGA_PRODUCT_CWM510 0x2604
461#define YUGA_PRODUCT_CWM800 0x2605
462#define YUGA_PRODUCT_CWM900 0x2606
463
464#define YUGA_PRODUCT_CWU718 0x2607
465#define YUGA_PRODUCT_CWU716 0x2608
466#define YUGA_PRODUCT_CWU728 0x2609
467#define YUGA_PRODUCT_CWU726 0x260A
468#define YUGA_PRODUCT_CWU518 0x260B
469#define YUGA_PRODUCT_CWU516 0x260C
470#define YUGA_PRODUCT_CWU528 0x260D
说不得0ef0be12012-05-28 21:31:29 +0800471#define YUGA_PRODUCT_CWU581 0x260E
Gavin.zhuc6eb2d72011-08-22 13:51:53 -0700472#define YUGA_PRODUCT_CWU526 0x260F
说不得0ef0be12012-05-28 21:31:29 +0800473#define YUGA_PRODUCT_CWU582 0x261F
474#define YUGA_PRODUCT_CWU583 0x262F
Gavin.zhuc6eb2d72011-08-22 13:51:53 -0700475
说不得0ef0be12012-05-28 21:31:29 +0800476#define YUGA_PRODUCT_CLM600 0x3601
477#define YUGA_PRODUCT_CLM610 0x3602
478#define YUGA_PRODUCT_CLM500 0x3603
479#define YUGA_PRODUCT_CLM510 0x3604
480#define YUGA_PRODUCT_CLM800 0x3605
481#define YUGA_PRODUCT_CLM900 0x3606
Gavin.zhuc6eb2d72011-08-22 13:51:53 -0700482
说不得0ef0be12012-05-28 21:31:29 +0800483#define YUGA_PRODUCT_CLU718 0x3607
484#define YUGA_PRODUCT_CLU716 0x3608
485#define YUGA_PRODUCT_CLU728 0x3609
486#define YUGA_PRODUCT_CLU726 0x360A
487#define YUGA_PRODUCT_CLU518 0x360B
488#define YUGA_PRODUCT_CLU516 0x360C
489#define YUGA_PRODUCT_CLU528 0x360D
490#define YUGA_PRODUCT_CLU526 0x360F
Gavin.zhuc6eb2d72011-08-22 13:51:53 -0700491
VU Tuan Duc5b061622011-11-15 14:08:00 +0700492/* Viettel products */
493#define VIETTEL_VENDOR_ID 0x2262
494#define VIETTEL_PRODUCT_VT1000 0x0002
495
Janne Snabb3c8c9312011-12-28 19:36:00 +0000496/* ZD Incorporated */
497#define ZD_VENDOR_ID 0x0685
498#define ZD_PRODUCT_7000 0x7000
499
Kentaro Matsuyamae423d742012-01-12 23:07:51 +0900500/* LG products */
501#define LG_VENDOR_ID 0x1004
502#define LG_PRODUCT_L02C 0x618f
503
Meng Zhang0d8520a2012-02-27 08:24:19 +0100504/* MediaTek products */
505#define MEDIATEK_VENDOR_ID 0x0e8d
Gaosen Zhangaacef9c2012-07-05 21:49:00 +0800506#define MEDIATEK_PRODUCT_DC_1COM 0x00a0
507#define MEDIATEK_PRODUCT_DC_4COM 0x00a5
Quentin.Li94a85b62012-12-26 16:58:22 +0800508#define MEDIATEK_PRODUCT_DC_4COM2 0x00a7
Gaosen Zhangaacef9c2012-07-05 21:49:00 +0800509#define MEDIATEK_PRODUCT_DC_5COM 0x00a4
510#define MEDIATEK_PRODUCT_7208_1COM 0x7101
511#define MEDIATEK_PRODUCT_7208_2COM 0x7102
Quentin.Li94a85b62012-12-26 16:58:22 +0800512#define MEDIATEK_PRODUCT_7103_2COM 0x7103
513#define MEDIATEK_PRODUCT_7106_2COM 0x7106
Gaosen Zhangaacef9c2012-07-05 21:49:00 +0800514#define MEDIATEK_PRODUCT_FP_1COM 0x0003
515#define MEDIATEK_PRODUCT_FP_2COM 0x0023
516#define MEDIATEK_PRODUCT_FPDC_1COM 0x0043
517#define MEDIATEK_PRODUCT_FPDC_2COM 0x0033
Meng Zhang0d8520a2012-02-27 08:24:19 +0100518
Dmitry Shmygov1e2c4e52012-06-20 15:51:40 +0400519/* Cellient products */
520#define CELLIENT_VENDOR_ID 0x2692
521#define CELLIENT_PRODUCT_MEN200 0x9005
522
Dzianis Kahanovichad86e582012-12-03 16:06:26 +0300523/* Hyundai Petatel Inc. products */
524#define PETATEL_VENDOR_ID 0x1ff4
Daniil Bolsunc38e83b2013-07-19 10:21:23 +0300525#define PETATEL_PRODUCT_NP10T_600A 0x600a
526#define PETATEL_PRODUCT_NP10T_600E 0x600e
Dzianis Kahanovichad86e582012-12-03 16:06:26 +0300527
Bjørn Mork99beb2e2013-01-15 10:29:49 +0100528/* TP-LINK Incorporated products */
529#define TPLINK_VENDOR_ID 0x2357
Henryk Heisig837ddc42017-09-11 17:57:34 +0200530#define TPLINK_PRODUCT_LTE 0x000D
Bjørn Mork99beb2e2013-01-15 10:29:49 +0100531#define TPLINK_PRODUCT_MA180 0x0201
532
Bjørn Morkd4fa6812013-02-01 12:06:51 +0100533/* Changhong products */
534#define CHANGHONG_VENDOR_ID 0x2077
535#define CHANGHONG_PRODUCT_CH690 0x7001
536
Greg Kroah-Hartmanf4c19b82013-10-05 18:14:18 -0700537/* Inovia */
538#define INOVIA_VENDOR_ID 0x20a6
539#define INOVIA_SEW858 0x1105
540
Brennan Ashtond7730272014-08-06 08:46:44 -0700541/* VIA Telecom */
542#define VIATELECOM_VENDOR_ID 0x15eb
543#define VIATELECOM_PRODUCT_CDS7 0x0001
544
Aleksandr Makarov6695593e2016-08-20 13:29:41 +0300545/* WeTelecom products */
546#define WETELECOM_VENDOR_ID 0x22de
547#define WETELECOM_PRODUCT_WMD200 0x6801
Aleksandr Makarov40d9c322016-08-24 13:06:22 +0300548#define WETELECOM_PRODUCT_6802 0x6802
549#define WETELECOM_PRODUCT_WMD300 0x6803
Aleksandr Makarov6695593e2016-08-20 13:29:41 +0300550
Gernot Hilliercc175ce2010-01-11 09:30:00 +0100551struct option_blacklist_info {
Johan Hovold46dc0fc2015-01-04 18:45:37 +0100552 /* bitmask of interface numbers blacklisted for send_setup */
Dan Williamsb4626c12011-09-13 13:49:41 -0500553 const unsigned long sendsetup;
Johan Hovold46dc0fc2015-01-04 18:45:37 +0100554 /* bitmask of interface numbers that are reserved */
Dan Williamsb4626c12011-09-13 13:49:41 -0500555 const unsigned long reserved;
Gernot Hilliercc175ce2010-01-11 09:30:00 +0100556};
557
Gernot Hilliera7417102010-01-11 09:35:17 +0100558static const struct option_blacklist_info four_g_w14_blacklist = {
Dan Williamsb4626c12011-09-13 13:49:41 -0500559 .sendsetup = BIT(0) | BIT(1),
Gernot Hilliera7417102010-01-11 09:35:17 +0100560};
561
Bjørn Mork638148e2015-11-18 21:12:33 +0100562static const struct option_blacklist_info four_g_w100_blacklist = {
563 .sendsetup = BIT(1) | BIT(2),
564 .reserved = BIT(3),
565};
566
Dan Williams15badbc2011-06-06 16:22:44 -0500567static const struct option_blacklist_info alcatel_x200_blacklist = {
Dan Williamsb4626c12011-09-13 13:49:41 -0500568 .sendsetup = BIT(0) | BIT(1),
Bjørn Morkf8f03022013-01-23 10:44:36 +0100569 .reserved = BIT(4),
Dan Williams15badbc2011-06-06 16:22:44 -0500570};
571
Dan Williamseb05ce52011-09-13 13:51:45 -0500572static const struct option_blacklist_info zte_0037_blacklist = {
573 .sendsetup = BIT(0) | BIT(1),
574};
575
Torsten Hilbrich7e8e62e2011-06-06 15:39:55 +0200576static const struct option_blacklist_info zte_k3765_z_blacklist = {
Dan Williamsb4626c12011-09-13 13:49:41 -0500577 .sendsetup = BIT(0) | BIT(1) | BIT(2),
Dan Williamsc58a76c2011-09-13 13:52:52 -0500578 .reserved = BIT(4),
Torsten Hilbrich7e8e62e2011-06-06 15:39:55 +0200579};
580
Johan Hovold63a901c2014-08-07 16:00:13 +0200581static const struct option_blacklist_info zte_ad3812_z_blacklist = {
582 .sendsetup = BIT(0) | BIT(1) | BIT(2),
583};
584
zheng.zhijian@zte.com.cn46b5a272011-11-17 19:23:25 +0800585static const struct option_blacklist_info zte_mc2718_z_blacklist = {
586 .sendsetup = BIT(1) | BIT(2) | BIT(3) | BIT(4),
587};
588
Johan Hovold63a901c2014-08-07 16:00:13 +0200589static const struct option_blacklist_info zte_mc2716_z_blacklist = {
590 .sendsetup = BIT(1) | BIT(2) | BIT(3),
591};
592
Liu.Zhao19ab6bc2015-08-24 08:36:12 -0700593static const struct option_blacklist_info zte_me3620_mbim_blacklist = {
594 .reserved = BIT(2) | BIT(3) | BIT(4),
595};
596
597static const struct option_blacklist_info zte_me3620_xl_blacklist = {
598 .reserved = BIT(3) | BIT(4) | BIT(5),
599};
600
601static const struct option_blacklist_info zte_zm8620_x_blacklist = {
602 .reserved = BIT(3) | BIT(4) | BIT(5),
603};
604
Dan Williams0d905fd2011-09-13 13:51:13 -0500605static const struct option_blacklist_info huawei_cdc12_blacklist = {
606 .reserved = BIT(1) | BIT(2),
607};
608
Bjørn Mork34f972d62014-04-25 18:49:20 +0200609static const struct option_blacklist_info net_intf0_blacklist = {
610 .reserved = BIT(0),
611};
612
Dan Williamsc58a76c2011-09-13 13:52:52 -0500613static const struct option_blacklist_info net_intf1_blacklist = {
614 .reserved = BIT(1),
615};
616
Bjørn Mork8e16e332012-07-02 19:53:55 +0200617static const struct option_blacklist_info net_intf2_blacklist = {
618 .reserved = BIT(2),
619};
620
Dan Williamsc58a76c2011-09-13 13:52:52 -0500621static const struct option_blacklist_info net_intf3_blacklist = {
622 .reserved = BIT(3),
623};
624
625static const struct option_blacklist_info net_intf4_blacklist = {
626 .reserved = BIT(4),
627};
628
629static const struct option_blacklist_info net_intf5_blacklist = {
630 .reserved = BIT(5),
631};
632
Bjørn Mork1452df62012-10-18 17:19:53 +0200633static const struct option_blacklist_info net_intf6_blacklist = {
634 .reserved = BIT(6),
635};
636
Dan Williamsc58a76c2011-09-13 13:52:52 -0500637static const struct option_blacklist_info zte_mf626_blacklist = {
638 .sendsetup = BIT(0) | BIT(1),
639 .reserved = BIT(4),
640};
641
Bjørn Mork1452df62012-10-18 17:19:53 +0200642static const struct option_blacklist_info zte_1255_blacklist = {
643 .reserved = BIT(3) | BIT(4),
644};
645
Andrey Skvortsov3158a8d2016-01-29 00:07:30 +0300646static const struct option_blacklist_info simcom_sim7100e_blacklist = {
647 .reserved = BIT(5) | BIT(6),
648};
649
Daniele Palmas40dd4602017-05-03 10:28:54 +0200650static const struct option_blacklist_info telit_me910_blacklist = {
651 .sendsetup = BIT(0),
652 .reserved = BIT(1) | BIT(3),
653};
654
Daniele Palmas08933092017-12-14 16:54:45 +0100655static const struct option_blacklist_info telit_me910_dual_modem_blacklist = {
656 .sendsetup = BIT(0),
657 .reserved = BIT(3),
658};
659
Daniele Palmas2d0eb862014-10-14 10:47:37 +0200660static const struct option_blacklist_info telit_le910_blacklist = {
661 .sendsetup = BIT(0),
662 .reserved = BIT(1) | BIT(2),
663};
664
Daniele Palmas03eb4662013-01-28 16:47:10 +0100665static const struct option_blacklist_info telit_le920_blacklist = {
666 .sendsetup = BIT(0),
667 .reserved = BIT(1) | BIT(5),
668};
669
Daniele Palmas01d79562016-08-02 11:29:25 +0200670static const struct option_blacklist_info telit_le920a4_blacklist_1 = {
671 .sendsetup = BIT(0),
672 .reserved = BIT(1),
673};
674
Daniele Palmasff4e2492016-01-12 17:22:06 +0100675static const struct option_blacklist_info telit_le922_blacklist_usbcfg0 = {
676 .sendsetup = BIT(2),
677 .reserved = BIT(0) | BIT(1) | BIT(3),
678};
679
680static const struct option_blacklist_info telit_le922_blacklist_usbcfg3 = {
681 .sendsetup = BIT(0),
682 .reserved = BIT(1) | BIT(2) | BIT(3),
683};
684
Schemmel Hans-Christoph444f94e2016-04-29 08:51:06 +0000685static const struct option_blacklist_info cinterion_rmnet2_blacklist = {
686 .reserved = BIT(4) | BIT(5),
687};
688
SZ Lin (林上智)3920bb72017-12-19 17:40:32 +0800689static const struct option_blacklist_info yuga_clm920_nc5_blacklist = {
690 .reserved = BIT(1) | BIT(4),
691};
692
Kristian Evensen71a04832018-02-01 10:32:32 +0100693static const struct option_blacklist_info quectel_ep06_blacklist = {
694 .reserved = BIT(4) | BIT(5),
695};
696
Németh Márton7d40d7e2010-01-10 15:34:24 +0100697static const struct usb_device_id option_ids[] = {
Greg Kroah-Hartmanfd978bfa2007-02-21 12:53:17 -0800698 { USB_DEVICE(OPTION_VENDOR_ID, OPTION_PRODUCT_COLT) },
699 { USB_DEVICE(OPTION_VENDOR_ID, OPTION_PRODUCT_RICOLA) },
700 { USB_DEVICE(OPTION_VENDOR_ID, OPTION_PRODUCT_RICOLA_LIGHT) },
701 { USB_DEVICE(OPTION_VENDOR_ID, OPTION_PRODUCT_RICOLA_QUAD) },
702 { USB_DEVICE(OPTION_VENDOR_ID, OPTION_PRODUCT_RICOLA_QUAD_LIGHT) },
703 { USB_DEVICE(OPTION_VENDOR_ID, OPTION_PRODUCT_RICOLA_NDIS) },
704 { USB_DEVICE(OPTION_VENDOR_ID, OPTION_PRODUCT_RICOLA_NDIS_LIGHT) },
705 { USB_DEVICE(OPTION_VENDOR_ID, OPTION_PRODUCT_RICOLA_NDIS_QUAD) },
706 { USB_DEVICE(OPTION_VENDOR_ID, OPTION_PRODUCT_RICOLA_NDIS_QUAD_LIGHT) },
Matthias Urlichs14f76cc2006-06-02 11:48:56 +0200707 { USB_DEVICE(OPTION_VENDOR_ID, OPTION_PRODUCT_COBRA) },
Greg Kroah-Hartmanfd978bfa2007-02-21 12:53:17 -0800708 { USB_DEVICE(OPTION_VENDOR_ID, OPTION_PRODUCT_COBRA_BUS) },
709 { USB_DEVICE(OPTION_VENDOR_ID, OPTION_PRODUCT_VIPER) },
710 { USB_DEVICE(OPTION_VENDOR_ID, OPTION_PRODUCT_VIPER_BUS) },
711 { USB_DEVICE(OPTION_VENDOR_ID, OPTION_PRODUCT_GT_MAX_READY) },
Greg Kroah-Hartmanfd978bfa2007-02-21 12:53:17 -0800712 { USB_DEVICE(OPTION_VENDOR_ID, OPTION_PRODUCT_FUJI_MODEM_LIGHT) },
713 { USB_DEVICE(OPTION_VENDOR_ID, OPTION_PRODUCT_FUJI_MODEM_GT) },
714 { USB_DEVICE(OPTION_VENDOR_ID, OPTION_PRODUCT_FUJI_MODEM_EX) },
Greg Kroah-Hartmanfd978bfa2007-02-21 12:53:17 -0800715 { USB_DEVICE(OPTION_VENDOR_ID, OPTION_PRODUCT_KOI_MODEM) },
Greg Kroah-Hartmanfd978bfa2007-02-21 12:53:17 -0800716 { USB_DEVICE(OPTION_VENDOR_ID, OPTION_PRODUCT_SCORPION_MODEM) },
Greg Kroah-Hartmanfd978bfa2007-02-21 12:53:17 -0800717 { USB_DEVICE(OPTION_VENDOR_ID, OPTION_PRODUCT_ETNA_MODEM) },
Greg Kroah-Hartmanfd978bfa2007-02-21 12:53:17 -0800718 { USB_DEVICE(OPTION_VENDOR_ID, OPTION_PRODUCT_ETNA_MODEM_LITE) },
719 { USB_DEVICE(OPTION_VENDOR_ID, OPTION_PRODUCT_ETNA_MODEM_GT) },
720 { USB_DEVICE(OPTION_VENDOR_ID, OPTION_PRODUCT_ETNA_MODEM_EX) },
Greg Kroah-Hartmanfd978bfa2007-02-21 12:53:17 -0800721 { USB_DEVICE(OPTION_VENDOR_ID, OPTION_PRODUCT_ETNA_KOI_MODEM) },
Achilleas Kotsise7f2f0d2009-03-16 16:35:02 +0200722 { USB_DEVICE(OPTION_VENDOR_ID, OPTION_PRODUCT_GTM380_MODEM) },
Alex.Cheng@quantatw.comfc91be22009-01-22 16:01:57 +0800723 { USB_DEVICE(QUANTA_VENDOR_ID, QUANTA_PRODUCT_Q101) },
724 { USB_DEVICE(QUANTA_VENDOR_ID, QUANTA_PRODUCT_Q111) },
725 { USB_DEVICE(QUANTA_VENDOR_ID, QUANTA_PRODUCT_GLX) },
726 { USB_DEVICE(QUANTA_VENDOR_ID, QUANTA_PRODUCT_GKE) },
727 { USB_DEVICE(QUANTA_VENDOR_ID, QUANTA_PRODUCT_GLE) },
Bjørn Morkcd565272013-02-12 13:42:24 +0100728 { USB_DEVICE(QUANTA_VENDOR_ID, 0xea42),
729 .driver_info = (kernel_ulong_t)&net_intf4_blacklist },
Bjørn Mork1f3f6872013-02-13 23:41:34 +0100730 { USB_DEVICE_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0x1c05, USB_CLASS_COMM, 0x02, 0xff) },
Bjørn Morkdaec90e2013-02-27 15:52:56 +0100731 { USB_DEVICE_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0x1c1f, USB_CLASS_COMM, 0x02, 0xff) },
Bjørn Mork1f3f6872013-02-13 23:41:34 +0100732 { USB_DEVICE_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0x1c23, USB_CLASS_COMM, 0x02, 0xff) },
Bjørn Morkf36446c2012-11-25 17:05:10 +0100733 { USB_DEVICE_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, HUAWEI_PRODUCT_E173, 0xff, 0xff, 0xff),
734 .driver_info = (kernel_ulong_t) &net_intf1_blacklist },
Gustavo Zacarias8f173e22013-11-11 09:59:15 -0300735 { USB_DEVICE_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, HUAWEI_PRODUCT_E173S6, 0xff, 0xff, 0xff),
736 .driver_info = (kernel_ulong_t) &net_intf1_blacklist },
Michal Malýeb2addd2013-09-28 19:50:27 +0200737 { USB_DEVICE_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, HUAWEI_PRODUCT_E1750, 0xff, 0xff, 0xff),
738 .driver_info = (kernel_ulong_t) &net_intf2_blacklist },
Bjørn Mork1f3f6872013-02-13 23:41:34 +0100739 { USB_DEVICE_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0x1441, USB_CLASS_COMM, 0x02, 0xff) },
740 { USB_DEVICE_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0x1442, USB_CLASS_COMM, 0x02, 0xff) },
Dan Williams0d905fd2011-09-13 13:51:13 -0500741 { USB_DEVICE_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, HUAWEI_PRODUCT_K4505, 0xff, 0xff, 0xff),
742 .driver_info = (kernel_ulong_t) &huawei_cdc12_blacklist },
743 { USB_DEVICE_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, HUAWEI_PRODUCT_K3765, 0xff, 0xff, 0xff),
744 .driver_info = (kernel_ulong_t) &huawei_cdc12_blacklist },
Bjørn Morkb8a24e62013-06-06 12:57:24 +0200745 { USB_DEVICE_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0x14ac, 0xff, 0xff, 0xff), /* Huawei E1820 */
746 .driver_info = (kernel_ulong_t) &net_intf1_blacklist },
Dan Williams0d905fd2011-09-13 13:51:13 -0500747 { USB_DEVICE_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, HUAWEI_PRODUCT_K4605, 0xff, 0xff, 0xff),
748 .driver_info = (kernel_ulong_t) &huawei_cdc12_blacklist },
fangxiaozhiee6f8272012-08-08 09:24:45 +0000749 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0xff, 0xff) },
750 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x01, 0x01) },
751 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x01, 0x02) },
752 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x01, 0x03) },
753 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x01, 0x04) },
754 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x01, 0x05) },
755 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x01, 0x06) },
756 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x01, 0x0A) },
757 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x01, 0x0B) },
758 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x01, 0x0D) },
759 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x01, 0x0E) },
760 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x01, 0x0F) },
761 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x01, 0x10) },
762 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x01, 0x12) },
763 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x01, 0x13) },
764 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x01, 0x14) },
765 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x01, 0x15) },
766 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x01, 0x17) },
767 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x01, 0x18) },
768 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x01, 0x19) },
769 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x01, 0x1A) },
770 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x01, 0x1B) },
771 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x01, 0x1C) },
772 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x01, 0x31) },
773 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x01, 0x32) },
774 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x01, 0x33) },
775 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x01, 0x34) },
776 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x01, 0x35) },
777 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x01, 0x36) },
778 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x01, 0x3A) },
779 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x01, 0x3B) },
780 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x01, 0x3D) },
781 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x01, 0x3E) },
782 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x01, 0x3F) },
783 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x01, 0x48) },
784 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x01, 0x49) },
785 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x01, 0x4A) },
786 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x01, 0x4B) },
787 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x01, 0x4C) },
788 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x01, 0x61) },
789 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x01, 0x62) },
790 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x01, 0x63) },
791 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x01, 0x64) },
792 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x01, 0x65) },
793 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x01, 0x66) },
794 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x01, 0x6A) },
795 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x01, 0x6B) },
796 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x01, 0x6D) },
797 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x01, 0x6E) },
798 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x01, 0x6F) },
Fangxiaozhi (Franko)2bf308d2013-12-02 09:00:11 +0000799 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x01, 0x72) },
800 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x01, 0x73) },
801 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x01, 0x74) },
802 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x01, 0x75) },
fangxiaozhiee6f8272012-08-08 09:24:45 +0000803 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x01, 0x78) },
804 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x01, 0x79) },
805 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x01, 0x7A) },
806 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x01, 0x7B) },
807 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x01, 0x7C) },
808 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x02, 0x01) },
809 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x02, 0x02) },
810 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x02, 0x03) },
811 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x02, 0x04) },
812 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x02, 0x05) },
813 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x02, 0x06) },
814 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x02, 0x0A) },
815 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x02, 0x0B) },
816 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x02, 0x0D) },
817 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x02, 0x0E) },
818 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x02, 0x0F) },
819 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x02, 0x10) },
820 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x02, 0x12) },
821 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x02, 0x13) },
822 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x02, 0x14) },
823 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x02, 0x15) },
824 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x02, 0x17) },
825 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x02, 0x18) },
826 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x02, 0x19) },
827 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x02, 0x1A) },
828 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x02, 0x1B) },
829 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x02, 0x1C) },
830 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x02, 0x31) },
831 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x02, 0x32) },
832 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x02, 0x33) },
833 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x02, 0x34) },
834 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x02, 0x35) },
835 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x02, 0x36) },
836 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x02, 0x3A) },
837 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x02, 0x3B) },
838 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x02, 0x3D) },
839 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x02, 0x3E) },
840 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x02, 0x3F) },
841 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x02, 0x48) },
842 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x02, 0x49) },
843 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x02, 0x4A) },
844 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x02, 0x4B) },
845 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x02, 0x4C) },
846 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x02, 0x61) },
847 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x02, 0x62) },
848 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x02, 0x63) },
849 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x02, 0x64) },
850 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x02, 0x65) },
851 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x02, 0x66) },
852 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x02, 0x6A) },
853 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x02, 0x6B) },
854 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x02, 0x6D) },
855 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x02, 0x6E) },
856 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x02, 0x6F) },
Fangxiaozhi (Franko)2bf308d2013-12-02 09:00:11 +0000857 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x02, 0x72) },
858 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x02, 0x73) },
859 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x02, 0x74) },
860 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x02, 0x75) },
fangxiaozhiee6f8272012-08-08 09:24:45 +0000861 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x02, 0x78) },
862 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x02, 0x79) },
863 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x02, 0x7A) },
864 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x02, 0x7B) },
865 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x02, 0x7C) },
Fangxiaozhi (Franko)d544db22013-10-11 03:48:21 +0000866 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x03, 0x01) },
867 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x03, 0x02) },
868 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x03, 0x03) },
869 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x03, 0x04) },
870 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x03, 0x05) },
871 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x03, 0x06) },
872 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x03, 0x0A) },
873 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x03, 0x0B) },
874 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x03, 0x0D) },
875 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x03, 0x0E) },
876 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x03, 0x0F) },
877 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x03, 0x10) },
878 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x03, 0x12) },
879 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x03, 0x13) },
880 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x03, 0x14) },
881 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x03, 0x15) },
882 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x03, 0x17) },
883 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x03, 0x18) },
884 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x03, 0x19) },
885 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x03, 0x1A) },
886 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x03, 0x1B) },
887 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x03, 0x1C) },
888 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x03, 0x31) },
889 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x03, 0x32) },
890 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x03, 0x33) },
891 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x03, 0x34) },
892 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x03, 0x35) },
893 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x03, 0x36) },
894 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x03, 0x3A) },
895 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x03, 0x3B) },
896 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x03, 0x3D) },
897 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x03, 0x3E) },
898 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x03, 0x3F) },
899 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x03, 0x48) },
900 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x03, 0x49) },
901 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x03, 0x4A) },
902 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x03, 0x4B) },
903 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x03, 0x4C) },
904 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x03, 0x61) },
905 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x03, 0x62) },
906 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x03, 0x63) },
907 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x03, 0x64) },
908 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x03, 0x65) },
909 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x03, 0x66) },
910 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x03, 0x6A) },
911 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x03, 0x6B) },
912 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x03, 0x6D) },
913 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x03, 0x6E) },
914 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x03, 0x6F) },
Fangxiaozhi (Franko)2bf308d2013-12-02 09:00:11 +0000915 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x03, 0x72) },
916 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x03, 0x73) },
917 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x03, 0x74) },
918 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x03, 0x75) },
Fangxiaozhi (Franko)d544db22013-10-11 03:48:21 +0000919 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x03, 0x78) },
920 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x03, 0x79) },
921 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x03, 0x7A) },
922 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x03, 0x7B) },
923 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x03, 0x7C) },
924 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x04, 0x01) },
925 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x04, 0x02) },
926 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x04, 0x03) },
927 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x04, 0x04) },
928 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x04, 0x05) },
929 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x04, 0x06) },
930 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x04, 0x0A) },
931 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x04, 0x0B) },
932 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x04, 0x0D) },
933 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x04, 0x0E) },
934 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x04, 0x0F) },
935 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x04, 0x10) },
936 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x04, 0x12) },
937 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x04, 0x13) },
938 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x04, 0x14) },
939 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x04, 0x15) },
940 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x04, 0x17) },
941 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x04, 0x18) },
942 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x04, 0x19) },
943 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x04, 0x1A) },
944 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x04, 0x1B) },
945 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x04, 0x1C) },
946 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x04, 0x31) },
947 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x04, 0x32) },
948 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x04, 0x33) },
949 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x04, 0x34) },
950 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x04, 0x35) },
951 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x04, 0x36) },
952 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x04, 0x3A) },
953 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x04, 0x3B) },
954 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x04, 0x3D) },
955 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x04, 0x3E) },
956 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x04, 0x3F) },
957 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x04, 0x48) },
958 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x04, 0x49) },
959 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x04, 0x4A) },
960 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x04, 0x4B) },
961 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x04, 0x4C) },
962 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x04, 0x61) },
963 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x04, 0x62) },
964 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x04, 0x63) },
965 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x04, 0x64) },
966 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x04, 0x65) },
967 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x04, 0x66) },
968 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x04, 0x6A) },
969 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x04, 0x6B) },
970 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x04, 0x6D) },
971 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x04, 0x6E) },
972 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x04, 0x6F) },
Fangxiaozhi (Franko)2bf308d2013-12-02 09:00:11 +0000973 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x04, 0x72) },
974 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x04, 0x73) },
975 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x04, 0x74) },
976 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x04, 0x75) },
Fangxiaozhi (Franko)d544db22013-10-11 03:48:21 +0000977 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x04, 0x78) },
978 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x04, 0x79) },
979 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x04, 0x7A) },
980 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x04, 0x7B) },
981 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x04, 0x7C) },
982 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x05, 0x01) },
983 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x05, 0x02) },
984 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x05, 0x03) },
985 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x05, 0x04) },
986 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x05, 0x05) },
987 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x05, 0x06) },
988 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x05, 0x0A) },
989 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x05, 0x0B) },
990 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x05, 0x0D) },
991 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x05, 0x0E) },
992 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x05, 0x0F) },
993 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x05, 0x10) },
994 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x05, 0x12) },
995 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x05, 0x13) },
996 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x05, 0x14) },
997 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x05, 0x15) },
998 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x05, 0x17) },
999 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x05, 0x18) },
1000 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x05, 0x19) },
1001 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x05, 0x1A) },
1002 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x05, 0x1B) },
1003 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x05, 0x1C) },
1004 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x05, 0x31) },
1005 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x05, 0x32) },
1006 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x05, 0x33) },
1007 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x05, 0x34) },
1008 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x05, 0x35) },
1009 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x05, 0x36) },
1010 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x05, 0x3A) },
1011 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x05, 0x3B) },
1012 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x05, 0x3D) },
1013 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x05, 0x3E) },
1014 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x05, 0x3F) },
1015 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x05, 0x48) },
1016 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x05, 0x49) },
1017 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x05, 0x4A) },
1018 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x05, 0x4B) },
1019 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x05, 0x4C) },
1020 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x05, 0x61) },
1021 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x05, 0x62) },
1022 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x05, 0x63) },
1023 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x05, 0x64) },
1024 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x05, 0x65) },
1025 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x05, 0x66) },
1026 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x05, 0x6A) },
1027 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x05, 0x6B) },
1028 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x05, 0x6D) },
1029 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x05, 0x6E) },
1030 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x05, 0x6F) },
Fangxiaozhi (Franko)2bf308d2013-12-02 09:00:11 +00001031 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x05, 0x72) },
1032 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x05, 0x73) },
1033 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x05, 0x74) },
1034 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x05, 0x75) },
Fangxiaozhi (Franko)d544db22013-10-11 03:48:21 +00001035 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x05, 0x78) },
1036 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x05, 0x79) },
1037 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x05, 0x7A) },
1038 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x05, 0x7B) },
1039 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x05, 0x7C) },
1040 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x06, 0x01) },
1041 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x06, 0x02) },
1042 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x06, 0x03) },
1043 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x06, 0x04) },
1044 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x06, 0x05) },
1045 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x06, 0x06) },
1046 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x06, 0x0A) },
1047 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x06, 0x0B) },
1048 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x06, 0x0D) },
1049 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x06, 0x0E) },
1050 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x06, 0x0F) },
1051 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x06, 0x10) },
1052 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x06, 0x12) },
1053 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x06, 0x13) },
1054 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x06, 0x14) },
1055 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x06, 0x15) },
1056 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x06, 0x17) },
1057 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x06, 0x18) },
1058 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x06, 0x19) },
1059 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x06, 0x1A) },
1060 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x06, 0x1B) },
1061 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x06, 0x1C) },
1062 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x06, 0x31) },
1063 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x06, 0x32) },
1064 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x06, 0x33) },
1065 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x06, 0x34) },
1066 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x06, 0x35) },
1067 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x06, 0x36) },
1068 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x06, 0x3A) },
1069 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x06, 0x3B) },
1070 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x06, 0x3D) },
1071 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x06, 0x3E) },
1072 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x06, 0x3F) },
1073 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x06, 0x48) },
1074 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x06, 0x49) },
1075 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x06, 0x4A) },
1076 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x06, 0x4B) },
1077 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x06, 0x4C) },
1078 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x06, 0x61) },
1079 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x06, 0x62) },
1080 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x06, 0x63) },
1081 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x06, 0x64) },
1082 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x06, 0x65) },
1083 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x06, 0x66) },
1084 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x06, 0x6A) },
1085 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x06, 0x6B) },
1086 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x06, 0x6D) },
1087 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x06, 0x6E) },
1088 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x06, 0x6F) },
Fangxiaozhi (Franko)2bf308d2013-12-02 09:00:11 +00001089 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x06, 0x72) },
1090 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x06, 0x73) },
1091 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x06, 0x74) },
1092 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x06, 0x75) },
Fangxiaozhi (Franko)d544db22013-10-11 03:48:21 +00001093 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x06, 0x78) },
1094 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x06, 0x79) },
1095 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x06, 0x7A) },
1096 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x06, 0x7B) },
1097 { USB_VENDOR_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0xff, 0x06, 0x7C) },
fangxiaozhiee6f8272012-08-08 09:24:45 +00001098
1099
Dirk De Schepperc7aa8f42010-08-24 20:38:35 +01001100 { USB_DEVICE(NOVATELWIRELESS_VENDOR_ID, NOVATELWIRELESS_PRODUCT_V640) },
1101 { USB_DEVICE(NOVATELWIRELESS_VENDOR_ID, NOVATELWIRELESS_PRODUCT_V620) },
1102 { USB_DEVICE(NOVATELWIRELESS_VENDOR_ID, NOVATELWIRELESS_PRODUCT_V740) },
1103 { USB_DEVICE(NOVATELWIRELESS_VENDOR_ID, NOVATELWIRELESS_PRODUCT_V720) },
1104 { USB_DEVICE(NOVATELWIRELESS_VENDOR_ID, NOVATELWIRELESS_PRODUCT_U730) },
1105 { USB_DEVICE(NOVATELWIRELESS_VENDOR_ID, NOVATELWIRELESS_PRODUCT_U740) },
1106 { USB_DEVICE(NOVATELWIRELESS_VENDOR_ID, NOVATELWIRELESS_PRODUCT_U870) },
1107 { USB_DEVICE(NOVATELWIRELESS_VENDOR_ID, NOVATELWIRELESS_PRODUCT_XU870) },
1108 { USB_DEVICE(NOVATELWIRELESS_VENDOR_ID, NOVATELWIRELESS_PRODUCT_X950D) },
1109 { USB_DEVICE(NOVATELWIRELESS_VENDOR_ID, NOVATELWIRELESS_PRODUCT_EV620) },
1110 { USB_DEVICE(NOVATELWIRELESS_VENDOR_ID, NOVATELWIRELESS_PRODUCT_ES720) },
1111 { USB_DEVICE(NOVATELWIRELESS_VENDOR_ID, NOVATELWIRELESS_PRODUCT_E725) },
1112 { USB_DEVICE(NOVATELWIRELESS_VENDOR_ID, NOVATELWIRELESS_PRODUCT_ES620) },
1113 { USB_DEVICE(NOVATELWIRELESS_VENDOR_ID, NOVATELWIRELESS_PRODUCT_EU730) },
1114 { USB_DEVICE(NOVATELWIRELESS_VENDOR_ID, NOVATELWIRELESS_PRODUCT_EU740) },
1115 { USB_DEVICE(NOVATELWIRELESS_VENDOR_ID, NOVATELWIRELESS_PRODUCT_EU870D) },
1116 { USB_DEVICE(NOVATELWIRELESS_VENDOR_ID, NOVATELWIRELESS_PRODUCT_MC950D) },
1117 { USB_DEVICE(NOVATELWIRELESS_VENDOR_ID, NOVATELWIRELESS_PRODUCT_MC727) },
1118 { USB_DEVICE(NOVATELWIRELESS_VENDOR_ID, NOVATELWIRELESS_PRODUCT_OVMC760) },
1119 { USB_DEVICE(NOVATELWIRELESS_VENDOR_ID, NOVATELWIRELESS_PRODUCT_MC780) },
1120 { USB_DEVICE(NOVATELWIRELESS_VENDOR_ID, NOVATELWIRELESS_PRODUCT_EVDO_FULLSPEED) },
1121 { USB_DEVICE(NOVATELWIRELESS_VENDOR_ID, NOVATELWIRELESS_PRODUCT_HSPA_FULLSPEED) },
1122 { USB_DEVICE(NOVATELWIRELESS_VENDOR_ID, NOVATELWIRELESS_PRODUCT_EVDO_EMBEDDED_FULLSPEED) },
1123 { USB_DEVICE(NOVATELWIRELESS_VENDOR_ID, NOVATELWIRELESS_PRODUCT_HSPA_EMBEDDED_FULLSPEED) },
1124 { USB_DEVICE(NOVATELWIRELESS_VENDOR_ID, NOVATELWIRELESS_PRODUCT_EVDO_HIGHSPEED) },
Santiago Garcia Mantinan9ac2feb2012-03-19 18:17:00 +01001125 { USB_DEVICE(NOVATELWIRELESS_VENDOR_ID, NOVATELWIRELESS_PRODUCT_HSPA_HIGHSPEED) },
Dirk De Schepperc7aa8f42010-08-24 20:38:35 +01001126 { USB_DEVICE(NOVATELWIRELESS_VENDOR_ID, NOVATELWIRELESS_PRODUCT_HSPA_HIGHSPEED3) },
1127 { USB_DEVICE(NOVATELWIRELESS_VENDOR_ID, NOVATELWIRELESS_PRODUCT_HSPA_HIGHSPEED4) },
1128 { USB_DEVICE(NOVATELWIRELESS_VENDOR_ID, NOVATELWIRELESS_PRODUCT_HSPA_HIGHSPEED5) },
1129 { USB_DEVICE(NOVATELWIRELESS_VENDOR_ID, NOVATELWIRELESS_PRODUCT_HSPA_HIGHSPEED6) },
1130 { USB_DEVICE(NOVATELWIRELESS_VENDOR_ID, NOVATELWIRELESS_PRODUCT_HSPA_HIGHSPEED7) },
1131 { USB_DEVICE(NOVATELWIRELESS_VENDOR_ID, NOVATELWIRELESS_PRODUCT_MC996D) },
1132 { USB_DEVICE(NOVATELWIRELESS_VENDOR_ID, NOVATELWIRELESS_PRODUCT_MF3470) },
1133 { USB_DEVICE(NOVATELWIRELESS_VENDOR_ID, NOVATELWIRELESS_PRODUCT_MC547) },
1134 { USB_DEVICE(NOVATELWIRELESS_VENDOR_ID, NOVATELWIRELESS_PRODUCT_EVDO_EMBEDDED_HIGHSPEED) },
1135 { USB_DEVICE(NOVATELWIRELESS_VENDOR_ID, NOVATELWIRELESS_PRODUCT_HSPA_EMBEDDED_HIGHSPEED) },
Dirk De Schepperc7aa8f42010-08-24 20:38:35 +01001136 { USB_DEVICE(NOVATELWIRELESS_VENDOR_ID, NOVATELWIRELESS_PRODUCT_G2) },
Forest Bond065b07e2012-06-22 10:30:38 -04001137 /* Novatel Ovation MC551 a.k.a. Verizon USB551L */
1138 { USB_DEVICE_AND_INTERFACE_INFO(NOVATELWIRELESS_VENDOR_ID, NOVATELWIRELESS_PRODUCT_MC551, 0xff, 0xff, 0xff) },
Dan Williamsfcb21642012-11-08 11:56:42 -06001139 { USB_DEVICE_AND_INTERFACE_INFO(NOVATELWIRELESS_VENDOR_ID, NOVATELWIRELESS_PRODUCT_E362, 0xff, 0xff, 0xff) },
Alexej Starschenko8a61ba32014-05-07 10:43:29 +02001140 { USB_DEVICE_AND_INTERFACE_INFO(NOVATELWIRELESS_VENDOR_ID, NOVATELWIRELESS_PRODUCT_E371, 0xff, 0xff, 0xff) },
Aleksander Morgadoe07af132015-11-11 19:51:40 +01001141 { USB_DEVICE_AND_INTERFACE_INFO(NOVATELWIRELESS_VENDOR_ID, NOVATELWIRELESS_PRODUCT_U620L, 0xff, 0x00, 0x00) },
Dirk DeSchepper72ab6412008-03-05 08:26:18 +00001142
tang kai32147be2008-04-14 10:06:35 +08001143 { USB_DEVICE(AMOI_VENDOR_ID, AMOI_PRODUCT_H01) },
1144 { USB_DEVICE(AMOI_VENDOR_ID, AMOI_PRODUCT_H01A) },
1145 { USB_DEVICE(AMOI_VENDOR_ID, AMOI_PRODUCT_H02) },
Dennis Jansen75959312010-07-09 22:03:53 +02001146 { USB_DEVICE(AMOI_VENDOR_ID, AMOI_PRODUCT_SKYPEPHONE_S2) },
tang kai32147be2008-04-14 10:06:35 +08001147
Dirk De Schepperc200b9c2009-02-06 20:48:34 +00001148 { USB_DEVICE(DELL_VENDOR_ID, DELL_PRODUCT_5700_MINICARD) }, /* Dell Wireless 5700 Mobile Broadband CDMA/EVDO Mini-Card == Novatel Expedite EV620 CDMA/EV-DO */
1149 { USB_DEVICE(DELL_VENDOR_ID, DELL_PRODUCT_5500_MINICARD) }, /* Dell Wireless 5500 Mobile Broadband HSDPA Mini-Card == Novatel Expedite EU740 HSDPA/3G */
1150 { USB_DEVICE(DELL_VENDOR_ID, DELL_PRODUCT_5505_MINICARD) }, /* Dell Wireless 5505 Mobile Broadband HSDPA Mini-Card == Novatel Expedite EU740 HSDPA/3G */
1151 { USB_DEVICE(DELL_VENDOR_ID, DELL_PRODUCT_5700_EXPRESSCARD) }, /* Dell Wireless 5700 Mobile Broadband CDMA/EVDO ExpressCard == Novatel Merlin XV620 CDMA/EV-DO */
1152 { USB_DEVICE(DELL_VENDOR_ID, DELL_PRODUCT_5510_EXPRESSCARD) }, /* Dell Wireless 5510 Mobile Broadband HSDPA ExpressCard == Novatel Merlin XU870 HSDPA/3G */
1153 { USB_DEVICE(DELL_VENDOR_ID, DELL_PRODUCT_5700_MINICARD_SPRINT) }, /* Dell Wireless 5700 Mobile Broadband CDMA/EVDO Mini-Card == Novatel Expedite E720 CDMA/EV-DO */
1154 { USB_DEVICE(DELL_VENDOR_ID, DELL_PRODUCT_5700_MINICARD_TELUS) }, /* Dell Wireless 5700 Mobile Broadband CDMA/EVDO Mini-Card == Novatel Expedite ET620 CDMA/EV-DO */
1155 { USB_DEVICE(DELL_VENDOR_ID, DELL_PRODUCT_5720_MINICARD_VZW) }, /* Dell Wireless 5720 == Novatel EV620 CDMA/EV-DO */
1156 { USB_DEVICE(DELL_VENDOR_ID, DELL_PRODUCT_5720_MINICARD_SPRINT) }, /* Dell Wireless 5720 == Novatel EV620 CDMA/EV-DO */
1157 { USB_DEVICE(DELL_VENDOR_ID, DELL_PRODUCT_5720_MINICARD_TELUS) }, /* Dell Wireless 5720 == Novatel EV620 CDMA/EV-DO */
1158 { USB_DEVICE(DELL_VENDOR_ID, DELL_PRODUCT_5520_MINICARD_CINGULAR) }, /* Dell Wireless HSDPA 5520 == Novatel Expedite EU860D */
1159 { USB_DEVICE(DELL_VENDOR_ID, DELL_PRODUCT_5520_MINICARD_GENERIC_L) }, /* Dell Wireless HSDPA 5520 */
1160 { USB_DEVICE(DELL_VENDOR_ID, DELL_PRODUCT_5520_MINICARD_GENERIC_I) }, /* Dell Wireless 5520 Voda I Mobile Broadband (3G HSDPA) Minicard */
Dirk De Schepperc200b9c2009-02-06 20:48:34 +00001161 { USB_DEVICE(DELL_VENDOR_ID, DELL_PRODUCT_5730_MINICARD_SPRINT) }, /* Dell Wireless 5730 Mobile Broadband EVDO/HSPA Mini-Card */
1162 { USB_DEVICE(DELL_VENDOR_ID, DELL_PRODUCT_5730_MINICARD_TELUS) }, /* Dell Wireless 5730 Mobile Broadband EVDO/HSPA Mini-Card */
1163 { USB_DEVICE(DELL_VENDOR_ID, DELL_PRODUCT_5730_MINICARD_VZW) }, /* Dell Wireless 5730 Mobile Broadband EVDO/HSPA Mini-Card */
Dan Williamsfcb21642012-11-08 11:56:42 -06001164 { USB_DEVICE_AND_INTERFACE_INFO(DELL_VENDOR_ID, DELL_PRODUCT_5800_MINICARD_VZW, 0xff, 0xff, 0xff) },
1165 { USB_DEVICE_AND_INTERFACE_INFO(DELL_VENDOR_ID, DELL_PRODUCT_5800_V2_MINICARD_VZW, 0xff, 0xff, 0xff) },
Dan Williams49c6e372013-05-06 16:16:44 -05001166 { USB_DEVICE_AND_INTERFACE_INFO(DELL_VENDOR_ID, DELL_PRODUCT_5804_MINICARD_ATT, 0xff, 0xff, 0xff) },
Jon K Hellanbb78a822008-10-03 10:36:16 +02001167 { USB_DEVICE(ANYDATA_VENDOR_ID, ANYDATA_PRODUCT_ADU_E100A) }, /* ADU-E100, ADU-310 */
Alexander Gattin46269db2007-06-20 00:48:10 +03001168 { USB_DEVICE(ANYDATA_VENDOR_ID, ANYDATA_PRODUCT_ADU_500A) },
Hiroshi Miuraf8033822008-08-19 10:58:25 +02001169 { USB_DEVICE(ANYDATA_VENDOR_ID, ANYDATA_PRODUCT_ADU_620UW) },
Daniel Kozák85fb62a2008-03-04 18:54:53 +01001170 { USB_DEVICE(AXESSTEL_VENDOR_ID, AXESSTEL_PRODUCT_MV110H) },
Leslie Watterc6206fa2008-11-12 15:10:07 -02001171 { USB_DEVICE(YISO_VENDOR_ID, YISO_PRODUCT_U893) },
Bjørn Morkdbdf6802012-10-31 06:08:40 +01001172 { USB_DEVICE_INTERFACE_CLASS(BANDRICH_VENDOR_ID, BANDRICH_PRODUCT_C100_1, 0xff) },
1173 { USB_DEVICE_INTERFACE_CLASS(BANDRICH_VENDOR_ID, BANDRICH_PRODUCT_C100_2, 0xff) },
1174 { USB_DEVICE_INTERFACE_CLASS(BANDRICH_VENDOR_ID, BANDRICH_PRODUCT_1004, 0xff) },
1175 { USB_DEVICE_INTERFACE_CLASS(BANDRICH_VENDOR_ID, BANDRICH_PRODUCT_1005, 0xff) },
1176 { USB_DEVICE_INTERFACE_CLASS(BANDRICH_VENDOR_ID, BANDRICH_PRODUCT_1006, 0xff) },
1177 { USB_DEVICE_INTERFACE_CLASS(BANDRICH_VENDOR_ID, BANDRICH_PRODUCT_1007, 0xff) },
1178 { USB_DEVICE_INTERFACE_CLASS(BANDRICH_VENDOR_ID, BANDRICH_PRODUCT_1008, 0xff) },
1179 { USB_DEVICE_INTERFACE_CLASS(BANDRICH_VENDOR_ID, BANDRICH_PRODUCT_1009, 0xff) },
1180 { USB_DEVICE_INTERFACE_CLASS(BANDRICH_VENDOR_ID, BANDRICH_PRODUCT_100A, 0xff) },
1181 { USB_DEVICE_INTERFACE_CLASS(BANDRICH_VENDOR_ID, BANDRICH_PRODUCT_100B, 0xff) },
1182 { USB_DEVICE_INTERFACE_CLASS(BANDRICH_VENDOR_ID, BANDRICH_PRODUCT_100C, 0xff) },
1183 { USB_DEVICE_INTERFACE_CLASS(BANDRICH_VENDOR_ID, BANDRICH_PRODUCT_100D, 0xff) },
1184 { USB_DEVICE_INTERFACE_CLASS(BANDRICH_VENDOR_ID, BANDRICH_PRODUCT_100E, 0xff) },
1185 { USB_DEVICE_INTERFACE_CLASS(BANDRICH_VENDOR_ID, BANDRICH_PRODUCT_100F, 0xff) },
1186 { USB_DEVICE_INTERFACE_CLASS(BANDRICH_VENDOR_ID, BANDRICH_PRODUCT_1010, 0xff) },
1187 { USB_DEVICE_INTERFACE_CLASS(BANDRICH_VENDOR_ID, BANDRICH_PRODUCT_1011, 0xff) },
1188 { USB_DEVICE_INTERFACE_CLASS(BANDRICH_VENDOR_ID, BANDRICH_PRODUCT_1012, 0xff) },
Greg Kroah-Hartman640c1bc2008-06-19 11:21:16 -07001189 { USB_DEVICE(KYOCERA_VENDOR_ID, KYOCERA_PRODUCT_KPC650) },
Dan Williams564d61d2008-02-19 13:15:30 -05001190 { USB_DEVICE(KYOCERA_VENDOR_ID, KYOCERA_PRODUCT_KPC680) },
Johan Hovold63a901c2014-08-07 16:00:13 +02001191 { USB_DEVICE(QUALCOMM_VENDOR_ID, 0x6000)}, /* ZTE AC8700 */
Bjørn Morkd061c1c2016-02-12 16:40:00 +01001192 { USB_DEVICE_AND_INTERFACE_INFO(QUALCOMM_VENDOR_ID, 0x6001, 0xff, 0xff, 0xff), /* 4G LTE usb-modem U901 */
1193 .driver_info = (kernel_ulong_t)&net_intf3_blacklist },
Kevin Lloydd726fb72008-02-14 13:35:16 -08001194 { USB_DEVICE(QUALCOMM_VENDOR_ID, 0x6613)}, /* Onda H600/ZTE MF330 */
Enrico Mioso63b5df92013-07-25 02:01:39 +02001195 { USB_DEVICE(QUALCOMM_VENDOR_ID, 0x0023)}, /* ONYX 3G device */
Veli-Pekka Peltolaec0cd942011-11-24 22:08:56 +02001196 { USB_DEVICE(QUALCOMM_VENDOR_ID, 0x9000)}, /* SIMCom SIM5218 */
Dan Williams6e9f44e2017-03-09 11:32:28 -06001197 /* Quectel products using Qualcomm vendor ID */
1198 { USB_DEVICE(QUALCOMM_VENDOR_ID, QUECTEL_PRODUCT_UC15)},
1199 { USB_DEVICE(QUALCOMM_VENDOR_ID, QUECTEL_PRODUCT_UC20),
1200 .driver_info = (kernel_ulong_t)&net_intf4_blacklist },
SZ Lin (林上智)3920bb72017-12-19 17:40:32 +08001201 /* Yuga products use Qualcomm vendor ID */
1202 { USB_DEVICE(QUALCOMM_VENDOR_ID, YUGA_PRODUCT_CLM920_NC5),
1203 .driver_info = (kernel_ulong_t)&yuga_clm920_nc5_blacklist },
Dan Williams6e9f44e2017-03-09 11:32:28 -06001204 /* Quectel products using Quectel vendor ID */
1205 { USB_DEVICE(QUECTEL_VENDOR_ID, QUECTEL_PRODUCT_EC21),
1206 .driver_info = (kernel_ulong_t)&net_intf4_blacklist },
1207 { USB_DEVICE(QUECTEL_VENDOR_ID, QUECTEL_PRODUCT_EC25),
Yegor Yefremovc0992d02016-02-29 16:39:57 +01001208 .driver_info = (kernel_ulong_t)&net_intf4_blacklist },
Sebastian Sjoholmc654b212017-11-20 19:29:32 +01001209 { USB_DEVICE(QUECTEL_VENDOR_ID, QUECTEL_PRODUCT_BG96),
1210 .driver_info = (kernel_ulong_t)&net_intf4_blacklist },
Kristian Evensen71a04832018-02-01 10:32:32 +01001211 { USB_DEVICE(QUECTEL_VENDOR_ID, QUECTEL_PRODUCT_EP06),
1212 .driver_info = (kernel_ulong_t)&quectel_ep06_blacklist },
Bjørn Mork34f972d62014-04-25 18:49:20 +02001213 { USB_DEVICE(CMOTECH_VENDOR_ID, CMOTECH_PRODUCT_6001) },
1214 { USB_DEVICE(CMOTECH_VENDOR_ID, CMOTECH_PRODUCT_CMU_300) },
1215 { USB_DEVICE(CMOTECH_VENDOR_ID, CMOTECH_PRODUCT_6003),
1216 .driver_info = (kernel_ulong_t)&net_intf0_blacklist },
1217 { USB_DEVICE(CMOTECH_VENDOR_ID, CMOTECH_PRODUCT_6004) },
1218 { USB_DEVICE(CMOTECH_VENDOR_ID, CMOTECH_PRODUCT_6005) },
1219 { USB_DEVICE(CMOTECH_VENDOR_ID, CMOTECH_PRODUCT_CGU_628A) },
1220 { USB_DEVICE(CMOTECH_VENDOR_ID, CMOTECH_PRODUCT_CHE_628S),
1221 .driver_info = (kernel_ulong_t)&net_intf0_blacklist },
1222 { USB_DEVICE(CMOTECH_VENDOR_ID, CMOTECH_PRODUCT_CMU_301),
1223 .driver_info = (kernel_ulong_t)&net_intf0_blacklist },
1224 { USB_DEVICE(CMOTECH_VENDOR_ID, CMOTECH_PRODUCT_CHU_628),
1225 .driver_info = (kernel_ulong_t)&net_intf0_blacklist },
1226 { USB_DEVICE(CMOTECH_VENDOR_ID, CMOTECH_PRODUCT_CHU_628S) },
1227 { USB_DEVICE(CMOTECH_VENDOR_ID, CMOTECH_PRODUCT_CDU_680) },
1228 { USB_DEVICE(CMOTECH_VENDOR_ID, CMOTECH_PRODUCT_CDU_685A) },
1229 { USB_DEVICE(CMOTECH_VENDOR_ID, CMOTECH_PRODUCT_CHU_720S),
1230 .driver_info = (kernel_ulong_t)&net_intf0_blacklist },
1231 { USB_DEVICE(CMOTECH_VENDOR_ID, CMOTECH_PRODUCT_7002),
1232 .driver_info = (kernel_ulong_t)&net_intf0_blacklist },
1233 { USB_DEVICE(CMOTECH_VENDOR_ID, CMOTECH_PRODUCT_CHU_629K),
1234 .driver_info = (kernel_ulong_t)&net_intf4_blacklist },
1235 { USB_DEVICE(CMOTECH_VENDOR_ID, CMOTECH_PRODUCT_7004),
1236 .driver_info = (kernel_ulong_t)&net_intf3_blacklist },
1237 { USB_DEVICE(CMOTECH_VENDOR_ID, CMOTECH_PRODUCT_7005) },
1238 { USB_DEVICE(CMOTECH_VENDOR_ID, CMOTECH_PRODUCT_CGU_629),
1239 .driver_info = (kernel_ulong_t)&net_intf5_blacklist },
1240 { USB_DEVICE(CMOTECH_VENDOR_ID, CMOTECH_PRODUCT_CHU_629S),
1241 .driver_info = (kernel_ulong_t)&net_intf4_blacklist },
1242 { USB_DEVICE(CMOTECH_VENDOR_ID, CMOTECH_PRODUCT_CHU_720I),
1243 .driver_info = (kernel_ulong_t)&net_intf0_blacklist },
1244 { USB_DEVICE(CMOTECH_VENDOR_ID, CMOTECH_PRODUCT_7212),
1245 .driver_info = (kernel_ulong_t)&net_intf0_blacklist },
1246 { USB_DEVICE(CMOTECH_VENDOR_ID, CMOTECH_PRODUCT_7213),
1247 .driver_info = (kernel_ulong_t)&net_intf0_blacklist },
1248 { USB_DEVICE(CMOTECH_VENDOR_ID, CMOTECH_PRODUCT_7251),
1249 .driver_info = (kernel_ulong_t)&net_intf1_blacklist },
1250 { USB_DEVICE(CMOTECH_VENDOR_ID, CMOTECH_PRODUCT_7252),
1251 .driver_info = (kernel_ulong_t)&net_intf1_blacklist },
1252 { USB_DEVICE(CMOTECH_VENDOR_ID, CMOTECH_PRODUCT_7253),
1253 .driver_info = (kernel_ulong_t)&net_intf1_blacklist },
Greg Kroah-Hartmanee53b0c2008-05-15 10:07:44 -07001254 { USB_DEVICE(TELIT_VENDOR_ID, TELIT_PRODUCT_UC864E) },
Manuel Laussce60c482009-09-01 09:04:35 +02001255 { USB_DEVICE(TELIT_VENDOR_ID, TELIT_PRODUCT_UC864G) },
Daniele Palmas7204cf52012-02-29 15:32:05 +01001256 { USB_DEVICE(TELIT_VENDOR_ID, TELIT_PRODUCT_CC864_DUAL) },
1257 { USB_DEVICE(TELIT_VENDOR_ID, TELIT_PRODUCT_CC864_SINGLE) },
1258 { USB_DEVICE(TELIT_VENDOR_ID, TELIT_PRODUCT_DE910_DUAL) },
Daniele Palmasd6de4862014-04-02 11:19:48 +02001259 { USB_DEVICE(TELIT_VENDOR_ID, TELIT_PRODUCT_UE910_V2) },
Daniele Palmasff4e2492016-01-12 17:22:06 +01001260 { USB_DEVICE(TELIT_VENDOR_ID, TELIT_PRODUCT_LE922_USBCFG0),
1261 .driver_info = (kernel_ulong_t)&telit_le922_blacklist_usbcfg0 },
Daniele Palmas5b09eff2016-12-01 16:38:39 +01001262 { USB_DEVICE(TELIT_VENDOR_ID, TELIT_PRODUCT_LE922_USBCFG1),
1263 .driver_info = (kernel_ulong_t)&telit_le910_blacklist },
1264 { USB_DEVICE(TELIT_VENDOR_ID, TELIT_PRODUCT_LE922_USBCFG2),
1265 .driver_info = (kernel_ulong_t)&telit_le922_blacklist_usbcfg3 },
Daniele Palmasff4e2492016-01-12 17:22:06 +01001266 { USB_DEVICE(TELIT_VENDOR_ID, TELIT_PRODUCT_LE922_USBCFG3),
1267 .driver_info = (kernel_ulong_t)&telit_le922_blacklist_usbcfg3 },
Daniele Palmas5deef552016-02-29 15:36:11 +01001268 { USB_DEVICE_INTERFACE_CLASS(TELIT_VENDOR_ID, TELIT_PRODUCT_LE922_USBCFG5, 0xff),
1269 .driver_info = (kernel_ulong_t)&telit_le922_blacklist_usbcfg0 },
Daniele Palmas40dd4602017-05-03 10:28:54 +02001270 { USB_DEVICE(TELIT_VENDOR_ID, TELIT_PRODUCT_ME910),
1271 .driver_info = (kernel_ulong_t)&telit_me910_blacklist },
Daniele Palmas08933092017-12-14 16:54:45 +01001272 { USB_DEVICE(TELIT_VENDOR_ID, TELIT_PRODUCT_ME910_DUAL_MODEM),
1273 .driver_info = (kernel_ulong_t)&telit_me910_dual_modem_blacklist },
Daniele Palmas2d0eb862014-10-14 10:47:37 +02001274 { USB_DEVICE(TELIT_VENDOR_ID, TELIT_PRODUCT_LE910),
1275 .driver_info = (kernel_ulong_t)&telit_le910_blacklist },
Daniele Palmas3c0415f2016-06-06 12:38:17 +02001276 { USB_DEVICE(TELIT_VENDOR_ID, TELIT_PRODUCT_LE910_USBCFG4),
1277 .driver_info = (kernel_ulong_t)&telit_le922_blacklist_usbcfg3 },
Daniele Palmas03eb4662013-01-28 16:47:10 +01001278 { USB_DEVICE(TELIT_VENDOR_ID, TELIT_PRODUCT_LE920),
1279 .driver_info = (kernel_ulong_t)&telit_le920_blacklist },
Daniele Palmas01d79562016-08-02 11:29:25 +02001280 { USB_DEVICE(TELIT_VENDOR_ID, TELIT_PRODUCT_LE920A4_1207) },
1281 { USB_DEVICE(TELIT_VENDOR_ID, TELIT_PRODUCT_LE920A4_1208),
1282 .driver_info = (kernel_ulong_t)&telit_le920a4_blacklist_1 },
1283 { USB_DEVICE(TELIT_VENDOR_ID, TELIT_PRODUCT_LE920A4_1211),
1284 .driver_info = (kernel_ulong_t)&telit_le922_blacklist_usbcfg3 },
1285 { USB_DEVICE(TELIT_VENDOR_ID, TELIT_PRODUCT_LE920A4_1212),
1286 .driver_info = (kernel_ulong_t)&telit_le920a4_blacklist_1 },
1287 { USB_DEVICE_INTERFACE_CLASS(TELIT_VENDOR_ID, TELIT_PRODUCT_LE920A4_1213, 0xff) },
1288 { USB_DEVICE(TELIT_VENDOR_ID, TELIT_PRODUCT_LE920A4_1214),
1289 .driver_info = (kernel_ulong_t)&telit_le922_blacklist_usbcfg3 },
Herton Ronaldo Krzesinskic420bef2009-07-15 17:10:26 -03001290 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, ZTE_PRODUCT_MF622, 0xff, 0xff, 0xff) }, /* ZTE WCDMA products */
Dan Williamsc58a76c2011-09-13 13:52:52 -05001291 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x0002, 0xff, 0xff, 0xff),
1292 .driver_info = (kernel_ulong_t)&net_intf1_blacklist },
Herton Ronaldo Krzesinskic420bef2009-07-15 17:10:26 -03001293 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x0003, 0xff, 0xff, 0xff) },
1294 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x0004, 0xff, 0xff, 0xff) },
1295 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x0005, 0xff, 0xff, 0xff) },
1296 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x0006, 0xff, 0xff, 0xff) },
Herton Ronaldo Krzesinskic420bef2009-07-15 17:10:26 -03001297 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x0008, 0xff, 0xff, 0xff) },
1298 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x0009, 0xff, 0xff, 0xff) },
1299 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x000a, 0xff, 0xff, 0xff) },
1300 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x000b, 0xff, 0xff, 0xff) },
1301 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x000c, 0xff, 0xff, 0xff) },
1302 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x000d, 0xff, 0xff, 0xff) },
1303 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x000e, 0xff, 0xff, 0xff) },
1304 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x000f, 0xff, 0xff, 0xff) },
1305 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x0010, 0xff, 0xff, 0xff) },
1306 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x0011, 0xff, 0xff, 0xff) },
Dan Williamsc58a76c2011-09-13 13:52:52 -05001307 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x0012, 0xff, 0xff, 0xff),
1308 .driver_info = (kernel_ulong_t)&net_intf1_blacklist },
Herton Ronaldo Krzesinskic420bef2009-07-15 17:10:26 -03001309 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x0013, 0xff, 0xff, 0xff) },
1310 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, ZTE_PRODUCT_MF628, 0xff, 0xff, 0xff) },
1311 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x0016, 0xff, 0xff, 0xff) },
Dan Williamsc58a76c2011-09-13 13:52:52 -05001312 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x0017, 0xff, 0xff, 0xff),
1313 .driver_info = (kernel_ulong_t)&net_intf3_blacklist },
Herton Ronaldo Krzesinskic420bef2009-07-15 17:10:26 -03001314 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x0018, 0xff, 0xff, 0xff) },
Enrico Mioso3d1a69e2013-06-29 15:33:35 +02001315 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x0019, 0xff, 0xff, 0xff),
1316 .driver_info = (kernel_ulong_t)&net_intf3_blacklist },
Herton Ronaldo Krzesinskic420bef2009-07-15 17:10:26 -03001317 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x0020, 0xff, 0xff, 0xff) },
Dan Williamsc58a76c2011-09-13 13:52:52 -05001318 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x0021, 0xff, 0xff, 0xff),
1319 .driver_info = (kernel_ulong_t)&net_intf4_blacklist },
Herton Ronaldo Krzesinskic420bef2009-07-15 17:10:26 -03001320 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x0022, 0xff, 0xff, 0xff) },
1321 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x0023, 0xff, 0xff, 0xff) },
1322 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x0024, 0xff, 0xff, 0xff) },
Dan Williamsc58a76c2011-09-13 13:52:52 -05001323 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x0025, 0xff, 0xff, 0xff),
1324 .driver_info = (kernel_ulong_t)&net_intf1_blacklist },
Herton Ronaldo Krzesinskic420bef2009-07-15 17:10:26 -03001325 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x0028, 0xff, 0xff, 0xff) },
1326 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x0029, 0xff, 0xff, 0xff) },
1327 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x0030, 0xff, 0xff, 0xff) },
Herton Ronaldo Krzesinski7a89e4c2011-03-09 09:19:48 +00001328 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, ZTE_PRODUCT_MF626, 0xff,
Dan Williamsc58a76c2011-09-13 13:52:52 -05001329 0xff, 0xff), .driver_info = (kernel_ulong_t)&zte_mf626_blacklist },
Herton Ronaldo Krzesinskic420bef2009-07-15 17:10:26 -03001330 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x0032, 0xff, 0xff, 0xff) },
1331 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x0033, 0xff, 0xff, 0xff) },
Mauro Carvalho Chehabecfa1532010-09-12 11:41:50 -03001332 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x0034, 0xff, 0xff, 0xff) },
Dan Williamseb05ce52011-09-13 13:51:45 -05001333 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x0037, 0xff, 0xff, 0xff),
1334 .driver_info = (kernel_ulong_t)&zte_0037_blacklist },
Mauro Carvalho Chehabecfa1532010-09-12 11:41:50 -03001335 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x0038, 0xff, 0xff, 0xff) },
Herton Ronaldo Krzesinskic420bef2009-07-15 17:10:26 -03001336 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x0039, 0xff, 0xff, 0xff) },
Mauro Carvalho Chehabecfa1532010-09-12 11:41:50 -03001337 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x0040, 0xff, 0xff, 0xff) },
Dan Williamsc58a76c2011-09-13 13:52:52 -05001338 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x0042, 0xff, 0xff, 0xff),
1339 .driver_info = (kernel_ulong_t)&net_intf4_blacklist },
Herton Ronaldo Krzesinskic420bef2009-07-15 17:10:26 -03001340 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x0043, 0xff, 0xff, 0xff) },
Mauro Carvalho Chehabecfa1532010-09-12 11:41:50 -03001341 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x0044, 0xff, 0xff, 0xff) },
Herton Ronaldo Krzesinskic420bef2009-07-15 17:10:26 -03001342 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x0048, 0xff, 0xff, 0xff) },
Dan Williamsc58a76c2011-09-13 13:52:52 -05001343 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x0049, 0xff, 0xff, 0xff),
1344 .driver_info = (kernel_ulong_t)&net_intf5_blacklist },
Mauro Carvalho Chehabecfa1532010-09-12 11:41:50 -03001345 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x0050, 0xff, 0xff, 0xff) },
Herton Ronaldo Krzesinskic420bef2009-07-15 17:10:26 -03001346 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x0051, 0xff, 0xff, 0xff) },
Dan Williamsc58a76c2011-09-13 13:52:52 -05001347 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x0052, 0xff, 0xff, 0xff),
1348 .driver_info = (kernel_ulong_t)&net_intf4_blacklist },
Herton Ronaldo Krzesinskic420bef2009-07-15 17:10:26 -03001349 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x0054, 0xff, 0xff, 0xff) },
Dan Williamsc58a76c2011-09-13 13:52:52 -05001350 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x0055, 0xff, 0xff, 0xff),
1351 .driver_info = (kernel_ulong_t)&net_intf1_blacklist },
Mauro Carvalho Chehabecfa1532010-09-12 11:41:50 -03001352 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x0056, 0xff, 0xff, 0xff) },
Herton Ronaldo Krzesinskic420bef2009-07-15 17:10:26 -03001353 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x0057, 0xff, 0xff, 0xff) },
Dan Williamsc58a76c2011-09-13 13:52:52 -05001354 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x0058, 0xff, 0xff, 0xff),
1355 .driver_info = (kernel_ulong_t)&net_intf4_blacklist },
Herton Ronaldo Krzesinskic420bef2009-07-15 17:10:26 -03001356 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x0061, 0xff, 0xff, 0xff) },
1357 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x0062, 0xff, 0xff, 0xff) },
Dan Williamsc58a76c2011-09-13 13:52:52 -05001358 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x0063, 0xff, 0xff, 0xff),
1359 .driver_info = (kernel_ulong_t)&net_intf4_blacklist },
Herton Ronaldo Krzesinskic420bef2009-07-15 17:10:26 -03001360 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x0064, 0xff, 0xff, 0xff) },
Mauro Carvalho Chehabecfa1532010-09-12 11:41:50 -03001361 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x0065, 0xff, 0xff, 0xff) },
Herton Ronaldo Krzesinskic420bef2009-07-15 17:10:26 -03001362 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x0066, 0xff, 0xff, 0xff) },
Mauro Carvalho Chehabecfa1532010-09-12 11:41:50 -03001363 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x0067, 0xff, 0xff, 0xff) },
Herton Ronaldo Krzesinskic420bef2009-07-15 17:10:26 -03001364 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x0069, 0xff, 0xff, 0xff) },
1365 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x0076, 0xff, 0xff, 0xff) },
Mauro Carvalho Chehabecfa1532010-09-12 11:41:50 -03001366 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x0077, 0xff, 0xff, 0xff) },
Herton Ronaldo Krzesinskic420bef2009-07-15 17:10:26 -03001367 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x0078, 0xff, 0xff, 0xff) },
Mauro Carvalho Chehabecfa1532010-09-12 11:41:50 -03001368 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x0079, 0xff, 0xff, 0xff) },
Herton Ronaldo Krzesinskic420bef2009-07-15 17:10:26 -03001369 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x0082, 0xff, 0xff, 0xff) },
Mauro Carvalho Chehabecfa1532010-09-12 11:41:50 -03001370 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x0083, 0xff, 0xff, 0xff) },
Herton Ronaldo Krzesinskic420bef2009-07-15 17:10:26 -03001371 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x0086, 0xff, 0xff, 0xff) },
Mauro Carvalho Chehabecfa1532010-09-12 11:41:50 -03001372 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x0087, 0xff, 0xff, 0xff) },
Rui li1608ea52012-01-31 15:27:33 +08001373 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x0088, 0xff, 0xff, 0xff) },
1374 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x0089, 0xff, 0xff, 0xff) },
1375 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x0090, 0xff, 0xff, 0xff) },
1376 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x0091, 0xff, 0xff, 0xff) },
1377 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x0092, 0xff, 0xff, 0xff) },
1378 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x0093, 0xff, 0xff, 0xff) },
1379 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x0094, 0xff, 0xff, 0xff) },
1380 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x0095, 0xff, 0xff, 0xff) },
1381 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x0096, 0xff, 0xff, 0xff) },
1382 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x0097, 0xff, 0xff, 0xff) },
Dan Williamsc58a76c2011-09-13 13:52:52 -05001383 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x0104, 0xff, 0xff, 0xff),
1384 .driver_info = (kernel_ulong_t)&net_intf4_blacklist },
Mauro Carvalho Chehabecfa1532010-09-12 11:41:50 -03001385 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x0105, 0xff, 0xff, 0xff) },
zhao.ming9@zte.com.cn8d87cac2009-12-07 11:36:34 +08001386 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x0106, 0xff, 0xff, 0xff) },
1387 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x0108, 0xff, 0xff, 0xff) },
Dan Williamsc58a76c2011-09-13 13:52:52 -05001388 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x0113, 0xff, 0xff, 0xff),
1389 .driver_info = (kernel_ulong_t)&net_intf5_blacklist },
zhao.ming9@zte.com.cn8d87cac2009-12-07 11:36:34 +08001390 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x0117, 0xff, 0xff, 0xff) },
Bjørn Mork1452df62012-10-18 17:19:53 +02001391 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x0118, 0xff, 0xff, 0xff),
1392 .driver_info = (kernel_ulong_t)&net_intf5_blacklist },
1393 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x0121, 0xff, 0xff, 0xff),
1394 .driver_info = (kernel_ulong_t)&net_intf5_blacklist },
zhao.ming9@zte.com.cn8d87cac2009-12-07 11:36:34 +08001395 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x0122, 0xff, 0xff, 0xff) },
Bjørn Mork1452df62012-10-18 17:19:53 +02001396 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x0123, 0xff, 0xff, 0xff),
1397 .driver_info = (kernel_ulong_t)&net_intf4_blacklist },
1398 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x0124, 0xff, 0xff, 0xff),
1399 .driver_info = (kernel_ulong_t)&net_intf5_blacklist },
1400 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x0125, 0xff, 0xff, 0xff),
1401 .driver_info = (kernel_ulong_t)&net_intf6_blacklist },
1402 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x0126, 0xff, 0xff, 0xff),
1403 .driver_info = (kernel_ulong_t)&net_intf5_blacklist },
zhao.ming9@zte.com.cn8d87cac2009-12-07 11:36:34 +08001404 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x0128, 0xff, 0xff, 0xff) },
li.rui27@zte.com.cn31b6a102012-11-20 14:31:47 +08001405 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x0135, 0xff, 0xff, 0xff) },
1406 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x0136, 0xff, 0xff, 0xff) },
1407 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x0137, 0xff, 0xff, 0xff) },
1408 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x0139, 0xff, 0xff, 0xff) },
zhao.ming9@zte.com.cn8d87cac2009-12-07 11:36:34 +08001409 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x0142, 0xff, 0xff, 0xff) },
1410 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x0143, 0xff, 0xff, 0xff) },
1411 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x0144, 0xff, 0xff, 0xff) },
1412 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x0145, 0xff, 0xff, 0xff) },
zhao.ming9@zte.com.cn8d87cac2009-12-07 11:36:34 +08001413 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x0148, 0xff, 0xff, 0xff) },
zhao.ming9@zte.com.cn8d87cac2009-12-07 11:36:34 +08001414 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x0151, 0xff, 0xff, 0xff) },
zhao.ming9@zte.com.cn8d87cac2009-12-07 11:36:34 +08001415 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x0153, 0xff, 0xff, 0xff) },
zhao.ming9@zte.com.cn8d87cac2009-12-07 11:36:34 +08001416 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x0155, 0xff, 0xff, 0xff) },
1417 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x0156, 0xff, 0xff, 0xff) },
Bjørn Mork160c9422012-09-19 22:02:12 +02001418 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x0157, 0xff, 0xff, 0xff),
1419 .driver_info = (kernel_ulong_t)&net_intf5_blacklist },
Bjørn Mork1452df62012-10-18 17:19:53 +02001420 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x0158, 0xff, 0xff, 0xff),
1421 .driver_info = (kernel_ulong_t)&net_intf3_blacklist },
zhao.ming9@zte.com.cn8d87cac2009-12-07 11:36:34 +08001422 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x0159, 0xff, 0xff, 0xff) },
zhao.ming9@zte.com.cn8d87cac2009-12-07 11:36:34 +08001423 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x0161, 0xff, 0xff, 0xff) },
1424 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x0162, 0xff, 0xff, 0xff) },
Rui li1608ea52012-01-31 15:27:33 +08001425 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x0164, 0xff, 0xff, 0xff) },
1426 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x0165, 0xff, 0xff, 0xff) },
Bjørn Mork5889d3d2012-03-16 15:41:26 +01001427 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x0167, 0xff, 0xff, 0xff),
1428 .driver_info = (kernel_ulong_t)&net_intf4_blacklist },
li.rui27@zte.com.cn31b6a102012-11-20 14:31:47 +08001429 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x0189, 0xff, 0xff, 0xff) },
Bjørn Mork4b35f1c2012-10-18 17:14:17 +02001430 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x0191, 0xff, 0xff, 0xff), /* ZTE EuFi890 */
1431 .driver_info = (kernel_ulong_t)&net_intf4_blacklist },
li.rui27@zte.com.cn31b6a102012-11-20 14:31:47 +08001432 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x0196, 0xff, 0xff, 0xff) },
1433 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x0197, 0xff, 0xff, 0xff) },
Bjørn Mork4b35f1c2012-10-18 17:14:17 +02001434 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x0199, 0xff, 0xff, 0xff), /* ZTE MF820S */
1435 .driver_info = (kernel_ulong_t)&net_intf1_blacklist },
li.rui27@zte.com.cn31b6a102012-11-20 14:31:47 +08001436 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x0200, 0xff, 0xff, 0xff) },
1437 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x0201, 0xff, 0xff, 0xff) },
1438 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x0254, 0xff, 0xff, 0xff) },
Bjørn Mork4b35f1c2012-10-18 17:14:17 +02001439 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x0257, 0xff, 0xff, 0xff), /* ZTE MF821 */
1440 .driver_info = (kernel_ulong_t)&net_intf3_blacklist },
Bjørn Mork2291dff2013-01-17 15:14:22 +01001441 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x0265, 0xff, 0xff, 0xff), /* ONDA MT8205 */
1442 .driver_info = (kernel_ulong_t)&net_intf4_blacklist },
Bjørn Morkfab38242012-12-19 15:15:17 +01001443 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x0284, 0xff, 0xff, 0xff), /* ZTE MF880 */
1444 .driver_info = (kernel_ulong_t)&net_intf4_blacklist },
li.rui27@zte.com.cn31b6a102012-11-20 14:31:47 +08001445 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x0317, 0xff, 0xff, 0xff) },
Bjørn Mork09110522012-07-12 12:37:32 +02001446 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x0326, 0xff, 0xff, 0xff),
1447 .driver_info = (kernel_ulong_t)&net_intf4_blacklist },
li.rui27@zte.com.cn31b6a102012-11-20 14:31:47 +08001448 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x0330, 0xff, 0xff, 0xff) },
1449 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x0395, 0xff, 0xff, 0xff) },
Teppo Kotilainen73c042d2013-05-03 10:28:12 +03001450 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x0412, 0xff, 0xff, 0xff), /* Telewell TW-LTE 4G */
1451 .driver_info = (kernel_ulong_t)&net_intf4_blacklist },
li.rui27@zte.com.cn31b6a102012-11-20 14:31:47 +08001452 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x0414, 0xff, 0xff, 0xff) },
1453 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x0417, 0xff, 0xff, 0xff) },
Andrew Bird (Sphere Systems)f264dde2012-03-25 00:10:28 +00001454 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1008, 0xff, 0xff, 0xff),
1455 .driver_info = (kernel_ulong_t)&net_intf4_blacklist },
1456 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1010, 0xff, 0xff, 0xff),
1457 .driver_info = (kernel_ulong_t)&net_intf4_blacklist },
Bjørn Mork1452df62012-10-18 17:19:53 +02001458 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1012, 0xff, 0xff, 0xff),
1459 .driver_info = (kernel_ulong_t)&net_intf4_blacklist },
li.rui27@zte.com.cn31b6a102012-11-20 14:31:47 +08001460 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1018, 0xff, 0xff, 0xff) },
Bjørn Mork4b35f1c2012-10-18 17:14:17 +02001461 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1021, 0xff, 0xff, 0xff),
1462 .driver_info = (kernel_ulong_t)&net_intf2_blacklist },
zhao1980minga71ee852010-05-03 00:06:37 +08001463 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1057, 0xff, 0xff, 0xff) },
1464 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1058, 0xff, 0xff, 0xff) },
1465 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1059, 0xff, 0xff, 0xff) },
1466 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1060, 0xff, 0xff, 0xff) },
1467 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1061, 0xff, 0xff, 0xff) },
1468 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1062, 0xff, 0xff, 0xff) },
1469 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1063, 0xff, 0xff, 0xff) },
1470 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1064, 0xff, 0xff, 0xff) },
1471 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1065, 0xff, 0xff, 0xff) },
1472 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1066, 0xff, 0xff, 0xff) },
1473 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1067, 0xff, 0xff, 0xff) },
1474 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1068, 0xff, 0xff, 0xff) },
1475 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1069, 0xff, 0xff, 0xff) },
1476 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1070, 0xff, 0xff, 0xff) },
1477 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1071, 0xff, 0xff, 0xff) },
1478 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1072, 0xff, 0xff, 0xff) },
1479 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1073, 0xff, 0xff, 0xff) },
1480 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1074, 0xff, 0xff, 0xff) },
1481 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1075, 0xff, 0xff, 0xff) },
1482 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1076, 0xff, 0xff, 0xff) },
1483 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1077, 0xff, 0xff, 0xff) },
1484 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1078, 0xff, 0xff, 0xff) },
1485 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1079, 0xff, 0xff, 0xff) },
1486 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1080, 0xff, 0xff, 0xff) },
1487 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1081, 0xff, 0xff, 0xff) },
1488 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1082, 0xff, 0xff, 0xff) },
1489 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1083, 0xff, 0xff, 0xff) },
1490 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1084, 0xff, 0xff, 0xff) },
1491 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1085, 0xff, 0xff, 0xff) },
1492 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1086, 0xff, 0xff, 0xff) },
1493 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1087, 0xff, 0xff, 0xff) },
1494 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1088, 0xff, 0xff, 0xff) },
1495 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1089, 0xff, 0xff, 0xff) },
1496 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1090, 0xff, 0xff, 0xff) },
1497 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1091, 0xff, 0xff, 0xff) },
1498 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1092, 0xff, 0xff, 0xff) },
1499 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1093, 0xff, 0xff, 0xff) },
1500 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1094, 0xff, 0xff, 0xff) },
1501 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1095, 0xff, 0xff, 0xff) },
1502 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1096, 0xff, 0xff, 0xff) },
1503 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1097, 0xff, 0xff, 0xff) },
1504 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1098, 0xff, 0xff, 0xff) },
1505 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1099, 0xff, 0xff, 0xff) },
1506 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1100, 0xff, 0xff, 0xff) },
1507 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1101, 0xff, 0xff, 0xff) },
1508 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1102, 0xff, 0xff, 0xff) },
1509 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1103, 0xff, 0xff, 0xff) },
1510 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1104, 0xff, 0xff, 0xff) },
1511 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1105, 0xff, 0xff, 0xff) },
1512 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1106, 0xff, 0xff, 0xff) },
1513 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1107, 0xff, 0xff, 0xff) },
1514 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1108, 0xff, 0xff, 0xff) },
1515 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1109, 0xff, 0xff, 0xff) },
1516 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1110, 0xff, 0xff, 0xff) },
1517 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1111, 0xff, 0xff, 0xff) },
1518 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1112, 0xff, 0xff, 0xff) },
1519 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1113, 0xff, 0xff, 0xff) },
1520 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1114, 0xff, 0xff, 0xff) },
1521 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1115, 0xff, 0xff, 0xff) },
1522 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1116, 0xff, 0xff, 0xff) },
1523 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1117, 0xff, 0xff, 0xff) },
1524 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1118, 0xff, 0xff, 0xff) },
1525 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1119, 0xff, 0xff, 0xff) },
1526 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1120, 0xff, 0xff, 0xff) },
1527 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1121, 0xff, 0xff, 0xff) },
1528 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1122, 0xff, 0xff, 0xff) },
1529 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1123, 0xff, 0xff, 0xff) },
1530 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1124, 0xff, 0xff, 0xff) },
1531 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1125, 0xff, 0xff, 0xff) },
1532 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1126, 0xff, 0xff, 0xff) },
1533 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1127, 0xff, 0xff, 0xff) },
1534 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1128, 0xff, 0xff, 0xff) },
1535 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1129, 0xff, 0xff, 0xff) },
1536 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1130, 0xff, 0xff, 0xff) },
1537 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1131, 0xff, 0xff, 0xff) },
1538 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1132, 0xff, 0xff, 0xff) },
1539 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1133, 0xff, 0xff, 0xff) },
1540 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1134, 0xff, 0xff, 0xff) },
1541 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1135, 0xff, 0xff, 0xff) },
1542 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1136, 0xff, 0xff, 0xff) },
1543 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1137, 0xff, 0xff, 0xff) },
1544 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1138, 0xff, 0xff, 0xff) },
1545 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1139, 0xff, 0xff, 0xff) },
1546 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1140, 0xff, 0xff, 0xff) },
1547 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1141, 0xff, 0xff, 0xff) },
1548 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1142, 0xff, 0xff, 0xff) },
1549 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1143, 0xff, 0xff, 0xff) },
1550 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1144, 0xff, 0xff, 0xff) },
1551 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1145, 0xff, 0xff, 0xff) },
1552 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1146, 0xff, 0xff, 0xff) },
1553 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1147, 0xff, 0xff, 0xff) },
1554 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1148, 0xff, 0xff, 0xff) },
1555 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1149, 0xff, 0xff, 0xff) },
1556 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1150, 0xff, 0xff, 0xff) },
1557 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1151, 0xff, 0xff, 0xff) },
1558 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1152, 0xff, 0xff, 0xff) },
1559 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1153, 0xff, 0xff, 0xff) },
1560 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1154, 0xff, 0xff, 0xff) },
1561 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1155, 0xff, 0xff, 0xff) },
1562 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1156, 0xff, 0xff, 0xff) },
1563 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1157, 0xff, 0xff, 0xff) },
1564 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1158, 0xff, 0xff, 0xff) },
1565 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1159, 0xff, 0xff, 0xff) },
1566 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1160, 0xff, 0xff, 0xff) },
1567 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1161, 0xff, 0xff, 0xff) },
1568 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1162, 0xff, 0xff, 0xff) },
1569 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1163, 0xff, 0xff, 0xff) },
1570 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1164, 0xff, 0xff, 0xff) },
1571 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1165, 0xff, 0xff, 0xff) },
1572 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1166, 0xff, 0xff, 0xff) },
1573 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1167, 0xff, 0xff, 0xff) },
1574 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1168, 0xff, 0xff, 0xff) },
1575 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1169, 0xff, 0xff, 0xff) },
1576 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1170, 0xff, 0xff, 0xff) },
1577 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1244, 0xff, 0xff, 0xff) },
Bjørn Mork1452df62012-10-18 17:19:53 +02001578 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1245, 0xff, 0xff, 0xff),
1579 .driver_info = (kernel_ulong_t)&net_intf4_blacklist },
zhao1980minga71ee852010-05-03 00:06:37 +08001580 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1246, 0xff, 0xff, 0xff) },
Bjørn Mork1452df62012-10-18 17:19:53 +02001581 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1247, 0xff, 0xff, 0xff),
1582 .driver_info = (kernel_ulong_t)&net_intf4_blacklist },
zhao1980minga71ee852010-05-03 00:06:37 +08001583 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1248, 0xff, 0xff, 0xff) },
1584 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1249, 0xff, 0xff, 0xff) },
1585 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1250, 0xff, 0xff, 0xff) },
1586 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1251, 0xff, 0xff, 0xff) },
Bjørn Mork1452df62012-10-18 17:19:53 +02001587 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1252, 0xff, 0xff, 0xff),
1588 .driver_info = (kernel_ulong_t)&net_intf4_blacklist },
zhao1980minga71ee852010-05-03 00:06:37 +08001589 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1253, 0xff, 0xff, 0xff) },
Bjørn Mork1452df62012-10-18 17:19:53 +02001590 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1254, 0xff, 0xff, 0xff),
1591 .driver_info = (kernel_ulong_t)&net_intf4_blacklist },
1592 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1255, 0xff, 0xff, 0xff),
1593 .driver_info = (kernel_ulong_t)&zte_1255_blacklist },
1594 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1256, 0xff, 0xff, 0xff),
1595 .driver_info = (kernel_ulong_t)&net_intf4_blacklist },
zhao1980minga71ee852010-05-03 00:06:37 +08001596 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1257, 0xff, 0xff, 0xff) },
1597 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1258, 0xff, 0xff, 0xff) },
1598 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1259, 0xff, 0xff, 0xff) },
1599 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1260, 0xff, 0xff, 0xff) },
1600 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1261, 0xff, 0xff, 0xff) },
1601 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1262, 0xff, 0xff, 0xff) },
1602 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1263, 0xff, 0xff, 0xff) },
1603 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1264, 0xff, 0xff, 0xff) },
1604 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1265, 0xff, 0xff, 0xff) },
1605 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1266, 0xff, 0xff, 0xff) },
1606 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1267, 0xff, 0xff, 0xff) },
1607 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1268, 0xff, 0xff, 0xff) },
1608 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1269, 0xff, 0xff, 0xff) },
Raymond Wanyoike3635c7e2014-02-09 11:59:46 +03001609 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1270, 0xff, 0xff, 0xff),
1610 .driver_info = (kernel_ulong_t)&net_intf5_blacklist },
zhao1980minga71ee852010-05-03 00:06:37 +08001611 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1271, 0xff, 0xff, 0xff) },
1612 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1272, 0xff, 0xff, 0xff) },
1613 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1273, 0xff, 0xff, 0xff) },
1614 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1274, 0xff, 0xff, 0xff) },
1615 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1275, 0xff, 0xff, 0xff) },
1616 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1276, 0xff, 0xff, 0xff) },
1617 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1277, 0xff, 0xff, 0xff) },
1618 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1278, 0xff, 0xff, 0xff) },
1619 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1279, 0xff, 0xff, 0xff) },
1620 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1280, 0xff, 0xff, 0xff) },
1621 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1281, 0xff, 0xff, 0xff) },
1622 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1282, 0xff, 0xff, 0xff) },
1623 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1283, 0xff, 0xff, 0xff) },
1624 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1284, 0xff, 0xff, 0xff) },
1625 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1285, 0xff, 0xff, 0xff) },
1626 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1286, 0xff, 0xff, 0xff) },
1627 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1287, 0xff, 0xff, 0xff) },
1628 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1288, 0xff, 0xff, 0xff) },
1629 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1289, 0xff, 0xff, 0xff) },
1630 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1290, 0xff, 0xff, 0xff) },
1631 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1291, 0xff, 0xff, 0xff) },
1632 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1292, 0xff, 0xff, 0xff) },
1633 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1293, 0xff, 0xff, 0xff) },
1634 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1294, 0xff, 0xff, 0xff) },
1635 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1295, 0xff, 0xff, 0xff) },
1636 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1296, 0xff, 0xff, 0xff) },
1637 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1297, 0xff, 0xff, 0xff) },
1638 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1298, 0xff, 0xff, 0xff) },
1639 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1299, 0xff, 0xff, 0xff) },
1640 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1300, 0xff, 0xff, 0xff) },
li.rui27@zte.com.cn31b6a102012-11-20 14:31:47 +08001641 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1301, 0xff, 0xff, 0xff) },
1642 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1302, 0xff, 0xff, 0xff) },
1643 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1303, 0xff, 0xff, 0xff) },
1644 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1333, 0xff, 0xff, 0xff) },
Bjørn Mork4b35f1c2012-10-18 17:14:17 +02001645 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1401, 0xff, 0xff, 0xff),
1646 .driver_info = (kernel_ulong_t)&net_intf2_blacklist },
Bjørn Mork8e16e332012-07-02 19:53:55 +02001647 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1402, 0xff, 0xff, 0xff),
1648 .driver_info = (kernel_ulong_t)&net_intf2_blacklist },
Bjørn Mork4b35f1c2012-10-18 17:14:17 +02001649 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1424, 0xff, 0xff, 0xff),
1650 .driver_info = (kernel_ulong_t)&net_intf2_blacklist },
1651 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1425, 0xff, 0xff, 0xff),
1652 .driver_info = (kernel_ulong_t)&net_intf2_blacklist },
1653 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1426, 0xff, 0xff, 0xff), /* ZTE MF91 */
1654 .driver_info = (kernel_ulong_t)&net_intf2_blacklist },
Bernd Wachter3d28bd82014-07-02 12:36:48 +03001655 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1428, 0xff, 0xff, 0xff), /* Telewell TW-LTE 4G v2 */
1656 .driver_info = (kernel_ulong_t)&net_intf2_blacklist },
Rui li0636fc52013-10-25 10:57:21 +08001657 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1533, 0xff, 0xff, 0xff) },
1658 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1534, 0xff, 0xff, 0xff) },
1659 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1535, 0xff, 0xff, 0xff) },
1660 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1545, 0xff, 0xff, 0xff) },
1661 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1546, 0xff, 0xff, 0xff) },
1662 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1547, 0xff, 0xff, 0xff) },
1663 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1565, 0xff, 0xff, 0xff) },
1664 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1566, 0xff, 0xff, 0xff) },
1665 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1567, 0xff, 0xff, 0xff) },
1666 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1589, 0xff, 0xff, 0xff) },
1667 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1590, 0xff, 0xff, 0xff) },
1668 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1591, 0xff, 0xff, 0xff) },
1669 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1592, 0xff, 0xff, 0xff) },
1670 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1594, 0xff, 0xff, 0xff) },
1671 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1596, 0xff, 0xff, 0xff) },
1672 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1598, 0xff, 0xff, 0xff) },
1673 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x1600, 0xff, 0xff, 0xff) },
li.rui27@zte.com.cnb9e44fe2012-02-14 10:35:01 +08001674 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x2002, 0xff,
1675 0xff, 0xff), .driver_info = (kernel_ulong_t)&zte_k3765_z_blacklist },
1676 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x2003, 0xff, 0xff, 0xff) },
1677
Herton Ronaldo Krzesinskic420bef2009-07-15 17:10:26 -03001678 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x0014, 0xff, 0xff, 0xff) }, /* ZTE CDMA products */
1679 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x0027, 0xff, 0xff, 0xff) },
1680 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x0059, 0xff, 0xff, 0xff) },
1681 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x0060, 0xff, 0xff, 0xff) },
1682 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x0070, 0xff, 0xff, 0xff) },
1683 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x0073, 0xff, 0xff, 0xff) },
li.rui27@zte.com.cnb9e44fe2012-02-14 10:35:01 +08001684 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x0094, 0xff, 0xff, 0xff) },
Bjørn Mork1452df62012-10-18 17:19:53 +02001685 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x0130, 0xff, 0xff, 0xff),
1686 .driver_info = (kernel_ulong_t)&net_intf1_blacklist },
1687 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x0133, 0xff, 0xff, 0xff),
1688 .driver_info = (kernel_ulong_t)&net_intf3_blacklist },
1689 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x0141, 0xff, 0xff, 0xff),
1690 .driver_info = (kernel_ulong_t)&net_intf5_blacklist },
li.rui27@zte.com.cnb9e44fe2012-02-14 10:35:01 +08001691 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x0147, 0xff, 0xff, 0xff) },
1692 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x0152, 0xff, 0xff, 0xff) },
Bjørn Mork1452df62012-10-18 17:19:53 +02001693 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x0168, 0xff, 0xff, 0xff),
1694 .driver_info = (kernel_ulong_t)&net_intf4_blacklist },
li.rui27@zte.com.cnb9e44fe2012-02-14 10:35:01 +08001695 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x0170, 0xff, 0xff, 0xff) },
Bjørn Mork1452df62012-10-18 17:19:53 +02001696 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x0176, 0xff, 0xff, 0xff),
1697 .driver_info = (kernel_ulong_t)&net_intf3_blacklist },
1698 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0x0178, 0xff, 0xff, 0xff),
1699 .driver_info = (kernel_ulong_t)&net_intf3_blacklist },
lei liuf0d09462016-05-03 14:44:19 -07001700 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0xff42, 0xff, 0xff, 0xff) },
1701 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0xff43, 0xff, 0xff, 0xff) },
1702 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0xff44, 0xff, 0xff, 0xff) },
1703 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0xff45, 0xff, 0xff, 0xff) },
1704 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0xff46, 0xff, 0xff, 0xff) },
1705 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0xff47, 0xff, 0xff, 0xff) },
1706 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0xff48, 0xff, 0xff, 0xff) },
1707 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0xff49, 0xff, 0xff, 0xff) },
1708 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0xff4a, 0xff, 0xff, 0xff) },
1709 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0xff4b, 0xff, 0xff, 0xff) },
1710 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0xff4c, 0xff, 0xff, 0xff) },
1711 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0xff4d, 0xff, 0xff, 0xff) },
1712 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0xff4e, 0xff, 0xff, 0xff) },
1713 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0xff4f, 0xff, 0xff, 0xff) },
1714 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0xff50, 0xff, 0xff, 0xff) },
1715 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0xff51, 0xff, 0xff, 0xff) },
1716 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0xff52, 0xff, 0xff, 0xff) },
1717 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0xff53, 0xff, 0xff, 0xff) },
1718 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0xff54, 0xff, 0xff, 0xff) },
1719 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0xff55, 0xff, 0xff, 0xff) },
1720 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0xff56, 0xff, 0xff, 0xff) },
1721 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0xff57, 0xff, 0xff, 0xff) },
1722 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0xff58, 0xff, 0xff, 0xff) },
1723 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0xff59, 0xff, 0xff, 0xff) },
1724 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0xff5a, 0xff, 0xff, 0xff) },
1725 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0xff5b, 0xff, 0xff, 0xff) },
1726 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0xff5c, 0xff, 0xff, 0xff) },
1727 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0xff5d, 0xff, 0xff, 0xff) },
1728 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0xff5e, 0xff, 0xff, 0xff) },
1729 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0xff5f, 0xff, 0xff, 0xff) },
1730 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0xff60, 0xff, 0xff, 0xff) },
1731 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0xff61, 0xff, 0xff, 0xff) },
1732 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0xff62, 0xff, 0xff, 0xff) },
1733 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0xff63, 0xff, 0xff, 0xff) },
1734 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0xff64, 0xff, 0xff, 0xff) },
1735 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0xff65, 0xff, 0xff, 0xff) },
1736 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0xff66, 0xff, 0xff, 0xff) },
1737 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0xff67, 0xff, 0xff, 0xff) },
1738 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0xff68, 0xff, 0xff, 0xff) },
1739 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0xff69, 0xff, 0xff, 0xff) },
1740 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0xff6a, 0xff, 0xff, 0xff) },
1741 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0xff6b, 0xff, 0xff, 0xff) },
1742 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0xff6c, 0xff, 0xff, 0xff) },
1743 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0xff6d, 0xff, 0xff, 0xff) },
1744 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0xff6e, 0xff, 0xff, 0xff) },
1745 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0xff6f, 0xff, 0xff, 0xff) },
1746 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0xff70, 0xff, 0xff, 0xff) },
1747 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0xff71, 0xff, 0xff, 0xff) },
1748 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0xff72, 0xff, 0xff, 0xff) },
1749 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0xff73, 0xff, 0xff, 0xff) },
1750 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0xff74, 0xff, 0xff, 0xff) },
1751 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0xff75, 0xff, 0xff, 0xff) },
1752 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0xff76, 0xff, 0xff, 0xff) },
1753 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0xff77, 0xff, 0xff, 0xff) },
1754 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0xff78, 0xff, 0xff, 0xff) },
1755 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0xff79, 0xff, 0xff, 0xff) },
1756 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0xff7a, 0xff, 0xff, 0xff) },
1757 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0xff7b, 0xff, 0xff, 0xff) },
1758 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0xff7c, 0xff, 0xff, 0xff) },
1759 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0xff7d, 0xff, 0xff, 0xff) },
1760 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0xff7e, 0xff, 0xff, 0xff) },
1761 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0xff7f, 0xff, 0xff, 0xff) },
1762 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0xff80, 0xff, 0xff, 0xff) },
1763 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0xff81, 0xff, 0xff, 0xff) },
1764 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0xff82, 0xff, 0xff, 0xff) },
1765 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0xff83, 0xff, 0xff, 0xff) },
1766 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0xff84, 0xff, 0xff, 0xff) },
1767 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0xff85, 0xff, 0xff, 0xff) },
1768 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0xff86, 0xff, 0xff, 0xff) },
1769 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0xff87, 0xff, 0xff, 0xff) },
1770 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0xff88, 0xff, 0xff, 0xff) },
1771 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0xff89, 0xff, 0xff, 0xff) },
1772 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0xff8a, 0xff, 0xff, 0xff) },
张君4d90b812013-12-18 15:37:17 +08001773 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0xff8b, 0xff, 0xff, 0xff) },
1774 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0xff8c, 0xff, 0xff, 0xff) },
1775 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0xff8d, 0xff, 0xff, 0xff) },
1776 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0xff8e, 0xff, 0xff, 0xff) },
1777 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0xff8f, 0xff, 0xff, 0xff) },
1778 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0xff90, 0xff, 0xff, 0xff) },
1779 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0xff91, 0xff, 0xff, 0xff) },
1780 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0xff92, 0xff, 0xff, 0xff) },
1781 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0xff93, 0xff, 0xff, 0xff) },
1782 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0xff94, 0xff, 0xff, 0xff) },
Lei Liu74d2a912016-05-04 16:34:22 +08001783 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0xff9f, 0xff, 0xff, 0xff) },
1784 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0xffa0, 0xff, 0xff, 0xff) },
1785 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0xffa1, 0xff, 0xff, 0xff) },
1786 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0xffa2, 0xff, 0xff, 0xff) },
1787 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0xffa3, 0xff, 0xff, 0xff) },
1788 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0xffa4, 0xff, 0xff, 0xff) },
1789 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0xffa5, 0xff, 0xff, 0xff) },
1790 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0xffa6, 0xff, 0xff, 0xff) },
1791 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0xffa7, 0xff, 0xff, 0xff) },
1792 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0xffa8, 0xff, 0xff, 0xff) },
1793 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0xffa9, 0xff, 0xff, 0xff) },
1794 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0xffaa, 0xff, 0xff, 0xff) },
1795 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0xffab, 0xff, 0xff, 0xff) },
1796 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0xffac, 0xff, 0xff, 0xff) },
1797 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0xffae, 0xff, 0xff, 0xff) },
1798 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0xffaf, 0xff, 0xff, 0xff) },
1799 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0xffb0, 0xff, 0xff, 0xff) },
1800 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0xffb1, 0xff, 0xff, 0xff) },
1801 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0xffb2, 0xff, 0xff, 0xff) },
1802 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0xffb3, 0xff, 0xff, 0xff) },
1803 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0xffb4, 0xff, 0xff, 0xff) },
1804 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0xffb5, 0xff, 0xff, 0xff) },
1805 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0xffb6, 0xff, 0xff, 0xff) },
1806 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0xffb7, 0xff, 0xff, 0xff) },
1807 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0xffb8, 0xff, 0xff, 0xff) },
1808 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0xffb9, 0xff, 0xff, 0xff) },
1809 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0xffba, 0xff, 0xff, 0xff) },
1810 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0xffbb, 0xff, 0xff, 0xff) },
1811 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0xffbc, 0xff, 0xff, 0xff) },
1812 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0xffbd, 0xff, 0xff, 0xff) },
1813 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0xffbe, 0xff, 0xff, 0xff) },
1814 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0xffbf, 0xff, 0xff, 0xff) },
1815 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0xffc0, 0xff, 0xff, 0xff) },
1816 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0xffc1, 0xff, 0xff, 0xff) },
1817 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0xffc2, 0xff, 0xff, 0xff) },
1818 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0xffc3, 0xff, 0xff, 0xff) },
1819 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0xffc4, 0xff, 0xff, 0xff) },
1820 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0xffc5, 0xff, 0xff, 0xff) },
1821 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0xffc6, 0xff, 0xff, 0xff) },
1822 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0xffc7, 0xff, 0xff, 0xff) },
1823 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0xffc8, 0xff, 0xff, 0xff) },
1824 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0xffc9, 0xff, 0xff, 0xff) },
1825 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0xffca, 0xff, 0xff, 0xff) },
1826 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0xffcb, 0xff, 0xff, 0xff) },
1827 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0xffcc, 0xff, 0xff, 0xff) },
1828 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0xffcd, 0xff, 0xff, 0xff) },
1829 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0xffce, 0xff, 0xff, 0xff) },
1830 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0xffcf, 0xff, 0xff, 0xff) },
1831 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0xffd0, 0xff, 0xff, 0xff) },
1832 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0xffd1, 0xff, 0xff, 0xff) },
1833 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0xffd2, 0xff, 0xff, 0xff) },
1834 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0xffd3, 0xff, 0xff, 0xff) },
1835 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0xffd4, 0xff, 0xff, 0xff) },
1836 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0xffd5, 0xff, 0xff, 0xff) },
lei liuf0d09462016-05-03 14:44:19 -07001837 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0xffe9, 0xff, 0xff, 0xff) },
Johan Hovoldf8c0e052014-09-15 18:40:45 +02001838 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0xffec, 0xff, 0xff, 0xff) },
1839 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0xffee, 0xff, 0xff, 0xff) },
1840 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0xfff6, 0xff, 0xff, 0xff) },
1841 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0xfff7, 0xff, 0xff, 0xff) },
1842 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0xfff8, 0xff, 0xff, 0xff) },
1843 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0xfff9, 0xff, 0xff, 0xff) },
1844 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0xfffb, 0xff, 0xff, 0xff) },
1845 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0xfffc, 0xff, 0xff, 0xff) },
1846 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, ZTE_PRODUCT_MG880, 0xff, 0xff, 0xff) },
Johan Hovold63a901c2014-08-07 16:00:13 +02001847 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, ZTE_PRODUCT_CDMA_TECH, 0xff, 0xff, 0xff) },
1848 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, ZTE_PRODUCT_AC2726, 0xff, 0xff, 0xff) },
1849 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, ZTE_PRODUCT_AC8710T, 0xff, 0xff, 0xff) },
zheng.zhijian@zte.com.cn46b5a272011-11-17 19:23:25 +08001850 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, ZTE_PRODUCT_MC2718, 0xff, 0xff, 0xff),
1851 .driver_info = (kernel_ulong_t)&zte_mc2718_z_blacklist },
Johan Hovold63a901c2014-08-07 16:00:13 +02001852 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, ZTE_PRODUCT_AD3812, 0xff, 0xff, 0xff),
1853 .driver_info = (kernel_ulong_t)&zte_ad3812_z_blacklist },
1854 { USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, ZTE_PRODUCT_MC2716, 0xff, 0xff, 0xff),
1855 .driver_info = (kernel_ulong_t)&zte_mc2716_z_blacklist },
Liu.Zhao19ab6bc2015-08-24 08:36:12 -07001856 { USB_DEVICE(ZTE_VENDOR_ID, ZTE_PRODUCT_ME3620_L),
1857 .driver_info = (kernel_ulong_t)&zte_me3620_xl_blacklist },
1858 { USB_DEVICE(ZTE_VENDOR_ID, ZTE_PRODUCT_ME3620_MBIM),
1859 .driver_info = (kernel_ulong_t)&zte_me3620_mbim_blacklist },
1860 { USB_DEVICE(ZTE_VENDOR_ID, ZTE_PRODUCT_ME3620_X),
1861 .driver_info = (kernel_ulong_t)&zte_me3620_xl_blacklist },
1862 { USB_DEVICE(ZTE_VENDOR_ID, ZTE_PRODUCT_ZM8620_X),
1863 .driver_info = (kernel_ulong_t)&zte_zm8620_x_blacklist },
Bjørn Morkba9edaa2012-09-11 09:40:31 +02001864 { USB_VENDOR_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0xff, 0x02, 0x01) },
1865 { USB_VENDOR_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0xff, 0x02, 0x05) },
1866 { USB_VENDOR_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0xff, 0x86, 0x10) },
1867
Jesse Sung28fb6682009-02-20 21:13:45 -08001868 { USB_DEVICE(BENQ_VENDOR_ID, BENQ_PRODUCT_H10) },
Pascal Terjanc00deaa2009-04-07 14:40:42 +02001869 { USB_DEVICE(DLINK_VENDOR_ID, DLINK_PRODUCT_DWM_652) },
Zhang Leff854ce2009-11-04 23:22:59 +08001870 { USB_DEVICE(ALINK_VENDOR_ID, DLINK_PRODUCT_DWM_652_U5) }, /* Yes, ALINK_VENDOR_ID */
Huang Yingbf162012010-02-28 13:51:29 +08001871 { USB_DEVICE(ALINK_VENDOR_ID, DLINK_PRODUCT_DWM_652_U5A) },
Brad Lue3a31742009-06-16 18:04:00 +08001872 { USB_DEVICE(QISDA_VENDOR_ID, QISDA_PRODUCT_H21_4512) },
1873 { USB_DEVICE(QISDA_VENDOR_ID, QISDA_PRODUCT_H21_4523) },
1874 { USB_DEVICE(QISDA_VENDOR_ID, QISDA_PRODUCT_H20_4515) },
Ömer Sezgin Ugurlu646d90e2010-06-28 19:01:58 +03001875 { USB_DEVICE(QISDA_VENDOR_ID, QISDA_PRODUCT_H20_4518) },
Brad Lue3a31742009-06-16 18:04:00 +08001876 { USB_DEVICE(QISDA_VENDOR_ID, QISDA_PRODUCT_H20_4519) },
Peter Magdina75f47212009-10-07 16:22:17 +02001877 { USB_DEVICE(TOSHIBA_VENDOR_ID, TOSHIBA_PRODUCT_G450) },
Michele Valzelli334f9b02009-05-27 00:09:12 +02001878 { USB_DEVICE(TOSHIBA_VENDOR_ID, TOSHIBA_PRODUCT_HSDPA_MINICARD ) }, /* Toshiba 3G HSDPA == Novatel Expedite EU870D MiniCard */
Anssi Hannulac3325eb2009-07-06 19:08:59 +03001879 { USB_DEVICE(ALINK_VENDOR_ID, 0x9000) },
Dan Williams5c3e4072011-06-06 16:55:41 -05001880 { USB_DEVICE(ALINK_VENDOR_ID, ALINK_PRODUCT_PH300) },
Anssi Hannulac3325eb2009-07-06 19:08:59 +03001881 { USB_DEVICE_AND_INTERFACE_INFO(ALINK_VENDOR_ID, ALINK_PRODUCT_3GU, 0xff, 0xff, 0xff) },
Andrey Skvortsov3158a8d2016-01-29 00:07:30 +03001882 { USB_DEVICE(ALINK_VENDOR_ID, SIMCOM_PRODUCT_SIM7100E),
1883 .driver_info = (kernel_ulong_t)&simcom_sim7100e_blacklist },
Dan Williams15badbc2011-06-06 16:22:44 -05001884 { USB_DEVICE(ALCATEL_VENDOR_ID, ALCATEL_PRODUCT_X060S_X200),
1885 .driver_info = (kernel_ulong_t)&alcatel_x200_blacklist
1886 },
Bjørn Morkf8f03022013-01-23 10:44:36 +01001887 { USB_DEVICE(ALCATEL_VENDOR_ID, ALCATEL_PRODUCT_X220_X500D),
1888 .driver_info = (kernel_ulong_t)&net_intf6_blacklist },
1889 { USB_DEVICE(ALCATEL_VENDOR_ID, 0x0052),
1890 .driver_info = (kernel_ulong_t)&net_intf6_blacklist },
1891 { USB_DEVICE(ALCATEL_VENDOR_ID, 0x00b6),
1892 .driver_info = (kernel_ulong_t)&net_intf3_blacklist },
1893 { USB_DEVICE(ALCATEL_VENDOR_ID, 0x00b7),
1894 .driver_info = (kernel_ulong_t)&net_intf5_blacklist },
Bjørn Mork5ec00852012-12-28 17:29:52 +01001895 { USB_DEVICE(ALCATEL_VENDOR_ID, ALCATEL_PRODUCT_L100V),
1896 .driver_info = (kernel_ulong_t)&net_intf4_blacklist },
Bjørn Morkdd6b48e2014-04-25 18:49:19 +02001897 { USB_DEVICE(ALCATEL_VENDOR_ID, ALCATEL_PRODUCT_L800MA),
1898 .driver_info = (kernel_ulong_t)&net_intf2_blacklist },
Huzaifa Sidhpurwala12148da2009-10-12 14:34:45 +05301899 { USB_DEVICE(AIRPLUS_VENDOR_ID, AIRPLUS_PRODUCT_MCD650) },
Bryan Wufead2ab2009-10-22 15:00:36 +08001900 { USB_DEVICE(TLAYTECH_VENDOR_ID, TLAYTECH_PRODUCT_TEU800) },
Dan Williamsac7d4ca2010-02-16 18:43:29 -08001901 { USB_DEVICE(LONGCHEER_VENDOR_ID, FOUR_G_SYSTEMS_PRODUCT_W14),
Gernot Hilliera7417102010-01-11 09:35:17 +01001902 .driver_info = (kernel_ulong_t)&four_g_w14_blacklist
1903 },
Bjørn Mork638148e2015-11-18 21:12:33 +01001904 { USB_DEVICE(LONGCHEER_VENDOR_ID, FOUR_G_SYSTEMS_PRODUCT_W100),
1905 .driver_info = (kernel_ulong_t)&four_g_w100_blacklist
1906 },
OKAMOTO Yoshiaki69341bd2018-01-16 09:51:17 +00001907 {USB_DEVICE(LONGCHEER_VENDOR_ID, FUJISOFT_PRODUCT_FS040U),
1908 .driver_info = (kernel_ulong_t)&net_intf3_blacklist},
Oliver Neukum1cab4c682014-05-20 16:27:40 +02001909 { USB_DEVICE_INTERFACE_CLASS(LONGCHEER_VENDOR_ID, SPEEDUP_PRODUCT_SU9800, 0xff) },
Johan Hovold8fb060d2017-06-12 16:30:16 +02001910 { USB_DEVICE_INTERFACE_CLASS(LONGCHEER_VENDOR_ID, 0x9801, 0xff),
1911 .driver_info = (kernel_ulong_t)&net_intf3_blacklist },
1912 { USB_DEVICE_INTERFACE_CLASS(LONGCHEER_VENDOR_ID, 0x9803, 0xff),
1913 .driver_info = (kernel_ulong_t)&net_intf4_blacklist },
Dan Williamscdacb592011-06-06 16:08:39 -05001914 { USB_DEVICE(LONGCHEER_VENDOR_ID, ZOOM_PRODUCT_4597) },
Rahul Bedarkar7d5c1b92014-01-02 20:57:56 +05301915 { USB_DEVICE(LONGCHEER_VENDOR_ID, IBALL_3_5G_CONNECT) },
Donny Kurniac9832022009-12-23 19:03:12 +07001916 { USB_DEVICE(HAIER_VENDOR_ID, HAIER_PRODUCT_CE100) },
Dan Williams012eee12014-10-14 11:10:41 -05001917 { USB_DEVICE_AND_INTERFACE_INFO(HAIER_VENDOR_ID, HAIER_PRODUCT_CE81B, 0xff, 0xff, 0xff) },
spark33c38752010-03-05 14:18:05 +08001918 /* Pirelli */
Bjørn Morkdbdf6802012-10-31 06:08:40 +01001919 { USB_DEVICE_INTERFACE_CLASS(PIRELLI_VENDOR_ID, PIRELLI_PRODUCT_C100_1, 0xff) },
1920 { USB_DEVICE_INTERFACE_CLASS(PIRELLI_VENDOR_ID, PIRELLI_PRODUCT_C100_2, 0xff) },
1921 { USB_DEVICE_INTERFACE_CLASS(PIRELLI_VENDOR_ID, PIRELLI_PRODUCT_1004, 0xff) },
1922 { USB_DEVICE_INTERFACE_CLASS(PIRELLI_VENDOR_ID, PIRELLI_PRODUCT_1005, 0xff) },
1923 { USB_DEVICE_INTERFACE_CLASS(PIRELLI_VENDOR_ID, PIRELLI_PRODUCT_1006, 0xff) },
1924 { USB_DEVICE_INTERFACE_CLASS(PIRELLI_VENDOR_ID, PIRELLI_PRODUCT_1007, 0xff) },
1925 { USB_DEVICE_INTERFACE_CLASS(PIRELLI_VENDOR_ID, PIRELLI_PRODUCT_1008, 0xff) },
1926 { USB_DEVICE_INTERFACE_CLASS(PIRELLI_VENDOR_ID, PIRELLI_PRODUCT_1009, 0xff) },
1927 { USB_DEVICE_INTERFACE_CLASS(PIRELLI_VENDOR_ID, PIRELLI_PRODUCT_100A, 0xff) },
1928 { USB_DEVICE_INTERFACE_CLASS(PIRELLI_VENDOR_ID, PIRELLI_PRODUCT_100B, 0xff) },
1929 { USB_DEVICE_INTERFACE_CLASS(PIRELLI_VENDOR_ID, PIRELLI_PRODUCT_100C, 0xff) },
1930 { USB_DEVICE_INTERFACE_CLASS(PIRELLI_VENDOR_ID, PIRELLI_PRODUCT_100D, 0xff) },
1931 { USB_DEVICE_INTERFACE_CLASS(PIRELLI_VENDOR_ID, PIRELLI_PRODUCT_100E, 0xff) },
1932 { USB_DEVICE_INTERFACE_CLASS(PIRELLI_VENDOR_ID, PIRELLI_PRODUCT_100F, 0xff) },
1933 { USB_DEVICE_INTERFACE_CLASS(PIRELLI_VENDOR_ID, PIRELLI_PRODUCT_1011, 0xff) },
1934 { USB_DEVICE_INTERFACE_CLASS(PIRELLI_VENDOR_ID, PIRELLI_PRODUCT_1012, 0xff) },
Nicolaus Colbergaa52b3a2011-01-12 16:30:03 +01001935 /* Cinterion */
1936 { USB_DEVICE(CINTERION_VENDOR_ID, CINTERION_PRODUCT_EU3_E) },
1937 { USB_DEVICE(CINTERION_VENDOR_ID, CINTERION_PRODUCT_EU3_P) },
Aleksander Morgado12df84d2014-02-12 16:04:45 +01001938 { USB_DEVICE(CINTERION_VENDOR_ID, CINTERION_PRODUCT_PH8),
1939 .driver_info = (kernel_ulong_t)&net_intf4_blacklist },
John Ernberg4152b382016-01-25 12:27:17 +00001940 { USB_DEVICE_INTERFACE_CLASS(CINTERION_VENDOR_ID, CINTERION_PRODUCT_AHXX, 0xff) },
Schemmel Hans-Christoph8ff10bd2013-05-06 11:05:12 +02001941 { USB_DEVICE(CINTERION_VENDOR_ID, CINTERION_PRODUCT_PLXX),
1942 .driver_info = (kernel_ulong_t)&net_intf4_blacklist },
Schemmel Hans-Christoph444f94e2016-04-29 08:51:06 +00001943 { USB_DEVICE_INTERFACE_CLASS(CINTERION_VENDOR_ID, CINTERION_PRODUCT_PH8_2RMNET, 0xff),
1944 .driver_info = (kernel_ulong_t)&cinterion_rmnet2_blacklist },
1945 { USB_DEVICE_INTERFACE_CLASS(CINTERION_VENDOR_ID, CINTERION_PRODUCT_PH8_AUDIO, 0xff),
1946 .driver_info = (kernel_ulong_t)&net_intf4_blacklist },
1947 { USB_DEVICE_INTERFACE_CLASS(CINTERION_VENDOR_ID, CINTERION_PRODUCT_AHXX_2RMNET, 0xff) },
1948 { USB_DEVICE_INTERFACE_CLASS(CINTERION_VENDOR_ID, CINTERION_PRODUCT_AHXX_AUDIO, 0xff) },
1949 { USB_DEVICE(CINTERION_VENDOR_ID, CINTERION_PRODUCT_HC28_MDM) },
Nicolaus Colbergaa52b3a2011-01-12 16:30:03 +01001950 { USB_DEVICE(CINTERION_VENDOR_ID, CINTERION_PRODUCT_HC28_MDMNET) },
1951 { USB_DEVICE(SIEMENS_VENDOR_ID, CINTERION_PRODUCT_HC25_MDM) },
1952 { USB_DEVICE(SIEMENS_VENDOR_ID, CINTERION_PRODUCT_HC25_MDMNET) },
1953 { USB_DEVICE(SIEMENS_VENDOR_ID, CINTERION_PRODUCT_HC28_MDM) }, /* HC28 enumerates with Siemens or Cinterion VID depending on FW revision */
1954 { USB_DEVICE(SIEMENS_VENDOR_ID, CINTERION_PRODUCT_HC28_MDMNET) },
Bjørn Morkb0ebef32014-06-06 17:25:56 +02001955 { USB_DEVICE(OLIVETTI_VENDOR_ID, OLIVETTI_PRODUCT_OLICARD100),
1956 .driver_info = (kernel_ulong_t)&net_intf4_blacklist },
1957 { USB_DEVICE(OLIVETTI_VENDOR_ID, OLIVETTI_PRODUCT_OLICARD120),
1958 .driver_info = (kernel_ulong_t)&net_intf4_blacklist },
1959 { USB_DEVICE(OLIVETTI_VENDOR_ID, OLIVETTI_PRODUCT_OLICARD140),
1960 .driver_info = (kernel_ulong_t)&net_intf4_blacklist },
Filippo Turatod19bf5c2013-04-20 15:04:08 +02001961 { USB_DEVICE(OLIVETTI_VENDOR_ID, OLIVETTI_PRODUCT_OLICARD145) },
Bjørn Morkb0ebef32014-06-06 17:25:56 +02001962 { USB_DEVICE(OLIVETTI_VENDOR_ID, OLIVETTI_PRODUCT_OLICARD155),
1963 .driver_info = (kernel_ulong_t)&net_intf6_blacklist },
Enrico Miosofd8573f2013-10-15 15:06:47 +02001964 { USB_DEVICE(OLIVETTI_VENDOR_ID, OLIVETTI_PRODUCT_OLICARD200),
Bjørn Morkb0ebef32014-06-06 17:25:56 +02001965 .driver_info = (kernel_ulong_t)&net_intf6_blacklist },
1966 { USB_DEVICE(OLIVETTI_VENDOR_ID, OLIVETTI_PRODUCT_OLICARD160),
1967 .driver_info = (kernel_ulong_t)&net_intf6_blacklist },
Bjørn Mork533b3992014-04-25 18:49:18 +02001968 { USB_DEVICE(OLIVETTI_VENDOR_ID, OLIVETTI_PRODUCT_OLICARD500),
Bjørn Morkb0ebef32014-06-06 17:25:56 +02001969 .driver_info = (kernel_ulong_t)&net_intf4_blacklist },
Michael Tokarev76078dc2010-08-06 18:49:21 +04001970 { USB_DEVICE(CELOT_VENDOR_ID, CELOT_PRODUCT_CT680M) }, /* CT-650 CDMA 450 1xEVDO modem */
Marius B. Kotsbak15b2f322011-03-21 23:27:21 +01001971 { USB_DEVICE_AND_INTERFACE_INFO(SAMSUNG_VENDOR_ID, SAMSUNG_PRODUCT_GT_B3730, USB_CLASS_CDC_DATA, 0x00, 0x00) }, /* Samsung GT-B3730 LTE USB modem.*/
Gavin.zhuc6eb2d72011-08-22 13:51:53 -07001972 { USB_DEVICE(YUGA_VENDOR_ID, YUGA_PRODUCT_CEM600) },
1973 { USB_DEVICE(YUGA_VENDOR_ID, YUGA_PRODUCT_CEM610) },
1974 { USB_DEVICE(YUGA_VENDOR_ID, YUGA_PRODUCT_CEM500) },
1975 { USB_DEVICE(YUGA_VENDOR_ID, YUGA_PRODUCT_CEM510) },
1976 { USB_DEVICE(YUGA_VENDOR_ID, YUGA_PRODUCT_CEM800) },
1977 { USB_DEVICE(YUGA_VENDOR_ID, YUGA_PRODUCT_CEM900) },
1978 { USB_DEVICE(YUGA_VENDOR_ID, YUGA_PRODUCT_CEU818) },
1979 { USB_DEVICE(YUGA_VENDOR_ID, YUGA_PRODUCT_CEU816) },
1980 { USB_DEVICE(YUGA_VENDOR_ID, YUGA_PRODUCT_CEU828) },
1981 { USB_DEVICE(YUGA_VENDOR_ID, YUGA_PRODUCT_CEU826) },
1982 { USB_DEVICE(YUGA_VENDOR_ID, YUGA_PRODUCT_CEU518) },
1983 { USB_DEVICE(YUGA_VENDOR_ID, YUGA_PRODUCT_CEU516) },
1984 { USB_DEVICE(YUGA_VENDOR_ID, YUGA_PRODUCT_CEU528) },
1985 { USB_DEVICE(YUGA_VENDOR_ID, YUGA_PRODUCT_CEU526) },
1986 { USB_DEVICE(YUGA_VENDOR_ID, YUGA_PRODUCT_CWM600) },
1987 { USB_DEVICE(YUGA_VENDOR_ID, YUGA_PRODUCT_CWM610) },
1988 { USB_DEVICE(YUGA_VENDOR_ID, YUGA_PRODUCT_CWM500) },
1989 { USB_DEVICE(YUGA_VENDOR_ID, YUGA_PRODUCT_CWM510) },
1990 { USB_DEVICE(YUGA_VENDOR_ID, YUGA_PRODUCT_CWM800) },
1991 { USB_DEVICE(YUGA_VENDOR_ID, YUGA_PRODUCT_CWM900) },
1992 { USB_DEVICE(YUGA_VENDOR_ID, YUGA_PRODUCT_CWU718) },
1993 { USB_DEVICE(YUGA_VENDOR_ID, YUGA_PRODUCT_CWU716) },
1994 { USB_DEVICE(YUGA_VENDOR_ID, YUGA_PRODUCT_CWU728) },
1995 { USB_DEVICE(YUGA_VENDOR_ID, YUGA_PRODUCT_CWU726) },
1996 { USB_DEVICE(YUGA_VENDOR_ID, YUGA_PRODUCT_CWU518) },
1997 { USB_DEVICE(YUGA_VENDOR_ID, YUGA_PRODUCT_CWU516) },
1998 { USB_DEVICE(YUGA_VENDOR_ID, YUGA_PRODUCT_CWU528) },
1999 { USB_DEVICE(YUGA_VENDOR_ID, YUGA_PRODUCT_CWU526) },
2000 { USB_DEVICE(YUGA_VENDOR_ID, YUGA_PRODUCT_CLM600) },
2001 { USB_DEVICE(YUGA_VENDOR_ID, YUGA_PRODUCT_CLM610) },
2002 { USB_DEVICE(YUGA_VENDOR_ID, YUGA_PRODUCT_CLM500) },
2003 { USB_DEVICE(YUGA_VENDOR_ID, YUGA_PRODUCT_CLM510) },
2004 { USB_DEVICE(YUGA_VENDOR_ID, YUGA_PRODUCT_CLM800) },
2005 { USB_DEVICE(YUGA_VENDOR_ID, YUGA_PRODUCT_CLM900) },
2006 { USB_DEVICE(YUGA_VENDOR_ID, YUGA_PRODUCT_CLU718) },
2007 { USB_DEVICE(YUGA_VENDOR_ID, YUGA_PRODUCT_CLU716) },
2008 { USB_DEVICE(YUGA_VENDOR_ID, YUGA_PRODUCT_CLU728) },
2009 { USB_DEVICE(YUGA_VENDOR_ID, YUGA_PRODUCT_CLU726) },
2010 { USB_DEVICE(YUGA_VENDOR_ID, YUGA_PRODUCT_CLU518) },
2011 { USB_DEVICE(YUGA_VENDOR_ID, YUGA_PRODUCT_CLU516) },
2012 { USB_DEVICE(YUGA_VENDOR_ID, YUGA_PRODUCT_CLU528) },
2013 { USB_DEVICE(YUGA_VENDOR_ID, YUGA_PRODUCT_CLU526) },
说不得0ef0be12012-05-28 21:31:29 +08002014 { USB_DEVICE(YUGA_VENDOR_ID, YUGA_PRODUCT_CEU881) },
2015 { USB_DEVICE(YUGA_VENDOR_ID, YUGA_PRODUCT_CEU882) },
2016 { USB_DEVICE(YUGA_VENDOR_ID, YUGA_PRODUCT_CWU581) },
2017 { USB_DEVICE(YUGA_VENDOR_ID, YUGA_PRODUCT_CWU582) },
2018 { USB_DEVICE(YUGA_VENDOR_ID, YUGA_PRODUCT_CWU583) },
VU Tuan Duc5b061622011-11-15 14:08:00 +07002019 { USB_DEVICE_AND_INTERFACE_INFO(VIETTEL_VENDOR_ID, VIETTEL_PRODUCT_VT1000, 0xff, 0xff, 0xff) },
Janne Snabb3c8c9312011-12-28 19:36:00 +00002020 { USB_DEVICE_AND_INTERFACE_INFO(ZD_VENDOR_ID, ZD_PRODUCT_7000, 0xff, 0xff, 0xff) },
Kentaro Matsuyamae423d742012-01-12 23:07:51 +09002021 { USB_DEVICE(LG_VENDOR_ID, LG_PRODUCT_L02C) }, /* docomo L-02C modem */
Meng Zhang0d8520a2012-02-27 08:24:19 +01002022 { USB_DEVICE_AND_INTERFACE_INFO(MEDIATEK_VENDOR_ID, 0x00a1, 0xff, 0x00, 0x00) },
2023 { USB_DEVICE_AND_INTERFACE_INFO(MEDIATEK_VENDOR_ID, 0x00a1, 0xff, 0x02, 0x01) },
2024 { USB_DEVICE_AND_INTERFACE_INFO(MEDIATEK_VENDOR_ID, 0x00a2, 0xff, 0x00, 0x00) },
2025 { USB_DEVICE_AND_INTERFACE_INFO(MEDIATEK_VENDOR_ID, 0x00a2, 0xff, 0x02, 0x01) }, /* MediaTek MT6276M modem & app port */
Gaosen Zhangaacef9c2012-07-05 21:49:00 +08002026 { USB_DEVICE_AND_INTERFACE_INFO(MEDIATEK_VENDOR_ID, MEDIATEK_PRODUCT_DC_1COM, 0x0a, 0x00, 0x00) },
2027 { USB_DEVICE_AND_INTERFACE_INFO(MEDIATEK_VENDOR_ID, MEDIATEK_PRODUCT_DC_5COM, 0xff, 0x02, 0x01) },
2028 { USB_DEVICE_AND_INTERFACE_INFO(MEDIATEK_VENDOR_ID, MEDIATEK_PRODUCT_DC_5COM, 0xff, 0x00, 0x00) },
2029 { USB_DEVICE_AND_INTERFACE_INFO(MEDIATEK_VENDOR_ID, MEDIATEK_PRODUCT_DC_4COM, 0xff, 0x02, 0x01) },
2030 { USB_DEVICE_AND_INTERFACE_INFO(MEDIATEK_VENDOR_ID, MEDIATEK_PRODUCT_DC_4COM, 0xff, 0x00, 0x00) },
2031 { USB_DEVICE_AND_INTERFACE_INFO(MEDIATEK_VENDOR_ID, MEDIATEK_PRODUCT_7208_1COM, 0x02, 0x00, 0x00) },
2032 { USB_DEVICE_AND_INTERFACE_INFO(MEDIATEK_VENDOR_ID, MEDIATEK_PRODUCT_7208_2COM, 0x02, 0x02, 0x01) },
2033 { USB_DEVICE_AND_INTERFACE_INFO(MEDIATEK_VENDOR_ID, MEDIATEK_PRODUCT_FP_1COM, 0x0a, 0x00, 0x00) },
2034 { USB_DEVICE_AND_INTERFACE_INFO(MEDIATEK_VENDOR_ID, MEDIATEK_PRODUCT_FP_2COM, 0x0a, 0x00, 0x00) },
2035 { USB_DEVICE_AND_INTERFACE_INFO(MEDIATEK_VENDOR_ID, MEDIATEK_PRODUCT_FPDC_1COM, 0x0a, 0x00, 0x00) },
2036 { USB_DEVICE_AND_INTERFACE_INFO(MEDIATEK_VENDOR_ID, MEDIATEK_PRODUCT_FPDC_2COM, 0x0a, 0x00, 0x00) },
Quentin.Li94a85b62012-12-26 16:58:22 +08002037 { USB_DEVICE_AND_INTERFACE_INFO(MEDIATEK_VENDOR_ID, MEDIATEK_PRODUCT_7103_2COM, 0xff, 0x00, 0x00) },
2038 { USB_DEVICE_AND_INTERFACE_INFO(MEDIATEK_VENDOR_ID, MEDIATEK_PRODUCT_7106_2COM, 0x02, 0x02, 0x01) },
2039 { USB_DEVICE_AND_INTERFACE_INFO(MEDIATEK_VENDOR_ID, MEDIATEK_PRODUCT_DC_4COM2, 0xff, 0x02, 0x01) },
2040 { USB_DEVICE_AND_INTERFACE_INFO(MEDIATEK_VENDOR_ID, MEDIATEK_PRODUCT_DC_4COM2, 0xff, 0x00, 0x00) },
Dmitry Shmygov1e2c4e52012-06-20 15:51:40 +04002041 { USB_DEVICE(CELLIENT_VENDOR_ID, CELLIENT_PRODUCT_MEN200) },
Daniil Bolsunc38e83b2013-07-19 10:21:23 +03002042 { USB_DEVICE(PETATEL_VENDOR_ID, PETATEL_PRODUCT_NP10T_600A) },
2043 { USB_DEVICE(PETATEL_VENDOR_ID, PETATEL_PRODUCT_NP10T_600E) },
Henryk Heisig837ddc42017-09-11 17:57:34 +02002044 { USB_DEVICE_AND_INTERFACE_INFO(TPLINK_VENDOR_ID, TPLINK_PRODUCT_LTE, 0xff, 0x00, 0x00) }, /* TP-Link LTE Module */
Bjørn Mork99beb2e2013-01-15 10:29:49 +01002045 { USB_DEVICE(TPLINK_VENDOR_ID, TPLINK_PRODUCT_MA180),
2046 .driver_info = (kernel_ulong_t)&net_intf4_blacklist },
Bjørn Mork94190302013-06-28 17:15:25 +02002047 { USB_DEVICE(TPLINK_VENDOR_ID, 0x9000), /* TP-Link MA260 */
2048 .driver_info = (kernel_ulong_t)&net_intf4_blacklist },
Bjørn Morkd4fa6812013-02-01 12:06:51 +01002049 { USB_DEVICE(CHANGHONG_VENDOR_ID, CHANGHONG_PRODUCT_CH690) },
Bjørn Morkb5fdde22017-08-29 10:45:13 +02002050 { USB_DEVICE_INTERFACE_CLASS(0x2001, 0x7d01, 0xff) }, /* D-Link DWM-156 (variant) */
2051 { USB_DEVICE_INTERFACE_CLASS(0x2001, 0x7d02, 0xff) },
2052 { USB_DEVICE_INTERFACE_CLASS(0x2001, 0x7d03, 0xff) },
Giuseppe Lippolisd8a12b72016-12-06 21:24:19 +01002053 { USB_DEVICE_INTERFACE_CLASS(0x2001, 0x7d04, 0xff) }, /* D-Link DWM-158 */
Maciej S. Szmigiero169e8652017-08-29 21:50:03 +02002054 { USB_DEVICE_INTERFACE_CLASS(0x2001, 0x7d0e, 0xff) }, /* D-Link DWM-157 C1 */
Bjørn Morkd48d5692016-04-07 12:09:17 +02002055 { USB_DEVICE_INTERFACE_CLASS(0x2001, 0x7e19, 0xff), /* D-Link DWM-221 B1 */
2056 .driver_info = (kernel_ulong_t)&net_intf4_blacklist },
Hector Martinfd1b8662017-08-02 00:45:06 +09002057 { USB_DEVICE_INTERFACE_CLASS(0x2001, 0x7e35, 0xff), /* D-Link DWM-222 */
2058 .driver_info = (kernel_ulong_t)&net_intf4_blacklist },
Alexandr \"Sky\" Ivanovca247632013-07-23 17:46:40 +04002059 { USB_DEVICE_AND_INTERFACE_INFO(0x07d1, 0x3e01, 0xff, 0xff, 0xff) }, /* D-Link DWM-152/C1 */
2060 { USB_DEVICE_AND_INTERFACE_INFO(0x07d1, 0x3e02, 0xff, 0xff, 0xff) }, /* D-Link DWM-156/C1 */
Lubomir Rintelcf1b1802016-07-24 13:53:30 +02002061 { USB_DEVICE_AND_INTERFACE_INFO(0x07d1, 0x7e11, 0xff, 0xff, 0xff) }, /* D-Link DWM-156/A3 */
Claudio Cappellif6d7fb32015-06-10 20:38:30 +02002062 { USB_DEVICE_INTERFACE_CLASS(0x2020, 0x4000, 0xff) }, /* OLICARD300 - MT6225 */
Greg Kroah-Hartmanf4c19b82013-10-05 18:14:18 -07002063 { USB_DEVICE(INOVIA_VENDOR_ID, INOVIA_SEW858) },
Brennan Ashtond7730272014-08-06 08:46:44 -07002064 { USB_DEVICE(VIATELECOM_VENDOR_ID, VIATELECOM_PRODUCT_CDS7) },
Aleksandr Makarov6695593e2016-08-20 13:29:41 +03002065 { USB_DEVICE_AND_INTERFACE_INFO(WETELECOM_VENDOR_ID, WETELECOM_PRODUCT_WMD200, 0xff, 0xff, 0xff) },
Aleksandr Makarov40d9c322016-08-24 13:06:22 +03002066 { USB_DEVICE_AND_INTERFACE_INFO(WETELECOM_VENDOR_ID, WETELECOM_PRODUCT_6802, 0xff, 0xff, 0xff) },
2067 { USB_DEVICE_AND_INTERFACE_INFO(WETELECOM_VENDOR_ID, WETELECOM_PRODUCT_WMD300, 0xff, 0xff, 0xff) },
Bjørn Mork5d03a2f2017-01-24 10:31:18 +01002068 { USB_DEVICE_AND_INTERFACE_INFO(0x03f0, 0x421d, 0xff, 0xff, 0xff) }, /* HP lt2523 (Novatel E371) */
Matthias Urlichs14f76cc2006-06-02 11:48:56 +02002069 { } /* Terminating entry */
2070};
Matthias Urlichs58cfe912005-05-23 17:00:48 -07002071MODULE_DEVICE_TABLE(usb, option_ids);
2072
Uwe Zeisbergerc30fe7f2006-03-24 18:23:14 +01002073/* The card has three separate interfaces, which the serial driver
Matthias Urlichs58cfe912005-05-23 17:00:48 -07002074 * recognizes separately, thus num_port=1.
2075 */
Matthias Urlichs14f76cc2006-06-02 11:48:56 +02002076
2077static struct usb_serial_driver option_1port_device = {
2078 .driver = {
2079 .owner = THIS_MODULE,
Matthias Urlichs02b2ac52006-08-02 16:41:41 -07002080 .name = "option1",
Matthias Urlichs14f76cc2006-06-02 11:48:56 +02002081 },
2082 .description = "GSM modem (1-port)",
Greg Kroah-Hartmanb656b2c2007-02-21 12:53:17 -08002083 .id_table = option_ids,
Matthias Urlichs14f76cc2006-06-02 11:48:56 +02002084 .num_ports = 1,
Pascal Terjanc5be1b52009-04-16 19:00:45 +02002085 .probe = option_probe,
Matthew Garrett8b4c6a32010-04-01 12:31:08 -04002086 .open = usb_wwan_open,
2087 .close = usb_wwan_close,
2088 .dtr_rts = usb_wwan_dtr_rts,
2089 .write = usb_wwan_write,
2090 .write_room = usb_wwan_write_room,
2091 .chars_in_buffer = usb_wwan_chars_in_buffer,
Matthew Garrett8b4c6a32010-04-01 12:31:08 -04002092 .tiocmget = usb_wwan_tiocmget,
2093 .tiocmset = usb_wwan_tiocmset,
Dan Williams02303f72010-11-19 16:04:00 -06002094 .ioctl = usb_wwan_ioctl,
Johan Hovoldc2dd4a82012-10-25 15:42:40 +02002095 .attach = option_attach,
Johan Hovoldb9c3aab2012-05-29 18:22:48 +02002096 .release = option_release,
Johan Hovoldb8f0e8202012-10-25 10:29:16 +02002097 .port_probe = usb_wwan_port_probe,
Bjørn Morka1028f02012-07-27 01:11:41 +02002098 .port_remove = usb_wwan_port_remove,
Matthias Urlichsba460e42005-07-14 00:33:47 -07002099 .read_int_callback = option_instat_callback,
Oliver Neukum5f4fab92009-07-13 23:24:10 +02002100#ifdef CONFIG_PM
Matthew Garrett8b4c6a32010-04-01 12:31:08 -04002101 .suspend = usb_wwan_suspend,
2102 .resume = usb_wwan_resume,
Oliver Neukum5f4fab92009-07-13 23:24:10 +02002103#endif
Matthias Urlichs58cfe912005-05-23 17:00:48 -07002104};
2105
Alan Sternf667dda2012-02-23 14:57:18 -05002106static struct usb_serial_driver * const serial_drivers[] = {
2107 &option_1port_device, NULL
2108};
2109
Greg Kroah-Hartman68e24112012-05-08 15:46:14 -07002110module_usb_serial_driver(serial_drivers, option_ids);
Matthias Urlichs58cfe912005-05-23 17:00:48 -07002111
Dan Williams0d905fd2011-09-13 13:51:13 -05002112static int option_probe(struct usb_serial *serial,
2113 const struct usb_device_id *id)
2114{
Johan Hovold378fac22012-05-30 12:25:00 +02002115 struct usb_interface_descriptor *iface_desc =
2116 &serial->interface->cur_altsetting->desc;
2117 struct usb_device_descriptor *dev_desc = &serial->dev->descriptor;
Johan Hovold46dc0fc2015-01-04 18:45:37 +01002118 const struct option_blacklist_info *blacklist;
Dan Williams0d905fd2011-09-13 13:51:13 -05002119
Bjørn Mork1b95bee2012-10-31 06:08:38 +01002120 /* Never bind to the CD-Rom emulation interface */
2121 if (iface_desc->bInterfaceClass == 0x08)
Dan Williams0d905fd2011-09-13 13:51:13 -05002122 return -ENODEV;
2123
Johan Hovold378fac22012-05-30 12:25:00 +02002124 /*
2125 * Don't bind reserved interfaces (like network ones) which often have
Dan Williams0d905fd2011-09-13 13:51:13 -05002126 * the same class/subclass/protocol as the serial interfaces. Look at
2127 * the Windows driver .INF files for reserved interface numbers.
2128 */
Johan Hovold46dc0fc2015-01-04 18:45:37 +01002129 blacklist = (void *)id->driver_info;
2130 if (blacklist && test_bit(iface_desc->bInterfaceNumber,
2131 &blacklist->reserved))
Bjørn Mork963940c2012-03-16 12:56:44 +01002132 return -ENODEV;
Johan Hovold378fac22012-05-30 12:25:00 +02002133 /*
2134 * Don't bind network interface on Samsung GT-B3730, it is handled by
2135 * a separate module.
2136 */
Bjørn Mork7c83b442012-10-31 06:08:41 +01002137 if (dev_desc->idVendor == cpu_to_le16(SAMSUNG_VENDOR_ID) &&
2138 dev_desc->idProduct == cpu_to_le16(SAMSUNG_PRODUCT_GT_B3730) &&
2139 iface_desc->bInterfaceClass != USB_CLASS_CDC_DATA)
Dan Williams0d905fd2011-09-13 13:51:13 -05002140 return -ENODEV;
2141
Johan Hovold46dc0fc2015-01-04 18:45:37 +01002142 /* Store the blacklist info so we can use it during attach. */
2143 usb_set_serial_data(serial, (void *)blacklist);
Johan Hovoldc2dd4a82012-10-25 15:42:40 +02002144
2145 return 0;
2146}
2147
2148static int option_attach(struct usb_serial *serial)
2149{
2150 struct usb_interface_descriptor *iface_desc;
Johan Hovold46dc0fc2015-01-04 18:45:37 +01002151 const struct option_blacklist_info *blacklist;
Johan Hovoldc2dd4a82012-10-25 15:42:40 +02002152 struct usb_wwan_intf_private *data;
Johan Hovoldc2dd4a82012-10-25 15:42:40 +02002153
Johan Hovolda2764002012-05-30 12:24:59 +02002154 data = kzalloc(sizeof(struct usb_wwan_intf_private), GFP_KERNEL);
Dan Williams0d905fd2011-09-13 13:51:13 -05002155 if (!data)
2156 return -ENOMEM;
Johan Hovolde463c6d2012-05-30 12:25:01 +02002157
Johan Hovold46dc0fc2015-01-04 18:45:37 +01002158 /* Retrieve blacklist info stored at probe. */
2159 blacklist = usb_get_serial_data(serial);
2160
Johan Hovoldc2dd4a82012-10-25 15:42:40 +02002161 iface_desc = &serial->interface->cur_altsetting->desc;
2162
Johan Hovold46dc0fc2015-01-04 18:45:37 +01002163 if (!blacklist || !test_bit(iface_desc->bInterfaceNumber,
2164 &blacklist->sendsetup)) {
David Ward669e7292015-09-16 12:27:57 -04002165 data->use_send_setup = 1;
Johan Hovolde463c6d2012-05-30 12:25:01 +02002166 }
Dan Williams0d905fd2011-09-13 13:51:13 -05002167 spin_lock_init(&data->susp_lock);
Johan Hovolda2764002012-05-30 12:24:59 +02002168
2169 usb_set_serial_data(serial, data);
2170
Dan Williams0d905fd2011-09-13 13:51:13 -05002171 return 0;
2172}
2173
Johan Hovoldb9c3aab2012-05-29 18:22:48 +02002174static void option_release(struct usb_serial *serial)
2175{
Johan Hovolde463c6d2012-05-30 12:25:01 +02002176 struct usb_wwan_intf_private *intfdata = usb_get_serial_data(serial);
Johan Hovoldb9c3aab2012-05-29 18:22:48 +02002177
Johan Hovolde463c6d2012-05-30 12:25:01 +02002178 kfree(intfdata);
Johan Hovoldb9c3aab2012-05-29 18:22:48 +02002179}
2180
David Howells7d12e782006-10-05 14:55:46 +01002181static void option_instat_callback(struct urb *urb)
Matthias Urlichs58cfe912005-05-23 17:00:48 -07002182{
2183 int err;
Greg Kroah-Hartmand6977b52007-06-15 15:44:13 -07002184 int status = urb->status;
Greg Kroah-Hartman0e006092012-09-13 17:18:19 -07002185 struct usb_serial_port *port = urb->context;
2186 struct device *dev = &port->dev;
Johan Hovold4273f982012-05-29 17:57:52 +02002187 struct usb_wwan_port_private *portdata =
2188 usb_get_serial_port_data(port);
Matthias Urlichs58cfe912005-05-23 17:00:48 -07002189
Greg Kroah-Hartman0e006092012-09-13 17:18:19 -07002190 dev_dbg(dev, "%s: urb %p port %p has data %p\n", __func__, urb, port, portdata);
Matthias Urlichs58cfe912005-05-23 17:00:48 -07002191
Greg Kroah-Hartmand6977b52007-06-15 15:44:13 -07002192 if (status == 0) {
Matthias Urlichs58cfe912005-05-23 17:00:48 -07002193 struct usb_ctrlrequest *req_pkt =
2194 (struct usb_ctrlrequest *)urb->transfer_buffer;
2195
2196 if (!req_pkt) {
Greg Kroah-Hartman0e006092012-09-13 17:18:19 -07002197 dev_dbg(dev, "%s: NULL req_pkt\n", __func__);
Matthias Urlichs58cfe912005-05-23 17:00:48 -07002198 return;
2199 }
Andrew Morton7bb75ae2005-07-27 01:08:30 -07002200 if ((req_pkt->bRequestType == 0xA1) &&
2201 (req_pkt->bRequest == 0x20)) {
Matthias Urlichs58cfe912005-05-23 17:00:48 -07002202 int old_dcd_state;
2203 unsigned char signals = *((unsigned char *)
Andrew Morton7bb75ae2005-07-27 01:08:30 -07002204 urb->transfer_buffer +
2205 sizeof(struct usb_ctrlrequest));
Matthias Urlichs58cfe912005-05-23 17:00:48 -07002206
Greg Kroah-Hartman0e006092012-09-13 17:18:19 -07002207 dev_dbg(dev, "%s: signal x%x\n", __func__, signals);
Matthias Urlichs58cfe912005-05-23 17:00:48 -07002208
2209 old_dcd_state = portdata->dcd_state;
2210 portdata->cts_state = 1;
2211 portdata->dcd_state = ((signals & 0x01) ? 1 : 0);
2212 portdata->dsr_state = ((signals & 0x02) ? 1 : 0);
2213 portdata->ri_state = ((signals & 0x08) ? 1 : 0);
2214
Jiri Slabyaa27a092013-03-07 13:12:30 +01002215 if (old_dcd_state && !portdata->dcd_state)
2216 tty_port_tty_hangup(&port->port, true);
Andrew Morton7bb75ae2005-07-27 01:08:30 -07002217 } else {
Greg Kroah-Hartman0e006092012-09-13 17:18:19 -07002218 dev_dbg(dev, "%s: type %x req %x\n", __func__,
Alan Cox19e58fa2008-07-22 11:15:45 +01002219 req_pkt->bRequestType, req_pkt->bRequest);
Andrew Morton7bb75ae2005-07-27 01:08:30 -07002220 }
Johan Hovoldf0e4cba2014-07-29 14:14:55 +02002221 } else if (status == -ENOENT || status == -ESHUTDOWN) {
2222 dev_dbg(dev, "%s: urb stopped: %d\n", __func__, status);
Matthias Urlichs58cfe912005-05-23 17:00:48 -07002223 } else
Johan Hovold9257f1d2015-08-17 17:35:23 +02002224 dev_dbg(dev, "%s: error %d\n", __func__, status);
Matthias Urlichs58cfe912005-05-23 17:00:48 -07002225
2226 /* Resubmit urb so we continue receiving IRQ data */
Oliver Neukum4901b2c2009-01-27 17:21:40 +01002227 if (status != -ESHUTDOWN && status != -ENOENT) {
Johan Hovold496969c2014-05-26 19:23:12 +02002228 usb_mark_last_busy(port->serial->dev);
Matthias Urlichs58cfe912005-05-23 17:00:48 -07002229 err = usb_submit_urb(urb, GFP_ATOMIC);
2230 if (err)
Greg Kroah-Hartman0e006092012-09-13 17:18:19 -07002231 dev_dbg(dev, "%s: resubmit intr urb failed. (%d)\n",
Harvey Harrison441b62c2008-03-03 16:08:34 -08002232 __func__, err);
Matthias Urlichs58cfe912005-05-23 17:00:48 -07002233 }
2234}
2235
Matthias Urlichs58cfe912005-05-23 17:00:48 -07002236MODULE_AUTHOR(DRIVER_AUTHOR);
2237MODULE_DESCRIPTION(DRIVER_DESC);
Johan Hovold627cfa82017-11-03 18:12:08 +01002238MODULE_LICENSE("GPL v2");