Skip to contentSkip to conversation

atmodem: add LTE to Telit #PSNT parser

PATCH In review Piotr Haber 2 participants 4 messages Jan 24, 2017 – Jan 25, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 atmodem: add LTE to Telit #PSNT parser

Network type of 4 in Telit #PSNT command response
denotes LTE network.

---
 drivers/atmodem/gprs.c | 3 +++
 1 file changed, 3 insertions(+)
drivers/atmodem/gprs.c +0 -0
index 5724f861..7ea9f005 100644
@@ -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;

Signature · 1 line
2.11.0
#1 lore raw

Hi Piotr,

Quoted 6 lines · Piotr Haber

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

#2 lore raw

PATCH 1/1 atmodem: add LTE to Telit #PSNT status parser

Network type of 4 in Telit #PSNT command response
denotes LTE network

---
 drivers/atmodem/gprs.c | 3 +++
 1 file changed, 3 insertions(+)
drivers/atmodem/gprs.c +3 -0
index 5724f861..7ea9f005 100644
@@ -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;
Signature · 1 line
2.11.0
#3 lore raw

Re: [PATCH] atmodem: add LTE to Telit #PSNT status parser

Hi Piotr,

Quoted 6 lines · Piotr Haber

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