diff options
author | Pavan Holla <pholla@chromium.org> | 2020-08-20 13:42:28 +0000 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2020-08-27 13:30:34 +0000 |
commit | ea9d352e18ca48051211ef1fd990e760d54a86a2 (patch) | |
tree | 99ff66e49bb2afccaa94e36e8598c47afdd9a9ea /data | |
parent | fbff2dc03eb89f52def2edbfcd3f8b5a8b3e9553 (diff) |
libqmi: Add support for SAR service
SAR(Specific Absorption Rate) backoff is programmed using the Set_RF_State
message. Each RF state corresponds to a TX power. The mapping between TX
power and RF state is dictated by NV items. The RF state can be retrieved
using the Get_RF_State message.
Diffstat (limited to 'data')
-rw-r--r-- | data/Makefile.am | 1 | ||||
-rw-r--r-- | data/qmi-service-sar.json | 45 |
2 files changed, 46 insertions, 0 deletions
diff --git a/data/Makefile.am b/data/Makefile.am index 15f4825..7a14f5b 100644 --- a/data/Makefile.am +++ b/data/Makefile.am @@ -19,6 +19,7 @@ EXTRA_DIST = \ qmi-service-gas.json \ qmi-service-gms.json \ qmi-service-dsd.json \ + qmi-service-sar.json \ qmi-collection-minimal.json \ qmi-collection-basic.json \ $(NULL) diff --git a/data/qmi-service-sar.json b/data/qmi-service-sar.json new file mode 100644 index 0000000..6eeb88f --- /dev/null +++ b/data/qmi-service-sar.json @@ -0,0 +1,45 @@ +[ + // ********************************************************************************* + { "name" : "SAR", + "type" : "Service" }, + + // ********************************************************************************* + { "name" : "QMI Client SAR", + "type" : "Client", + "since" : "1.28" }, + + // ********************************************************************************* + { "name" : "QMI Message SAR", + "type" : "Message-ID-Enum" }, + + // ********************************************************************************* + { "name" : "QMI Indication SAR", + "type" : "Indication-ID-Enum" }, + + // ********************************************************************************* + { "name" : "RF Set State", + "type" : "Message", + "service" : "SAR", + "id" : "0x0001", + "since" : "1.28", + "input" : [ { "name" : "State", + "id" : "0x01", + "type" : "TLV", + "since" : "1.28", + "format" : "guint32", + "public-format" : "QmiSarRfState" } ], + "output" : [ { "common-ref" : "Operation Result" } ] }, + + { "name" : "RF Get State", + "type" : "Message", + "service" : "SAR", + "id" : "0x0002", + "since" : "1.28", + "output" : [ { "common-ref" : "Operation Result" }, + { "name" : "State", + "id" : "0x10", + "type" : "TLV", + "since" : "1.28", + "format" : "guint32", + "public-format" : "QmiSarRfState" } ] } +] |