OSDN Git Service

Fix signal strength for HFP in maemo6 telephony
authorDmitriy Paliy <dmitriy.paliy@nokia.com>
Mon, 12 Jul 2010 17:04:43 +0000 (20:04 +0300)
committerJohan Hedberg <johan.hedberg@nokia.com>
Mon, 12 Jul 2010 17:19:15 +0000 (14:19 -0300)
commit7b658b2bc1f5e62d7e0faf6938a41c7001a631b2
tree80d040b4e043047d5e7d87e36b60cf53760695e1
parentfccdf4a50765ef5a2dbde00d95f65e94ce0a543b
Fix signal strength for HFP in maemo6 telephony

Signal strength in terms of bars units is updated by emited
SignalBarsChanged instead of SignalStrengthChanged from libscnet library.
It contains required number of bars to display in scale 0..5. Conversion
from percent or decibel units to bars is not needed and therefore removed.

Same holds when initializing by request of SignalBars, where bars are in
0..5 range. Conversion from percents is removed. Sanity check is done to
prevent -1 that may be returned when the property is unavailabe (modem
state off).

RSSI percents and dBs are neither present among SignalBarsChanged
properties nor requested during initialization and, therefore, removed.
audio/telephony-maemo6.c