From: =?unknown-8bit?q?Beno=C3=AEt?= Monin <benoit.monin@gmx.fr>
To: ofono@ofono.org
Subject: Re: [PATCH] common : bring back some details about technology
Date: Fri, 22 Oct 2010 16:01:08 +0200 [thread overview]
Message-ID: <20101022142530.178840@gmx.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 2069 bytes --]
Hi Aki,
> De : Aki Niemi
>
> Hi,
>
> 2010/10/21 "Benoît Monin" <benoit.monin@gmx.fr>:
> > diff --git a/src/common.c b/src/common.c
> > index b5b9a6f..d571d81 100644
> > --- a/src/common.c
> > +++ b/src/common.c
> > @@ -655,15 +655,15 @@ const char *registration_tech_to_string(int tech)
> > case ACCESS_TECHNOLOGY_GSM:
> > return "gsm";
> > case ACCESS_TECHNOLOGY_GSM_COMPACT:
> > - return "gsm";
> > + return "gprs";
> > case ACCESS_TECHNOLOGY_UTRAN:
> > return "umts";
> > 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:
>
> Do you need to know if the cell supports high speed uplink, downlink
> or both; or in fact, when uplink or downlink is active (i.e., channel
> allocated)? Currently the API is telling you the former, and
> supporting the latter would require changes not only in the D-Bus API,
> but also in the driver API.
>
The API is fine as-is, we just need a bit more details about the
technology in use. It will be purely informative in our application
anyway.
> As a side note, I think I was originally proposing using the
> generation tags, but either way works for me. That is, I consider it
> 3.5G when at least HSDPA is available.
>
I was just thinking out loud about a "generation" field, I don't have
any need for it. And it can be obtained from the technology (correct
me if I'm wrong) :
gsm -> 2G
gprs, edge -> 2.5G
umts -> 3G
hsdpa, hsupa, hspa -> 3.5G
lte -> 4G
--
Benoît.
next reply other threads:[~2010-10-22 14:01 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-22 14:01 =?unknown-8bit?q?Beno=C3=AEt?= Monin [this message]
2010-10-22 14:37 ` [PATCH] common : bring back some details about technology Denis Kenzior
-- strict thread matches above, loose matches on Subject: below --
2010-10-21 14:07 =?unknown-8bit?q?Beno=C3=AEt?= Monin
2010-10-22 13:29 ` Aki Niemi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20101022142530.178840@gmx.com \
--to=benoit.monin@gmx.fr \
--cc=ofono@ofono.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox