From 7211ad2cfc2afaa21fd3757351d01e560eb59e9b Mon Sep 17 00:00:00 2001 From: Harshesh Valera Date: Thu, 7 Sep 2023 07:21:42 -0700 Subject: [PATCH] Update bluetooth patches - Align generic hw_settlement delay to 200 msec for LWB modules This patche is required to be able to safely operate both LWB and LWB5 modules Signed-off-by: Harshesh Valera --- ...upport-for-Dual-band-and-single-band.patch | 4 +-- ...writing-the-dev-ttymxcX-based-on-.co.patch | 4 +-- ...-generic-hw_settlement-delay-to-200-.patch | 29 +++++++++++++++++++ 3 files changed, 33 insertions(+), 4 deletions(-) create mode 100644 scripts/platform/hardware/broadcom/libbt.git/0003-bluetooth-Update-generic-hw_settlement-delay-to-200-.patch diff --git a/scripts/platform/hardware/broadcom/libbt.git/0001-Support-for-Dual-band-and-single-band.patch b/scripts/platform/hardware/broadcom/libbt.git/0001-Support-for-Dual-band-and-single-band.patch index 925be53..d1bfa6f 100644 --- a/scripts/platform/hardware/broadcom/libbt.git/0001-Support-for-Dual-band-and-single-band.patch +++ b/scripts/platform/hardware/broadcom/libbt.git/0001-Support-for-Dual-band-and-single-band.patch @@ -1,7 +1,7 @@ -From 7a6fbcd86ed75f26aae1ef211ba9d13ef41bf527 Mon Sep 17 00:00:00 2001 +From 92f4c15a5ff5e0334db79c1a784a6676838d155d Mon Sep 17 00:00:00 2001 From: Harshesh Valera Date: Sat, 7 Jan 2023 20:00:03 -0800 -Subject: [PATCH 1/2] Support for Dual band and single band +Subject: [PATCH 1/3] Support for Dual band and single band - Merge multiple platforms and multiple properties patches diff --git a/scripts/platform/hardware/broadcom/libbt.git/0002-support-for-overwriting-the-dev-ttymxcX-based-on-.co.patch b/scripts/platform/hardware/broadcom/libbt.git/0002-support-for-overwriting-the-dev-ttymxcX-based-on-.co.patch index 827bb0e..c20e8d1 100644 --- a/scripts/platform/hardware/broadcom/libbt.git/0002-support-for-overwriting-the-dev-ttymxcX-based-on-.co.patch +++ b/scripts/platform/hardware/broadcom/libbt.git/0002-support-for-overwriting-the-dev-ttymxcX-based-on-.co.patch @@ -1,7 +1,7 @@ -From a45556ccad7f055e4c4d3cb39c0174993af63384 Mon Sep 17 00:00:00 2001 +From 87c98ef332148d7879a9fcd40224ad4105dadace Mon Sep 17 00:00:00 2001 From: Harshesh Valera Date: Thu, 16 Mar 2023 21:40:17 -0700 -Subject: [PATCH 2/2] support for overwriting the /dev/ttymxcX based on .conf +Subject: [PATCH 2/3] support for overwriting the /dev/ttymxcX based on .conf file Change-Id: Ibd4977319fd7e21beb759f4dcc4f7cdd72d13454 diff --git a/scripts/platform/hardware/broadcom/libbt.git/0003-bluetooth-Update-generic-hw_settlement-delay-to-200-.patch b/scripts/platform/hardware/broadcom/libbt.git/0003-bluetooth-Update-generic-hw_settlement-delay-to-200-.patch new file mode 100644 index 0000000..ee220a6 --- /dev/null +++ b/scripts/platform/hardware/broadcom/libbt.git/0003-bluetooth-Update-generic-hw_settlement-delay-to-200-.patch @@ -0,0 +1,29 @@ +From de784b3bea388f786bf1ebe344a04d9548227c9d Mon Sep 17 00:00:00 2001 +From: Harshesh Valera +Date: Thu, 7 Sep 2023 07:19:57 -0700 +Subject: [PATCH 3/3] bluetooth: Update generic hw_settlement delay to 200 msec + +This is required for LWB modules + +Change-Id: Ib21da6736f721a9ebbce9d107e1b8d8ca1cde10b +Signed-off-by: Harshesh Valera +--- + src/hardware.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/hardware.c b/src/hardware.c +index 8f96d60..0ea77b0 100644 +--- a/src/hardware.c ++++ b/src/hardware.c +@@ -234,7 +234,7 @@ static uint8_t bt_sco_i2spcm_param[SCO_I2SPCM_PARAM_SIZE] = + static const fw_settlement_entry_t fw_settlement_table[] = { + {"BCM43241", 200}, + {"BCM43341", 100}, +- {(const char *) NULL, 100} // Giving the generic fw settlement delay setting. ++ {(const char *) NULL, 200} // Giving the generic fw settlement delay setting. + }; + + +-- +2.25.1 +