diff options
author | Denis Kenzior <denkenz@gmail.com> | 2010-03-25 10:29:01 -0500 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2010-03-25 10:29:01 -0500 |
commit | 1e783b33d94e88c4f53e96609cbd4bca0c5e396c (patch) | |
tree | eb91b70c3e4f4ccc6d3793dc3c80cfe356d208b0 /src/common.c | |
parent | 9390dbaf31f2bd61ff566eeaac6644dce1fd13b4 (diff) | |
download | ofono-1e783b33d94e88c4f53e96609cbd4bca0c5e396c.tar.bz2 |
Refactor: Simplify Technology values
Applications don't really understand our current values very well and
would need to look up the spec. Instead we change to much more commonly
accepted terms.
Diffstat (limited to 'src/common.c')
-rw-r--r-- | src/common.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/common.c b/src/common.c index b58d9bee..d3a57ece 100644 --- a/src/common.c +++ b/src/common.c @@ -641,21 +641,21 @@ const char *registration_tech_to_string(int tech) { switch (tech) { case ACCESS_TECHNOLOGY_GSM: - return "GSM"; + return "gsm"; case ACCESS_TECHNOLOGY_GSM_COMPACT: - return "GSMCompact"; + return "gsm"; case ACCESS_TECHNOLOGY_UTRAN: - return "UTRAN"; + return "umts"; case ACCESS_TECHNOLOGY_GSM_EGPRS: - return "GSM+EGPRS"; + return "edge"; case ACCESS_TECHNOLOGY_UTRAN_HSDPA: - return "UTRAN+HSDPA"; + return "hspa"; case ACCESS_TECHNOLOGY_UTRAN_HSUPA: - return "UTRAN+HSUPA"; + return "hspa"; case ACCESS_TECHNOLOGY_UTRAN_HSDPA_HSUPA: - return "UTRAN+HSDPA+HSUPA"; + return "hspa"; case ACCESS_TECHNOLOGY_EUTRAN: - return "EUTRAN"; + return "lte"; default: return ""; } |