From: Piotr Haber <gluedig@gmail.com>
To: ofono@ofono.org
Subject: [PATCH] atmodem: add LTE to Telit #PSNT parser
Date: Tue, 24 Jan 2017 14:58:11 +0100 [thread overview]
Message-ID: <c1435e38-d1f4-e8fb-ee5d-a3b067a7a536@gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 551 bytes --]
Network type of 4 in Telit #PSNT command response
denotes LTE network.
---
drivers/atmodem/gprs.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/atmodem/gprs.c b/drivers/atmodem/gprs.c
index 5724f861..7ea9f005 100644
--- a/drivers/atmodem/gprs.c
+++ b/drivers/atmodem/gprs.c
@@ -323,6 +323,9 @@ static void telit_mode_notify(GAtResult *result,
gpointer user_data)
case 3:
bearer = 5; /* HSDPA */
break;
+ case 4:
+ bearer = 7; /* LTE */
+ break;
default:
bearer = 0;
break;
--
2.11.0
next reply other threads:[~2017-01-24 13:58 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-01-24 13:58 Piotr Haber [this message]
2017-01-24 18:33 ` [PATCH] atmodem: add LTE to Telit #PSNT parser Denis Kenzior
2017-01-25 9:23 ` [PATCH] atmodem: add LTE to Telit #PSNT status parser Piotr Haber
2017-01-25 16:01 ` Denis Kenzior
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=c1435e38-d1f4-e8fb-ee5d-a3b067a7a536@gmail.com \
--to=gluedig@gmail.com \
--cc=ofono@ofono.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox