From 334963ba49932ae2691bf218cf1372fe1362f54a Mon Sep 17 00:00:00 2001 From: weichinweng Date: Mon, 29 Jan 2024 03:00:04 +0000 Subject: [PATCH] Add BT offload config into bt_vendo_overlay bug: 287672291 bug: 323464810 Test: BT off/on when BT CHRE enabled/disabled Change-Id: Ie8b635874eaade02c683f37618f7e83a9fb7ba1c --- bluetooth/bt_vendor_overlay.conf | 15 +++++++++++---- bluetooth/bt_vendor_overlay_caiman.conf | 14 ++++++++++++-- bluetooth/bt_vendor_overlay_komodo.conf | 14 ++++++++++++-- bluetooth/bt_vendor_overlay_ripcurrent24.conf | 14 ++++++++++++-- bluetooth/bt_vendor_overlay_ripcurrentpro.conf | 14 ++++++++++++-- bluetooth/bt_vendor_overlay_tokay.conf | 14 ++++++++++++-- 6 files changed, 71 insertions(+), 14 deletions(-) diff --git a/bluetooth/bt_vendor_overlay.conf b/bluetooth/bt_vendor_overlay.conf index 4f922230..13df7510 100644 --- a/bluetooth/bt_vendor_overlay.conf +++ b/bluetooth/bt_vendor_overlay.conf @@ -3,11 +3,18 @@ # Uart port name UartPort = /dev/ttySAC18 -# Userial type -# UserialType = 2 +# Priority of uart type +# HciUartSocket = 0 +# SerialUartPort = 1 +# SerialAocUartPort = 2 +# UserialInvalid = 3 +UserialTypePriority = 2-1 -# Enable check whether let aoc controls power pin -AocPowerPinCtrlCheckEnable = true +# The hardware support which offload capability +BtOffloadCap = AOC + +# The BT Offload Trunk Flag Group Name +BtOffloadTrunkGroup = 24P_AOC # Sar backOff high resolution support SarBackOffHighResolution = true diff --git a/bluetooth/bt_vendor_overlay_caiman.conf b/bluetooth/bt_vendor_overlay_caiman.conf index a5b39f78..d2bb0806 100644 --- a/bluetooth/bt_vendor_overlay_caiman.conf +++ b/bluetooth/bt_vendor_overlay_caiman.conf @@ -3,8 +3,18 @@ # Uart port name UartPort = /dev/ttySAC18 -# Userial type -# UserialType = 2 +# Priority of uart type +# HciUartSocket = 0 +# SerialUartPort = 1 +# SerialAocUartPort = 2 +# UserialInvalid = 3 +UserialTypePriority = 2-1 + +# The hardware support which offload capability +BtOffloadCap = AOC + +# The BT Offload Trunk Flag Group Name +BtOffloadTrunkGroup = 24P_AOC # Sar backOff high resolution support SarBackOffHighResolution = true diff --git a/bluetooth/bt_vendor_overlay_komodo.conf b/bluetooth/bt_vendor_overlay_komodo.conf index a5b39f78..d2bb0806 100644 --- a/bluetooth/bt_vendor_overlay_komodo.conf +++ b/bluetooth/bt_vendor_overlay_komodo.conf @@ -3,8 +3,18 @@ # Uart port name UartPort = /dev/ttySAC18 -# Userial type -# UserialType = 2 +# Priority of uart type +# HciUartSocket = 0 +# SerialUartPort = 1 +# SerialAocUartPort = 2 +# UserialInvalid = 3 +UserialTypePriority = 2-1 + +# The hardware support which offload capability +BtOffloadCap = AOC + +# The BT Offload Trunk Flag Group Name +BtOffloadTrunkGroup = 24P_AOC # Sar backOff high resolution support SarBackOffHighResolution = true diff --git a/bluetooth/bt_vendor_overlay_ripcurrent24.conf b/bluetooth/bt_vendor_overlay_ripcurrent24.conf index 19388fc7..8789e499 100644 --- a/bluetooth/bt_vendor_overlay_ripcurrent24.conf +++ b/bluetooth/bt_vendor_overlay_ripcurrent24.conf @@ -3,8 +3,18 @@ # Uart port name UartPort = /dev/ttySAC18 -# Userial type -# UserialType = 2 +# Priority of uart type +# HciUartSocket = 0 +# SerialUartPort = 1 +# SerialAocUartPort = 2 +# UserialInvalid = 3 +UserialTypePriority = 2-1 + +# The hardware support which offload capability +BtOffloadCap = AOC + +# The BT Offload Trunk Flag Group Name +BtOffloadTrunkGroup = 24P_AOC # Sar backOff high resolution support SarBackOffHighResolution = true diff --git a/bluetooth/bt_vendor_overlay_ripcurrentpro.conf b/bluetooth/bt_vendor_overlay_ripcurrentpro.conf index 19388fc7..8789e499 100644 --- a/bluetooth/bt_vendor_overlay_ripcurrentpro.conf +++ b/bluetooth/bt_vendor_overlay_ripcurrentpro.conf @@ -3,8 +3,18 @@ # Uart port name UartPort = /dev/ttySAC18 -# Userial type -# UserialType = 2 +# Priority of uart type +# HciUartSocket = 0 +# SerialUartPort = 1 +# SerialAocUartPort = 2 +# UserialInvalid = 3 +UserialTypePriority = 2-1 + +# The hardware support which offload capability +BtOffloadCap = AOC + +# The BT Offload Trunk Flag Group Name +BtOffloadTrunkGroup = 24P_AOC # Sar backOff high resolution support SarBackOffHighResolution = true diff --git a/bluetooth/bt_vendor_overlay_tokay.conf b/bluetooth/bt_vendor_overlay_tokay.conf index a5b39f78..d2bb0806 100644 --- a/bluetooth/bt_vendor_overlay_tokay.conf +++ b/bluetooth/bt_vendor_overlay_tokay.conf @@ -3,8 +3,18 @@ # Uart port name UartPort = /dev/ttySAC18 -# Userial type -# UserialType = 2 +# Priority of uart type +# HciUartSocket = 0 +# SerialUartPort = 1 +# SerialAocUartPort = 2 +# UserialInvalid = 3 +UserialTypePriority = 2-1 + +# The hardware support which offload capability +BtOffloadCap = AOC + +# The BT Offload Trunk Flag Group Name +BtOffloadTrunkGroup = 24P_AOC # Sar backOff high resolution support SarBackOffHighResolution = true