summaryrefslogtreecommitdiff
path: root/sysprop/hci.sysprop
diff options
context:
space:
mode:
author Katherine Lai <laikatherine@google.com> 2025-01-21 19:49:49 +0000
committer Katherine Lai <laikatherine@google.com> 2025-02-19 18:20:58 +0000
commitd2c61295cb4c02a9b805bdf52b0052eaaec76fa4 (patch)
treee2ee4e99d9477336fbc81f5061b1b4771a5fb824 /sysprop/hci.sysprop
parent57238606fb4ff38304e62578ae8e7f76f49611dc (diff)
HAL: Add a sysprop to read MSFT vendor specific opcode
Using MGMT to read the MSFT vendor specific opcode from the kernel is too BlueZ specific. Replace with a sysprop instead. Bug: 390425327 Bug: 365787977 Flag: com.android.bluetooth.flags.le_scan_msft_support Test: mmm packages/modules/Bluetooth Change-Id: I88bd30f1c1b81ab1299af0459aef4e7596183db0
Diffstat (limited to 'sysprop/hci.sysprop')
-rw-r--r--sysprop/hci.sysprop10
1 files changed, 10 insertions, 0 deletions
diff --git a/sysprop/hci.sysprop b/sysprop/hci.sysprop
new file mode 100644
index 0000000000..04e7b6ccf8
--- /dev/null
+++ b/sysprop/hci.sysprop
@@ -0,0 +1,10 @@
+module: "android.sysprop.bluetooth.Hci"
+owner: Platform
+
+prop {
+ api_name: "msft_vendor_opcode"
+ type: Integer
+ scope: Internal
+ access: Readonly
+ prop_name: "bluetooth.hci.msft_vendor_opcode"
+} \ No newline at end of file