Differentiate HSPA technologies
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
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
@@ -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
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
@@ -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
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
@@ -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
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
@@ -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