* [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
* Re: [PATCH] atmodem: add LTE to Telit #PSNT parser
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
0 siblings, 1 reply; 4+ messages in thread
From: Denis Kenzior @ 2017-01-24 18:33 UTC (permalink / raw)
To: ofono
[-- Attachment #1: Type: text/plain, Size: 720 bytes --]
Hi Piotr,
On 01/24/2017 07:58 AM, Piotr Haber wrote:
> Network type of 4 in Telit #PSNT command response
> denotes LTE network.
> ---
> drivers/atmodem/gprs.c | 3 +++
> 1 file changed, 3 insertions(+)
>
Looks fine, but doesn't apply:
Applying: atmodem: add LTE to Telit #PSNT parser
fatal: corrupt patch at line 10
Patch failed at 0001 atmodem: add LTE to Telit #PSNT parser
The copy of the patch that failed is found in: .git/rebase-apply/patch
When you have resolved this problem, run "git am --continue".
If you prefer to skip this patch, run "git am --skip" instead.
To restore the original branch and stop patching, run "git am --abort".
Are you using git send-email?
Regards,
-Denis
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH] atmodem: add LTE to Telit #PSNT status parser
2017-01-24 18:33 ` Denis Kenzior
@ 2017-01-25 9:23 ` Piotr Haber
2017-01-25 16:01 ` Denis Kenzior
0 siblings, 1 reply; 4+ messages in thread
From: Piotr Haber @ 2017-01-25 9:23 UTC (permalink / raw)
To: ofono
[-- Attachment #1: Type: text/plain, Size: 549 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
* Re: [PATCH] atmodem: add LTE to Telit #PSNT status parser
2017-01-25 9:23 ` [PATCH] atmodem: add LTE to Telit #PSNT status parser Piotr Haber
@ 2017-01-25 16:01 ` Denis Kenzior
0 siblings, 0 replies; 4+ messages in thread
From: Denis Kenzior @ 2017-01-25 16:01 UTC (permalink / raw)
To: ofono
[-- Attachment #1: Type: text/plain, Size: 256 bytes --]
Hi Piotr,
On 01/25/2017 03:23 AM, Piotr Haber wrote:
> Network type of 4 in Telit #PSNT command response
> denotes LTE network
> ---
> drivers/atmodem/gprs.c | 3 +++
> 1 file changed, 3 insertions(+)
>
Applied, thanks.
Regards,
-Denis
^ permalink raw reply [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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.