All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/1] Bluetooth: btusb: Enable MSFT extension for Mediatek Chip (MT7921)
@ 2021-08-02 12:59 mark-yw.chen
  2021-08-02 15:05   ` Marcel Holtmann
  0 siblings, 1 reply; 3+ messages in thread
From: mark-yw.chen @ 2021-08-02 12:59 UTC (permalink / raw)
  To: marcel, johan.hedberg
  Cc: chris.lu, will-cy.lee, sean.wang, linux-bluetooth,
	linux-mediatek, linux-kernel, michaelfsun, shawnku, jemele,
	apusaka, mark-yw.chen

From: "mark-yw.chen" <mark-yw.chen@mediatek.com>

The Mdiatek MT7921(7961) support MSFT HCI extensions, we are using
0xFD30 for VsMsftOpCode.

Signed-off-by: mark-yw.chen <mark-yw.chen@mediatek.com>
---
 drivers/bluetooth/btusb.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/bluetooth/btusb.c b/drivers/bluetooth/btusb.c
index fec798dadd99..b1a05bb9f4bf 100644
--- a/drivers/bluetooth/btusb.c
+++ b/drivers/bluetooth/btusb.c
@@ -3775,6 +3775,8 @@ static int btusb_mtk_setup(struct hci_dev *hdev)
 			bt_dev_err(hdev, "Failed to send wmt func ctrl (%d)", err);
 			return err;
 		}
+
+		hci_set_msft_opcode(hdev, 0xFD30);
 		goto done;
 	default:
 		bt_dev_err(hdev, "Unsupported hardware variant (%08x)",
-- 
2.18.0
_______________________________________________
Linux-mediatek mailing list
Linux-mediatek@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-mediatek

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH 1/1] Bluetooth: btusb: Enable MSFT extension for Mediatek Chip (MT7921)
  2021-08-02 12:59 [PATCH 1/1] Bluetooth: btusb: Enable MSFT extension for Mediatek Chip (MT7921) mark-yw.chen
@ 2021-08-02 15:05   ` Marcel Holtmann
  0 siblings, 0 replies; 3+ messages in thread
From: Marcel Holtmann @ 2021-08-02 15:05 UTC (permalink / raw)
  To: "Mark-YW Chen (陳揚文)"
  Cc: Johan Hedberg, chris.lu, will-cy.lee, Sean Wang, BlueZ,
	linux-mediatek, open list, michaelfsun, shawnku, jemele, apusaka

Hi Mark,

> The Mdiatek MT7921(7961) support MSFT HCI extensions, we are using
> 0xFD30 for VsMsftOpCode.
> 
> Signed-off-by: mark-yw.chen <mark-yw.chen@mediatek.com>
> ---
> drivers/bluetooth/btusb.c | 2 ++
> 1 file changed, 2 insertions(+)

patch has been applied to bluetooth-next tree.

Regards

Marcel


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH 1/1] Bluetooth: btusb: Enable MSFT extension for Mediatek Chip (MT7921)
@ 2021-08-02 15:05   ` Marcel Holtmann
  0 siblings, 0 replies; 3+ messages in thread
From: Marcel Holtmann @ 2021-08-02 15:05 UTC (permalink / raw)
  To: "Mark-YW Chen (陳揚文)"
  Cc: Johan Hedberg, chris.lu, will-cy.lee, Sean Wang, BlueZ,
	linux-mediatek, open list, michaelfsun, shawnku, jemele, apusaka

Hi Mark,

> The Mdiatek MT7921(7961) support MSFT HCI extensions, we are using
> 0xFD30 for VsMsftOpCode.
> 
> Signed-off-by: mark-yw.chen <mark-yw.chen@mediatek.com>
> ---
> drivers/bluetooth/btusb.c | 2 ++
> 1 file changed, 2 insertions(+)

patch has been applied to bluetooth-next tree.

Regards

Marcel


_______________________________________________
Linux-mediatek mailing list
Linux-mediatek@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-mediatek

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-08-02 15:05 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-02 12:59 [PATCH 1/1] Bluetooth: btusb: Enable MSFT extension for Mediatek Chip (MT7921) mark-yw.chen
2021-08-02 15:05 ` Marcel Holtmann
2021-08-02 15:05   ` Marcel Holtmann

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.