2021-12-03 03:30:14

by Sean Wang

[permalink] [raw]
Subject: [PATCH v2] Bluetooth: btmtksdio: enable AOSP extension for MT7921

From: Sean Wang <[email protected]>

Similar to MT7921 btusb, we enable AOSP extension for MT7921 btmtksdio
as well.

Signed-off-by: Sean Wang <[email protected]>
---
v2: rebase onto the top of "[v2] Bluetooth: btmtksdio: enable msft
opcode"
---
drivers/bluetooth/btmtksdio.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/bluetooth/btmtksdio.c b/drivers/bluetooth/btmtksdio.c
index fc15f826d948..3a8815e2be3b 100644
--- a/drivers/bluetooth/btmtksdio.c
+++ b/drivers/bluetooth/btmtksdio.c
@@ -788,6 +788,7 @@ static int mt79xx_setup(struct hci_dev *hdev, const char *fwname)
}

hci_set_msft_opcode(hdev, 0xFD30);
+ hci_set_aosp_capable(hdev);

return err;
}
--
2.25.1



2021-12-03 21:21:51

by Marcel Holtmann

[permalink] [raw]
Subject: Re: [PATCH v2] Bluetooth: btmtksdio: enable AOSP extension for MT7921

Hi Sean,

> Similar to MT7921 btusb, we enable AOSP extension for MT7921 btmtksdio
> as well.
>
> Signed-off-by: Sean Wang <[email protected]>
> ---
> v2: rebase onto the top of "[v2] Bluetooth: btmtksdio: enable msft
> opcode"
> ---
> drivers/bluetooth/btmtksdio.c | 1 +
> 1 file changed, 1 insertion(+)

patch has been applied to bluetooth-next tree.

Regards

Marcel