2022-01-03 13:28:50

by Aditya Garg

[permalink] [raw]
Subject: [PATCH] btbcm: disable read tx power for MacBook Air 8,1 and 8,2

From: Aditya Garg <[email protected]>

The MacBook Air 8,1 and 8,2 also need querying of LE Tx power
to be disabled for Bluetooth to work.

Signed-off-by: Aditya Garg <[email protected]>
Cc: [email protected]
---
drivers/bluetooth/btbcm.c | 12 ++++++++++++
1 file changed, 12 insertions(+)

diff --git a/drivers/bluetooth/btbcm.c b/drivers/bluetooth/btbcm.c
index 07fabaa5a..d9ceca7a7 100644
--- a/drivers/bluetooth/btbcm.c
+++ b/drivers/bluetooth/btbcm.c
@@ -363,6 +363,18 @@ static const struct dmi_system_id disable_broken_read_transmit_power[] = {
DMI_MATCH(DMI_PRODUCT_NAME, "MacBookPro16,4"),
},
},
+ {
+ .matches = {
+ DMI_MATCH(DMI_BOARD_VENDOR, "Apple Inc."),
+ DMI_MATCH(DMI_PRODUCT_NAME, "MacBookAir8,1"),
+ },
+ },
+ {
+ .matches = {
+ DMI_MATCH(DMI_BOARD_VENDOR, "Apple Inc."),
+ DMI_MATCH(DMI_PRODUCT_NAME, "MacBookAir8,2"),
+ },
+ },
{
.matches = {
DMI_MATCH(DMI_BOARD_VENDOR, "Apple Inc."),
--
2.25.1




2022-01-06 13:56:30

by Marcel Holtmann

[permalink] [raw]
Subject: Re: [PATCH] btbcm: disable read tx power for MacBook Air 8,1 and 8,2

Hi Aditya,

> The MacBook Air 8,1 and 8,2 also need querying of LE Tx power
> to be disabled for Bluetooth to work.
>
> Signed-off-by: Aditya Garg <[email protected]>
> Cc: [email protected]
> ---
> drivers/bluetooth/btbcm.c | 12 ++++++++++++
> 1 file changed, 12 insertions(+)

patch has been applied to bluetooth-next tree.

Regards

Marcel