summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorandroid-build-team Robot <android-build-team-robot@google.com>2021-01-15 14:26:22 +0000
committerandroid-build-team Robot <android-build-team-robot@google.com>2021-01-15 14:26:22 +0000
commit208a5550d28d6ea0132532456001f11619523121 (patch)
tree8317860f1a3c1960460e8916019e2578cb384f9d
parent4abbc8edcca762138972da77ad17048d54253f8e (diff)
parent3c40af86ad90d04c6e8e7235dff9e46a21035fd8 (diff)
downloadinterfaces-208a5550d28d6ea0132532456001f11619523121.tar.gz
Snap for 7083521 from 3c40af86ad90d04c6e8e7235dff9e46a21035fd8 to sc-d1-release
Change-Id: Idb4a8ac86c24735ca5da184d68950f0dae21b664
-rw-r--r--bluetooth/sar/1.1/Android.bp12
-rw-r--r--bluetooth/sar/1.1/IBluetoothSar.hal40
2 files changed, 52 insertions, 0 deletions
diff --git a/bluetooth/sar/1.1/Android.bp b/bluetooth/sar/1.1/Android.bp
new file mode 100644
index 0000000..49b6928
--- /dev/null
+++ b/bluetooth/sar/1.1/Android.bp
@@ -0,0 +1,12 @@
+hidl_interface {
+ name: "hardware.google.bluetooth.sar@1.1",
+ root: "hardware.google",
+ srcs: [
+ "IBluetoothSar.hal",
+ ],
+ interfaces: [
+ "hardware.google.bluetooth.sar@1.0",
+ "android.hidl.base@1.0",
+ ],
+ gen_java: true,
+}
diff --git a/bluetooth/sar/1.1/IBluetoothSar.hal b/bluetooth/sar/1.1/IBluetoothSar.hal
new file mode 100644
index 0000000..2dfca42
--- /dev/null
+++ b/bluetooth/sar/1.1/IBluetoothSar.hal
@@ -0,0 +1,40 @@
+/*
+ * Copyright 2020 The Android Open Source Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+/**
+ * This is pixel only extension for Bluetooth HAL.
+ */
+package hardware.google.bluetooth.sar@1.1;
+import hardware.google.bluetooth.sar@1.0;
+
+interface IBluetoothSar extends @1.0::IBluetoothSar {
+ /**
+ * API to set Bluetooth Tx power cap of each mode
+ *
+ * This API must be invoke whenever maximum Bluetooth Tx power of each mode, include chain 0,
+ * chain 1 and beamforming mode, need to be changed for optimising performance purpose in SAR
+ * scenarios.
+ *
+ * @param chain0Cap Bluetooth Tx cap of chain 0 mode. Range is between 0 and 80 units, each unit
+ * is 0.25 dBm.
+ * @param chain1Cap Bluetooth Tx cap of chain 1 mode. Range is between 0 and 80 units, each unit
+ * is 0.25 dBm.
+ * @param beamformingCap Bluetooth Tx cap of beamforming mode. Range is between 0 and 80 units,
+ * each unit is 0.25 dBm.
+ */
+ oneway setBluetoothModeBasedTxPowerCap(int8_t[3] chain0Cap,int8_t[3] chain1Cap,
+ int8_t[6] beamformingCap);
+}; \ No newline at end of file