aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUma Maheswari Ramalingam <umam@codeaurora.org>2012-08-09 12:12:22 -0700
committerUma Maheswari Ramalingam <umam@codeaurora.org>2012-08-09 12:13:00 -0700
commite9bd6b6d60a1bb12037ffa12f8194b8547fca1dd (patch)
treee043f19d21a7a562252494bbe9d4effbb58cda6a
parentc736fb6e80a357bdde308f857bcbbc48f4c41eba (diff)
downloadexternal_qemu-e9bd6b6d60a1bb12037ffa12f8194b8547fca1dd.zip
external_qemu-e9bd6b6d60a1bb12037ffa12f8194b8547fca1dd.tar.gz
external_qemu-e9bd6b6d60a1bb12037ffa12f8194b8547fca1dd.tar.bz2
external/qemu: Support for Signal Strength in emulator
Change-Id: Ia62ef338b64739d50eeb55d33d15227a0047d8d0
-rw-r--r--telephony/android_modem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/telephony/android_modem.c b/telephony/android_modem.c
index 437035d..52d5f9c 100644
--- a/telephony/android_modem.c
+++ b/telephony/android_modem.c
@@ -2223,7 +2223,7 @@ handleSignalStrength( const char* cmd, AModem modem )
int ber = modem->ber;
rssi = (0 > rssi && rssi > 31) ? 99 : rssi ;
ber = (0 > ber && ber > 7 ) ? 99 : ber;
- amodem_add_line( modem, "+CSQ: %i,%i\r\n", rssi, ber );
+ amodem_add_line( modem, "+CSQ: %i,%i,85,130,90,6,4,25,9,50,68,12\r\n", rssi, ber );
return amodem_end_line( modem );
}