Lines Matching refs:pp
38 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_ble_set_local_used_feat() local
43 UINT16_TO_STREAM(pp, HCI_BLE_WRITE_LOCAL_SPT_FEAT); in btsnd_hcic_ble_set_local_used_feat()
44 ARRAY_TO_STREAM(pp, feat_set, HCIC_PARAM_SIZE_SET_USED_FEAT_CMD); in btsnd_hcic_ble_set_local_used_feat()
51 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_ble_set_random_addr() local
56 UINT16_TO_STREAM(pp, HCI_BLE_WRITE_RANDOM_ADDR); in btsnd_hcic_ble_set_random_addr()
57 UINT8_TO_STREAM(pp, HCIC_PARAM_SIZE_WRITE_RANDOM_ADDR_CMD); in btsnd_hcic_ble_set_random_addr()
59 BDADDR_TO_STREAM(pp, random_bda); in btsnd_hcic_ble_set_random_addr()
71 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_ble_write_adv_params() local
76 UINT16_TO_STREAM(pp, HCI_BLE_WRITE_ADV_PARAMS); in btsnd_hcic_ble_write_adv_params()
77 UINT8_TO_STREAM(pp, HCIC_PARAM_SIZE_BLE_WRITE_ADV_PARAMS); in btsnd_hcic_ble_write_adv_params()
79 UINT16_TO_STREAM(pp, adv_int_min); in btsnd_hcic_ble_write_adv_params()
80 UINT16_TO_STREAM(pp, adv_int_max); in btsnd_hcic_ble_write_adv_params()
81 UINT8_TO_STREAM(pp, adv_type); in btsnd_hcic_ble_write_adv_params()
82 UINT8_TO_STREAM(pp, addr_type_own); in btsnd_hcic_ble_write_adv_params()
83 UINT8_TO_STREAM(pp, addr_type_dir); in btsnd_hcic_ble_write_adv_params()
84 BDADDR_TO_STREAM(pp, direct_bda); in btsnd_hcic_ble_write_adv_params()
85 UINT8_TO_STREAM(pp, channel_map); in btsnd_hcic_ble_write_adv_params()
86 UINT8_TO_STREAM(pp, adv_filter_policy); in btsnd_hcic_ble_write_adv_params()
92 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_ble_read_adv_chnl_tx_power() local
97 UINT16_TO_STREAM(pp, HCI_BLE_READ_ADV_CHNL_TX_POWER); in btsnd_hcic_ble_read_adv_chnl_tx_power()
98 UINT8_TO_STREAM(pp, HCIC_PARAM_SIZE_READ_CMD); in btsnd_hcic_ble_read_adv_chnl_tx_power()
105 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_ble_set_adv_data() local
110 UINT16_TO_STREAM(pp, HCI_BLE_WRITE_ADV_DATA); in btsnd_hcic_ble_set_adv_data()
111 UINT8_TO_STREAM(pp, HCIC_PARAM_SIZE_BLE_WRITE_ADV_DATA + 1); in btsnd_hcic_ble_set_adv_data()
113 memset(pp, 0, HCIC_PARAM_SIZE_BLE_WRITE_ADV_DATA); in btsnd_hcic_ble_set_adv_data()
119 UINT8_TO_STREAM(pp, data_len); in btsnd_hcic_ble_set_adv_data()
121 ARRAY_TO_STREAM(pp, p_data, data_len); in btsnd_hcic_ble_set_adv_data()
127 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_ble_set_scan_rsp_data() local
132 UINT16_TO_STREAM(pp, HCI_BLE_WRITE_SCAN_RSP_DATA); in btsnd_hcic_ble_set_scan_rsp_data()
133 UINT8_TO_STREAM(pp, HCIC_PARAM_SIZE_BLE_WRITE_SCAN_RSP + 1); in btsnd_hcic_ble_set_scan_rsp_data()
135 memset(pp, 0, HCIC_PARAM_SIZE_BLE_WRITE_SCAN_RSP); in btsnd_hcic_ble_set_scan_rsp_data()
141 UINT8_TO_STREAM(pp, data_len); in btsnd_hcic_ble_set_scan_rsp_data()
143 ARRAY_TO_STREAM(pp, p_scan_rsp, data_len); in btsnd_hcic_ble_set_scan_rsp_data()
151 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_ble_set_adv_enable() local
156 UINT16_TO_STREAM(pp, HCI_BLE_WRITE_ADV_ENABLE); in btsnd_hcic_ble_set_adv_enable()
157 UINT8_TO_STREAM(pp, HCIC_PARAM_SIZE_WRITE_ADV_ENABLE); in btsnd_hcic_ble_set_adv_enable()
159 UINT8_TO_STREAM(pp, adv_enable); in btsnd_hcic_ble_set_adv_enable()
167 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_ble_set_scan_params() local
172 UINT16_TO_STREAM(pp, HCI_BLE_WRITE_SCAN_PARAMS); in btsnd_hcic_ble_set_scan_params()
173 UINT8_TO_STREAM(pp, HCIC_PARAM_SIZE_BLE_WRITE_SCAN_PARAM); in btsnd_hcic_ble_set_scan_params()
175 UINT8_TO_STREAM(pp, scan_type); in btsnd_hcic_ble_set_scan_params()
176 UINT16_TO_STREAM(pp, scan_int); in btsnd_hcic_ble_set_scan_params()
177 UINT16_TO_STREAM(pp, scan_win); in btsnd_hcic_ble_set_scan_params()
178 UINT8_TO_STREAM(pp, addr_type_own); in btsnd_hcic_ble_set_scan_params()
179 UINT8_TO_STREAM(pp, scan_filter_policy); in btsnd_hcic_ble_set_scan_params()
186 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_ble_set_scan_enable() local
191 UINT16_TO_STREAM(pp, HCI_BLE_WRITE_SCAN_ENABLE); in btsnd_hcic_ble_set_scan_enable()
192 UINT8_TO_STREAM(pp, HCIC_PARAM_SIZE_BLE_WRITE_SCAN_ENABLE); in btsnd_hcic_ble_set_scan_enable()
194 UINT8_TO_STREAM(pp, scan_enable); in btsnd_hcic_ble_set_scan_enable()
195 UINT8_TO_STREAM(pp, duplicate); in btsnd_hcic_ble_set_scan_enable()
207 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_ble_create_ll_conn() local
212 UINT16_TO_STREAM(pp, HCI_BLE_CREATE_LL_CONN); in btsnd_hcic_ble_create_ll_conn()
213 UINT8_TO_STREAM(pp, HCIC_PARAM_SIZE_BLE_CREATE_LL_CONN); in btsnd_hcic_ble_create_ll_conn()
215 UINT16_TO_STREAM(pp, scan_int); in btsnd_hcic_ble_create_ll_conn()
216 UINT16_TO_STREAM(pp, scan_win); in btsnd_hcic_ble_create_ll_conn()
217 UINT8_TO_STREAM(pp, init_filter_policy); in btsnd_hcic_ble_create_ll_conn()
219 UINT8_TO_STREAM(pp, addr_type_peer); in btsnd_hcic_ble_create_ll_conn()
220 BDADDR_TO_STREAM(pp, bda_peer); in btsnd_hcic_ble_create_ll_conn()
221 UINT8_TO_STREAM(pp, addr_type_own); in btsnd_hcic_ble_create_ll_conn()
223 UINT16_TO_STREAM(pp, conn_int_min); in btsnd_hcic_ble_create_ll_conn()
224 UINT16_TO_STREAM(pp, conn_int_max); in btsnd_hcic_ble_create_ll_conn()
225 UINT16_TO_STREAM(pp, conn_latency); in btsnd_hcic_ble_create_ll_conn()
226 UINT16_TO_STREAM(pp, conn_timeout); in btsnd_hcic_ble_create_ll_conn()
228 UINT16_TO_STREAM(pp, min_ce_len); in btsnd_hcic_ble_create_ll_conn()
229 UINT16_TO_STREAM(pp, max_ce_len); in btsnd_hcic_ble_create_ll_conn()
236 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_ble_create_conn_cancel() local
241 UINT16_TO_STREAM(pp, HCI_BLE_CREATE_CONN_CANCEL); in btsnd_hcic_ble_create_conn_cancel()
242 UINT8_TO_STREAM(pp, HCIC_PARAM_SIZE_BLE_CREATE_CONN_CANCEL); in btsnd_hcic_ble_create_conn_cancel()
257 uint8_t* pp = param; in btsnd_hcic_ble_add_white_list() local
259 UINT8_TO_STREAM(pp, addr_type); in btsnd_hcic_ble_add_white_list()
260 BDADDR_TO_STREAM(pp, bda); in btsnd_hcic_ble_add_white_list()
270 uint8_t* pp = param; in btsnd_hcic_ble_remove_from_white_list() local
272 UINT8_TO_STREAM(pp, addr_type); in btsnd_hcic_ble_remove_from_white_list()
273 BDADDR_TO_STREAM(pp, bda); in btsnd_hcic_ble_remove_from_white_list()
286 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_ble_upd_ll_conn_params() local
291 UINT16_TO_STREAM(pp, HCI_BLE_UPD_LL_CONN_PARAMS); in btsnd_hcic_ble_upd_ll_conn_params()
292 UINT8_TO_STREAM(pp, HCIC_PARAM_SIZE_BLE_UPD_LL_CONN_PARAMS); in btsnd_hcic_ble_upd_ll_conn_params()
294 UINT16_TO_STREAM(pp, handle); in btsnd_hcic_ble_upd_ll_conn_params()
296 UINT16_TO_STREAM(pp, conn_int_min); in btsnd_hcic_ble_upd_ll_conn_params()
297 UINT16_TO_STREAM(pp, conn_int_max); in btsnd_hcic_ble_upd_ll_conn_params()
298 UINT16_TO_STREAM(pp, conn_latency); in btsnd_hcic_ble_upd_ll_conn_params()
299 UINT16_TO_STREAM(pp, conn_timeout); in btsnd_hcic_ble_upd_ll_conn_params()
300 UINT16_TO_STREAM(pp, min_ce_len); in btsnd_hcic_ble_upd_ll_conn_params()
301 UINT16_TO_STREAM(pp, max_ce_len); in btsnd_hcic_ble_upd_ll_conn_params()
309 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_ble_set_host_chnl_class() local
314 UINT16_TO_STREAM(pp, HCI_BLE_SET_HOST_CHNL_CLASS); in btsnd_hcic_ble_set_host_chnl_class()
315 UINT8_TO_STREAM(pp, HCIC_PARAM_SIZE_SET_HOST_CHNL_CLASS); in btsnd_hcic_ble_set_host_chnl_class()
317 ARRAY_TO_STREAM(pp, chnl_map, HCIC_BLE_CHNL_MAP_SIZE); in btsnd_hcic_ble_set_host_chnl_class()
324 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_ble_read_chnl_map() local
329 UINT16_TO_STREAM(pp, HCI_BLE_READ_CHNL_MAP); in btsnd_hcic_ble_read_chnl_map()
330 UINT8_TO_STREAM(pp, HCIC_PARAM_SIZE_READ_CHNL_MAP); in btsnd_hcic_ble_read_chnl_map()
332 UINT16_TO_STREAM(pp, handle); in btsnd_hcic_ble_read_chnl_map()
339 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_ble_read_remote_feat() local
344 UINT16_TO_STREAM(pp, HCI_BLE_READ_REMOTE_FEAT); in btsnd_hcic_ble_read_remote_feat()
345 UINT8_TO_STREAM(pp, HCIC_PARAM_SIZE_BLE_READ_REMOTE_FEAT); in btsnd_hcic_ble_read_remote_feat()
347 UINT16_TO_STREAM(pp, handle); in btsnd_hcic_ble_read_remote_feat()
356 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_ble_encrypt() local
361 *((void**)pp) = in btsnd_hcic_ble_encrypt()
363 pp += sizeof(void*); /* Skip over callback pointer */ in btsnd_hcic_ble_encrypt()
365 UINT16_TO_STREAM(pp, HCI_BLE_ENCRYPT); in btsnd_hcic_ble_encrypt()
366 UINT8_TO_STREAM(pp, HCIC_PARAM_SIZE_BLE_ENCRYPT); in btsnd_hcic_ble_encrypt()
368 memset(pp, 0, HCIC_PARAM_SIZE_BLE_ENCRYPT); in btsnd_hcic_ble_encrypt()
373 ARRAY_TO_STREAM(pp, key, key_len); in btsnd_hcic_ble_encrypt()
374 pp += (HCIC_BLE_ENCRYT_KEY_SIZE - key_len); in btsnd_hcic_ble_encrypt()
375 ARRAY_TO_STREAM(pp, plain_text, pt_len); in btsnd_hcic_ble_encrypt()
396 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_ble_start_enc() local
401 UINT16_TO_STREAM(pp, HCI_BLE_START_ENC); in btsnd_hcic_ble_start_enc()
402 UINT8_TO_STREAM(pp, HCIC_PARAM_SIZE_BLE_START_ENC); in btsnd_hcic_ble_start_enc()
404 UINT16_TO_STREAM(pp, handle); in btsnd_hcic_ble_start_enc()
405 ARRAY_TO_STREAM(pp, rand, HCIC_BLE_RAND_DI_SIZE); in btsnd_hcic_ble_start_enc()
406 UINT16_TO_STREAM(pp, ediv); in btsnd_hcic_ble_start_enc()
407 ARRAY_TO_STREAM(pp, ltk.data(), HCIC_BLE_ENCRYT_KEY_SIZE); in btsnd_hcic_ble_start_enc()
414 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_ble_ltk_req_reply() local
419 UINT16_TO_STREAM(pp, HCI_BLE_LTK_REQ_REPLY); in btsnd_hcic_ble_ltk_req_reply()
420 UINT8_TO_STREAM(pp, HCIC_PARAM_SIZE_LTK_REQ_REPLY); in btsnd_hcic_ble_ltk_req_reply()
422 UINT16_TO_STREAM(pp, handle); in btsnd_hcic_ble_ltk_req_reply()
423 ARRAY_TO_STREAM(pp, ltk.data(), HCIC_BLE_ENCRYT_KEY_SIZE); in btsnd_hcic_ble_ltk_req_reply()
430 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_ble_ltk_req_neg_reply() local
435 UINT16_TO_STREAM(pp, HCI_BLE_LTK_REQ_NEG_REPLY); in btsnd_hcic_ble_ltk_req_neg_reply()
436 UINT8_TO_STREAM(pp, HCIC_PARAM_SIZE_LTK_REQ_NEG_REPLY); in btsnd_hcic_ble_ltk_req_neg_reply()
438 UINT16_TO_STREAM(pp, handle); in btsnd_hcic_ble_ltk_req_neg_reply()
445 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_ble_receiver_test() local
450 UINT16_TO_STREAM(pp, HCI_BLE_RECEIVER_TEST); in btsnd_hcic_ble_receiver_test()
451 UINT8_TO_STREAM(pp, HCIC_PARAM_SIZE_WRITE_PARAM1); in btsnd_hcic_ble_receiver_test()
453 UINT8_TO_STREAM(pp, rx_freq); in btsnd_hcic_ble_receiver_test()
461 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_ble_transmitter_test() local
466 UINT16_TO_STREAM(pp, HCI_BLE_TRANSMITTER_TEST); in btsnd_hcic_ble_transmitter_test()
467 UINT8_TO_STREAM(pp, HCIC_PARAM_SIZE_WRITE_PARAM3); in btsnd_hcic_ble_transmitter_test()
469 UINT8_TO_STREAM(pp, tx_freq); in btsnd_hcic_ble_transmitter_test()
470 UINT8_TO_STREAM(pp, test_data_len); in btsnd_hcic_ble_transmitter_test()
471 UINT8_TO_STREAM(pp, payload); in btsnd_hcic_ble_transmitter_test()
478 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_ble_test_end() local
483 UINT16_TO_STREAM(pp, HCI_BLE_TEST_END); in btsnd_hcic_ble_test_end()
484 UINT8_TO_STREAM(pp, HCIC_PARAM_SIZE_READ_CMD); in btsnd_hcic_ble_test_end()
491 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_ble_read_host_supported() local
496 UINT16_TO_STREAM(pp, HCI_READ_LE_HOST_SUPPORT); in btsnd_hcic_ble_read_host_supported()
497 UINT8_TO_STREAM(pp, HCIC_PARAM_SIZE_READ_CMD); in btsnd_hcic_ble_read_host_supported()
511 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_ble_rc_param_req_reply() local
516 UINT16_TO_STREAM(pp, HCI_BLE_RC_PARAM_REQ_REPLY); in btsnd_hcic_ble_rc_param_req_reply()
517 UINT8_TO_STREAM(pp, HCIC_PARAM_SIZE_BLE_RC_PARAM_REQ_REPLY); in btsnd_hcic_ble_rc_param_req_reply()
519 UINT16_TO_STREAM(pp, handle); in btsnd_hcic_ble_rc_param_req_reply()
520 UINT16_TO_STREAM(pp, conn_int_min); in btsnd_hcic_ble_rc_param_req_reply()
521 UINT16_TO_STREAM(pp, conn_int_max); in btsnd_hcic_ble_rc_param_req_reply()
522 UINT16_TO_STREAM(pp, conn_latency); in btsnd_hcic_ble_rc_param_req_reply()
523 UINT16_TO_STREAM(pp, conn_timeout); in btsnd_hcic_ble_rc_param_req_reply()
524 UINT16_TO_STREAM(pp, min_ce_len); in btsnd_hcic_ble_rc_param_req_reply()
525 UINT16_TO_STREAM(pp, max_ce_len); in btsnd_hcic_ble_rc_param_req_reply()
532 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_ble_rc_param_req_neg_reply() local
537 UINT16_TO_STREAM(pp, HCI_BLE_RC_PARAM_REQ_NEG_REPLY); in btsnd_hcic_ble_rc_param_req_neg_reply()
538 UINT8_TO_STREAM(pp, HCIC_PARAM_SIZE_BLE_RC_PARAM_REQ_NEG_REPLY); in btsnd_hcic_ble_rc_param_req_neg_reply()
540 UINT16_TO_STREAM(pp, handle); in btsnd_hcic_ble_rc_param_req_neg_reply()
541 UINT8_TO_STREAM(pp, reason); in btsnd_hcic_ble_rc_param_req_neg_reply()
552 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_ble_add_device_resolving_list() local
557 UINT16_TO_STREAM(pp, HCI_BLE_ADD_DEV_RESOLVING_LIST); in btsnd_hcic_ble_add_device_resolving_list()
558 UINT8_TO_STREAM(pp, HCIC_PARAM_SIZE_BLE_ADD_DEV_RESOLVING_LIST); in btsnd_hcic_ble_add_device_resolving_list()
559 UINT8_TO_STREAM(pp, addr_type_peer); in btsnd_hcic_ble_add_device_resolving_list()
560 BDADDR_TO_STREAM(pp, bda_peer); in btsnd_hcic_ble_add_device_resolving_list()
561 ARRAY_TO_STREAM(pp, irk_peer.data(), HCIC_BLE_ENCRYT_KEY_SIZE); in btsnd_hcic_ble_add_device_resolving_list()
562 ARRAY_TO_STREAM(pp, irk_local.data(), HCIC_BLE_ENCRYT_KEY_SIZE); in btsnd_hcic_ble_add_device_resolving_list()
570 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_ble_rm_device_resolving_list() local
575 UINT16_TO_STREAM(pp, HCI_BLE_RM_DEV_RESOLVING_LIST); in btsnd_hcic_ble_rm_device_resolving_list()
576 UINT8_TO_STREAM(pp, HCIC_PARAM_SIZE_BLE_RM_DEV_RESOLVING_LIST); in btsnd_hcic_ble_rm_device_resolving_list()
577 UINT8_TO_STREAM(pp, addr_type_peer); in btsnd_hcic_ble_rm_device_resolving_list()
578 BDADDR_TO_STREAM(pp, bda_peer); in btsnd_hcic_ble_rm_device_resolving_list()
587 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_ble_set_privacy_mode() local
592 UINT16_TO_STREAM(pp, HCI_BLE_SET_PRIVACY_MODE); in btsnd_hcic_ble_set_privacy_mode()
593 UINT8_TO_STREAM(pp, HCIC_PARAM_SIZE_BLE_SET_PRIVACY_MODE); in btsnd_hcic_ble_set_privacy_mode()
594 UINT8_TO_STREAM(pp, addr_type_peer); in btsnd_hcic_ble_set_privacy_mode()
595 BDADDR_TO_STREAM(pp, bda_peer); in btsnd_hcic_ble_set_privacy_mode()
596 UINT8_TO_STREAM(pp, privacy_type); in btsnd_hcic_ble_set_privacy_mode()
603 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_ble_clear_resolving_list() local
608 UINT16_TO_STREAM(pp, HCI_BLE_CLEAR_RESOLVING_LIST); in btsnd_hcic_ble_clear_resolving_list()
609 UINT8_TO_STREAM(pp, HCIC_PARAM_SIZE_BLE_CLEAR_RESOLVING_LIST); in btsnd_hcic_ble_clear_resolving_list()
617 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_ble_read_resolvable_addr_peer() local
622 UINT16_TO_STREAM(pp, HCI_BLE_READ_RESOLVABLE_ADDR_PEER); in btsnd_hcic_ble_read_resolvable_addr_peer()
623 UINT8_TO_STREAM(pp, HCIC_PARAM_SIZE_BLE_READ_RESOLVABLE_ADDR_PEER); in btsnd_hcic_ble_read_resolvable_addr_peer()
624 UINT8_TO_STREAM(pp, addr_type_peer); in btsnd_hcic_ble_read_resolvable_addr_peer()
625 BDADDR_TO_STREAM(pp, bda_peer); in btsnd_hcic_ble_read_resolvable_addr_peer()
633 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_ble_read_resolvable_addr_local() local
638 UINT16_TO_STREAM(pp, HCI_BLE_READ_RESOLVABLE_ADDR_LOCAL); in btsnd_hcic_ble_read_resolvable_addr_local()
639 UINT8_TO_STREAM(pp, HCIC_PARAM_SIZE_BLE_READ_RESOLVABLE_ADDR_LOCAL); in btsnd_hcic_ble_read_resolvable_addr_local()
640 UINT8_TO_STREAM(pp, addr_type_peer); in btsnd_hcic_ble_read_resolvable_addr_local()
641 BDADDR_TO_STREAM(pp, bda_peer); in btsnd_hcic_ble_read_resolvable_addr_local()
648 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_ble_set_addr_resolution_enable() local
653 UINT16_TO_STREAM(pp, HCI_BLE_SET_ADDR_RESOLUTION_ENABLE); in btsnd_hcic_ble_set_addr_resolution_enable()
654 UINT8_TO_STREAM(pp, HCIC_PARAM_SIZE_BLE_SET_ADDR_RESOLUTION_ENABLE); in btsnd_hcic_ble_set_addr_resolution_enable()
655 UINT8_TO_STREAM(pp, addr_resolution_enable); in btsnd_hcic_ble_set_addr_resolution_enable()
662 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_ble_set_rand_priv_addr_timeout() local
667 UINT16_TO_STREAM(pp, HCI_BLE_SET_RAND_PRIV_ADDR_TIMOUT); in btsnd_hcic_ble_set_rand_priv_addr_timeout()
668 UINT8_TO_STREAM(pp, HCIC_PARAM_SIZE_BLE_SET_RAND_PRIV_ADDR_TIMOUT); in btsnd_hcic_ble_set_rand_priv_addr_timeout()
669 UINT16_TO_STREAM(pp, rpa_timout); in btsnd_hcic_ble_set_rand_priv_addr_timeout()
677 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_ble_set_data_length() local
682 UINT16_TO_STREAM(pp, HCI_BLE_SET_DATA_LENGTH); in btsnd_hcic_ble_set_data_length()
683 UINT8_TO_STREAM(pp, HCIC_PARAM_SIZE_BLE_SET_DATA_LENGTH); in btsnd_hcic_ble_set_data_length()
685 UINT16_TO_STREAM(pp, conn_handle); in btsnd_hcic_ble_set_data_length()
686 UINT16_TO_STREAM(pp, tx_octets); in btsnd_hcic_ble_set_data_length()
687 UINT16_TO_STREAM(pp, tx_time); in btsnd_hcic_ble_set_data_length()
695 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_ble_enh_rx_test() local
700 UINT16_TO_STREAM(pp, HCI_BLE_ENH_RECEIVER_TEST); in btsnd_hcic_ble_enh_rx_test()
701 UINT8_TO_STREAM(pp, HCIC_PARAM_SIZE_BLE_ENH_RX_TEST); in btsnd_hcic_ble_enh_rx_test()
703 UINT8_TO_STREAM(pp, rx_chan); in btsnd_hcic_ble_enh_rx_test()
704 UINT8_TO_STREAM(pp, phy); in btsnd_hcic_ble_enh_rx_test()
705 UINT8_TO_STREAM(pp, mod_index); in btsnd_hcic_ble_enh_rx_test()
713 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_ble_enh_tx_test() local
718 UINT16_TO_STREAM(pp, HCI_BLE_ENH_TRANSMITTER_TEST); in btsnd_hcic_ble_enh_tx_test()
719 UINT8_TO_STREAM(pp, HCIC_PARAM_SIZE_BLE_ENH_TX_TEST); in btsnd_hcic_ble_enh_tx_test()
720 UINT8_TO_STREAM(pp, tx_chan); in btsnd_hcic_ble_enh_tx_test()
721 UINT8_TO_STREAM(pp, data_len); in btsnd_hcic_ble_enh_tx_test()
722 UINT8_TO_STREAM(pp, payload); in btsnd_hcic_ble_enh_tx_test()
723 UINT8_TO_STREAM(pp, phy); in btsnd_hcic_ble_enh_tx_test()
733 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_ble_set_extended_scan_params() local
742 UINT16_TO_STREAM(pp, HCI_LE_SET_EXTENDED_SCAN_PARAMETERS); in btsnd_hcic_ble_set_extended_scan_params()
743 UINT8_TO_STREAM(pp, param_len); in btsnd_hcic_ble_set_extended_scan_params()
745 UINT8_TO_STREAM(pp, own_address_type); in btsnd_hcic_ble_set_extended_scan_params()
746 UINT8_TO_STREAM(pp, scanning_filter_policy); in btsnd_hcic_ble_set_extended_scan_params()
747 UINT8_TO_STREAM(pp, scanning_phys); in btsnd_hcic_ble_set_extended_scan_params()
750 UINT8_TO_STREAM(pp, phy_cfg[i].scan_type); in btsnd_hcic_ble_set_extended_scan_params()
751 UINT16_TO_STREAM(pp, phy_cfg[i].scan_int); in btsnd_hcic_ble_set_extended_scan_params()
752 UINT16_TO_STREAM(pp, phy_cfg[i].scan_win); in btsnd_hcic_ble_set_extended_scan_params()
763 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_ble_set_extended_scan_enable() local
769 UINT16_TO_STREAM(pp, HCI_LE_SET_EXTENDED_SCAN_ENABLE); in btsnd_hcic_ble_set_extended_scan_enable()
770 UINT8_TO_STREAM(pp, param_len); in btsnd_hcic_ble_set_extended_scan_enable()
772 UINT8_TO_STREAM(pp, enable); in btsnd_hcic_ble_set_extended_scan_enable()
773 UINT8_TO_STREAM(pp, filter_duplicates); in btsnd_hcic_ble_set_extended_scan_enable()
774 UINT16_TO_STREAM(pp, duration); in btsnd_hcic_ble_set_extended_scan_enable()
775 UINT16_TO_STREAM(pp, period); in btsnd_hcic_ble_set_extended_scan_enable()
787 uint8_t* pp = (uint8_t*)(p + 1); in btsnd_hcic_ble_ext_create_conn() local
799 UINT16_TO_STREAM(pp, HCI_LE_EXTENDED_CREATE_CONNECTION); in btsnd_hcic_ble_ext_create_conn()
800 UINT8_TO_STREAM(pp, param_len); in btsnd_hcic_ble_ext_create_conn()
802 UINT8_TO_STREAM(pp, init_filter_policy); in btsnd_hcic_ble_ext_create_conn()
803 UINT8_TO_STREAM(pp, addr_type_own); in btsnd_hcic_ble_ext_create_conn()
804 UINT8_TO_STREAM(pp, addr_type_peer); in btsnd_hcic_ble_ext_create_conn()
805 BDADDR_TO_STREAM(pp, bda_peer); in btsnd_hcic_ble_ext_create_conn()
807 UINT8_TO_STREAM(pp, initiating_phys); in btsnd_hcic_ble_ext_create_conn()
810 UINT16_TO_STREAM(pp, phy_cfg[i].scan_int); in btsnd_hcic_ble_ext_create_conn()
811 UINT16_TO_STREAM(pp, phy_cfg[i].scan_win); in btsnd_hcic_ble_ext_create_conn()
812 UINT16_TO_STREAM(pp, phy_cfg[i].conn_int_min); in btsnd_hcic_ble_ext_create_conn()
813 UINT16_TO_STREAM(pp, phy_cfg[i].conn_int_max); in btsnd_hcic_ble_ext_create_conn()
814 UINT16_TO_STREAM(pp, phy_cfg[i].conn_latency); in btsnd_hcic_ble_ext_create_conn()
815 UINT16_TO_STREAM(pp, phy_cfg[i].sup_timeout); in btsnd_hcic_ble_ext_create_conn()
816 UINT16_TO_STREAM(pp, phy_cfg[i].min_ce_len); in btsnd_hcic_ble_ext_create_conn()
817 UINT16_TO_STREAM(pp, phy_cfg[i].max_ce_len); in btsnd_hcic_ble_ext_create_conn()