Skip to contentSkip to conversation

Differentiate HSPA technologies

RFC PATCH New Rémi Denis-Courmont 2 participants 5 messages Nov 15, 2010 – Nov 16, 2010

lore
Share & tools
lore
#0 lore raw

cover Differentiate HSPA technologies

Hello,

In some use cases, I need to be able to list the active and available technologies. This patch set splits the three HSPA modes to enable which this requires.

Rémi Denis-Courmont (2):
Distinguish HSDPA, HSUPA or both as access technologies Update the network documentation

 doc/network-api.txt |    5 +++--
 src/common.c        |    4 ++--
 2 files changed, 5 insertions(+), 4 deletions(-)
Signature · 3 lines
Rémi Denis-Courmont
http://www.remlab.net
http://fi.linkedin.com/in/remidenis
#1 lore raw

PATCH 1/2 Distinguish HSDPA, HSUPA or both as access technologies

---
 src/common.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
src/common.c +2 -2
index b5b9a6f..22bf1c2 100644
@@ -661,9 +661,9 @@ const char *registration_tech_to_string(int tech)
 	case ACCESS_TECHNOLOGY_GSM_EGPRS:
 		return "edge";
 	case ACCESS_TECHNOLOGY_UTRAN_HSDPA:
-		return "hspa";
+		return "hsdpa";
 	case ACCESS_TECHNOLOGY_UTRAN_HSUPA:
-		return "hspa";
+		return "hsupa";
 	case ACCESS_TECHNOLOGY_UTRAN_HSDPA_HSUPA:
 		return "hspa";
 	case ACCESS_TECHNOLOGY_EUTRAN:
Signature · 1 line
1.7.1
#2 lore raw

PATCH 1/2 Distinguish HSDPA, HSUPA or both as access technologies

In reply to Rémi Denis-Courmont
---
 src/common.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
src/common.c +2 -2
index b5b9a6f..22bf1c2 100644
@@ -661,9 +661,9 @@ const char *registration_tech_to_string(int tech)
 	case ACCESS_TECHNOLOGY_GSM_EGPRS:
 		return "edge";
 	case ACCESS_TECHNOLOGY_UTRAN_HSDPA:
-		return "hspa";
+		return "hsdpa";
 	case ACCESS_TECHNOLOGY_UTRAN_HSUPA:
-		return "hspa";
+		return "hsupa";
 	case ACCESS_TECHNOLOGY_UTRAN_HSDPA_HSUPA:
 		return "hspa";
 	case ACCESS_TECHNOLOGY_EUTRAN:
Signature · 1 line
1.7.1
#3 lore raw

PATCH 2/2 Update the network documentation

In reply to Rémi Denis-Courmont
---
 doc/network-api.txt |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)
doc/network-api.txt +3 -2
index 083e918..9fb9974 100644
@@ -125,8 +125,9 @@ Properties	string Mode [readonly]
 
 			Contains the technology of the current network.
 
-			The possible values are: "gsm", "edge", "umts", "hspa",
-							"lte"
+			The possible values are: "gsm", "edge", "umts",
+			"hsdpa", "hsupa", "hspa" (meaning both hsdpa and hsupa)
+			and "lte"
 
 			TODO: Values for CDMA and EVDO based networks.
 
Signature · 1 line
1.7.1
#4 lore raw

PATCH 2/2 Update the network documentation

In reply to Rémi Denis-Courmont
---
 doc/network-api.txt |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)
doc/network-api.txt +3 -2
index 083e918..9fb9974 100644
@@ -125,8 +125,9 @@ Properties	string Mode [readonly]
 
 			Contains the technology of the current network.
 
-			The possible values are: "gsm", "edge", "umts", "hspa",
-							"lte"
+			The possible values are: "gsm", "edge", "umts",
+			"hsdpa", "hsupa", "hspa" (meaning both hsdpa and hsupa)
+			and "lte"
 
 			TODO: Values for CDMA and EVDO based networks.
 
Signature · 1 line
1.7.1