Skip to content

Commit

Permalink
wireless/bluetooth:add bt bridge codes
Browse files Browse the repository at this point in the history
Signed-off-by: chengkai <chengkai@xiaomi.com>
  • Loading branch information
chengkai15 committed Aug 26, 2022
1 parent e68c975 commit 9337dc9
Show file tree
Hide file tree
Showing 3 changed files with 627 additions and 0 deletions.
13 changes: 13 additions & 0 deletions drivers/wireless/bluetooth/Kconfig
Expand Up @@ -53,6 +53,19 @@ config BLUETOOTH_UART_DUMP

endif # BLUETOOTH_UART

config BLUETOOTH_BRIDGE
bool "Bluetooth BT/BLE Dual Mode Bridge Driver"
default n
---help---
Enable Bluetooth BT/BLE Dual Mode Bridge Driver.

config BLUETOOTH_BRIDGE_BTSNOOP
bool "Bluetooth bridge btsnoop support"
default n
depends on BLUETOOTH_BRIDGE
---help---
Enable Bluetooth hci btsnoop log

config BLUETOOTH_NULL
bool "NULL Bluetooth device"
default n
Expand Down
4 changes: 4 additions & 0 deletions drivers/wireless/bluetooth/Make.defs
Expand Up @@ -40,6 +40,10 @@ CSRCS += bt_uart_bcm4343x.c
endif
endif

ifeq ($(CONFIG_BLUETOOTH_BRIDGE),y)
CSRCS += bt_bridge.c
endif

ifeq ($(CONFIG_BLUETOOTH_NULL),y)
CSRCS += bt_null.c
endif
Expand Down

0 comments on commit 9337dc9

Please sign in to comment.