Lines Matching refs:rp

240 	struct btp_gap_read_supported_commands_rp *rp = rsp;  in supported_commands()  local
243 tester_set_bit(rp->data, BTP_GAP_READ_SUPPORTED_COMMANDS); in supported_commands()
244 tester_set_bit(rp->data, BTP_GAP_READ_CONTROLLER_INDEX_LIST); in supported_commands()
245 tester_set_bit(rp->data, BTP_GAP_READ_CONTROLLER_INFO); in supported_commands()
246 tester_set_bit(rp->data, BTP_GAP_SET_POWERED); in supported_commands()
247 tester_set_bit(rp->data, BTP_GAP_SET_CONNECTABLE); in supported_commands()
250 tester_set_bit(rp->data, BTP_GAP_SET_DISCOVERABLE); in supported_commands()
251 tester_set_bit(rp->data, BTP_GAP_SET_BONDABLE); in supported_commands()
252 tester_set_bit(rp->data, BTP_GAP_START_ADVERTISING); in supported_commands()
253 tester_set_bit(rp->data, BTP_GAP_STOP_ADVERTISING); in supported_commands()
254 tester_set_bit(rp->data, BTP_GAP_START_DISCOVERY); in supported_commands()
255 tester_set_bit(rp->data, BTP_GAP_STOP_DISCOVERY); in supported_commands()
256 tester_set_bit(rp->data, BTP_GAP_CONNECT); in supported_commands()
257 tester_set_bit(rp->data, BTP_GAP_DISCONNECT); in supported_commands()
260 tester_set_bit(rp->data, BTP_GAP_SET_IO_CAP); in supported_commands()
261 tester_set_bit(rp->data, BTP_GAP_PAIR); in supported_commands()
262 tester_set_bit(rp->data, BTP_GAP_PASSKEY_ENTRY); in supported_commands()
263 tester_set_bit(rp->data, BTP_GAP_PASSKEY_CONFIRM); in supported_commands()
264 tester_set_bit(rp->data, BTP_GAP_START_DIRECTED_ADV); in supported_commands()
265 tester_set_bit(rp->data, BTP_GAP_CONN_PARAM_UPDATE); in supported_commands()
268 tester_set_bit(rp->data, BTP_GAP_OOB_LEGACY_SET_DATA); in supported_commands()
270 tester_set_bit(rp->data, BTP_GAP_OOB_SC_GET_LOCAL_DATA); in supported_commands()
271 tester_set_bit(rp->data, BTP_GAP_OOB_SC_SET_REMOTE_DATA); in supported_commands()
273 tester_set_bit(rp->data, BTP_GAP_SET_MITM); in supported_commands()
274 tester_set_bit(rp->data, BTP_GAP_SET_FILTER_LIST); in supported_commands()
276 tester_set_bit(rp->data, BTP_GAP_SET_EXTENDED_ADVERTISING); in supported_commands()
279 *rsp_len = sizeof(*rp) + 4; in supported_commands()
287 struct btp_gap_read_controller_index_list_rp *rp = rsp; in controller_index_list() local
289 rp->num = 1U; in controller_index_list()
290 rp->index[0] = BTP_INDEX; in controller_index_list()
292 *rsp_len = sizeof(*rp) + 1; in controller_index_list()
300 struct btp_gap_read_controller_info_rp *rp = rsp; in controller_info() local
306 bt_addr_copy(&rp->address, &oob_local.addr.a); in controller_info()
332 rp->supported_settings = sys_cpu_to_le32(supported_settings); in controller_info()
333 rp->current_settings = sys_cpu_to_le32(current_settings); in controller_info()
335 memcpy(rp->name, CONTROLLER_NAME, sizeof(CONTROLLER_NAME)); in controller_info()
337 *rsp_len = sizeof(*rp); in controller_info()
437 struct btp_gap_oob_sc_get_local_data_rp *rp = rsp; in get_oob_sc_local_data() local
441 memcpy(rp->conf, &oob_sc_local.le_sc_data.c[0], sizeof(rp->conf)); in get_oob_sc_local_data()
442 memcpy(rp->rand, &oob_sc_local.le_sc_data.r[0], sizeof(rp->rand)); in get_oob_sc_local_data()
444 *rsp_len = sizeof(*rp); in get_oob_sc_local_data()
472 struct btp_gap_set_powered_rp *rp = rsp; in set_powered() local
492 rp->current_settings = sys_cpu_to_le32(current_settings); in set_powered()
494 *rsp_len = sizeof(*rp); in set_powered()
503 struct btp_gap_set_connectable_rp *rp = rsp; in set_connectable() local
511 rp->current_settings = sys_cpu_to_le32(current_settings); in set_connectable()
513 *rsp_len = sizeof(*rp); in set_connectable()
569 struct btp_gap_set_discoverable_rp *rp = rsp; in set_discoverable() local
590 rp->current_settings = sys_cpu_to_le32(current_settings); in set_discoverable()
592 *rsp_len = sizeof(*rp); in set_discoverable()
600 struct btp_gap_set_bondable_rp *rp = rsp; in set_bondable() local
612 rp->current_settings = sys_cpu_to_le32(current_settings); in set_bondable()
613 *rsp_len = sizeof(*rp); in set_bondable()
694 struct btp_gap_start_advertising_rp *rp = rsp; local
766 rp->current_settings = sys_cpu_to_le32(current_settings);
768 *rsp_len = sizeof(*rp);
776 struct btp_gap_start_directed_adv_rp *rp = rsp; local
807 rp->current_settings = sys_cpu_to_le32(current_settings);
809 *rsp_len = sizeof(*rp);
816 struct btp_gap_stop_advertising_rp *rp = rsp; local
827 rp->current_settings = sys_cpu_to_le32(current_settings);
829 *rsp_len = sizeof(*rp);
1382 struct btp_gap_set_extended_advertising_rp *rp = rsp; local
1394 rp->current_settings = sys_cpu_to_le32(current_settings);
1396 *rsp_len = sizeof(*rp);
1483 struct btp_gap_padv_configure_rp *rp = rsp; local
1496 rp->current_settings = sys_cpu_to_le32(current_settings);
1498 *rsp_len = sizeof(*rp);
1531 struct btp_gap_padv_start_rp *rp = rsp; local
1539 rp->current_settings = sys_cpu_to_le32(current_settings);
1541 *rsp_len = sizeof(*rp);
1568 struct btp_gap_padv_stop_rp *rp = rsp; local
1576 rp->current_settings = sys_cpu_to_le32(current_settings);
1578 *rsp_len = sizeof(*rp);