summaryrefslogtreecommitdiff
path: root/data/qmi-service-sar.json
diff options
context:
space:
mode:
authorPavan Holla <pholla@chromium.org>2020-08-20 13:42:28 +0000
committerAleksander Morgado <aleksander@aleksander.es>2020-08-27 13:30:34 +0000
commitea9d352e18ca48051211ef1fd990e760d54a86a2 (patch)
tree99ff66e49bb2afccaa94e36e8598c47afdd9a9ea /data/qmi-service-sar.json
parentfbff2dc03eb89f52def2edbfcd3f8b5a8b3e9553 (diff)
downloadlibqmi-ea9d352e18ca48051211ef1fd990e760d54a86a2.tar.gz
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/qmi-service-sar.json')
-rw-r--r--data/qmi-service-sar.json45
1 files changed, 45 insertions, 0 deletions
diff --git a/data/qmi-service-sar.json b/data/qmi-service-sar.json
new file mode 100644
index 00000000..6eeb88fc
--- /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" } ] }
+]