Add support for ZTE MF190 (Tata Docomo) dongle.

BUG=chromium:326456
TEST=Tested the following:
1. Build and run unit tests.
2. Verify that mist successfully switches the Tata Docomo ZTE MF190
   dongle from the mass storage mode to the modem mode.

Change-Id: If1fe55821af8a52836f1f5ad92ce05643107a68f
Reviewed-on: https://chromium-review.googlesource.com/179250
Reviewed-by: Ben Chan <benchan@chromium.org>
Commit-Queue: Ben Chan <benchan@chromium.org>
Tested-by: Ben Chan <benchan@chromium.org>
diff --git a/51-mist.rules b/51-mist.rules
index ffcec89..3929c15 100644
--- a/51-mist.rules
+++ b/51-mist.rules
@@ -23,9 +23,10 @@
 ATTRS{idVendor}=="12d1", ATTRS{idProduct}=="1505", GOTO="mist_switch_device"
 ATTRS{idVendor}=="12d1", ATTRS{idProduct}=="1526", GOTO="mist_switch_device"
 ATTRS{idVendor}=="12d1", ATTRS{idProduct}=="1f01", GOTO="mist_switch_device"
-ATTRS{idVendor}=="19d2", ATTRS{idProduct}=="0101", GOTO="mist_switch_device"
 ATTRS{idVendor}=="19d2", ATTRS{idProduct}=="0013", GOTO="mist_switch_device"
 ATTRS{idVendor}=="19d2", ATTRS{idProduct}=="0040", GOTO="mist_switch_device"
+ATTRS{idVendor}=="19d2", ATTRS{idProduct}=="0101", GOTO="mist_switch_device"
+ATTRS{idVendor}=="19d2", ATTRS{idProduct}=="0154", GOTO="mist_switch_device"
 ATTRS{idVendor}=="19d2", ATTRS{idProduct}=="1007", GOTO="mist_switch_device"
 ATTRS{idVendor}=="19d2", ATTRS{idProduct}=="1009", GOTO="mist_switch_device"
 ATTRS{idVendor}=="19d2", ATTRS{idProduct}=="1171", GOTO="mist_switch_device"
@@ -57,14 +58,17 @@
 ATTRS{idVendor}=="12d1", ATTRS{idProduct}=="1511", GOTO="mist_mark_device"
 ATTRS{idVendor}=="12d1", ATTRS{idProduct}=="1c1e", GOTO="mist_mark_device"
 ATTRS{idVendor}=="19d2", ATTRS{idProduct}=="0015", GOTO="mist_mark_device"
+ATTRS{idVendor}=="19d2", ATTRS{idProduct}=="0017", GOTO="mist_mark_device"
 ATTRS{idVendor}=="19d2", ATTRS{idProduct}=="0022", GOTO="mist_mark_device"
 ATTRS{idVendor}=="19d2", ATTRS{idProduct}=="0104", GOTO="mist_mark_device"
+ATTRS{idVendor}=="19d2", ATTRS{idProduct}=="0117", GOTO="mist_mark_device"
 ATTRS{idVendor}=="19d2", ATTRS{idProduct}=="1008", GOTO="mist_mark_device"
 ATTRS{idVendor}=="19d2", ATTRS{idProduct}=="1010", GOTO="mist_mark_device"
 ATTRS{idVendor}=="19d2", ATTRS{idProduct}=="1173", GOTO="mist_mark_device"
 ATTRS{idVendor}=="19d2", ATTRS{idProduct}=="1177", GOTO="mist_mark_device"
 ATTRS{idVendor}=="19d2", ATTRS{idProduct}=="1181", GOTO="mist_mark_device"
 ATTRS{idVendor}=="19d2", ATTRS{idProduct}=="1203", GOTO="mist_mark_device"
+ATTRS{idVendor}=="19d2", ATTRS{idProduct}=="1254", GOTO="mist_mark_device"
 ATTRS{idVendor}=="19d2", ATTRS{idProduct}=="1525", GOTO="mist_mark_device"
 ATTRS{idVendor}=="19d2", ATTRS{idProduct}=="2003", GOTO="mist_mark_device"
 ATTRS{idVendor}=="19d2", ATTRS{idProduct}=="ffe9", GOTO="mist_mark_device"
diff --git a/default.conf b/default.conf
index f613823..c5b7410 100644
--- a/default.conf
+++ b/default.conf
@@ -69,6 +69,17 @@
   usb_message: "5553424312345678000000000000061b000000030000000000000000000000"
 }
 
+# ZTE MF190 (Tata Docomo)
+usb_modem_info {
+  initial_usb_id { vendor_id: 0x19d2 product_id: 0x0154 }
+  final_usb_id { vendor_id: 0x19d2 product_id: 0x0017 }
+  final_usb_id { vendor_id: 0x19d2 product_id: 0x0117 }
+  final_usb_id { vendor_id: 0x19d2 product_id: 0x1254 }
+  usb_message: "5553424312345678000000000000061e000000000000000000000000000000"
+  usb_message: "5553424312345679000000000000061b000000020000000000000000000000"
+  expect_response: true
+}
+
 # ZTE K3570-Z
 usb_modem_info {
   initial_usb_id { vendor_id: 0x19d2 product_id: 0x1007 }