Diff between d4b9851b5244f48cfb26712fc7109d0704bd493f and 5db76df4ffc9601a62de8f09d2debcc72bbe61cb

Changed Files

File Additions Deletions Status
tools/parser/hci.c +11 -0 modified

Full Patch

diff --git a/tools/parser/hci.c b/tools/parser/hci.c
index 964bbd9..f8d5680 100644
--- a/tools/parser/hci.c
+++ b/tools/parser/hci.c
@@ -1490,6 +1490,14 @@ static inline void max_slots_change_dump(int level, struct frame *frm)
 	printf("handle %d slots %d\n", btohs(evt->handle), evt->max_slots);
 }
 
+static inline void data_buffer_overflow_dump(int level, struct frame *frm)
+{
+	evt_data_buffer_overflow *evt = frm->ptr;
+
+	p_indent(level, frm);
+	printf("type %s\n", evt->link_type == 1 ? "ACL" : "SCO");
+}
+
 static inline void read_clock_offset_complete_dump(int level, struct frame *frm)
 {
 	evt_read_clock_offset_complete *evt = frm->ptr;
@@ -1710,6 +1718,9 @@ static inline void event_dump(int level, struct frame *frm)
 	case EVT_LINK_KEY_NOTIFY:
 		link_key_notify_dump(level + 1, frm);
 		break;
+	case EVT_DATA_BUFFER_OVERFLOW:
+		data_buffer_overflow_dump(level + 1, frm);
+		break;
 	case EVT_MAX_SLOTS_CHANGE:
 		max_slots_change_dump(level + 1, frm);
 		break;