Diff between 002ee180b1b5c17989e197ee0b77cdcac5a5ef6e and 0025cdd0c103b0c93091947cfdfeb678252a056b

Changed Files

File Additions Deletions Status
doc/mgmt-api.txt +1 -0 modified
lib/hci.c +2 -0 modified
lib/hci.h +1 -0 modified
src/shared/btsnoop.h +2 -0 modified

Full Patch

diff --git a/doc/mgmt-api.txt b/doc/mgmt-api.txt
index 59e61d3..01a2352 100644
--- a/doc/mgmt-api.txt
+++ b/doc/mgmt-api.txt
@@ -2500,6 +2500,7 @@ Read Extended Controller Index List Command
 		0x08	I2C
 		0x09	SMD
 		0x0A	VIRTIO
+		0x0B	IPC
 
 	Controllers marked as RAW only operation are currently not listed
 	by this command.
diff --git a/lib/hci.c b/lib/hci.c
index 937e65d..acf63f1 100644
--- a/lib/hci.c
+++ b/lib/hci.c
@@ -152,6 +152,8 @@ const char *hci_bustostr(int bus)
 		return "SMD";
 	case HCI_VIRTIO:
 		return "VIRTIO";
+	case HCI_IPC:
+		return "IPC";
 	default:
 		return "Unknown";
 	}
diff --git a/lib/hci.h b/lib/hci.h
index 50f385c..c39a72c 100644
--- a/lib/hci.h
+++ b/lib/hci.h
@@ -47,6 +47,7 @@ extern "C" {
 #define HCI_I2C		8
 #define HCI_SMD		9
 #define HCI_VIRTIO	10
+#define HCI_IPC		11
 
 /* HCI controller types */
 #define HCI_PRIMARY	0x00
diff --git a/src/shared/btsnoop.h b/src/shared/btsnoop.h
index 80f0d5d..c24755d 100644
--- a/src/shared/btsnoop.h
+++ b/src/shared/btsnoop.h
@@ -58,6 +58,8 @@
 #define BTSNOOP_BUS_SPI		7
 #define BTSNOOP_BUS_I2C		8
 #define BTSNOOP_BUS_SMD		9
+#define BTSNOOP_BUS_VIRTIO	10
+#define BTSNOOP_BUS_IPC		11
 
 struct btsnoop_opcode_new_index {
 	uint8_t  type;