Lines Matching refs:rp
122 struct hci_rp_role_discovery *rp = (void *) skb->data; in hci_cc_role_discovery() local
125 BT_DBG("%s status 0x%2.2x", hdev->name, rp->status); in hci_cc_role_discovery()
127 if (rp->status) in hci_cc_role_discovery()
132 conn = hci_conn_hash_lookup_handle(hdev, __le16_to_cpu(rp->handle)); in hci_cc_role_discovery()
134 conn->role = rp->role; in hci_cc_role_discovery()
141 struct hci_rp_read_link_policy *rp = (void *) skb->data; in hci_cc_read_link_policy() local
144 BT_DBG("%s status 0x%2.2x", hdev->name, rp->status); in hci_cc_read_link_policy()
146 if (rp->status) in hci_cc_read_link_policy()
151 conn = hci_conn_hash_lookup_handle(hdev, __le16_to_cpu(rp->handle)); in hci_cc_read_link_policy()
153 conn->link_policy = __le16_to_cpu(rp->policy); in hci_cc_read_link_policy()
160 struct hci_rp_write_link_policy *rp = (void *) skb->data; in hci_cc_write_link_policy() local
164 BT_DBG("%s status 0x%2.2x", hdev->name, rp->status); in hci_cc_write_link_policy()
166 if (rp->status) in hci_cc_write_link_policy()
175 conn = hci_conn_hash_lookup_handle(hdev, __le16_to_cpu(rp->handle)); in hci_cc_write_link_policy()
185 struct hci_rp_read_def_link_policy *rp = (void *) skb->data; in hci_cc_read_def_link_policy() local
187 BT_DBG("%s status 0x%2.2x", hdev->name, rp->status); in hci_cc_read_def_link_policy()
189 if (rp->status) in hci_cc_read_def_link_policy()
192 hdev->link_policy = __le16_to_cpu(rp->policy); in hci_cc_read_def_link_policy()
249 struct hci_rp_read_stored_link_key *rp = (void *)skb->data; in hci_cc_read_stored_link_key() local
252 BT_DBG("%s status 0x%2.2x", hdev->name, rp->status); in hci_cc_read_stored_link_key()
258 if (!rp->status && sent->read_all == 0x01) { in hci_cc_read_stored_link_key()
259 hdev->stored_max_keys = rp->max_keys; in hci_cc_read_stored_link_key()
260 hdev->stored_num_keys = rp->num_keys; in hci_cc_read_stored_link_key()
267 struct hci_rp_delete_stored_link_key *rp = (void *)skb->data; in hci_cc_delete_stored_link_key() local
269 BT_DBG("%s status 0x%2.2x", hdev->name, rp->status); in hci_cc_delete_stored_link_key()
271 if (rp->status) in hci_cc_delete_stored_link_key()
274 if (rp->num_keys <= hdev->stored_num_keys) in hci_cc_delete_stored_link_key()
275 hdev->stored_num_keys -= rp->num_keys; in hci_cc_delete_stored_link_key()
303 struct hci_rp_read_local_name *rp = (void *) skb->data; in hci_cc_read_local_name() local
305 BT_DBG("%s status 0x%2.2x", hdev->name, rp->status); in hci_cc_read_local_name()
307 if (rp->status) in hci_cc_read_local_name()
312 memcpy(hdev->dev_name, rp->name, HCI_MAX_NAME_LENGTH); in hci_cc_read_local_name()
426 struct hci_rp_read_class_of_dev *rp = (void *) skb->data; in hci_cc_read_class_of_dev() local
428 BT_DBG("%s status 0x%2.2x", hdev->name, rp->status); in hci_cc_read_class_of_dev()
430 if (rp->status) in hci_cc_read_class_of_dev()
433 memcpy(hdev->dev_class, rp->dev_class, 3); in hci_cc_read_class_of_dev()
463 struct hci_rp_read_voice_setting *rp = (void *) skb->data; in hci_cc_read_voice_setting() local
466 BT_DBG("%s status 0x%2.2x", hdev->name, rp->status); in hci_cc_read_voice_setting()
468 if (rp->status) in hci_cc_read_voice_setting()
471 setting = __le16_to_cpu(rp->voice_setting); in hci_cc_read_voice_setting()
516 struct hci_rp_read_num_supported_iac *rp = (void *) skb->data; in hci_cc_read_num_supported_iac() local
518 BT_DBG("%s status 0x%2.2x", hdev->name, rp->status); in hci_cc_read_num_supported_iac()
520 if (rp->status) in hci_cc_read_num_supported_iac()
523 hdev->num_iac = rp->num_iac; in hci_cc_read_num_supported_iac()
592 struct hci_rp_read_local_version *rp = (void *) skb->data; in hci_cc_read_local_version() local
594 BT_DBG("%s status 0x%2.2x", hdev->name, rp->status); in hci_cc_read_local_version()
596 if (rp->status) in hci_cc_read_local_version()
601 hdev->hci_ver = rp->hci_ver; in hci_cc_read_local_version()
602 hdev->hci_rev = __le16_to_cpu(rp->hci_rev); in hci_cc_read_local_version()
603 hdev->lmp_ver = rp->lmp_ver; in hci_cc_read_local_version()
604 hdev->manufacturer = __le16_to_cpu(rp->manufacturer); in hci_cc_read_local_version()
605 hdev->lmp_subver = __le16_to_cpu(rp->lmp_subver); in hci_cc_read_local_version()
612 struct hci_rp_read_local_commands *rp = (void *) skb->data; in hci_cc_read_local_commands() local
614 BT_DBG("%s status 0x%2.2x", hdev->name, rp->status); in hci_cc_read_local_commands()
616 if (rp->status) in hci_cc_read_local_commands()
621 memcpy(hdev->commands, rp->commands, sizeof(hdev->commands)); in hci_cc_read_local_commands()
627 struct hci_rp_read_auth_payload_to *rp = (void *)skb->data; in hci_cc_read_auth_payload_timeout() local
630 BT_DBG("%s status 0x%2.2x", hdev->name, rp->status); in hci_cc_read_auth_payload_timeout()
632 if (rp->status) in hci_cc_read_auth_payload_timeout()
637 conn = hci_conn_hash_lookup_handle(hdev, __le16_to_cpu(rp->handle)); in hci_cc_read_auth_payload_timeout()
639 conn->auth_payload_timeout = __le16_to_cpu(rp->timeout); in hci_cc_read_auth_payload_timeout()
647 struct hci_rp_write_auth_payload_to *rp = (void *)skb->data; in hci_cc_write_auth_payload_timeout() local
651 BT_DBG("%s status 0x%2.2x", hdev->name, rp->status); in hci_cc_write_auth_payload_timeout()
653 if (rp->status) in hci_cc_write_auth_payload_timeout()
662 conn = hci_conn_hash_lookup_handle(hdev, __le16_to_cpu(rp->handle)); in hci_cc_write_auth_payload_timeout()
672 struct hci_rp_read_local_features *rp = (void *) skb->data; in hci_cc_read_local_features() local
674 BT_DBG("%s status 0x%2.2x", hdev->name, rp->status); in hci_cc_read_local_features()
676 if (rp->status) in hci_cc_read_local_features()
679 memcpy(hdev->features, rp->features, 8); in hci_cc_read_local_features()
722 struct hci_rp_read_local_ext_features *rp = (void *) skb->data; in hci_cc_read_local_ext_features() local
724 BT_DBG("%s status 0x%2.2x", hdev->name, rp->status); in hci_cc_read_local_ext_features()
726 if (rp->status) in hci_cc_read_local_ext_features()
729 if (hdev->max_page < rp->max_page) in hci_cc_read_local_ext_features()
730 hdev->max_page = rp->max_page; in hci_cc_read_local_ext_features()
732 if (rp->page < HCI_MAX_PAGES) in hci_cc_read_local_ext_features()
733 memcpy(hdev->features[rp->page], rp->features, 8); in hci_cc_read_local_ext_features()
739 struct hci_rp_read_flow_control_mode *rp = (void *) skb->data; in hci_cc_read_flow_control_mode() local
741 BT_DBG("%s status 0x%2.2x", hdev->name, rp->status); in hci_cc_read_flow_control_mode()
743 if (rp->status) in hci_cc_read_flow_control_mode()
746 hdev->flow_ctl_mode = rp->mode; in hci_cc_read_flow_control_mode()
751 struct hci_rp_read_buffer_size *rp = (void *) skb->data; in hci_cc_read_buffer_size() local
753 BT_DBG("%s status 0x%2.2x", hdev->name, rp->status); in hci_cc_read_buffer_size()
755 if (rp->status) in hci_cc_read_buffer_size()
758 hdev->acl_mtu = __le16_to_cpu(rp->acl_mtu); in hci_cc_read_buffer_size()
759 hdev->sco_mtu = rp->sco_mtu; in hci_cc_read_buffer_size()
760 hdev->acl_pkts = __le16_to_cpu(rp->acl_max_pkt); in hci_cc_read_buffer_size()
761 hdev->sco_pkts = __le16_to_cpu(rp->sco_max_pkt); in hci_cc_read_buffer_size()
777 struct hci_rp_read_bd_addr *rp = (void *) skb->data; in hci_cc_read_bd_addr() local
779 BT_DBG("%s status 0x%2.2x", hdev->name, rp->status); in hci_cc_read_bd_addr()
781 if (rp->status) in hci_cc_read_bd_addr()
785 bacpy(&hdev->bdaddr, &rp->bdaddr); in hci_cc_read_bd_addr()
788 bacpy(&hdev->setup_addr, &rp->bdaddr); in hci_cc_read_bd_addr()
794 struct hci_rp_read_local_pairing_opts *rp = (void *) skb->data; in hci_cc_read_local_pairing_opts() local
796 BT_DBG("%s status 0x%2.2x", hdev->name, rp->status); in hci_cc_read_local_pairing_opts()
798 if (rp->status) in hci_cc_read_local_pairing_opts()
803 hdev->pairing_opts = rp->pairing_opts; in hci_cc_read_local_pairing_opts()
804 hdev->max_enc_key_size = rp->max_key_size; in hci_cc_read_local_pairing_opts()
811 struct hci_rp_read_page_scan_activity *rp = (void *) skb->data; in hci_cc_read_page_scan_activity() local
813 BT_DBG("%s status 0x%2.2x", hdev->name, rp->status); in hci_cc_read_page_scan_activity()
815 if (rp->status) in hci_cc_read_page_scan_activity()
819 hdev->page_scan_interval = __le16_to_cpu(rp->interval); in hci_cc_read_page_scan_activity()
820 hdev->page_scan_window = __le16_to_cpu(rp->window); in hci_cc_read_page_scan_activity()
846 struct hci_rp_read_page_scan_type *rp = (void *) skb->data; in hci_cc_read_page_scan_type() local
848 BT_DBG("%s status 0x%2.2x", hdev->name, rp->status); in hci_cc_read_page_scan_type()
850 if (rp->status) in hci_cc_read_page_scan_type()
854 hdev->page_scan_type = rp->type; in hci_cc_read_page_scan_type()
876 struct hci_rp_read_data_block_size *rp = (void *) skb->data; in hci_cc_read_data_block_size() local
878 BT_DBG("%s status 0x%2.2x", hdev->name, rp->status); in hci_cc_read_data_block_size()
880 if (rp->status) in hci_cc_read_data_block_size()
883 hdev->block_mtu = __le16_to_cpu(rp->max_acl_len); in hci_cc_read_data_block_size()
884 hdev->block_len = __le16_to_cpu(rp->block_len); in hci_cc_read_data_block_size()
885 hdev->num_blocks = __le16_to_cpu(rp->num_blocks); in hci_cc_read_data_block_size()
895 struct hci_rp_read_clock *rp = (void *) skb->data; in hci_cc_read_clock() local
901 if (skb->len < sizeof(*rp)) in hci_cc_read_clock()
904 if (rp->status) in hci_cc_read_clock()
914 hdev->clock = le32_to_cpu(rp->clock); in hci_cc_read_clock()
918 conn = hci_conn_hash_lookup_handle(hdev, __le16_to_cpu(rp->handle)); in hci_cc_read_clock()
920 conn->clock = le32_to_cpu(rp->clock); in hci_cc_read_clock()
921 conn->clock_accuracy = le16_to_cpu(rp->accuracy); in hci_cc_read_clock()
931 struct hci_rp_read_local_amp_info *rp = (void *) skb->data; in hci_cc_read_local_amp_info() local
933 BT_DBG("%s status 0x%2.2x", hdev->name, rp->status); in hci_cc_read_local_amp_info()
935 if (rp->status) in hci_cc_read_local_amp_info()
938 hdev->amp_status = rp->amp_status; in hci_cc_read_local_amp_info()
939 hdev->amp_total_bw = __le32_to_cpu(rp->total_bw); in hci_cc_read_local_amp_info()
940 hdev->amp_max_bw = __le32_to_cpu(rp->max_bw); in hci_cc_read_local_amp_info()
941 hdev->amp_min_latency = __le32_to_cpu(rp->min_latency); in hci_cc_read_local_amp_info()
942 hdev->amp_max_pdu = __le32_to_cpu(rp->max_pdu); in hci_cc_read_local_amp_info()
943 hdev->amp_type = rp->amp_type; in hci_cc_read_local_amp_info()
944 hdev->amp_pal_cap = __le16_to_cpu(rp->pal_cap); in hci_cc_read_local_amp_info()
945 hdev->amp_assoc_size = __le16_to_cpu(rp->max_assoc_size); in hci_cc_read_local_amp_info()
946 hdev->amp_be_flush_to = __le32_to_cpu(rp->be_flush_to); in hci_cc_read_local_amp_info()
947 hdev->amp_max_flush_to = __le32_to_cpu(rp->max_flush_to); in hci_cc_read_local_amp_info()
953 struct hci_rp_read_inq_rsp_tx_power *rp = (void *) skb->data; in hci_cc_read_inq_rsp_tx_power() local
955 BT_DBG("%s status 0x%2.2x", hdev->name, rp->status); in hci_cc_read_inq_rsp_tx_power()
957 if (rp->status) in hci_cc_read_inq_rsp_tx_power()
960 hdev->inq_tx_power = rp->tx_power; in hci_cc_read_inq_rsp_tx_power()
966 struct hci_rp_read_def_err_data_reporting *rp = (void *)skb->data; in hci_cc_read_def_err_data_reporting() local
968 BT_DBG("%s status 0x%2.2x", hdev->name, rp->status); in hci_cc_read_def_err_data_reporting()
970 if (rp->status) in hci_cc_read_def_err_data_reporting()
973 hdev->err_data_reporting = rp->err_data_reporting; in hci_cc_read_def_err_data_reporting()
996 struct hci_rp_pin_code_reply *rp = (void *) skb->data; in hci_cc_pin_code_reply() local
1000 BT_DBG("%s status 0x%2.2x", hdev->name, rp->status); in hci_cc_pin_code_reply()
1005 mgmt_pin_code_reply_complete(hdev, &rp->bdaddr, rp->status); in hci_cc_pin_code_reply()
1007 if (rp->status) in hci_cc_pin_code_reply()
1024 struct hci_rp_pin_code_neg_reply *rp = (void *) skb->data; in hci_cc_pin_code_neg_reply() local
1026 BT_DBG("%s status 0x%2.2x", hdev->name, rp->status); in hci_cc_pin_code_neg_reply()
1031 mgmt_pin_code_neg_reply_complete(hdev, &rp->bdaddr, in hci_cc_pin_code_neg_reply()
1032 rp->status); in hci_cc_pin_code_neg_reply()
1040 struct hci_rp_le_read_buffer_size *rp = (void *) skb->data; in hci_cc_le_read_buffer_size() local
1042 BT_DBG("%s status 0x%2.2x", hdev->name, rp->status); in hci_cc_le_read_buffer_size()
1044 if (rp->status) in hci_cc_le_read_buffer_size()
1047 hdev->le_mtu = __le16_to_cpu(rp->le_mtu); in hci_cc_le_read_buffer_size()
1048 hdev->le_pkts = rp->le_max_pkt; in hci_cc_le_read_buffer_size()
1058 struct hci_rp_le_read_local_features *rp = (void *) skb->data; in hci_cc_le_read_local_features() local
1060 BT_DBG("%s status 0x%2.2x", hdev->name, rp->status); in hci_cc_le_read_local_features()
1062 if (rp->status) in hci_cc_le_read_local_features()
1065 memcpy(hdev->le_features, rp->features, 8); in hci_cc_le_read_local_features()
1071 struct hci_rp_le_read_adv_tx_power *rp = (void *) skb->data; in hci_cc_le_read_adv_tx_power() local
1073 BT_DBG("%s status 0x%2.2x", hdev->name, rp->status); in hci_cc_le_read_adv_tx_power()
1075 if (rp->status) in hci_cc_le_read_adv_tx_power()
1078 hdev->adv_tx_power = rp->tx_power; in hci_cc_le_read_adv_tx_power()
1083 struct hci_rp_user_confirm_reply *rp = (void *) skb->data; in hci_cc_user_confirm_reply() local
1085 BT_DBG("%s status 0x%2.2x", hdev->name, rp->status); in hci_cc_user_confirm_reply()
1090 mgmt_user_confirm_reply_complete(hdev, &rp->bdaddr, ACL_LINK, 0, in hci_cc_user_confirm_reply()
1091 rp->status); in hci_cc_user_confirm_reply()
1099 struct hci_rp_user_confirm_reply *rp = (void *) skb->data; in hci_cc_user_confirm_neg_reply() local
1101 BT_DBG("%s status 0x%2.2x", hdev->name, rp->status); in hci_cc_user_confirm_neg_reply()
1106 mgmt_user_confirm_neg_reply_complete(hdev, &rp->bdaddr, in hci_cc_user_confirm_neg_reply()
1107 ACL_LINK, 0, rp->status); in hci_cc_user_confirm_neg_reply()
1114 struct hci_rp_user_confirm_reply *rp = (void *) skb->data; in hci_cc_user_passkey_reply() local
1116 BT_DBG("%s status 0x%2.2x", hdev->name, rp->status); in hci_cc_user_passkey_reply()
1121 mgmt_user_passkey_reply_complete(hdev, &rp->bdaddr, ACL_LINK, in hci_cc_user_passkey_reply()
1122 0, rp->status); in hci_cc_user_passkey_reply()
1130 struct hci_rp_user_confirm_reply *rp = (void *) skb->data; in hci_cc_user_passkey_neg_reply() local
1132 BT_DBG("%s status 0x%2.2x", hdev->name, rp->status); in hci_cc_user_passkey_neg_reply()
1137 mgmt_user_passkey_neg_reply_complete(hdev, &rp->bdaddr, in hci_cc_user_passkey_neg_reply()
1138 ACL_LINK, 0, rp->status); in hci_cc_user_passkey_neg_reply()
1146 struct hci_rp_read_local_oob_data *rp = (void *) skb->data; in hci_cc_read_local_oob_data() local
1148 BT_DBG("%s status 0x%2.2x", hdev->name, rp->status); in hci_cc_read_local_oob_data()
1154 struct hci_rp_read_local_oob_ext_data *rp = (void *) skb->data; in hci_cc_read_local_oob_ext_data() local
1156 BT_DBG("%s status 0x%2.2x", hdev->name, rp->status); in hci_cc_read_local_oob_ext_data()
1245 struct hci_rp_le_read_transmit_power *rp = (void *)skb->data; in hci_cc_le_read_transmit_power() local
1247 BT_DBG("%s status 0x%2.2x", hdev->name, rp->status); in hci_cc_le_read_transmit_power()
1249 if (rp->status) in hci_cc_le_read_transmit_power()
1252 hdev->min_le_tx_power = rp->min_le_tx_power; in hci_cc_le_read_transmit_power()
1253 hdev->max_le_tx_power = rp->max_le_tx_power; in hci_cc_le_read_transmit_power()
1527 struct hci_rp_le_read_num_supported_adv_sets *rp = (void *) skb->data; in hci_cc_le_read_num_adv_sets() local
1529 BT_DBG("%s status 0x%2.2x No of Adv sets %u", hdev->name, rp->status, in hci_cc_le_read_num_adv_sets()
1530 rp->num_of_sets); in hci_cc_le_read_num_adv_sets()
1532 if (rp->status) in hci_cc_le_read_num_adv_sets()
1535 hdev->le_num_of_adv_sets = rp->num_of_sets; in hci_cc_le_read_num_adv_sets()
1541 struct hci_rp_le_read_accept_list_size *rp = (void *)skb->data; in hci_cc_le_read_accept_list_size() local
1543 BT_DBG("%s status 0x%2.2x size %u", hdev->name, rp->status, rp->size); in hci_cc_le_read_accept_list_size()
1545 if (rp->status) in hci_cc_le_read_accept_list_size()
1548 hdev->le_accept_list_size = rp->size; in hci_cc_le_read_accept_list_size()
1605 struct hci_rp_le_read_supported_states *rp = (void *) skb->data; in hci_cc_le_read_supported_states() local
1607 BT_DBG("%s status 0x%2.2x", hdev->name, rp->status); in hci_cc_le_read_supported_states()
1609 if (rp->status) in hci_cc_le_read_supported_states()
1612 memcpy(hdev->le_states, rp->le_states, 8); in hci_cc_le_read_supported_states()
1618 struct hci_rp_le_read_def_data_len *rp = (void *) skb->data; in hci_cc_le_read_def_data_len() local
1620 BT_DBG("%s status 0x%2.2x", hdev->name, rp->status); in hci_cc_le_read_def_data_len()
1622 if (rp->status) in hci_cc_le_read_def_data_len()
1625 hdev->le_def_tx_len = le16_to_cpu(rp->tx_len); in hci_cc_le_read_def_data_len()
1626 hdev->le_def_tx_time = le16_to_cpu(rp->tx_time); in hci_cc_le_read_def_data_len()
1703 struct hci_rp_le_read_resolv_list_size *rp = (void *) skb->data; in hci_cc_le_read_resolv_list_size() local
1705 BT_DBG("%s status 0x%2.2x size %u", hdev->name, rp->status, rp->size); in hci_cc_le_read_resolv_list_size()
1707 if (rp->status) in hci_cc_le_read_resolv_list_size()
1710 hdev->le_resolv_list_size = rp->size; in hci_cc_le_read_resolv_list_size()
1740 struct hci_rp_le_read_max_data_len *rp = (void *) skb->data; in hci_cc_le_read_max_data_len() local
1742 BT_DBG("%s status 0x%2.2x", hdev->name, rp->status); in hci_cc_le_read_max_data_len()
1744 if (rp->status) in hci_cc_le_read_max_data_len()
1747 hdev->le_max_tx_len = le16_to_cpu(rp->tx_len); in hci_cc_le_read_max_data_len()
1748 hdev->le_max_tx_time = le16_to_cpu(rp->tx_time); in hci_cc_le_read_max_data_len()
1749 hdev->le_max_rx_len = le16_to_cpu(rp->rx_len); in hci_cc_le_read_max_data_len()
1750 hdev->le_max_rx_time = le16_to_cpu(rp->rx_time); in hci_cc_le_read_max_data_len()
1808 struct hci_rp_le_set_ext_adv_params *rp = (void *) skb->data; in hci_cc_set_ext_adv_param() local
1812 BT_DBG("%s status 0x%2.2x", hdev->name, rp->status); in hci_cc_set_ext_adv_param()
1814 if (rp->status) in hci_cc_set_ext_adv_param()
1825 hdev->adv_tx_power = rp->tx_power; in hci_cc_set_ext_adv_param()
1829 adv_instance->tx_power = rp->tx_power; in hci_cc_set_ext_adv_param()
1839 struct hci_rp_read_rssi *rp = (void *) skb->data; in hci_cc_read_rssi() local
1842 BT_DBG("%s status 0x%2.2x", hdev->name, rp->status); in hci_cc_read_rssi()
1844 if (rp->status) in hci_cc_read_rssi()
1849 conn = hci_conn_hash_lookup_handle(hdev, __le16_to_cpu(rp->handle)); in hci_cc_read_rssi()
1851 conn->rssi = rp->rssi; in hci_cc_read_rssi()
1859 struct hci_rp_read_tx_power *rp = (void *) skb->data; in hci_cc_read_tx_power() local
1862 BT_DBG("%s status 0x%2.2x", hdev->name, rp->status); in hci_cc_read_tx_power()
1864 if (rp->status) in hci_cc_read_tx_power()
1873 conn = hci_conn_hash_lookup_handle(hdev, __le16_to_cpu(rp->handle)); in hci_cc_read_tx_power()
1879 conn->tx_power = rp->tx_power; in hci_cc_read_tx_power()
1882 conn->max_tx_power = rp->tx_power; in hci_cc_read_tx_power()
3134 const struct hci_rp_read_enc_key_size *rp; in read_enc_key_size_complete() local
3140 if (!skb || skb->len < sizeof(*rp)) { in read_enc_key_size_complete()
3145 rp = (void *)skb->data; in read_enc_key_size_complete()
3146 handle = le16_to_cpu(rp->handle); in read_enc_key_size_complete()
3158 if (rp->status) { in read_enc_key_size_complete()
3163 conn->enc_key_size = rp->key_size; in read_enc_key_size_complete()