Add a "gsm signal-profile" command

The previous "gsm signal" command was only letting the user set the RSSI
and BER. This new "signal-profile" commands uses a set of five profiles
corresponding to the signal strength bars displayed on the phone (from 0
to 4, matching one of None, Poor, Moderate, Good, Great).

Change-Id: I9e8b151d10e435b5eddee7e83c9eb381bc805fa0
Signed-off-by: Mathieu Pasquet <mathieu.pasquet@alterway.fr>
4 files changed
tree: 037a9e0a20871e85ca33cf9b840fdbb0843a495a
  1. .exrc
  2. .gitignore
  3. .gitmodules
  4. .mailmap
  5. .travis.yml
  6. CODING_STYLE
  7. COPYING
  8. COPYING.LIB
  9. Changelog
  10. HACKING
  11. LICENSE
  12. MAINTAINERS
  13. Makefile
  14. Makefile.objs
  15. Makefile.target
  16. README
  17. VERSION
  18. accel.c
  19. aio-posix.c
  20. aio-win32.c
  21. android-commands.h
  22. android-console.c
  23. android-console.h
  24. android-qemu2-glue/
  25. arch_init.c
  26. async.c
  27. audio/
  28. backends/
  29. balloon.c
  30. block-migration.c
  31. block.c
  32. block/
  33. blockdev-nbd.c
  34. blockdev.c
  35. blockjob.c
  36. bootdevice.c
  37. bsd-user/
  38. bt-host.c
  39. bt-vhci.c
  40. configure
  41. coroutine-gthread.c
  42. coroutine-sigaltstack.c
  43. coroutine-ucontext.c
  44. coroutine-win32.c
  45. cpu-exec.c
  46. cpus.c
  47. cputlb.c
  48. default-configs/
  49. device-hotplug.c
  50. device_tree.c
  51. disas.c
  52. disas/
  53. dma-helpers.c
  54. docs/
  55. dump.c
  56. exec.c
  57. fpu/
  58. fsdev/
  59. gdb-xml/
  60. gdbstub.c
  61. hax-stub.c
  62. hmp-commands.hx
  63. hmp.c
  64. hmp.h
  65. hw/
  66. include/
  67. iohandler.c
  68. ioport.c
  69. iothread.c
  70. kvm-all.c
  71. kvm-stub.c
  72. libcacard/
  73. libdecnumber/
  74. linux-headers/
  75. linux-user/
  76. main-loop.c
  77. memory.c
  78. memory_mapping.c
  79. migration-exec.c
  80. migration-fd.c
  81. migration-rdma.c
  82. migration-tcp.c
  83. migration-unix.c
  84. migration.c
  85. module-common.c
  86. monitor.c
  87. nbd.c
  88. net/
  89. numa.c
  90. os-posix.c
  91. os-win32.c
  92. page_cache.c
  93. pc-bios/
  94. po/
  95. qapi-schema.json
  96. qapi/
  97. qdev-monitor.c
  98. qdict-test-data.txt
  99. qemu-bridge-helper.c
  100. qemu-char.c
  101. qemu-coroutine-io.c
  102. qemu-coroutine-lock.c
  103. qemu-coroutine-sleep.c
  104. qemu-coroutine.c
  105. qemu-doc.texi
  106. qemu-file-stdio.c
  107. qemu-file-unix.c
  108. qemu-file.c
  109. qemu-img-cmds.hx
  110. qemu-img.c
  111. qemu-img.texi
  112. qemu-io-cmds.c
  113. qemu-io.c
  114. qemu-log.c
  115. qemu-nbd.c
  116. qemu-nbd.texi
  117. qemu-options-wrapper.h
  118. qemu-options.h
  119. qemu-options.hx
  120. qemu-seccomp.c
  121. qemu-tech.texi
  122. qemu-timer.c
  123. qemu.nsi
  124. qemu.sasl
  125. qga/
  126. qmp-commands.hx
  127. qmp.c
  128. qobject/
  129. qom/
  130. qtest.c
  131. roms/
  132. rules.mak
  133. savevm.c
  134. scripts/
  135. slirp/
  136. softmmu_template.h
  137. spice-qemu-char.c
  138. stubs/
  139. sysconfigs/
  140. target-alpha/
  141. target-arm/
  142. target-cris/
  143. target-i386/
  144. target-lm32/
  145. target-m68k/
  146. target-microblaze/
  147. target-mips/
  148. target-moxie/
  149. target-openrisc/
  150. target-ppc/
  151. target-s390x/
  152. target-sh4/
  153. target-sparc/
  154. target-tricore/
  155. target-unicore32/
  156. target-xtensa/
  157. tcg-runtime.c
  158. tcg/
  159. tci.c
  160. tests/
  161. thread-pool.c
  162. thunk.c
  163. tpm.c
  164. trace-events
  165. trace/
  166. translate-all.c
  167. translate-all.h
  168. ui/
  169. user-exec.c
  170. util/
  171. version.rc
  172. vl.c
  173. vmstate.c
  174. xbzrle.c
  175. xen-common-stub.c
  176. xen-common.c
  177. xen-hvm-stub.c
  178. xen-hvm.c
  179. xen-mapcache.c