-32763.0 dBm

Aleksander Morgado aleksander at lanedo.com
Thu Sep 27 03:21:22 PDT 2012


> Just noticed something looking a bit odd while being connected to a UMTS
> network:
> 
> [27 Sep 2012, 11:13:05] [Debug] [/dev/cdc-wdm0] Received message...
>>>>>>> QMUX:
>>>>>>>   length  = 25
>>>>>>>   flags   = 0x80
>>>>>>>   service = "nas"
>>>>>>>   client  = 3
>>>>>>> QMI:
>>>>>>>   flags       = "response"
>>>>>>>   transaction = 1
>>>>>>>   tlv_length  = 13
>>>>>>>   message     = "Get Signal Info" (0x004F)
>>>>>>> TLV:
>>>>>>>   type       = "Result" (0x02)
>>>>>>>   length     = 4
>>>>>>>   value      = 00:00:00:00
>>>>>>>   translated = SUCCESS
>>>>>>> TLV:
>>>>>>>   type       = "WCDMA Signal Strength" (0x13)
>>>>>>>   length     = 3
>>>>>>>   value      = B5:F6:FF
>>>>>>>   translated = [ rssi = '-75' ecio = '65526' ]
> 
> [27 Sep 2012, 11:13:05] [Debug] KEY: 01:00:03:03:00:00:00:00
> [27 Sep 2012, 11:13:05] [Debug]   Service: 03
> [27 Sep 2012, 11:13:05] [Debug]   Client ID: 03
> [27 Sep 2012, 11:13:05] [Debug]   Transaction ID: 01:00
> [/dev/cdc-wdm0] Successfully got signal info
> WCDMA:
>         RSSI: '-75 dBm'
>         ECIO: '-32763.0 dBm'
> [27 Sep 2012, 11:13:05] [Debug] [/dev/cdc-wdm0] Unregistered 'nas' client with ID '3'
> 
> 
> 
> I have no idea what ECIO is, but -32763 dBm is so little that it doesn't
> seem worth mentioning at all :-)
> 
> 

Ec/Io is supposed to be given as negative 0.5dBm increments. This seems
to be true for Get Signal Strength, where the value is given as a uint8;
but is probably wrong for the newer Get Signal Info where the value is a
16bit integer, so probably is signed; e.g. it should be a 'gint16'
instead of a 'guint16'. What I don't know is whether it is still given
in 0.5dBm increments or not.

Can you try the attached patch and see if it gives more appropriate values?

-- 
Aleksander
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-nas-Ec-Io-given-as-a-signed-integer-in-newer-Signal-.patch
Type: text/x-patch
Size: 4938 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/libqmi-devel/attachments/20120927/7281a579/attachment.bin>


More information about the libqmi-devel mailing list