Comment 11 for bug 1329945

Revision history for this message
Tony Espy (awe) wrote :

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/127007/08.05.00_60/ts_127007v080500p.pdf

<rssi>
:
0 -113 dBm or less
1 -111 dBm
2...30 -109... -53 dBm
31 -51 dBm or greater
99 not known or not detectable

They also receive a channel bit error rate which is ignored by both implementations.

Both drivers use the *exact* same logic to convert the received RSSI value into a percentage:

if (strength == 99)
    result = -1;
else
    result = (strength * 100) / 31;

So, I'll again re-iterate that I agree with Ricardo that we should *not* change rilmodem. If the suggested changes are made to the indicator-network code, it will just *work* with any ofono GSM modem implementation.