Lines Matching refs:sent
161 void *sent;
168 sent = hci_sent_cmd_data(hdev, HCI_OP_WRITE_LINK_POLICY);
169 if (!sent)
176 conn->link_policy = get_unaligned_le16(sent + 2);
198 void *sent;
205 sent = hci_sent_cmd_data(hdev, HCI_OP_WRITE_DEF_LINK_POLICY);
206 if (!sent)
209 hdev->link_policy = get_unaligned_le16(sent);
249 struct hci_cp_read_stored_link_key *sent;
253 sent = hci_sent_cmd_data(hdev, HCI_OP_READ_STORED_LINK_KEY);
254 if (!sent)
257 if (!rp->status && sent->read_all == 0x01) {
282 void *sent;
286 sent = hci_sent_cmd_data(hdev, HCI_OP_WRITE_LOCAL_NAME);
287 if (!sent)
293 mgmt_set_local_name_complete(hdev, sent, status);
295 memcpy(hdev->dev_name, sent, HCI_MAX_NAME_LENGTH);
317 void *sent;
321 sent = hci_sent_cmd_data(hdev, HCI_OP_WRITE_AUTH_ENABLE);
322 if (!sent)
328 __u8 param = *((__u8 *) sent);
346 void *sent;
353 sent = hci_sent_cmd_data(hdev, HCI_OP_WRITE_ENCRYPT_MODE);
354 if (!sent)
357 param = *((__u8 *) sent);
369 void *sent;
373 sent = hci_sent_cmd_data(hdev, HCI_OP_WRITE_SCAN_ENABLE);
374 if (!sent)
377 param = *((__u8 *) sent);
418 void *sent;
422 sent = hci_sent_cmd_data(hdev, HCI_OP_WRITE_CLASS_OF_DEV);
423 if (!sent)
429 memcpy(hdev->dev_class, sent, 3);
432 mgmt_set_class_of_dev_complete(hdev, sent, status);
465 void *sent;
472 sent = hci_sent_cmd_data(hdev, HCI_OP_WRITE_VOICE_SETTING);
473 if (!sent)
476 setting = get_unaligned_le16(sent);
507 struct hci_cp_write_ssp_mode *sent;
511 sent = hci_sent_cmd_data(hdev, HCI_OP_WRITE_SSP_MODE);
512 if (!sent)
518 if (sent->mode)
525 mgmt_ssp_enable_complete(hdev, sent->mode, status);
527 if (sent->mode)
539 struct hci_cp_write_sc_support *sent;
543 sent = hci_sent_cmd_data(hdev, HCI_OP_WRITE_SC_SUPPORT);
544 if (!sent)
550 if (sent->support)
557 if (sent->support)
625 void *sent;
632 sent = hci_sent_cmd_data(hdev, HCI_OP_WRITE_AUTH_PAYLOAD_TO);
633 if (!sent)
640 conn->auth_payload_timeout = get_unaligned_le16(sent + 2);
804 struct hci_cp_write_page_scan_activity *sent;
811 sent = hci_sent_cmd_data(hdev, HCI_OP_WRITE_PAGE_SCAN_ACTIVITY);
812 if (!sent)
815 hdev->page_scan_interval = __le16_to_cpu(sent->interval);
816 hdev->page_scan_window = __le16_to_cpu(sent->window);
1138 bdaddr_t *sent;
1145 sent = hci_sent_cmd_data(hdev, HCI_OP_LE_SET_RANDOM_ADDR);
1146 if (!sent)
1151 bacpy(&hdev->random_addr, sent);
1209 __u8 *sent, status = *((__u8 *) skb->data);
1216 sent = hci_sent_cmd_data(hdev, HCI_OP_LE_SET_ADV_ENABLE);
1217 if (!sent)
1225 if (*sent) {
1490 struct hci_cp_le_add_to_accept_list *sent;
1498 sent = hci_sent_cmd_data(hdev, HCI_OP_LE_ADD_TO_ACCEPT_LIST);
1499 if (!sent)
1502 hci_bdaddr_list_add(&hdev->le_accept_list, &sent->bdaddr,
1503 sent->bdaddr_type);
1509 struct hci_cp_le_del_from_accept_list *sent;
1517 sent = hci_sent_cmd_data(hdev, HCI_OP_LE_DEL_FROM_ACCEPT_LIST);
1518 if (!sent)
1521 hci_bdaddr_list_del(&hdev->le_accept_list, &sent->bdaddr,
1522 sent->bdaddr_type);
1555 struct hci_cp_le_write_def_data_len *sent;
1563 sent = hci_sent_cmd_data(hdev, HCI_OP_LE_WRITE_DEF_DATA_LEN);
1564 if (!sent)
1567 hdev->le_def_tx_len = le16_to_cpu(sent->tx_len);
1568 hdev->le_def_tx_time = le16_to_cpu(sent->tx_time);
1574 struct hci_cp_le_add_to_resolv_list *sent;
1582 sent = hci_sent_cmd_data(hdev, HCI_OP_LE_ADD_TO_RESOLV_LIST);
1583 if (!sent)
1586 hci_bdaddr_list_add_with_irk(&hdev->le_resolv_list, &sent->bdaddr,
1587 sent->bdaddr_type, sent->peer_irk,
1588 sent->local_irk);
1594 struct hci_cp_le_del_from_resolv_list *sent;
1602 sent = hci_sent_cmd_data(hdev, HCI_OP_LE_DEL_FROM_RESOLV_LIST);
1603 if (!sent)
1606 hci_bdaddr_list_del_with_irk(&hdev->le_resolv_list, &sent->bdaddr,
1607 sent->bdaddr_type);
1639 __u8 *sent, status = *((__u8 *) skb->data);
1646 sent = hci_sent_cmd_data(hdev, HCI_OP_LE_SET_ADDR_RESOLV_ENABLE);
1647 if (!sent)
1652 if (*sent)
1679 struct hci_cp_write_le_host_supported *sent;
1687 sent = hci_sent_cmd_data(hdev, HCI_OP_WRITE_LE_HOST_SUPPORTED);
1688 if (!sent)
1693 if (sent->le) {
1702 if (sent->simul)
1781 struct hci_cp_read_tx_power *sent;
1790 sent = hci_sent_cmd_data(hdev, HCI_OP_READ_TX_POWER);
1791 if (!sent)
1800 switch (sent->type) {
3149 * sent when the link is active and Encryption is enabled, the conn
3791 conn->sent -= count;
3880 conn->sent -= block_count;
4364 * sent once per new connection. Receiving a successful
4366 * BT_CONNECTED means that the device is misbehaving and sent