[Bug 1329945] Re: WWAN signal strength is reported lower than android in same location

2014-06-23 Thread Launchpad Bug Tracker
This bug was fixed in the package indicator-network - 0.5.1+14.10.20140623-0ubuntu1 --- indicator-network (0.5.1+14.10.20140623-0ubuntu1) utopic; urgency=low [ Ubuntu daily release ] * New rebuild forced [ Ricardo Salveti de Araujo ] * Changing signal strength thresholds to f

[Bug 1329945] Re: WWAN signal strength is reported lower than android in same location

2014-06-23 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/utopic-proposed/indicator-network -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1329945 Title: WWAN signal strength is reported lower than android in same location To ma

[Bug 1329945] Re: WWAN signal strength is reported lower than android in same location

2014-06-23 Thread Antti Kaijanmäki
OK. Let's do that in the indicator then. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1329945 Title: WWAN signal strength is reported lower than android in same location To manage notifications ab

[Bug 1329945] Re: WWAN signal strength is reported lower than android in same location

2014-06-19 Thread Tony Espy
Alright, after spending some more time looking at the code, rilmodem is doing the *exact* same thing as atmodem. Both atmodem and rilmodem receive a signal strength ( rssi ) from the modem as defined in ETSI GSM 07.07 (3GPP TS 27.007) section 8.5: http://www.etsi.org/deliver/etsi_ts/127000_127099

[Bug 1329945] Re: WWAN signal strength is reported lower than android in same location

2014-06-17 Thread Ricardo Salveti
But then we'd break the ofono API as rilmodem is doing exactly the same thing as we have for the other modems (check at modem and others). People using the ofono API is expecting the percentage to be basically the asu values (in case of a gsm modem). -- You received this bug notification because

[Bug 1329945] Re: WWAN signal strength is reported lower than android in same location

2014-06-17 Thread Antti Kaijanmäki
I don't see how fixing this on ofono layer requires any changes; we only have to modify the mapping. Android code itself defines 5 discrete strengths: - SIGNAL_STRENGTH_GREAT - SIGNAL_STRENGTH_GOOD - SIGNAL_STRENGTH_MODERATE - SIGNAL_STRENGTH_POOR - SIGNAL_STRENGTH_NONE_OR_UNKNOWN We can ma

[Bug 1329945] Re: WWAN signal strength is reported lower than android in same location

2014-06-17 Thread Tony Espy
I also agree with Ricardo, ofono standardizes on the percentage that's used across all technologies. This is one of the downsides of having two abstraction layers ( RIL & ofono ). So fixing this in the ofono layer requires us to either break the API ( ie. use different semantics for strength rep

[Bug 1329945] Re: WWAN signal strength is reported lower than android in same location

2014-06-17 Thread Antti Kaijanmäki
IMHO indicator-network should not accommodate for a specific technology, but instead the abstraction should be done as close to the HW as possible and therefore the natural place for that would be inside ofono modem driver. Ofono is the abstractor of different modem HW and that abstraction also ha

[Bug 1329945] Re: WWAN signal strength is reported lower than android in same location

2014-06-17 Thread Ricardo Salveti
Also check how this is handled by Android: http://androidxref.com/4.4.2_r2/xref/frameworks/base/telephony/java/android/telephony/SignalStrength.java -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/132994

[Bug 1329945] Re: WWAN signal strength is reported lower than android in same location

2014-06-17 Thread Ricardo Salveti
This shouldn't be handled by ofono, and the tech specifics should also be handled by the client side, not ofono. Percentage is not ideal, and not linear, but it was what was used by ofono initially (see https://lists.ofono.org/pipermail/ofono/2011-January/007827.html). We could just change it to

[Bug 1329945] Re: WWAN signal strength is reported lower than android in same location

2014-06-17 Thread Antti Kaijanmäki
** Also affects: ofono (Ubuntu) Importance: Undecided Status: New ** Changed in: indicator-network (Ubuntu) Status: Confirmed => Invalid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/

[Bug 1329945] Re: WWAN signal strength is reported lower than android in same location

2014-06-17 Thread Antti Kaijanmäki
This should really be handled on ofono side as it's specific to a single modem tech. Ofono reports the signal strength through org.ofono.NetworkRegistration Strength property: Service org.ofono Interface org.ofono.NetworkRegistration Object path [variable prefix]/{modem0,modem1,...} Properties b

[Bug 1329945] Re: WWAN signal strength is reported lower than android in same location

2014-06-17 Thread Matthew Paul Thomas
AnandTech has comparison charts of how Android (2.2, at least) and iOS (4.0) map signal strength to bars. I had assumed that if the signal is strong enough to connect to a carrier at all, it's strong enough for

[Bug 1329945] Re: WWAN signal strength is reported lower than android in same location

2014-06-15 Thread Ricardo Salveti
The forma to calculate the signal strength depends on the technology, and our ofono-rilmodem driver basically converts the ASU values to percentage (0-31, 99). Here's how android calculates the signal bars (for GSM): """ int asu = getGsmSignalStrength(); if (asu <= 2 || asu == 99) level = SI

[Bug 1329945] Re: WWAN signal strength is reported lower than android in same location

2014-06-15 Thread Ricardo Salveti
* 6% < x < 16% - POOR (1 bar) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1329945 Title: WWAN signal strength is reported lower than android in same location To manage notifications about this bu

[Bug 1329945] Re: WWAN signal strength is reported lower than android in same location

2014-06-15 Thread Ricardo Salveti
** Changed in: indicator-network (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1329945 Title: WWAN signal strength is reported lower than android in same loc