From 7c5829700ead68ae218e0adf07f68e412da35447 Mon Sep 17 00:00:00 2001 From: Chris Andreae Date: Mon, 18 Dec 2023 15:16:10 +0900 Subject: [PATCH] Add Bluetooth config addressing recent host compatibility issues --- app/boards/arm/glove80/glove80_lh_defconfig | 14 ++++++++++++++ app/boards/arm/glove80/glove80_rh_defconfig | 14 ++++++++++++++ 2 files changed, 28 insertions(+) diff --git a/app/boards/arm/glove80/glove80_lh_defconfig b/app/boards/arm/glove80/glove80_lh_defconfig index 9c3e6331c35c..6e5c081c2147 100644 --- a/app/boards/arm/glove80/glove80_lh_defconfig +++ b/app/boards/arm/glove80/glove80_lh_defconfig @@ -23,8 +23,22 @@ CONFIG_BT_DIS_PNP_VID=0x16c0 CONFIG_BT_DIS_MANUF="MoErgo" CONFIG_BT_DIS_MODEL="Glove80" +### Bluetooth configuration workarounds + +# Use higher radio transmit power CONFIG_BT_CTLR_TX_PWR_PLUS_8=y +# Use non-legacy LLCP (required for compatibility with recent Linux kernel) +CONFIG_BT_LL_SW_LLCP=y +CONFIG_BT_LL_SW_LLCP_LEGACY=n + +# Disable 2M PHY (required for compatibility with recent Intel chipset drivers +# on Windows) +CONFIG_BT_CTLR_PHY_2M=n + +# Automatically re-establish security on reconnection +CONFIG_BT_GATT_AUTO_SEC_REQ=y + # Work-around for Windows bug with battery notifications CONFIG_BT_GATT_ENFORCE_SUBSCRIPTION=n diff --git a/app/boards/arm/glove80/glove80_rh_defconfig b/app/boards/arm/glove80/glove80_rh_defconfig index d1792f65439c..24456a7d2d3f 100644 --- a/app/boards/arm/glove80/glove80_rh_defconfig +++ b/app/boards/arm/glove80/glove80_rh_defconfig @@ -21,8 +21,22 @@ CONFIG_BT_DIS_PNP_VID=0x16c0 CONFIG_BT_DIS_MANUF="MoErgo" CONFIG_BT_DIS_MODEL="Glove80 Right" +### Bluetooth configuration workarounds + +# Use higher radio transmit power CONFIG_BT_CTLR_TX_PWR_PLUS_8=y +# Use non-legacy LLCP (required for compatibility with recent Linux kernel) +CONFIG_BT_LL_SW_LLCP=y +CONFIG_BT_LL_SW_LLCP_LEGACY=n + +# Disable 2M PHY (required for compatibility with recent Intel chipset drivers +# on Windows) +CONFIG_BT_CTLR_PHY_2M=n + +# Automatically re-establish security on reconnection +CONFIG_BT_GATT_AUTO_SEC_REQ=y + # Enable MPU CONFIG_ARM_MPU=y