From 6a4e845500c940ff191e954de842bc599c514fb4 Mon Sep 17 00:00:00 2001 From: Mashopy Date: Fri, 13 Jun 2025 10:51:46 +0200 Subject: [PATCH] aidl: bluetooth: Add BT_VND_OP_SET_FW_ASSERT Change-Id: Iec844f1c09778805b902572bd05c2be1280ee12f --- aidl/bluetooth/bt_vendor_lib.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/aidl/bluetooth/bt_vendor_lib.h b/aidl/bluetooth/bt_vendor_lib.h index c4035b7..f1d93f4 100755 --- a/aidl/bluetooth/bt_vendor_lib.h +++ b/aidl/bluetooth/bt_vendor_lib.h @@ -201,6 +201,19 @@ typedef enum { */ BT_VND_OP_A2DP_OFFLOAD_STOP, + /* [operation] + * Stack call to the vendor module to set FW assert and trigger coredump for debug. + * [input param] + * a pointer to uint8_t type indicating the assert reason. + * [return] + * 0 - default, don't care. + * -1 - kernel driver not ready. + * -EBUSY - stack set FW assert failed. + * [callback] + * None. + */ + BT_VND_OP_SET_FW_ASSERT, + } bt_vendor_opcode_t; /** Power on/off control states */