Lines Matching refs:sent

217 	void *sent;
224 sent = hci_sent_cmd_data(hdev, HCI_OP_WRITE_LINK_POLICY);
225 if (!sent)
232 conn->link_policy = get_unaligned_le16(sent + 2);
258 void *sent;
265 sent = hci_sent_cmd_data(hdev, HCI_OP_WRITE_DEF_LINK_POLICY);
266 if (!sent)
269 hdev->link_policy = get_unaligned_le16(sent);
313 struct hci_cp_read_stored_link_key *sent;
317 sent = hci_sent_cmd_data(hdev, HCI_OP_READ_STORED_LINK_KEY);
318 if (!sent)
321 if (!rp->status && sent->read_all == 0x01) {
354 void *sent;
358 sent = hci_sent_cmd_data(hdev, HCI_OP_WRITE_LOCAL_NAME);
359 if (!sent)
365 mgmt_set_local_name_complete(hdev, sent, rp->status);
367 memcpy(hdev->dev_name, sent, HCI_MAX_NAME_LENGTH);
395 void *sent;
399 sent = hci_sent_cmd_data(hdev, HCI_OP_WRITE_AUTH_ENABLE);
400 if (!sent)
406 __u8 param = *((__u8 *) sent);
427 void *sent;
434 sent = hci_sent_cmd_data(hdev, HCI_OP_WRITE_ENCRYPT_MODE);
435 if (!sent)
438 param = *((__u8 *) sent);
453 void *sent;
457 sent = hci_sent_cmd_data(hdev, HCI_OP_WRITE_SCAN_ENABLE);
458 if (!sent)
461 param = *((__u8 *) sent);
491 void *sent;
498 sent = hci_sent_cmd_data(hdev, HCI_OP_SET_EVENT_FLT);
499 if (!sent)
502 cp = (struct hci_cp_set_event_filter *)sent;
537 void *sent;
541 sent = hci_sent_cmd_data(hdev, HCI_OP_WRITE_CLASS_OF_DEV);
542 if (!sent)
548 memcpy(hdev->dev_class, sent, 3);
551 mgmt_set_class_of_dev_complete(hdev, sent, rp->status);
589 void *sent;
596 sent = hci_sent_cmd_data(hdev, HCI_OP_WRITE_VOICE_SETTING);
597 if (!sent)
600 setting = get_unaligned_le16(sent);
636 struct hci_cp_write_ssp_mode *sent;
640 sent = hci_sent_cmd_data(hdev, HCI_OP_WRITE_SSP_MODE);
641 if (!sent)
647 if (sent->mode)
654 if (sent->mode)
669 struct hci_cp_write_sc_support *sent;
673 sent = hci_sent_cmd_data(hdev, HCI_OP_WRITE_SC_SUPPORT);
674 if (!sent)
680 if (sent->support)
687 if (sent->support)
819 void *sent;
823 sent = hci_sent_cmd_data(hdev, HCI_OP_WRITE_AUTH_PAYLOAD_TO);
824 if (!sent)
836 conn->auth_payload_timeout = get_unaligned_le16(sent + 2);
1024 struct hci_cp_write_page_scan_activity *sent;
1031 sent = hci_sent_cmd_data(hdev, HCI_OP_WRITE_PAGE_SCAN_ACTIVITY);
1032 if (!sent)
1035 hdev->page_scan_interval = __le16_to_cpu(sent->interval);
1036 hdev->page_scan_window = __le16_to_cpu(sent->window);
1399 bdaddr_t *sent;
1406 sent = hci_sent_cmd_data(hdev, HCI_OP_LE_SET_RANDOM_ADDR);
1407 if (!sent)
1412 bacpy(&hdev->random_addr, sent);
1414 if (!bacmp(&hdev->rpa, sent)) {
1594 __u8 *sent;
1601 sent = hci_sent_cmd_data(hdev, HCI_OP_LE_SET_ADV_ENABLE);
1602 if (!sent)
1610 if (*sent) {
1924 struct hci_cp_le_add_to_accept_list *sent;
1932 sent = hci_sent_cmd_data(hdev, HCI_OP_LE_ADD_TO_ACCEPT_LIST);
1933 if (!sent)
1937 hci_bdaddr_list_add(&hdev->le_accept_list, &sent->bdaddr,
1938 sent->bdaddr_type);
1947 struct hci_cp_le_del_from_accept_list *sent;
1955 sent = hci_sent_cmd_data(hdev, HCI_OP_LE_DEL_FROM_ACCEPT_LIST);
1956 if (!sent)
1960 hci_bdaddr_list_del(&hdev->le_accept_list, &sent->bdaddr,
1961 sent->bdaddr_type);
2001 struct hci_cp_le_write_def_data_len *sent;
2009 sent = hci_sent_cmd_data(hdev, HCI_OP_LE_WRITE_DEF_DATA_LEN);
2010 if (!sent)
2013 hdev->le_def_tx_len = le16_to_cpu(sent->tx_len);
2014 hdev->le_def_tx_time = le16_to_cpu(sent->tx_time);
2022 struct hci_cp_le_add_to_resolv_list *sent;
2030 sent = hci_sent_cmd_data(hdev, HCI_OP_LE_ADD_TO_RESOLV_LIST);
2031 if (!sent)
2035 hci_bdaddr_list_add_with_irk(&hdev->le_resolv_list, &sent->bdaddr,
2036 sent->bdaddr_type, sent->peer_irk,
2037 sent->local_irk);
2046 struct hci_cp_le_del_from_resolv_list *sent;
2054 sent = hci_sent_cmd_data(hdev, HCI_OP_LE_DEL_FROM_RESOLV_LIST);
2055 if (!sent)
2059 hci_bdaddr_list_del_with_irk(&hdev->le_resolv_list, &sent->bdaddr,
2060 sent->bdaddr_type);
2102 __u8 *sent;
2109 sent = hci_sent_cmd_data(hdev, HCI_OP_LE_SET_ADDR_RESOLV_ENABLE);
2110 if (!sent)
2115 if (*sent)
2146 struct hci_cp_write_le_host_supported *sent;
2154 sent = hci_sent_cmd_data(hdev, HCI_OP_WRITE_LE_HOST_SUPPORTED);
2155 if (!sent)
2160 if (sent->le) {
2169 if (sent->simul)
2260 struct hci_cp_read_tx_power *sent;
2269 sent = hci_sent_cmd_data(hdev, HCI_OP_READ_TX_POWER);
2270 if (!sent)
2279 switch (sent->type) {
3185 /* The HCI_Connection_Complete event is only sent once per connection.
3676 * sent when the link is active and Encryption is enabled, the conn
4462 conn->sent -= count;
4567 conn->sent -= block_count;
5070 /* The HCI_Synchronous_Connection_Complete event is only sent once per connection.
5934 /* The HCI_LE_Connection_Complete event is only sent once per connection.
6085 * shall not be sent when the Host disables the advertising set. So in
6366 /* All scan results should be sent up for Mesh systems */