summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorSergey Matyukevich <geomatsi@gmail.com>2020-06-27 14:08:38 +0300
committerDenis Kenzior <denkenz@gmail.com>2020-06-29 10:20:01 -0500
commit2807a5fe55a7a6e5065e6165770c9f9a3cef055d (patch)
treecd0debe620adffc13fe57e4d130308443965bba6 /plugins
parent28d4be1af24f56446580c9de759112889afe8610 (diff)
downloadofono-2807a5fe55a7a6e5065e6165770c9f9a3cef055d.tar.gz
plugins: gemalto: enable LTE for ELS81x
Enable LTE atom for Cinterion ELS81x modems.
Diffstat (limited to 'plugins')
-rw-r--r--plugins/gemalto.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/plugins/gemalto.c b/plugins/gemalto.c
index 297aaea3..13950742 100644
--- a/plugins/gemalto.c
+++ b/plugins/gemalto.c
@@ -58,6 +58,8 @@
#define GEMALTO_MODEL_PHS8P "0053"
/* ALS3, PLS8-E, and PLS8-X family */
#define GEMALTO_MODEL_ALS3_PLS8x "0061"
+/* ELS81 modem */
+#define GEMALTO_MODEL_ELS81x "005b"
static const char *none_prefix[] = { NULL };
static const char *sctm_prefix[] = { "^SCTM:", NULL };
@@ -601,7 +603,8 @@ static void gemalto_post_sim(struct ofono_modem *modem)
ofono_ussd_create(modem, 0, "atmodem", data->app);
- if (!g_strcmp0(model, GEMALTO_MODEL_ALS3_PLS8x))
+ if (!g_strcmp0(model, GEMALTO_MODEL_ALS3_PLS8x) ||
+ !g_strcmp0(model, GEMALTO_MODEL_ELS81x))
ofono_lte_create(modem, OFONO_VENDOR_GEMALTO,
"atmodem", data->app);
}