Lines Matching full:rp

86 	ng_hci_le_set_scan_parameters_rp rp;  in le_set_scan_param()  local
122 n = sizeof(rp); in le_set_scan_param()
126 (void *)&cp, sizeof(cp), (void *)&rp, &n) == ERROR) in le_set_scan_param()
129 if (rp.status != 0x00) { in le_set_scan_param()
131 hci_status2str(rp.status), rp.status); in le_set_scan_param()
142 ng_hci_le_set_scan_enable_rp rp; in le_set_scan_enable() local
153 n = sizeof(rp); in le_set_scan_enable()
159 (void *)&rp, &n) == ERROR) in le_set_scan_enable()
162 if (rp.status != 0x00) { in le_set_scan_enable()
164 hci_status2str(rp.status), rp.status); in le_set_scan_enable()
234 ng_hci_le_set_scan_response_data_rp rp; in le_set_scan_response() local
244 n = sizeof(rp); in le_set_scan_response()
248 (void *)&rp, &n) == ERROR) in le_set_scan_response()
251 if (rp.status != 0x00) { in le_set_scan_response()
253 hci_status2str(rp.status), rp.status); in le_set_scan_response()
263 ng_hci_le_read_local_supported_features_rp rp; in le_read_local_supported_features() local
264 int n = sizeof(rp); in le_read_local_supported_features()
276 (void *)&rp, &n) == ERROR) in le_read_local_supported_features()
279 if (rp.status != 0x00) { in le_read_local_supported_features()
281 hci_status2str(rp.status), rp.status); in le_read_local_supported_features()
285 le_features.raw = rp.le_features; in le_read_local_supported_features()
300 ng_hci_le_read_supported_states_rp rp; in le_read_supported_states() local
301 int n = sizeof(rp); in le_read_supported_states()
306 (void *)&rp, &n) == ERROR) in le_read_supported_states()
309 if (rp.status != 0x00) { in le_read_supported_states()
311 hci_status2str(rp.status), rp.status); in le_read_supported_states()
315 fprintf(stdout, "LE States: %jx\n", rp.le_states); in le_read_supported_states()
324 ng_hci_le_set_event_mask_rp rp; in set_le_event_mask() local
327 n = sizeof(rp); in set_le_event_mask()
335 (void *)&semc, sizeof(semc), (void *)&rp, &n) == ERROR) in set_le_event_mask()
338 if (rp.status != 0x00) { in set_le_event_mask()
340 hci_status2str(rp.status), rp.status); in set_le_event_mask()
351 ng_hci_set_event_mask_rp rp; in set_event_mask() local
354 n = sizeof(rp); in set_event_mask()
362 (void *)&semc, sizeof(semc), (void *)&rp, &n) == ERROR) in set_event_mask()
365 if (rp.status != 0x00) { in set_event_mask()
367 hci_status2str(rp.status), rp.status); in set_event_mask()
408 ng_hci_le_set_advertise_enable_rp rp; in le_set_advertising_enable() local
419 n = sizeof(rp); in le_set_advertising_enable()
423 (void *)&cp, sizeof(cp), (void *)&rp, &n) == ERROR) in le_set_advertising_enable()
426 if (rp.status != 0x00) { in le_set_advertising_enable()
428 hci_status2str(rp.status), rp.status); in le_set_advertising_enable()
440 ng_hci_le_set_advertising_parameters_rp rp; in le_set_advertising_param() local
498 n = sizeof(rp); in le_set_advertising_param()
501 (void *)&cp, sizeof(cp), (void *)&rp, &n) == ERROR) in le_set_advertising_param()
504 if (rp.status != 0x00) { in le_set_advertising_param()
506 hci_status2str(rp.status), rp.status); in le_set_advertising_param()
516 ng_hci_le_read_advertising_channel_tx_power_rp rp; in le_read_advertising_channel_tx_power() local
519 n = sizeof(rp); in le_read_advertising_channel_tx_power()
523 (void *)&rp, &n) == ERROR) in le_read_advertising_channel_tx_power()
526 if (rp.status != 0x00) { in le_read_advertising_channel_tx_power()
528 hci_status2str(rp.status), rp.status); in le_read_advertising_channel_tx_power()
533 (int8_t)rp.transmit_power_level); in le_read_advertising_channel_tx_power()
542 ng_hci_le_set_advertising_data_rp rp; in le_set_advertising_data() local
545 n = sizeof(rp); in le_set_advertising_data()
557 (void *)&cp, sizeof(cp), (void *)&rp, &n) == ERROR) in le_set_advertising_data()
560 if (rp.status != 0x00) { in le_set_advertising_data()
562 hci_status2str(rp.status), rp.status); in le_set_advertising_data()
574 } rp; in le_read_buffer_size() local
601 n = sizeof(rp); in le_read_buffer_size()
603 (void *)&rp, &n) == ERROR) in le_read_buffer_size()
606 if (rp.v1.status != 0x00) { in le_read_buffer_size()
608 hci_status2str(rp.v1.status), rp.v1.status); in le_read_buffer_size()
613 rp.v1.hc_le_data_packet_length); in le_read_buffer_size()
615 rp.v1.hc_total_num_le_data_packets); in le_read_buffer_size()
619 rp.v2.hc_iso_data_packet_length); in le_read_buffer_size()
621 rp.v2.hc_total_num_iso_data_packets); in le_read_buffer_size()
776 ng_hci_le_read_white_list_size_rp rp; in le_read_white_list_size() local
779 n = sizeof(rp); in le_read_white_list_size()
783 (void *)&rp, &n) == ERROR) in le_read_white_list_size()
786 if (rp.status != 0x00) { in le_read_white_list_size()
788 hci_status2str(rp.status), rp.status); in le_read_white_list_size()
793 (uint8_t)rp.white_list_size); in le_read_white_list_size()
801 ng_hci_le_clear_white_list_rp rp; in le_clear_white_list() local
804 n = sizeof(rp); in le_clear_white_list()
808 (void *)&rp, &n) == ERROR) in le_clear_white_list()
811 if (rp.status != 0x00) { in le_clear_white_list()
813 hci_status2str(rp.status), rp.status); in le_clear_white_list()
826 ng_hci_le_add_device_to_white_list_rp rp; in le_add_device_to_white_list() local
833 n = sizeof(rp); in le_add_device_to_white_list()
867 (void *)&cp, sizeof(cp), (void *)&rp, &n) == ERROR) in le_add_device_to_white_list()
870 if (rp.status != 0x00) { in le_add_device_to_white_list()
872 hci_status2str(rp.status), rp.status); in le_add_device_to_white_list()
885 ng_hci_le_remove_device_from_white_list_rp rp; in le_remove_device_from_white_list() local
892 n = sizeof(rp); in le_remove_device_from_white_list()
926 (void *)&cp, sizeof(cp), (void *)&rp, &n) == ERROR) in le_remove_device_from_white_list()
929 if (rp.status != 0x00) { in le_remove_device_from_white_list()
931 hci_status2str(rp.status), rp.status); in le_remove_device_from_white_list()
944 ng_hci_status_rp rp; in le_connect() local
1016 n = sizeof(rp); in le_connect()
1019 (void *)&cp, sizeof(cp), (void *)&rp, &n) == ERROR) in le_connect()
1022 if (rp.status != 0x00) { in le_connect()
1025 hci_status2str(rp.status), rp.status); in le_connect()
1094 ng_hci_le_read_channel_map_rp rp; in le_read_channel_map() local
1113 n = sizeof(rp); in le_read_channel_map()
1116 (void *)&cp, sizeof(cp), (void *)&rp, &n) == ERROR) in le_read_channel_map()
1119 if (rp.status != 0x00) { in le_read_channel_map()
1122 hci_status2str(rp.status), rp.status); in le_read_channel_map()
1127 le16toh(rp.connection_handle)); in le_read_channel_map()
1129 fprintf(stdout, "\n%s\n", hci_le_chanmap2str(rp.le_channel_map, in le_read_channel_map()
1139 ng_hci_status_rp rp; in le_read_remote_features() local
1160 n = sizeof(rp); in le_read_remote_features()
1163 (void *)&cp, sizeof(cp), (void *)&rp, &n) == ERROR) in le_read_remote_features()
1166 if (rp.status != 0x00) { in le_read_remote_features()
1169 hci_status2str(rp.status), rp.status); in le_read_remote_features()
1213 ng_hci_le_rand_rp rp; in le_rand() local
1216 n = sizeof(rp); in le_rand()
1220 (void *)&rp, &n) == ERROR) in le_rand()
1223 if (rp.status != 0x00) { in le_rand()
1225 hci_status2str(rp.status), rp.status); in le_rand()
1231 (unsigned long long)le64toh(rp.random_number)); in le_rand()