aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFanice Luo <1494617953@qq.com>2022-07-01 11:21:44 +0800
committerAleksander Morgado <aleksander@aleksander.es>2022-07-12 09:00:11 +0000
commitf2a3d836db75a7538dc802b837d0cb9f41bb8966 (patch)
tree47cb35916e3abd1aeedeedb4204a0a9bf077ebbb
parentbbf1b272e6b894a5e7629ed3350869f4e917afc6 (diff)
dell: Add DW5829e(T77W968) modules
add new device(0x413c:0x81e4 0x413c:0x81e6)
-rw-r--r--plugins/dell/mm-plugin-dell.c6
-rw-r--r--plugins/foxconn/mm-broadband-modem-mbim-foxconn.c4
2 files changed, 5 insertions, 5 deletions
diff --git a/plugins/dell/mm-plugin-dell.c b/plugins/dell/mm-plugin-dell.c
index 5d2a38ee..63d8b4da 100644
--- a/plugins/dell/mm-plugin-dell.c
+++ b/plugins/dell/mm-plugin-dell.c
@@ -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),
diff --git a/plugins/foxconn/mm-broadband-modem-mbim-foxconn.c b/plugins/foxconn/mm-broadband-modem-mbim-foxconn.c
index d89d733f..cfc0237d 100644
--- a/plugins/foxconn/mm-broadband-modem-mbim-foxconn.c
+++ b/plugins/foxconn/mm-broadband-modem-mbim-foxconn.c
@@ -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,