diff mbox series

[BlueZ,v2,1/2] monitor: Add definitions for FSU command and event

Message ID 20250513175600.1158690-1-luiz.dentz@gmail.com
State New
Headers show
Series [BlueZ,v2,1/2] monitor: Add definitions for FSU command and event | expand

Commit Message

Luiz Augusto von Dentz May 13, 2025, 5:55 p.m. UTC
From: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>

This adds FSU command and event as defined in the Core 6.0
specification.
---
 monitor/bt.h | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
diff mbox series

Patch

diff --git a/monitor/bt.h b/monitor/bt.h
index e708e580f77b..bc84d6b947a9 100644
--- a/monitor/bt.h
+++ b/monitor/bt.h
@@ -2937,6 +2937,16 @@  struct bt_hci_rsp_le_read_iso_link_quality {
 	uint32_t duplicated_packets;
 } __attribute__ ((packed));
 
+#define BT_HCI_CMD_LE_FSU			0x209d
+#define BT_HCI_BIT_LE_FSU			BT_HCI_CMD_BIT(48, 1)
+struct bt_hci_cmd_le_fsu {
+	uint16_t handle;
+	uint16_t frame_space_min;
+	uint16_t frame_space_max;
+	uint8_t  phys;
+	uint8_t  types;
+} __attribute__ ((packed));
+
 #define BT_HCI_EVT_INQUIRY_COMPLETE		0x01
 struct bt_hci_evt_inquiry_complete {
 	uint8_t  status;
@@ -3760,6 +3770,16 @@  struct bt_hci_evt_le_big_info_adv_report {
 	uint8_t  encryption;
 } __attribute__ ((packed));
 
+#define BT_HCI_EVT_LE_FSU_COMPLETE		0x35
+struct bt_hci_evt_le_fsu_complete {
+	uint8_t  status;
+	uint16_t handle;
+	uint8_t  initiator;
+	uint16_t frame_space;
+	uint8_t  phys;
+	uint8_t  types;
+} __attribute__ ((packed));
+
 #define BT_HCI_ERR_SUCCESS			0x00
 #define BT_HCI_ERR_UNKNOWN_COMMAND		0x01
 #define BT_HCI_ERR_UNKNOWN_CONN_ID		0x02