[PATCH v3 1/2] Bluetooth: btbcm: disable read tx power for BeagleV-Ahead

From: Thomas Gerner

Date: Mon Nov 30 2026 - 10:22:15 EST


The bluetooth module of the Ampak AP6203BM is identified by the btbcm
driver as BCM4362A2.

Without this patch the hci driver prints this message:

Bluetooth: hci0: unexpected cc 0x204b length: 1 < 3
Bluetooth: hci0: Opcode 0x204b failed: -38

To getbluetooth working it is necessary to disable reading of LE tx
power on the BeagleV-Ahead board similar as for several other devices.

Signed-off-by: Thomas Gerner <thomas.gerner@xxxxxxxxxxxxxxxx>
---
Changes in v3:
- As suggested by Drew Fustini use of_machine_compatible_match() for testing

No changes in v2

drivers/bluetooth/btbcm.c | 9 +++++++++
1 file changed, 9 insertions(+)

diff --git a/drivers/bluetooth/btbcm.c b/drivers/bluetooth/btbcm.c
index 065536d4ec76..e58a14184038 100644
--- a/drivers/bluetooth/btbcm.c
+++ b/drivers/bluetooth/btbcm.c
@@ -438,6 +438,11 @@ static const struct dmi_system_id disable_broken_read_transmit_power[] = {
{ }
};

+static const char *const board_broken_read_transmit_power[] = {
+ "beagle,beaglev-ahead",
+ NULL
+};
+
static int btbcm_read_info(struct hci_dev *hdev)
{
struct sk_buff *skb;
@@ -469,6 +474,10 @@ static int btbcm_print_controller_features(struct hci_dev *hdev)
if (dmi_first_match(disable_broken_read_transmit_power))
hci_set_quirk(hdev, HCI_QUIRK_BROKEN_READ_TRANSMIT_POWER);

+ /* and for boards with broken Read LE Min/Max TX Power */
+ if (of_machine_compatible_match(board_broken_read_transmit_power))
+ hci_set_quirk(hdev, HCI_QUIRK_BROKEN_READ_TRANSMIT_POWER);
+
return 0;
}

--
2.53.0