Open Source Telephony
 help / color / mirror / Atom feed
* [PATCH] atmodem: add LTE to Telit #PSNT parser
@ 2017-01-24 13:58 Piotr Haber
  2017-01-24 18:33 ` Denis Kenzior
  0 siblings, 1 reply; 4+ messages in thread
From: Piotr Haber @ 2017-01-24 13:58 UTC (permalink / raw)
  To: ofono

[-- 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


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-01-25 16:01 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-01-24 13:58 [PATCH] atmodem: add LTE to Telit #PSNT parser Piotr Haber
2017-01-24 18:33 ` 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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox