dell: Add DW5829e(T77W968) modules
add new device(0x413c:0x81e4 0x413c:0x81e6)
This commit is contained in:

committed by
Aleksander Morgado

parent
bbf1b272e6
commit
f2a3d836db
@@ -394,9 +394,9 @@ create_modem (MMPlugin *self,
|
||||
|
||||
#if defined WITH_MBIM
|
||||
if (mm_port_probe_list_has_mbim_port (probes)) {
|
||||
/* Specific implementation for the DW5821e */
|
||||
if (vendor == 0x413c && (product == 0x81d7 || product == 0x81e0)) {
|
||||
mm_obj_dbg (self, "MBIM-powered DW5821e (T77W968) modem found...");
|
||||
/* Specific implementation for the DW5821e and DW5829e */
|
||||
if (vendor == 0x413c && (product == 0x81d7 || product == 0x81e0 || product == 0x81e4 || product == 0x81e6)) {
|
||||
mm_obj_dbg (self, "MBIM-powered DW5821e/DW5829e (T77W968) modem found...");
|
||||
return MM_BASE_MODEM (mm_broadband_modem_mbim_foxconn_new (uid,
|
||||
drivers,
|
||||
mm_plugin_get_name (self),
|
||||
|
@@ -502,9 +502,9 @@ mm_broadband_modem_mbim_foxconn_new (const gchar *device,
|
||||
{
|
||||
const gchar *carrier_config_mapping = NULL;
|
||||
|
||||
/* T77W968 (DW5821e is also T77W968) modules use t77w968 carrier mapping table. */
|
||||
/* T77W968 (DW5821e/DW5829e is also T77W968) modules use t77w968 carrier mapping table. */
|
||||
if ((vendor_id == 0x0489 && (product_id == 0xe0b4 || product_id == 0xe0b5)) ||
|
||||
(vendor_id == 0x413c && (product_id == 0x81d7 || product_id == 0x81e0)))
|
||||
(vendor_id == 0x413c && (product_id == 0x81d7 || product_id == 0x81e0 || product_id == 0x81e4 || product_id == 0x81e6)))
|
||||
carrier_config_mapping = PKGDATADIR "/mm-foxconn-t77w968-carrier-mapping.conf";
|
||||
|
||||
return g_object_new (MM_TYPE_BROADBAND_MODEM_MBIM_FOXCONN,
|
||||
|
Reference in New Issue
Block a user