Skip to contentSkip to conversation

Bluetooth: Read supported features and commands on AMP controllers

PATCH Applied Marcel Holtmann 2 participants 2 messages Oct 7, 2013

Subsystems (2)
lore
Share & tools
lore

Marcel Holtmann

author maintainer
#0 lore raw

PATCH 1/1 Bluetooth: Read supported features and commands on AMP controllers

The commands for reading supported features and commands are both supported by AMP controllers. Issue them during controller init phase so their values are known.

---
 net/bluetooth/hci_core.c | 6 ++++++
 1 file changed, 6 insertions(+)
net/bluetooth/hci_core.c +6 -0
index 3572611..99f83ab 100644
@@ -307,6 +307,12 @@ static void amp_init(struct hci_request *req)
 	/* Read Local Version */
 	hci_req_add(req, HCI_OP_READ_LOCAL_VERSION, 0, NULL);
 
+	/* Read Local Supported Commands */
+	hci_req_add(req, HCI_OP_READ_LOCAL_COMMANDS, 0, NULL);
+
+	/* Read Local Supported Features */
+	hci_req_add(req, HCI_OP_READ_LOCAL_FEATURES, 0, NULL);
+
 	/* Read Local AMP Info */
 	hci_req_add(req, HCI_OP_READ_LOCAL_AMP_INFO, 0, NULL);
 
Signature · 1 line
1.8.3.1
#1 lore raw

Hi Marcel,

Quoted 8 lines · Marcel Holtmann

The commands for reading supported features and commands are both supported by AMP controllers. Issue them during controller init phase so their values are known.

---
 net/bluetooth/hci_core.c | 6 ++++++
 1 file changed, 6 insertions(+)

Applied to bluetooth-next. Thanks.

Johan