From 369682119bfc9291aa37b729d540b3fe13bf9c8e Mon Sep 17 00:00:00 2001 From: Zoltan HERPAI Date: Sun, 24 Mar 2024 23:04:14 +0100 Subject: [PATCH] modules: add support for H5 (3-wire) Bluetooth UART protocols Most of the Realtek bluetooth devices work with the H5 (3-wire) UART protocols. Add support for these in the hci_uart module. Signed-off-by: Zoltan HERPAI --- package/kernel/linux/modules/other.mk | 1 + target/linux/generic/config-6.6 | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/package/kernel/linux/modules/other.mk b/package/kernel/linux/modules/other.mk index 7b64985fd6..6e950c8fc2 100644 --- a/package/kernel/linux/modules/other.mk +++ b/package/kernel/linux/modules/other.mk @@ -47,6 +47,7 @@ define KernelPackage/bluetooth CONFIG_BT_HCIUART_INTEL=n \ CONFIG_BT_HCIUART_H4 \ CONFIG_BT_HCIUART_NOKIA=n \ + CONFIG_BT_HCIUART_RTL \ CONFIG_BT_HIDP $(call AddDepends/rfkill) FILES:= \ diff --git a/target/linux/generic/config-6.6 b/target/linux/generic/config-6.6 index defa99880f..6c2aecb1e6 100644 --- a/target/linux/generic/config-6.6 +++ b/target/linux/generic/config-6.6 @@ -755,7 +755,7 @@ CONFIG_BT_HCIBTUSB_POLL_SYNC=y # CONFIG_BT_HCIBTUSB_RTL is not set # CONFIG_BT_HCIDTL1 is not set # CONFIG_BT_HCIUART is not set -# CONFIG_BT_HCIUART_3WIRE is not set +CONFIG_BT_HCIUART_3WIRE=y # CONFIG_BT_HCIUART_AG6XX is not set # CONFIG_BT_HCIUART_ATH3K is not set CONFIG_BT_HCIUART_BCSP=y @@ -763,7 +763,7 @@ CONFIG_BT_HCIUART_H4=y # CONFIG_BT_HCIUART_LL is not set # CONFIG_BT_HCIUART_MRVL is not set # CONFIG_BT_HCIUART_QCA is not set -# CONFIG_BT_HCIUART_RTL is not set +CONFIG_BT_HCIUART_RTL=y # CONFIG_BT_HCIVHCI is not set # CONFIG_BT_HIDP is not set # CONFIG_BT_LE is not set -- 2.30.2