Bluetooth: Add defines for SPI, I2C & local HCI bus types
Subsystems (2)
PATCH 1/1 Bluetooth: Add defines for SPI, I2C & local HCI bus types
From: Johan Hedberg <[email protected]>
Extend the set of possible HCI bus types with SPI, I2C and local. A local bus means that the controller is part of the same address space/CPU as the host and doesn't have a physical HCI transport as such.
Signed-off-by Johan Hedberg <[email protected]>
--- include/net/bluetooth/hci.h | 3 +++ 1 file changed, 3 insertions(+)
include/net/bluetooth/hci.h +3 -0
@@ -61,6 +61,9 @@#define HCI_RS232 4#define HCI_PCI 5#define HCI_SDIO 6 +#define HCI_SPI 7 +#define HCI_I2C 8 +#define HCI_LOCAL 9/* HCI controller types */ #define HCI_BREDR 0x00
Signature · 1 line
2.5.5
Hi,
Quoted 15 lines · Johan Hedberg
Extend the set of possible HCI bus types with SPI, I2C and local. A local bus means that the controller is part of the same address space/CPU as the host and doesn't have a physical HCI transport as such.
Signed-off-by Johan Hedberg <[email protected]>--- include/net/bluetooth/hci.h | 3 +++ 1 file changed, 3 insertions(+)include/net/bluetooth/hci.h +0
-0
include/net/bluetooth/hci.h line 66
Quoted 6 lines
include/net/bluetooth/hci.h +3
-0@@ -61,6 +61,9 @@#define HCI_RS232 4#define HCI_PCI 5#define HCI_SDIO 6 +#define HCI_SPI 7 +#define HCI_I2C 8 +#define HCI_LOCAL 9
v2 sent. Decided to drop 'local' for now and use use 'virtual' for that.
Johan