Skip to contentSkip to conversation

gprs: allow attach on eutran networks

PATCH Applied Sean Nyekjaer 2 participants 2 messages Oct 3, 2024 – Oct 7, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 gprs: allow attach on eutran networks

SIMCom A7672E-FASE shows attached on LTE with +CREG <stat> either
6 registered for "SMS only", home network (applicable only when E-UTRAN) 7 registered for "SMS only", roaming (applicable only when <AcT> indicates E-UTRAN) +COPS supplies the <AcT> = EUTRAN

---
 src/gprs.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
src/gprs.c +4 -2
index 97d6f382..46668820 100644
@@ -1731,10 +1731,12 @@ static void gprs_netreg_update(struct ofono_gprs *gprs)
 	if (gprs->netreg_status < 0)
 		return;
 
-	attach = gprs->netreg_status == NETWORK_REGISTRATION_STATUS_REGISTERED;
+	attach = (gprs->netreg_status == NETWORK_REGISTRATION_STATUS_REGISTERED) ||
+		(gprs->netreg_status == NETWORK_REGISTRATION_STATUS_REGISTERED_SMS_EUTRAN);
 
 	attach = attach || (gprs->roaming_allowed &&
-		gprs->netreg_status == NETWORK_REGISTRATION_STATUS_ROAMING);
+		((gprs->netreg_status == NETWORK_REGISTRATION_STATUS_ROAMING) ||
+		(gprs->netreg_status == NETWORK_REGISTRATION_STATUS_ROAMING_SMS_EUTRAN)));
 
 	attach = attach && gprs->powered;
 
Signature · 1 line
2.46.2
#1 lore raw
This patch was applied to ofono.git (master) by Denis Kenzior <[email protected]>:

Hello:

This patch was applied to ofono.git (master)
by Denis Kenzior <[email protected]>:

Quoted 7 lines · On Thu, 3 Oct 2024 14:47:34 +0200 you wrote:

SIMCom A7672E-FASE shows attached on LTE with +CREG <stat> either
6 registered for "SMS only", home network (applicable only when E-UTRAN) 7 registered for "SMS only", roaming (applicable only when <AcT> indicates E-UTRAN) +COPS supplies the <AcT> = EUTRAN

---
 src/gprs.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

Here is the summary with links:
- gprs: allow attach on eutran networks

    https://git.kernel.org/pub/scm/network/ofono/ofono.git/?id=8a61a0c44110

You are awesome, thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html